Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DMessageDescriptor.cs63 private readonly IList<FieldDescriptor> fieldsInDeclarationOrder; field in Google.Protobuf.Reflection.MessageDescriptor
93 fieldsInDeclarationOrder = DescriptorUtil.ConvertAndMakeReadOnly( in MessageDescriptor()
97 …fieldsInNumberOrder = new ReadOnlyCollection<FieldDescriptor>(fieldsInDeclarationOrder.OrderBy(fie… in MessageDescriptor()
233 foreach (FieldDescriptor field in fieldsInDeclarationOrder) in CrossLink()
260 … public IList<FieldDescriptor> InDeclarationOrder() => messageDescriptor.fieldsInDeclarationOrder; in InDeclarationOrder()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()