Home
last modified time | relevance | path

Searched refs:FieldNumber (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs77 if (FieldNumber <= 0) in FieldDescriptor()
205 public int FieldNumber => Proto.Number; field in Google.Protobuf.Reflection.FieldDescriptor
220 return FieldNumber - other.FieldNumber; in CompareTo()
DDescriptorPool.cs230 DescriptorIntPair key = new DescriptorIntPair(field.ContainingType, field.FieldNumber); in AddFieldByNumber()
234 throw new DescriptorValidationException(field, "Field number " + field.FieldNumber + in AddFieldByNumber()
DMessageDescriptor.cs97 …ollection<FieldDescriptor>(fieldsInDeclarationOrder.OrderBy(field => field.FieldNumber).ToArray()); in MessageDescriptor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs148 Assert.AreEqual(1, primitiveField.FieldNumber); in FieldDescriptor()
247 …Assert.AreEqual(new[] { 11, 1, 101, 200 }, fields.InDeclarationOrder().Select(x => x.FieldNumber)); in FieldListOrderings()
248 …Assert.AreEqual(new[] { 1, 11, 101, 200 }, fields.InFieldNumberOrder().Select(x => x.FieldNumber)); in FieldListOrderings()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonFormatter.cs649 switch (specifiedField.FieldNumber) in WriteStructFieldValue()
666 …ow new InvalidOperationException("Unexpected case in struct field: " + specifiedField.FieldNumber); in WriteStructFieldValue()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs647 …alse(TestAllTypes.Descriptor.Fields.InDeclarationOrder().Select(x => x.FieldNumber).Contains(unuse… in IgnoreUnknownFields_RealDataStillRead()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor_unittest.cc820 TEST_F(DescriptorTest, FieldNumber) { in TEST_F() argument