diff --git a/csharp/src/Google.Protobuf/Reflection/FileDescriptor.cs b/csharp/src/Google.Protobuf/Reflection/FileDescriptor.cs index 993f428cab..17f0082023 100644 --- a/csharp/src/Google.Protobuf/Reflection/FileDescriptor.cs +++ b/csharp/src/Google.Protobuf/Reflection/FileDescriptor.cs @@ -42,23 +42,23 @@ using static Google.Protobuf.Reflection.SourceCodeInfo.Types; namespace Google.Protobuf.Reflection { - /// - /// The syntax of a .proto file + /// + /// The syntax of a .proto file /// - public enum Syntax - { - /// - /// Proto2 syntax - /// - Proto2, - /// - /// Proto3 syntax - /// - Proto3, - /// - /// An unknown declared syntax - /// - Unknown + public enum Syntax + { + /// + /// Proto2 syntax + /// + Proto2, + /// + /// Proto3 syntax + /// + Proto3, + /// + /// An unknown declared syntax + /// + Unknown } /// @@ -107,17 +107,17 @@ namespace Google.Protobuf.Reflection declarations = new Lazy>(CreateDeclarationMap, LazyThreadSafetyMode.ExecutionAndPublication); - if (!proto.HasSyntax || proto.Syntax == "proto2") - { - Syntax = Syntax.Proto2; + if (!proto.HasSyntax || proto.Syntax == "proto2") + { + Syntax = Syntax.Proto2; } - else if (proto.Syntax == "proto3") - { - Syntax = Syntax.Proto3; + else if (proto.Syntax == "proto3") + { + Syntax = Syntax.Proto3; } - else - { - Syntax = Syntax.Unknown; + else + { + Syntax = Syntax.Unknown; } } @@ -249,8 +249,8 @@ namespace Google.Protobuf.Reflection /// internal FileDescriptorProto Proto { get; } - /// - /// The syntax of the file + /// + /// The syntax of the file /// public Syntax Syntax { get; }