Skip to content

[csharp] Handling of nullable and required properties #332

[csharp] Handling of nullable and required properties

[csharp] Handling of nullable and required properties #332

Triggered via pull request November 4, 2025 14:33
Status Success
Total duration 51s
Artifacts
Matrix: Build .Net clients
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build .Net clients (samples/client/echo_api/csharp-restsharp/): samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Api/QueryApi.cs#L941
The result of the expression is always 'false' since a value of type 'DateOnly' is never equal to 'null' of type 'DateOnly?'
Build .Net clients (samples/client/echo_api/csharp-restsharp/): samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Api/QueryApi.cs#L937
The result of the expression is always 'false' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net clients (samples/client/echo_api/csharp-restsharp/): samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Api/QueryApi.cs#L848
The result of the expression is always 'false' since a value of type 'DateOnly' is never equal to 'null' of type 'DateOnly?'
Build .Net clients (samples/client/echo_api/csharp-restsharp/): samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Api/QueryApi.cs#L844
The result of the expression is always 'false' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net clients (samples/client/echo_api/csharp-restsharp/): samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Client/Option.cs#L72
'Option<TType>' defines operator == or operator != but does not override Object.GetHashCode()
Build .Net clients (samples/client/echo_api/csharp-restsharp/): samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Client/Option.cs#L72
'Option<TType>' defines operator == or operator != but does not override Object.Equals(object o)