Searched refs:EnumTypes (Results 1 – 3 of 3) sorted by relevance
77 Assert.AreEqual(file.EnumTypes[0], file.FindTypeByName<EnumDescriptor>("ForeignEnum")); in FileDescriptor()80 Assert.AreEqual(1, UnittestImportProto3Reflection.Descriptor.EnumTypes.Count); in FileDescriptor()81 … Assert.AreEqual("ImportEnum", UnittestImportProto3Reflection.Descriptor.EnumTypes[0].Name); in FileDescriptor()82 for (int i = 0; i < file.EnumTypes.Count; i++) in FileDescriptor()84 Assert.AreEqual(i, file.EnumTypes[i].Index); in FileDescriptor()129 …Assert.AreEqual(messageType.EnumTypes[0], messageType.FindDescriptor<EnumDescriptor>("NestedEnum")… in MessageDescriptor()131 for (int i = 0; i < messageType.EnumTypes.Count; i++) in MessageDescriptor()133 Assert.AreEqual(i, messageType.EnumTypes[i].Index); in MessageDescriptor()
88 EnumTypes = DescriptorUtil.ConvertAndMakeReadOnly( in MessageDescriptor()193 public IList<EnumDescriptor> EnumTypes { get; } property in Google.Protobuf.Reflection.MessageDescriptor
61 EnumTypes = DescriptorUtil.ConvertAndMakeReadOnly(proto.EnumType, in FileDescriptor()147 public IList<EnumDescriptor> EnumTypes { get; } property in Google.Protobuf.Reflection.FileDescriptor