aboutsummaryrefslogtreecommitdiff
path: root/protos/google/protobuf/csharp_options.proto
diff options
context:
space:
mode:
Diffstat (limited to 'protos/google/protobuf/csharp_options.proto')
-rw-r--r--protos/google/protobuf/csharp_options.proto16
1 files changed, 16 insertions, 0 deletions
diff --git a/protos/google/protobuf/csharp_options.proto b/protos/google/protobuf/csharp_options.proto
new file mode 100644
index 00000000..5ebaebd1
--- /dev/null
+++ b/protos/google/protobuf/csharp_options.proto
@@ -0,0 +1,16 @@
+// Extra options for C# generator
+
+import "google/protobuf/descriptor.proto";
+
+package google.protobuf;
+
+option (CSharpNamespace) = "Google.ProtocolBuffers.DescriptorProtos";
+option (CSharpUmbrellaClassname) = "CSharpOptions";
+
+extend FileOptions {
+ optional string CSharpNamespace = 20000;
+ optional string CSharpUmbrellaClassname = 20001;
+ optional bool CSharpMultipleFiles = 20002;
+ optional bool CSharpNestClasses = 20003;
+ optional bool CSharpPublicClasses = 20004;
+}