Lines Matching refs:IDescriptor
45 private readonly IDictionary<string, IDescriptor> descriptorsByName =
46 new Dictionary<string, IDescriptor>();
48 private readonly IDictionary<ObjectIntPair<IDescriptor>, FieldDescriptor> fieldsByNumber =
49 new Dictionary<ObjectIntPair<IDescriptor>, FieldDescriptor>();
51 … private readonly IDictionary<ObjectIntPair<IDescriptor>, EnumValueDescriptor> enumValuesByNumber =
52 new Dictionary<ObjectIntPair<IDescriptor>, EnumValueDescriptor>();
91 IDescriptor result;
134 IDescriptor old; in AddPackage()
153 internal void AddSymbol(IDescriptor descriptor) in AddSymbol()
158 IDescriptor old; in AddSymbol()
192 private static void ValidateSymbolName(IDescriptor descriptor) in ValidateSymbolName()
212 … fieldsByNumber.TryGetValue(new ObjectIntPair<IDescriptor>(messageDescriptor, number), out ret); in FindFieldByNumber()
219 … enumValuesByNumber.TryGetValue(new ObjectIntPair<IDescriptor>(enumDescriptor, number), out ret); in FindEnumValueByNumber()
231 …ObjectIntPair<IDescriptor> key = new ObjectIntPair<IDescriptor>(field.Proto.HasExtendee ? field.Ex… in AddFieldByNumber()
250 …ObjectIntPair<IDescriptor> key = new ObjectIntPair<IDescriptor>(enumValue.EnumDescriptor, enumValu… in AddEnumValueByNumber()
267 internal IDescriptor LookupSymbol(string name, IDescriptor relativeTo) in LookupSymbol()
269 IDescriptor result; in LookupSymbol()
273 result = FindSymbol<IDescriptor>(name.Substring(1)); in LookupSymbol()
293 result = FindSymbol<IDescriptor>(name); in LookupSymbol()
302 result = FindSymbol<IDescriptor>(scopeToTry.ToString()); in LookupSymbol()
313 result = FindSymbol<IDescriptor>(scopeToTry.ToString()); in LookupSymbol()