Skip to content

Disable warning CS8625 "Cannot convert null literal to non-nullable reference type." in generated code #644

Disable warning CS8625 "Cannot convert null literal to non-nullable reference type." in generated code

Disable warning CS8625 "Cannot convert null literal to non-nullable reference type." in generated code #644

Re-run triggered January 8, 2024 22:52
Status Success
Total duration 10m 9s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
windows-latest
D:\a\NSwag\NSwag\src\NSwagStudio.Installer\NSwagStudio.Installer.wixproj : warning NU1503: Skipping restore for project 'D:\a\NSwag\NSwag\src\NSwagStudio.Installer\NSwagStudio.Installer.wixproj'. The project file may be invalid or missing targets required for restore. [D:\a\NSwag\NSwag\src\NSwag.sln]
windows-latest
C:\Program Files\dotnet\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(2382,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "x86" and the processor architecture of the reference "D:\a\NSwag\NSwag\artifacts\bin\NSwag.AspNetCore.Launcher\release_net462\NSwag.AspNetCore.Launcher.exe", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [D:\a\NSwag\NSwag\src\NSwag.Console\NSwag.Console.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(67,64): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(133,64): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(201,64): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(284,64): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(108,67): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(190,67): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(266,92): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(324,92): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]