aboutsummaryrefslogtreecommitdiff
path: root/protos
diff options
context:
space:
mode:
authorcsharptest <roger@csharptest.net>2012-10-14 11:55:10 -0500
committerrogerk <devnull@localhost>2012-10-14 11:55:10 -0500
commit14e011f61ba2f5976f287e67f4ad82e0cdc546cd (patch)
tree4cd4d2056f763261af13161e72d0845c9b530b5f /protos
parent7d53c1291202b1b503fb611829514e17fdef053b (diff)
downloadprotobuf-14e011f61ba2f5976f287e67f4ad82e0cdc546cd.tar.gz
protobuf-14e011f61ba2f5976f287e67f4ad82e0cdc546cd.tar.bz2
protobuf-14e011f61ba2f5976f287e67f4ad82e0cdc546cd.zip
Add generated_code_attributes option, defaulted to false to generate the CompilerGeneratedAttribute and GeneratedCodeAttribute attributes
Diffstat (limited to 'protos')
-rw-r--r--protos/google/protobuf/csharp_options.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/protos/google/protobuf/csharp_options.proto b/protos/google/protobuf/csharp_options.proto
index 4718dbef..f09b96aa 100644
--- a/protos/google/protobuf/csharp_options.proto
+++ b/protos/google/protobuf/csharp_options.proto
@@ -65,6 +65,10 @@ message CSharpFileOptions {
// INTERFACE generates service interfaces only, RPCINTEROP generates interfaces and
// implementations using the included Windows RPC interop libarary.
optional CSharpServiceType service_generator_type = 225 [default = NONE];
+
+ // Used to add the System.Runtime.CompilerServices.CompilerGeneratedAttribute and
+ // System.CodeDom.Compiler.GeneratedCodeAttribute attributes to generated code.
+ optional bool generated_code_attributes = 226 [default = false];
}
enum CSharpServiceType {