Some cleanup #1
Annotations
10 warnings
Build:
Arithmic/Log.cs#L18
Non-nullable property 'Category' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build:
Arithmic/Log.cs#L19
Non-nullable property 'Message' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build:
Arithmic/Log.cs#L33
Converting null literal or possible null value to non-nullable type.
|
Build:
Arithmic/Log.cs#L35
Dereference of a possibly null reference.
|
Build:
Arithmic/Log.cs#L35
Nullability of reference types in type of parameter 'sender' of 'void ISink.OnLogEvent(object sender, LogEventArgs e)' doesn't match the target delegate 'EventHandler<LogEventArgs>' (possibly because of nullability attributes).
|
Build:
Arithmic/Log.cs#L39
Cannot convert null literal to non-nullable reference type.
|
Build:
Arithmic/FileSink.cs#L46
Possible null reference argument for parameter 'path' in 'void File.AppendAllText(string path, string? contents)'.
|
Build:
Arithmic/ConsoleSink.cs#L14
Change this condition so that it does not always evaluate to 'true'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
Build:
Arithmic/FileSink.cs#L20
Remove this set, which updates a 'static' field from an instance method. (https://rules.sonarsource.com/csharp/RSPEC-2696)
|
Build:
Arithmic/Log.cs#L101
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
|
The logs for this run have expired and are no longer available.
Loading