Searched refs:messageDescriptor (Results 1 – 3 of 3) sorted by relevance
249 private readonly MessageDescriptor messageDescriptor; field in Google.Protobuf.Reflection.MessageDescriptor.FieldCollection251 internal FieldCollection(MessageDescriptor messageDescriptor) in FieldCollection() argument253 this.messageDescriptor = messageDescriptor; in FieldCollection()260 … public IList<FieldDescriptor> InDeclarationOrder() => messageDescriptor.fieldsInDeclarationOrder; in InDeclarationOrder()268 … public IList<FieldDescriptor> InFieldNumberOrder() => messageDescriptor.fieldsInNumberOrder; in InFieldNumberOrder()278 … internal IDictionary<string, FieldDescriptor> ByJsonName() => messageDescriptor.jsonFieldMap; in ByJsonName()291 var fieldDescriptor = messageDescriptor.FindFieldByNumber(number);311 var fieldDescriptor = messageDescriptor.FindFieldByName(name);
165 private void AddMessage(MessageDescriptor messageDescriptor) in AddMessage() argument167 foreach (var nestedType in messageDescriptor.NestedTypes) in AddMessage()174 types[messageDescriptor.FullName] = messageDescriptor; in AddMessage()
209 internal FieldDescriptor FindFieldByNumber(MessageDescriptor messageDescriptor, int number) in FindFieldByNumber() argument212 fieldsByNumber.TryGetValue(new DescriptorIntPair(messageDescriptor, number), out ret); in FindFieldByNumber()