WI #2674 Adapt unit tests to run on Linux (#2690) #335
Annotations
20 warnings
Build solution:
TypeCobol.LanguageServer.Test.LanguageServerRobot.Installer/WhyThisProject.cs#L3
'WhyThisProject' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
|
Build solution:
TypeCobol.LanguageServer.Test.LanguageServerRobot.Installer/WhyThisProject.cs#L3
Type 'WhyThisProject' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
Build solution:
TypeCobol.Transform/Decoder.cs#L13
Type 'Decoder' is a static holder type but is neither static nor NotInheritable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1052)
|
Build solution:
TypeCobol.Transform/Decoder.cs#L33
Field 'TypeCobolVersionRegExp' is declared as 'readonly' but is initialized with a constant value. Mark this field as 'const' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1802)
|
Build solution:
TypeCobol.Transform/Decoder.cs#L31
Field 'CompilerOptionsRegExp' is declared as 'readonly' but is initialized with a constant value. Mark this field as 'const' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1802)
|
Build solution:
TypeCobol.Transform/Transform.cs#L30
Use ordinal string comparison (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309)
|
Build solution:
TypeCobol.Transform/Transform.cs#L40
Use ordinal string comparison (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309)
|
Build solution:
TypeCobol.Transform/Transform.cs#L45
Use ordinal string comparison (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309)
|
Build solution:
TypeCobol.Transform/Transform.cs#L56
Use ordinal string comparison (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309)
|
Build solution:
TypeCobol.Transform/Transform.cs#L37
The behavior of 'string.Format(string, object, object)' could vary based on the current user's locale settings. Replace this call in 'Transform.Main(string[])' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build CSCup:
CSCupRuntime/lr_parser.cs#L4
Remove the underscores from namespace name 'TUVienna.CS_CUP' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
Build CSCup:
CSCupRuntime/lr_parser.cs#L130
Abstract type 'lr_parser' should not have public constructors (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012)
|
Build CSCup:
CSCupRuntime/Scanner.cs#L24
Prefix interface name Scanner with 'I' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1715)
|
Build CSCup:
CSCupRuntime/lr_parser.cs#L130
Remove the underscores from type name TUVienna.CS_CUP.Runtime.lr_parser (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
Build CSCup:
CSCupRuntime/virtual_parse_stack.cs#L26
Remove the underscores from type name TUVienna.CS_CUP.Runtime.virtual_parse_stack (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
Build CSCup:
CSCupRuntime/virtual_parse_stack.cs#L57
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Build CSCup:
CSCupRuntime/virtual_parse_stack.cs#L65
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Build CSCup:
CSCupRuntime/virtual_parse_stack.cs#L75
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Build CSCup:
CSCupRuntime/lr_parser.cs#L237
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Build CSCup:
CSCupRuntime/lr_parser.cs#L256
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Loading