diff options
author | Jon Skeet <jonskeet@google.com> | 2015-09-29 13:37:15 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-09-29 13:37:15 +0100 |
commit | 2212f56bcdfd5d830a18a3c4aaecb0a6ad564e54 (patch) | |
tree | 5b05d3a46db8d4ade5dfdd6b044b98e25f6262d7 /csharp/src/Google.Protobuf/Reflection | |
parent | 0e5686a70768a289782eb1e1aa86646e56897e4d (diff) | |
download | protobuf-2212f56bcdfd5d830a18a3c4aaecb0a6ad564e54.tar.gz protobuf-2212f56bcdfd5d830a18a3c4aaecb0a6ad564e54.tar.bz2 protobuf-2212f56bcdfd5d830a18a3c4aaecb0a6ad564e54.zip |
Added documentation to generated code.
There are now summaries for:
- The Types nested class (which holds nested types)
- The file descriptor class for each proto
- The enum generated for each oneof
(Also fixed two typos.)
Generated code in next commit.
Diffstat (limited to 'csharp/src/Google.Protobuf/Reflection')
-rw-r--r-- | csharp/src/Google.Protobuf/Reflection/FieldDescriptor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/src/Google.Protobuf/Reflection/FieldDescriptor.cs b/csharp/src/Google.Protobuf/Reflection/FieldDescriptor.cs index 901cbf47..619a6ac8 100644 --- a/csharp/src/Google.Protobuf/Reflection/FieldDescriptor.cs +++ b/csharp/src/Google.Protobuf/Reflection/FieldDescriptor.cs @@ -252,7 +252,7 @@ namespace Google.Protobuf.Reflection { if (fieldType != FieldType.Message) { - throw new InvalidOperationException("MessageType is only valid for enum fields."); + throw new InvalidOperationException("MessageType is only valid for message fields."); } return messageType; } |