C# Compiler #7
Annotations
1 error and 11 warnings
Test & Collect lcov coverage
Process completed with exit code 1.
|
Upload coverage artifact
No files were found with the provided path: ./tests/Compiler/coverage.info. No artifacts will be uploaded.
|
Test & Collect lcov coverage:
src/Compiler/Module/Compiled/Compiled.cs#L9
Rename namespace Compiler.Module so that it no longer conflicts with the reserved language keyword 'Module'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Test & Collect lcov coverage:
src/Compiler/Module/Compiled/Compiled.cs#L9
Rename namespace Compiler.Module.Compiled so that it no longer conflicts with the reserved language keyword 'Module'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Test & Collect lcov coverage:
src/Compiler/Module/Resolvable/Local.cs#L12
Rename namespace Compiler.Module.Resolvable so that it no longer conflicts with the reserved language keyword 'Module'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Test & Collect lcov coverage:
src/Compiler/Text/Updater/TokenUpdater.cs#L20
In member Fin<TextSpan> TokenUpdater.GetSpan(Token token), change parameter name token to item in order to match the identifier as it has been declared in Fin<TextSpan> NodeEnumerableUpdater<Token>.GetSpan(Token item) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
|
Test & Collect lcov coverage:
src/Compiler/Module/Compiled/Remote.cs#L19
Type 'ExtraModuleInfo' 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)
|
Test & Collect lcov coverage
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "LanguageExt.Core
|
Test & Collect lcov coverage
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "PowerShellStandard.Library
|
Test & Collect lcov coverage:
tests/Compiler/Module/Resolvable/Remote.cs#L57
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
Test & Collect lcov coverage:
tests/Compiler/Module/Resolvable/Remote.cs#L61
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
Test & Collect lcov coverage:
tests/Compiler/Module/Resolvable/Remote.cs#L65
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|
Loading