Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DMessageDescriptor.cs59 private readonly IList<FieldDescriptor> fieldsInDeclarationOrder; field in Google.Protobuf.Reflection.MessageDescriptor
89 fieldsInDeclarationOrder = DescriptorUtil.ConvertAndMakeReadOnly( in MessageDescriptor()
93 …fieldsInNumberOrder = new ReadOnlyCollection<FieldDescriptor>(fieldsInDeclarationOrder.OrderBy(fie… in MessageDescriptor()
229 foreach (FieldDescriptor field in fieldsInDeclarationOrder) in CrossLink()
256 … public IList<FieldDescriptor> InDeclarationOrder() => messageDescriptor.fieldsInDeclarationOrder; in InDeclarationOrder()
/external/protobuf/csharp/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()