V2 Cleanup Batch 1 (Per #3253) (#3255) #431
publish.yml
on: push
Build and Publish to Nuget.org
1m 19s
Annotations
10 warnings
Build and Publish to Nuget.org:
Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs#L820
Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first
|
Build and Publish to Nuget.org:
Terminal.Gui/Text/TextFormatter.cs#L219
XML comment has cref attribute 'Draw(Rect, Attribute, Attribute, Rect, bool, ConsoleDriver)' that could not be resolved
|
Build and Publish to Nuget.org:
UICatalog/UICatalog.cs#L131
Possible null reference assignment.
|
Build and Publish to Nuget.org:
UICatalog/UICatalog.cs#L669
Nullability of reference types in value of type 'KeyValuePair<string, ColorScheme?>' doesn't match target type 'KeyValuePair<string, ColorScheme>'.
|
Build and Publish to Nuget.org:
UnitTests/View/InitTests.cs#L128
The variable 'initialized' is assigned but its value is never used
|
Build and Publish to Nuget.org:
UnitTests/View/InitTests.cs#L131
The variable 'superViewInitialized' is assigned but its value is never used
|
Build and Publish to Nuget.org:
UnitTests/Drawing/ColorTests.ParsingAndFormatting.cs#L87
Possible null reference argument for parameter 'text' in 'bool Color.TryParse(string text, out Color? color)'.
|
Build and Publish to Nuget.org:
UnitTests/View/Text/TextTests.cs#L75
Do not use Assert.True() to check if a value exists in a collection. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2017)
|
Build and Publish to Nuget.org:
UnitTests/Drawing/ColorTests.ParsingAndFormatting.cs#L97
The type argument string? from ColorTestsTheoryDataGenerators.TryParse_string_Returns_True_For_Valid_Inputs is nullable, while the type of the corresponding test method parameter input is not. Make the TheoryData type non-nullable, or make the test method parameter nullable. (https://xunit.net/xunit.analyzers/rules/xUnit1040)
|
Build and Publish to Nuget.org:
Terminal.Gui/ConsoleDrivers/CursesDriver/CursesDriver.cs#L820
Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first
|