Commit 6e2dfae3 authored by csharptest's avatar csharptest Committed by rogerk

Issue 38: Disable CLSCompliant warnings (3021)

parent f96f5ae5
...@@ -139,7 +139,7 @@ namespace Google.ProtocolBuffers.ProtoGen ...@@ -139,7 +139,7 @@ namespace Google.ProtocolBuffers.ProtoGen
private void WriteIntroduction(TextGenerator writer) private void WriteIntroduction(TextGenerator writer)
{ {
writer.WriteLine("// Generated by {0}. DO NOT EDIT!", this.GetType().Assembly.FullName); writer.WriteLine("// Generated by {0}. DO NOT EDIT!", this.GetType().Assembly.FullName);
writer.WriteLine("#pragma warning disable 1591, 0612"); writer.WriteLine("#pragma warning disable 1591, 0612, 3021");
writer.WriteLine("#region Designer generated code"); writer.WriteLine("#region Designer generated code");
writer.WriteLine(); writer.WriteLine();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment