Home
last modified time | relevance | path

Searched refs:EnumTypes (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs77 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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DMessageDescriptor.cs88 EnumTypes = DescriptorUtil.ConvertAndMakeReadOnly( in MessageDescriptor()
193 public IList<EnumDescriptor> EnumTypes { get; } property in Google.Protobuf.Reflection.MessageDescriptor
DFileDescriptor.cs61 EnumTypes = DescriptorUtil.ConvertAndMakeReadOnly(proto.EnumType, in FileDescriptor()
147 public IList<EnumDescriptor> EnumTypes { get; } property in Google.Protobuf.Reflection.FileDescriptor