Home
last modified time | relevance | path

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

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DMessageDescriptor.cs64 private readonly IList<FieldDescriptor> fieldsInDeclarationOrder; field in Google.Protobuf.Reflection.MessageDescriptor
109 fieldsInDeclarationOrder = DescriptorUtil.ConvertAndMakeReadOnly( in MessageDescriptor()
113 …fieldsInNumberOrder = new ReadOnlyCollection<FieldDescriptor>(fieldsInDeclarationOrder.OrderBy(fie… in MessageDescriptor()
141 return (IReadOnlyList<DescriptorBase>) fieldsInDeclarationOrder; in GetNestedDescriptorListForField()
330 foreach (FieldDescriptor field in fieldsInDeclarationOrder) in CrossLink()
359 … public IList<FieldDescriptor> InDeclarationOrder() => messageDescriptor.fieldsInDeclarationOrder; in InDeclarationOrder()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs115 var fieldsInDeclarationOrder = messageType.Fields.InDeclarationOrder(); in MessageDescriptor()
116 for (int i = 0; i < fieldsInDeclarationOrder.Count; i++) in MessageDescriptor()
118 Assert.AreEqual(i, fieldsInDeclarationOrder[i].Index); in MessageDescriptor()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs194 var fieldsInDeclarationOrder = messageType.Fields.InDeclarationOrder(); in MessageDescriptor()
195 for (int i = 0; i < fieldsInDeclarationOrder.Count; i++) in MessageDescriptor()
197 Assert.AreEqual(i, fieldsInDeclarationOrder[i].Index); in MessageDescriptor()