Searched refs:FieldNumber (Results 1 – 7 of 7) sorted by relevance
/external/protobuf/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 | 93 …ollection<FieldDescriptor>(fieldsInDeclarationOrder.OrderBy(field => field.FieldNumber).ToArray()); in MessageDescriptor()
|
/external/protobuf/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()
|
/external/protobuf/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()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | GeneratedMessageTest.cs | 647 …alse(TestAllTypes.Descriptor.Fields.InDeclarationOrder().Select(x => x.FieldNumber).Contains(unuse… in IgnoreUnknownFields_RealDataStillRead()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 821 TEST_F(DescriptorTest, FieldNumber) { in TEST_F() argument
|