Skip to content

Enables null reference types #3347

Enables null reference types

Enables null reference types #3347

Triggered via pull request April 3, 2024 17:35
Status Failure
Total duration 1m 27s
Artifacts

codeql-analysis.yml

on: pull_request
CodeQL Analysis
1m 19s
CodeQL Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
CodeQL Analysis: src/Microsoft.OpenApi/Models/OpenApiContact.cs#L35
Nullability of reference types in type of parameter 'value' of 'void OpenApiContact.Extensions.set' doesn't match implicitly implemented member 'void IOpenApiExtensible.Extensions.set' (possibly because of nullability attributes).
CodeQL Analysis: src/Microsoft.OpenApi/Models/OpenApiDiscriminator.cs#L28
Nullability of reference types in type of parameter 'value' of 'void OpenApiDiscriminator.Extensions.set' doesn't match implicitly implemented member 'void IOpenApiExtensible.Extensions.set' (possibly because of nullability attributes).
CodeQL Analysis: src/Microsoft.OpenApi/Services/OpenApiFilterService.cs#L28
Cannot convert null literal to non-nullable reference type.
CodeQL Analysis: src/Microsoft.OpenApi/Services/OpenApiFilterService.cs#L29
Cannot convert null literal to non-nullable reference type.
CodeQL Analysis: src/Microsoft.OpenApi/Services/OpenApiFilterService.cs#L30
Cannot convert null literal to non-nullable reference type.
CodeQL Analysis: src/Microsoft.OpenApi/Services/OpenApiFilterService.cs#L31
Cannot convert null literal to non-nullable reference type.
CodeQL Analysis: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L82
Nullability of reference types in type of parameter 'value' of 'void OpenApiDocument.Extensions.set' doesn't match implicitly implemented member 'void IOpenApiExtensible.Extensions.set' (possibly because of nullability attributes).
CodeQL Analysis: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L630
Cannot convert null literal to non-nullable reference type.
CodeQL Analysis: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L644
Cannot convert null literal to non-nullable reference type.
CodeQL Analysis: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L655
Cannot convert null literal to non-nullable reference type.
CodeQL Analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: github/codeql-action/init@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
CodeQL Analysis
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
CodeQL Analysis
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration
CodeQL Analysis
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.16.5.