CodeQL #95
Annotations
10 errors and 10 warnings
src/Swan.Core/Gizmos/RangeLookup.cs#L12
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
src/Swan.Core/Gizmos/RangeLookup.cs#L12
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
|
|
|
|
|
|
|
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.17.3/x64/codeql/csharp/tools/autobuild.sh". Exit code was 1 and last log line was: Error: Could not auto-detect a suitable build method. See the logs for more details.
|
src/Swan.Core/Reflection/ReflectionExtensions.cs#L129
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
|
src/Swan.Core/Reflection/ReflectionExtensions.cs#L126
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
|
src/Swan.Core/Mapping/ObjectMapper.cs#L82
In method 'Copy', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
|
src/Swan.Core/Gizmos/AsyncLazy.cs#L8
Type 'AsyncLazy' owns disposable field(s) 'FactorySemaphore' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
|
src/Swan.Core/Gizmos/ValueCache.cs#L8
Type 'ValueCache' owns disposable field(s) '_semaphore' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
|
src/Swan.Core/Mapping/ObjectMapper.cs#L231
In method 'CopyInternal', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
|
src/Swan.Core/Mapping/ObjectMapper.cs#L235
In method 'CopyInternal', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
|
src/Swan.Core/Mapping/ObjectMapper.cs#L242
In method 'CopyInternal', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
|
src/Swan.Core/Mapping/ObjectMapper.cs#L284
In method 'GetSourceMap', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
|
src/Swan.Core/Collections/CollectionDelegates.cs#L6
Type 'CollectionDelegates' 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)
|
This job failed
Loading