Skip to content

[csharp][generichost] Implement not required nullable properties #925

[csharp][generichost] Implement not required nullable properties

[csharp][generichost] Implement not required nullable properties #925

Triggered via pull request November 5, 2023 22:34
Status Success
Total duration 1m 11s
Artifacts

samples-dotnet.yaml

on: pull_request
Matrix: Build .Net projects
Fit to window
Zoom out
Zoom in

Annotations

56 warnings
Build .Net projects (samples/server/petstore/aspnetcore-6.0-useSwashBuckle): samples/server/petstore/aspnetcore-6.0-useSwashBuckle/src/Org.OpenAPITools/Models/Order.cs#L162
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0-useSwashBuckle): samples/server/petstore/aspnetcore-6.0-useSwashBuckle/src/Org.OpenAPITools/Models/Order.cs#L193
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0-useSwashBuckle): samples/server/petstore/aspnetcore-6.0-useSwashBuckle/src/Org.OpenAPITools/Models/Order.cs#L162
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0-useSwashBuckle): samples/server/petstore/aspnetcore-6.0-useSwashBuckle/src/Org.OpenAPITools/Models/Order.cs#L193
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse): samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Order.cs#L166
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse): samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Order.cs#L197
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse): samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Order.cs#L166
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse): samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Order.cs#L197
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0): samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Order.cs#L162
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0): samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Order.cs#L193
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0): samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Order.cs#L162
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0): samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Order.cs#L193
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools.Models/Order.cs#L162
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools.Models/Order.cs#L193
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Controllers/FakeApi.cs#L40
The type 'Pet' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/Pet.cs' conflicts with the imported type 'Pet' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/Pet.cs'.
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs#L27
The type 'ApiResponse' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs' conflicts with the imported type 'ApiResponse' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs'.
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs#L88
The type 'ApiResponse' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs' conflicts with the imported type 'ApiResponse' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs'.
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs#L134
The type 'ApiResponse' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs' conflicts with the imported type 'ApiResponse' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs'.
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs#L134
The type 'ApiResponse' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs' conflicts with the imported type 'ApiResponse' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs'.
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs#L139
The type 'ApiResponse' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs' conflicts with the imported type 'ApiResponse' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs'.
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs#L139
The type 'ApiResponse' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs' conflicts with the imported type 'ApiResponse' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs'.
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/Category.cs#L27
The type 'Category' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/Category.cs' conflicts with the imported type 'Category' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/Category.cs'.
Build .Net projects (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes): samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Order.cs#L162
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes): samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Order.cs#L193
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes): samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Order.cs#L162
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net projects (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes): samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Order.cs#L193
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'