Skip to content

Add Reference Type Warnings #1619

Add Reference Type Warnings

Add Reference Type Warnings #1619

Triggered via pull request July 20, 2024 23:17
Status Success
Total duration 11m 44s
Artifacts

codeql-analysis.yml

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

Annotations

20 warnings
Analyze (Src/ILGPU.sln, net6.0): Src/ILGPU/Backends/Velocity/VelocityGenerationModule.cs#L113
Possible null reference argument for parameter 'type' in 'FieldInfo ILEmitterExtensions.GetFieldInfo(Type type, int fieldIndex)'.
Analyze (Src/ILGPU.sln, net6.0): Src/ILGPU/Runtime/Kernel.cs#L267
Possible null reference return.
Analyze (Src/ILGPU.sln, net6.0): Src/ILGPU/IR/Types/StructureType.cs#L932
Possible null reference return.
Analyze (Src/ILGPU.sln, net6.0): Src/ILGPU/Backends/IL/ILBackend.cs#L328
Converting null literal or possible null value to non-nullable type.
Analyze (Src/ILGPU.sln, net6.0): Src/ILGPU/Backends/IL/ILBackend.cs#L337
Dereference of a possibly null reference.
Analyze (Src/ILGPU.sln, net6.0): Src/ILGPU/Backends/Velocity/VelocityGenerationModule.cs#L113
Possible null reference argument for parameter 'type' in 'FieldInfo ILEmitterExtensions.GetFieldInfo(Type type, int fieldIndex)'.
Analyze (Samples/ILGPU.Samples.sln, net6.0): Src/ILGPU/Backends/Velocity/VelocityGenerationModule.cs#L113
Possible null reference argument for parameter 'type' in 'FieldInfo ILEmitterExtensions.GetFieldInfo(Type type, int fieldIndex)'.
Analyze (Samples/ILGPU.Samples.sln, net6.0): Src/ILGPU/Backends/IL/ILBackend.cs#L328
Converting null literal or possible null value to non-nullable type.
Analyze (Samples/ILGPU.Samples.sln, net6.0): Src/ILGPU/Backends/IL/ILBackend.cs#L337
Dereference of a possibly null reference.