Apply R# clean-up for reliability (#877)
* Apply R# clean-up for reliability - Migrate to NUnit4 Assert.That - Update dependencise versions - Fix LangVersion to 9.0 (until net core migration) - Reformat code - Apply 'var' style (easier for refactoring) - Remove redundant parentheses - Add braces on every condition blocks (1 line) - Uses new null checking patterns - Uses AutoProperties when possible - Uses string scalar type instead of class - Clean usings - Add .orig files in git ignore - Rename some properties to respect defined conventions and US format definition - ID -> Id - BPM -> Bpm - Finish -> End * Update R# settings according to the clean-up made
This commit is contained in:
1 parent
b9b0f7c8df
commit
6ffa63b923
236 files changed
+14194
-7278
No files matched your search
@@ -49,294 +49,152 @@ namespace VocaluxeLib.Log.Serilog
|
||||
return this;
|
||||
}
|
||||
|
||||
public void Write(LogEvent logEvent)
|
||||
{
|
||||
}
|
||||
public void Write(LogEvent logEvent) { }
|
||||
|
||||
public void Write(LogEventLevel level, string messageTemplate)
|
||||
{
|
||||
}
|
||||
public void Write(LogEventLevel level, string messageTemplate) { }
|
||||
|
||||
public void Write<T>(LogEventLevel level, string messageTemplate, T propertyValue)
|
||||
{
|
||||
}
|
||||
public void Write<T>(LogEventLevel level, string messageTemplate, T propertyValue) { }
|
||||
|
||||
public void Write<T0, T1>(LogEventLevel level, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
|
||||
{
|
||||
}
|
||||
public void Write<T0, T1>(LogEventLevel level, string messageTemplate, T0 propertyValue0, T1 propertyValue1) { }
|
||||
|
||||
public void Write<T0, T1, T2>(LogEventLevel level, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
|
||||
{
|
||||
}
|
||||
public void Write<T0, T1, T2>(LogEventLevel level, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2) { }
|
||||
|
||||
public void Write(LogEventLevel level, string messageTemplate, params object[] propertyValues)
|
||||
{
|
||||
}
|
||||
public void Write(LogEventLevel level, string messageTemplate, params object[] propertyValues) { }
|
||||
|
||||
public void Write(LogEventLevel level, Exception exception, string messageTemplate)
|
||||
{
|
||||
}
|
||||
public void Write(LogEventLevel level, Exception exception, string messageTemplate) { }
|
||||
|
||||
public void Write<T>(LogEventLevel level, Exception exception, string messageTemplate, T propertyValue)
|
||||
{
|
||||
}
|
||||
public void Write<T>(LogEventLevel level, Exception exception, string messageTemplate, T propertyValue) { }
|
||||
|
||||
public void Write<T0, T1>(LogEventLevel level, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
|
||||
{
|
||||
}
|
||||
public void Write<T0, T1>(LogEventLevel level, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1) { }
|
||||
|
||||
public void Write<T0, T1, T2>(LogEventLevel level, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
|
||||
{
|
||||
}
|
||||
public void Write<T0, T1, T2>(LogEventLevel level, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2) { }
|
||||
|
||||
public void Write(LogEventLevel level, Exception exception, string messageTemplate, params object[] propertyValues)
|
||||
{
|
||||
}
|
||||
public void Write(LogEventLevel level, Exception exception, string messageTemplate, params object[] propertyValues) { }
|
||||
|
||||
public bool IsEnabled(LogEventLevel level)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public void Verbose(string messageTemplate)
|
||||
{
|
||||
}
|
||||
public void Verbose(string messageTemplate) { }
|
||||
|
||||
public void Verbose<T>(string messageTemplate, T propertyValue)
|
||||
{
|
||||
}
|
||||
public void Verbose<T>(string messageTemplate, T propertyValue) { }
|
||||
|
||||
public void Verbose<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
|
||||
{
|
||||
}
|
||||
public void Verbose<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1) { }
|
||||
|
||||
public void Verbose<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
|
||||
{
|
||||
}
|
||||
public void Verbose<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2) { }
|
||||
|
||||
public void Verbose(string messageTemplate, params object[] propertyValues)
|
||||
{
|
||||
}
|
||||
public void Verbose(string messageTemplate, params object[] propertyValues) { }
|
||||
|
||||
public void Verbose(Exception exception, string messageTemplate)
|
||||
{
|
||||
}
|
||||
public void Verbose(Exception exception, string messageTemplate) { }
|
||||
|
||||
public void Verbose<T>(Exception exception, string messageTemplate, T propertyValue)
|
||||
{
|
||||
}
|
||||
public void Verbose<T>(Exception exception, string messageTemplate, T propertyValue) { }
|
||||
|
||||
public void Verbose<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
|
||||
{
|
||||
}
|
||||
public void Verbose<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1) { }
|
||||
|
||||
public void Verbose<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
|
||||
{
|
||||
}
|
||||
public void Verbose<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2) { }
|
||||
|
||||
public void Verbose(Exception exception, string messageTemplate, params object[] propertyValues)
|
||||
{
|
||||
}
|
||||
public void Verbose(Exception exception, string messageTemplate, params object[] propertyValues) { }
|
||||
|
||||
public void Debug(string messageTemplate)
|
||||
{
|
||||
}
|
||||
public void Debug(string messageTemplate) { }
|
||||
|
||||
public void Debug<T>(string messageTemplate, T propertyValue)
|
||||
{
|
||||
}
|
||||
public void Debug<T>(string messageTemplate, T propertyValue) { }
|
||||
|
||||
public void Debug<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
|
||||
{
|
||||
}
|
||||
public void Debug<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1) { }
|
||||
|
||||
public void Debug<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
|
||||
{
|
||||
}
|
||||
public void Debug<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2) { }
|
||||
|
||||
public void Debug(string messageTemplate, params object[] propertyValues)
|
||||
{
|
||||
}
|
||||
public void Debug(string messageTemplate, params object[] propertyValues) { }
|
||||
|
||||
public void Debug(Exception exception, string messageTemplate)
|
||||
{
|
||||
}
|
||||
public void Debug(Exception exception, string messageTemplate) { }
|
||||
|
||||
public void Debug<T>(Exception exception, string messageTemplate, T propertyValue)
|
||||
{
|
||||
}
|
||||
public void Debug<T>(Exception exception, string messageTemplate, T propertyValue) { }
|
||||
|
||||
public void Debug<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
|
||||
{
|
||||
}
|
||||
public void Debug<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1) { }
|
||||
|
||||
public void Debug<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
|
||||
{
|
||||
}
|
||||
public void Debug<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2) { }
|
||||
|
||||
public void Debug(Exception exception, string messageTemplate, params object[] propertyValues)
|
||||
{
|
||||
}
|
||||
public void Debug(Exception exception, string messageTemplate, params object[] propertyValues) { }
|
||||
|
||||
public void Information(string messageTemplate)
|
||||
{
|
||||
}
|
||||
public void Information(string messageTemplate) { }
|
||||
|
||||
public void Information<T>(string messageTemplate, T propertyValue)
|
||||
{
|
||||
}
|
||||
public void Information<T>(string messageTemplate, T propertyValue) { }
|
||||
|
||||
public void Information<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
|
||||
{
|
||||
}
|
||||
public void Information<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1) { }
|
||||
|
||||
public void Information<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
|
||||
{
|
||||
}
|
||||
public void Information<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2) { }
|
||||
|
||||
public void Information(string messageTemplate, params object[] propertyValues)
|
||||
{
|
||||
}
|
||||
public void Information(string messageTemplate, params object[] propertyValues) { }
|
||||
|
||||
public void Information(Exception exception, string messageTemplate)
|
||||
{
|
||||
}
|
||||
public void Information(Exception exception, string messageTemplate) { }
|
||||
|
||||
public void Information<T>(Exception exception, string messageTemplate, T propertyValue)
|
||||
{
|
||||
}
|
||||
public void Information<T>(Exception exception, string messageTemplate, T propertyValue) { }
|
||||
|
||||
public void Information<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
|
||||
{
|
||||
}
|
||||
public void Information<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1) { }
|
||||
|
||||
public void Information<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
|
||||
{
|
||||
}
|
||||
public void Information<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2) { }
|
||||
|
||||
public void Information(Exception exception, string messageTemplate, params object[] propertyValues)
|
||||
{
|
||||
}
|
||||
public void Information(Exception exception, string messageTemplate, params object[] propertyValues) { }
|
||||
|
||||
public void Warning(string messageTemplate)
|
||||
{
|
||||
}
|
||||
public void Warning(string messageTemplate) { }
|
||||
|
||||
public void Warning<T>(string messageTemplate, T propertyValue)
|
||||
{
|
||||
}
|
||||
public void Warning<T>(string messageTemplate, T propertyValue) { }
|
||||
|
||||
public void Warning<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
|
||||
{
|
||||
}
|
||||
public void Warning<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1) { }
|
||||
|
||||
public void Warning<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
|
||||
{
|
||||
}
|
||||
public void Warning<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2) { }
|
||||
|
||||
public void Warning(string messageTemplate, params object[] propertyValues)
|
||||
{
|
||||
}
|
||||
public void Warning(string messageTemplate, params object[] propertyValues) { }
|
||||
|
||||
public void Warning(Exception exception, string messageTemplate)
|
||||
{
|
||||
}
|
||||
public void Warning(Exception exception, string messageTemplate) { }
|
||||
|
||||
public void Warning<T>(Exception exception, string messageTemplate, T propertyValue)
|
||||
{
|
||||
}
|
||||
public void Warning<T>(Exception exception, string messageTemplate, T propertyValue) { }
|
||||
|
||||
public void Warning<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
|
||||
{
|
||||
}
|
||||
public void Warning<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1) { }
|
||||
|
||||
public void Warning<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
|
||||
{
|
||||
}
|
||||
public void Warning<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2) { }
|
||||
|
||||
public void Warning(Exception exception, string messageTemplate, params object[] propertyValues)
|
||||
{
|
||||
}
|
||||
public void Warning(Exception exception, string messageTemplate, params object[] propertyValues) { }
|
||||
|
||||
public void Error(string messageTemplate)
|
||||
{
|
||||
}
|
||||
public void Error(string messageTemplate) { }
|
||||
|
||||
public void Error<T>(string messageTemplate, T propertyValue)
|
||||
{
|
||||
}
|
||||
public void Error<T>(string messageTemplate, T propertyValue) { }
|
||||
|
||||
public void Error<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
|
||||
{
|
||||
}
|
||||
public void Error<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1) { }
|
||||
|
||||
public void Error<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
|
||||
{
|
||||
}
|
||||
public void Error<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2) { }
|
||||
|
||||
public void Error(string messageTemplate, params object[] propertyValues)
|
||||
{
|
||||
}
|
||||
public void Error(string messageTemplate, params object[] propertyValues) { }
|
||||
|
||||
public void Error(Exception exception, string messageTemplate)
|
||||
{
|
||||
}
|
||||
public void Error(Exception exception, string messageTemplate) { }
|
||||
|
||||
public void Error<T>(Exception exception, string messageTemplate, T propertyValue)
|
||||
{
|
||||
}
|
||||
public void Error<T>(Exception exception, string messageTemplate, T propertyValue) { }
|
||||
|
||||
public void Error<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
|
||||
{
|
||||
}
|
||||
public void Error<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1) { }
|
||||
|
||||
public void Error<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
|
||||
{
|
||||
}
|
||||
public void Error<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2) { }
|
||||
|
||||
public void Error(Exception exception, string messageTemplate, params object[] propertyValues)
|
||||
{
|
||||
}
|
||||
public void Error(Exception exception, string messageTemplate, params object[] propertyValues) { }
|
||||
|
||||
public void Fatal(string messageTemplate)
|
||||
{
|
||||
}
|
||||
public void Fatal(string messageTemplate) { }
|
||||
|
||||
public void Fatal<T>(string messageTemplate, T propertyValue)
|
||||
{
|
||||
}
|
||||
public void Fatal<T>(string messageTemplate, T propertyValue) { }
|
||||
|
||||
public void Fatal<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
|
||||
{
|
||||
}
|
||||
public void Fatal<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1) { }
|
||||
|
||||
public void Fatal<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
|
||||
{
|
||||
}
|
||||
public void Fatal<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2) { }
|
||||
|
||||
public void Fatal(string messageTemplate, params object[] propertyValues)
|
||||
{
|
||||
}
|
||||
public void Fatal(string messageTemplate, params object[] propertyValues) { }
|
||||
|
||||
public void Fatal(Exception exception, string messageTemplate)
|
||||
{
|
||||
}
|
||||
public void Fatal(Exception exception, string messageTemplate) { }
|
||||
|
||||
public void Fatal<T>(Exception exception, string messageTemplate, T propertyValue)
|
||||
{
|
||||
}
|
||||
public void Fatal<T>(Exception exception, string messageTemplate, T propertyValue) { }
|
||||
|
||||
public void Fatal<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
|
||||
{
|
||||
}
|
||||
public void Fatal<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1) { }
|
||||
|
||||
public void Fatal<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
|
||||
{
|
||||
}
|
||||
public void Fatal<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2) { }
|
||||
|
||||
public void Fatal(Exception exception, string messageTemplate, params object[] propertyValues)
|
||||
{
|
||||
}
|
||||
public void Fatal(Exception exception, string messageTemplate, params object[] propertyValues) { }
|
||||
|
||||
[MessageTemplateFormatMethod("messageTemplate")]
|
||||
public bool BindMessageTemplate(string messageTemplate, object[] propertyValues, out MessageTemplate parsedTemplate, out IEnumerable<LogEventProperty> boundProperties)
|
||||
|
||||
Reference in new issue
Block a user