Suppress CS8981 in generated source

pull/9994/head
James Newton-King 3 years ago committed by Jon Skeet
parent 07303d6f54
commit 40e82cbd2a
  1. 2
      src/google/protobuf/compiler/csharp/csharp_reflection_class.cc

@ -128,7 +128,7 @@ void ReflectionClassGenerator::WriteIntroduction(io::Printer* printer) {
"// Generated by the protocol buffer compiler. DO NOT EDIT!\n"
"// source: $file_name$\n"
"// </auto-generated>\n"
"#pragma warning disable 1591, 0612, 3021\n"
"#pragma warning disable 1591, 0612, 3021, 8981\n"
"#region Designer generated code\n"
"\n"
"using pb = global::Google.Protobuf;\n"

Loading…
Cancel
Save