Suppress CS8981 in generated source

pull/10000/head
James Newton-King 3 years ago committed by Jon Skeet
parent fe3d67cb8e
commit 9806b0f57b
  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