Lines Matching refs:DescriptorIntPair
48 private readonly IDictionary<DescriptorIntPair, FieldDescriptor> fieldsByNumber =
49 new Dictionary<DescriptorIntPair, FieldDescriptor>();
51 private readonly IDictionary<DescriptorIntPair, EnumValueDescriptor> enumValuesByNumber =
52 new Dictionary<DescriptorIntPair, EnumValueDescriptor>();
212 fieldsByNumber.TryGetValue(new DescriptorIntPair(messageDescriptor, number), out ret); in FindFieldByNumber()
219 enumValuesByNumber.TryGetValue(new DescriptorIntPair(enumDescriptor, number), out ret); in FindEnumValueByNumber()
230 DescriptorIntPair key = new DescriptorIntPair(field.ContainingType, field.FieldNumber); in AddFieldByNumber()
249 … DescriptorIntPair key = new DescriptorIntPair(enumValue.EnumDescriptor, enumValue.Number); in AddEnumValueByNumber()
336 private struct DescriptorIntPair : IEquatable<DescriptorIntPair> struct in Google.Protobuf.Reflection.DescriptorPool
341 internal DescriptorIntPair(IDescriptor descriptor, int number) in DescriptorIntPair() method
347 public bool Equals(DescriptorIntPair other) in Equals() argument
355 if (obj is DescriptorIntPair) in Equals()
357 return Equals((DescriptorIntPair) obj); in Equals()