summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJens Geyer <jensg@apache.org>2021-07-31 23:25:51 +0200
committerJens Geyer <jensg@apache.org>2021-08-01 12:01:27 +0200
commit273607d1f40bbd346ad030eadf8150bd81b9e4b1 (patch)
treef1e7a2275b6d97f23c5b13ef7074be0ffdf38120 /test
parentf6955351222f51e5662ce41de43c75b7c3e640e1 (diff)
downloadthrift-273607d1f40bbd346ad030eadf8150bd81b9e4b1.tar.gz
THRIFT-5444 Netstd generator produces uncompileable code for enums ending with "_result" or "_args"
Client: netstd Patch: Jens Geyer This closes #2424
Diffstat (limited to 'test')
-rw-r--r--test/netstd/Client/TestClient.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/netstd/Client/TestClient.cs b/test/netstd/Client/TestClient.cs
index 70a21e172..2d18cf1f9 100644
--- a/test/netstd/Client/TestClient.cs
+++ b/test/netstd/Client/TestClient.cs
@@ -15,6 +15,9 @@
// specific language governing permissions and limitations
// under the License.
+#pragma warning disable IDE0066 // switch expression
+#pragma warning disable IDE0057 // substring
+
using System;
using System.Collections.Generic;
using System.Diagnostics;