diff options
Diffstat (limited to 'csharp/src/Ice/DispatchInterceptor.cs')
-rw-r--r-- | csharp/src/Ice/DispatchInterceptor.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/csharp/src/Ice/DispatchInterceptor.cs b/csharp/src/Ice/DispatchInterceptor.cs index 54e39251ac6..52685fa6c86 100644 --- a/csharp/src/Ice/DispatchInterceptor.cs +++ b/csharp/src/Ice/DispatchInterceptor.cs @@ -37,7 +37,9 @@ namespace Ice // encoding version used by the client to eventually marshal the user exception. It's also needed // if we dispatch a batch oneway request to read the next batch request. // - if(current.encoding == null || (current.encoding.major == 0 && current.encoding.minor == 0)) +#pragma warning disable CS8073 // The result of the expression is always 'false' + if (current.encoding == null || (current.encoding.major == 0 && current.encoding.minor == 0)) +#pragma warning restore CS8073 // The result of the expression is always 'false' { inc.skipReadParams(); } |