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/ |
D | FieldDescriptor.cs | 77 if (FieldNumber <= 0) in FieldDescriptor() 205 public int FieldNumber => Proto.Number; field in Google.Protobuf.Reflection.FieldDescriptor 220 return FieldNumber - other.FieldNumber; in CompareTo()
|
D | DescriptorPool.cs | 230 DescriptorIntPair key = new DescriptorIntPair(field.ContainingType, field.FieldNumber); in AddFieldByNumber() 234 throw new DescriptorValidationException(field, "Field number " + field.FieldNumber + in AddFieldByNumber()
|
D | MessageDescriptor.cs | 97 …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/ |
D | DescriptorsTest.cs | 148 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/ |
D | JsonFormatter.cs | 649 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/ |
D | GeneratedMessageTest.cs | 647 …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/ |
D | descriptor_unittest.cc | 820 TEST_F(DescriptorTest, FieldNumber) { in TEST_F() argument
|