Skip to content

CodeQL

CodeQL #114

Triggered via schedule October 14, 2024 13:53
Status Success
Total duration 2m 53s
Artifacts

codeql.yml

on: schedule
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze (csharp): 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)
Analyze (csharp): 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)
Analyze (csharp): 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)
Analyze (csharp): 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)
Analyze (csharp): 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)
Analyze (csharp): 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)
Analyze (csharp): 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)
Analyze (csharp): 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)
Analyze (csharp): 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)
Analyze (csharp): src/Swan.Core/Formatters/TextSerializer.cs#L285
Type 'StackTable' 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)