diff options
Diffstat (limited to 'csharp/ProtocolBuffers/Descriptors/FileDescriptor.cs')
-rw-r--r-- | csharp/ProtocolBuffers/Descriptors/FileDescriptor.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/csharp/ProtocolBuffers/Descriptors/FileDescriptor.cs b/csharp/ProtocolBuffers/Descriptors/FileDescriptor.cs index b3beea0b..429282b7 100644 --- a/csharp/ProtocolBuffers/Descriptors/FileDescriptor.cs +++ b/csharp/ProtocolBuffers/Descriptors/FileDescriptor.cs @@ -221,6 +221,10 @@ namespace Google.ProtocolBuffers.Descriptors { foreach (FieldDescriptor extension in extensions) { extension.CrossLink(); } + + foreach (MessageDescriptor message in messageTypes) { + message.CheckRequiredFields(); + } } /// <summary> |