Skip to content

[csharp] fix "Simplify 'default' expression (IDE0034)" messages (#21147) #54

[csharp] fix "Simplify 'default' expression (IDE0034)" messages (#21147)

[csharp] fix "Simplify 'default' expression (IDE0034)" messages (#21147) #54

Triggered via push April 25, 2025 10:01
Status Success
Total duration 42s
Artifacts
Matrix: Build .Net clients
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
Build .Net clients (samples/client/echo_api/csharp/restsharp/net8/EchoApi): samples/client/echo_api/csharp/restsharp/net8/EchoApi/src/Org.OpenAPITools/Model/DataQuery.cs#L155
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net clients (samples/client/echo_api/csharp/restsharp/net8/EchoApi): samples/client/echo_api/csharp/restsharp/net8/EchoApi/src/Org.OpenAPITools/Model/DataQuery.cs#L133
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net clients (samples/client/echo_api/csharp/restsharp/net8/EchoApi): samples/client/echo_api/csharp/restsharp/net8/EchoApi/src/Org.OpenAPITools/Api/QueryApi.cs#L1276
The result of the expression is always 'true' since a value of type 'long' is never equal to 'null' of type 'long?'
Build .Net clients (samples/client/echo_api/csharp/restsharp/net8/EchoApi): samples/client/echo_api/csharp/restsharp/net8/EchoApi/src/Org.OpenAPITools/Api/QueryApi.cs#L1183
The result of the expression is always 'true' since a value of type 'long' is never equal to 'null' of type 'long?'
Build .Net clients (samples/client/echo_api/csharp/restsharp/net8/EchoApi): samples/client/echo_api/csharp/restsharp/net8/EchoApi/src/Org.OpenAPITools/Model/DataQuery.cs#L155
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net clients (samples/client/echo_api/csharp/restsharp/net8/EchoApi): samples/client/echo_api/csharp/restsharp/net8/EchoApi/src/Org.OpenAPITools/Model/DataQuery.cs#L133
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
Build .Net clients (samples/client/echo_api/csharp/restsharp/net8/EchoApi): samples/client/echo_api/csharp/restsharp/net8/EchoApi/src/Org.OpenAPITools/Api/QueryApi.cs#L1276
The result of the expression is always 'true' since a value of type 'long' is never equal to 'null' of type 'long?'
Build .Net clients (samples/client/echo_api/csharp/restsharp/net8/EchoApi): samples/client/echo_api/csharp/restsharp/net8/EchoApi/src/Org.OpenAPITools/Api/QueryApi.cs#L1183
The result of the expression is always 'true' since a value of type 'long' is never equal to 'null' of type 'long?'