aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/ProtocolBuffers/Descriptors
diff options
context:
space:
mode:
authorJie Luo <anandolee@gmail.com>2015-05-01 10:35:19 -0700
committerJie Luo <anandolee@gmail.com>2015-05-01 10:35:19 -0700
commitea48104cddf9dba8a7e525eebbccfe98fd1e1eff (patch)
tree01e4df4def2986b5c029a67bd83da3eb3263e439 /csharp/src/ProtocolBuffers/Descriptors
parent41c175e7115fca70bcfdcd8b333bd07b58fd874f (diff)
downloadprotobuf-ea48104cddf9dba8a7e525eebbccfe98fd1e1eff.tar.gz
protobuf-ea48104cddf9dba8a7e525eebbccfe98fd1e1eff.tar.bz2
protobuf-ea48104cddf9dba8a7e525eebbccfe98fd1e1eff.zip
fix comments
Diffstat (limited to 'csharp/src/ProtocolBuffers/Descriptors')
-rw-r--r--csharp/src/ProtocolBuffers/Descriptors/FileDescriptor.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/csharp/src/ProtocolBuffers/Descriptors/FileDescriptor.cs b/csharp/src/ProtocolBuffers/Descriptors/FileDescriptor.cs
index 307e9dd7..fed032bf 100644
--- a/csharp/src/ProtocolBuffers/Descriptors/FileDescriptor.cs
+++ b/csharp/src/ProtocolBuffers/Descriptors/FileDescriptor.cs
@@ -56,13 +56,13 @@ namespace Google.ProtocolBuffers.Descriptors
public enum ProtoSyntax
{
- PROTO2,
- PROTO3
+ Proto2,
+ Proto3
}
public ProtoSyntax Syntax
{
- get { return proto.Syntax == "proto3" ? ProtoSyntax.PROTO3 : ProtoSyntax.PROTO2; }
+ get { return proto.Syntax == "proto3" ? ProtoSyntax.Proto3 : ProtoSyntax.Proto2; }
}
private FileDescriptor(FileDescriptorProto proto, FileDescriptor[] dependencies, DescriptorPool pool, bool allowUnknownDependencies)