CodeQL #60
Annotations
10 errors and 11 warnings
Autobuild:
src/Swan.Core/Gizmos/RangeLookup.cs#L12
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
Autobuild:
src/Swan.Core/Gizmos/RangeLookup.cs#L12
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
Autobuild
Assets file '/home/runner/work/swan/swan/src/Swan.Samples/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v7.0'. Ensure that restore has run and that you have included 'net70' in the TargetFrameworks for your project.
|
Autobuild
Assets file '/home/runner/work/swan/swan/test/Swan.Test/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v7.0'. Ensure that restore has run and that you have included 'net70' in the TargetFrameworks for your project.
|
Autobuild
Assets file '/home/runner/work/swan/swan/src/Swan.Threading/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v7.0'. Ensure that restore has run and that you have included 'net70' in the TargetFrameworks for your project.
|
Autobuild
Assets file '/home/runner/work/swan/swan/src/Swan.Logging/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v7.0'. Ensure that restore has run and that you have included 'net70' in the TargetFrameworks for your project.
|
Autobuild
Assets file '/home/runner/work/swan/swan/src/Swan.Core/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v7.0'. Ensure that restore has run and that you have included 'net70' in the TargetFrameworks for your project.
|
Autobuild
Assets file '/home/runner/work/swan/swan/src/Swan.Data/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v7.0'. Ensure that restore has run and that you have included 'net70' in the TargetFrameworks for your project.
|
Autobuild
Assets file '/home/runner/work/swan/swan/src/Swan.Data.SqlBulkOps/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v7.0'. Ensure that restore has run and that you have included 'net70' in the TargetFrameworks for your project.
|
Autobuild
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.15.4/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.
|
Initialize CodeQL
The "paths"/"paths-ignore" fields of the config only have effect for JavaScript, Python, and Ruby
|
Autobuild:
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)
|
Autobuild:
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)
|
Autobuild:
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)
|
Autobuild:
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)
|
Autobuild:
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)
|
Autobuild:
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)
|
Autobuild:
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)
|
Autobuild:
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)
|
Autobuild:
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)
|
Autobuild:
src/Swan.Core/Formatters/JsonDynamicObject.cs#L12
Type 'JsonDynamicObject' 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)
|
The logs for this run have expired and are no longer available.
Loading