Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable null reference type support #2146

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Merge branch 'main' into feat/enable-NRT

78b8d88
Select commit
Loading
Failed to load commit list.
Open

feat: enable null reference type support #2146

Merge branch 'main' into feat/enable-NRT
78b8d88
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.OpenAPI.NET (1) (build build) failed Feb 21, 2025 in 3m 1s

build build failed

Annotations

Check failure on line 223 in src\Microsoft.OpenApi\Writers\OpenApiWriterBase.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.OpenAPI.NET (1) (build build)

src\Microsoft.OpenApi\Writers\OpenApiWriterBase.cs#L223

src\Microsoft.OpenApi\Writers\OpenApiWriterBase.cs(223,28): Error CS8604: Possible null reference argument for parameter 'value' in 'void OpenApiWriterBase.WriteValue(object value)'.

Check failure on line 158 in src\Microsoft.OpenApi\Models\References\OpenApiSchemaReference.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.OpenAPI.NET (1) (build build)

src\Microsoft.OpenApi\Models\References\OpenApiSchemaReference.cs#L158

src\Microsoft.OpenApi\Models\References\OpenApiSchemaReference.cs(158,77): Error CS8603: Possible null reference return.

Check failure on line 48 in src\Microsoft.OpenApi\MicrosoftExtensions\OpenApiReservedParameterExtension.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.OpenAPI.NET (1) (build build)

src\Microsoft.OpenApi\MicrosoftExtensions\OpenApiReservedParameterExtension.cs#L48

src\Microsoft.OpenApi\MicrosoftExtensions\OpenApiReservedParameterExtension.cs(48,37): Error CS1061: 'JsonNode' does not contain a definition for 'TryGetValue' and no accessible extension method 'TryGetValue' accepting a first argument of type 'JsonNode' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 46 in src\Microsoft.OpenApi\MicrosoftExtensions\OpenApiPrimaryErrorMessageExtension.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.OpenAPI.NET (1) (build build)

src\Microsoft.OpenApi\MicrosoftExtensions\OpenApiPrimaryErrorMessageExtension.cs#L46

src\Microsoft.OpenApi\MicrosoftExtensions\OpenApiPrimaryErrorMessageExtension.cs(46,47): Error CS1061: 'JsonNode' does not contain a definition for 'TryGetValue' and no accessible extension method 'TryGetValue' accepting a first argument of type 'JsonNode' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 245 in src\Microsoft.OpenApi\Models\OpenApiSchema.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.OpenAPI.NET (1) (build build)

src\Microsoft.OpenApi\Models\OpenApiSchema.cs#L245

src\Microsoft.OpenApi\Models\OpenApiSchema.cs(245,33): Error CS8601: Possible null reference assignment.