You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating to .NET SDK 8.0.400 or later seems to cause a regression where style warnings are primarily flagged in the code generated by the docopt.net source generator.
Steps to reproduce
Change the version number in global.json to 8.0.400:
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(1,1,1,29): error IDE0240: Nullable directive is redundant (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0240)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(45,17,45,23): error IDE0010: Populate switch (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0010)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(69,21,69,27): error IDE0010: Populate switch (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0010)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(81,37,81,43): error IDE0010: Populate switch (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0010)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(86,45,86,112): error IDE0058: Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(92,45,92,112): error IDE0058: Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(98,45,98,121): error IDE0058: Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(104,45,104,113): error IDE0058: Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(113,33,113,49): error IDE0058: Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(119,29,119,45): error IDE0058: Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(133,37,133,108): error IDE0058: Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(139,33,139,49): error IDE0058: Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(145,29,145,45): error IDE0058: Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(155,33,155,96): error IDE0058: Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(161,29,161,45): error IDE0058: Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(170,17,170,33): error IDE0058: Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
A:\MoreLINQ\main\bld\ExtensionsGenerator\ProgramArguments.cs(176,13,176,36): error IDE0058: Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
The text was updated successfully, but these errors were encountered:
Updating to .NET SDK 8.0.400 or later seems to cause a regression where style warnings are primarily flagged in the code generated by the docopt.net source generator.
Steps to reproduce
Change the version number in
global.json
to 8.0.400:Build the solution:
The following errors are reported:
The text was updated successfully, but these errors were encountered: