Lines Matching refs:new
46 new Dictionary<string, IDescriptor>();
49 new Dictionary<DescriptorIntPair, FieldDescriptor>();
52 new Dictionary<DescriptorIntPair, EnumValueDescriptor>();
58 dependencies = new HashSet<FileDescriptor>();
139 throw new DescriptorValidationException(file,
145 descriptorsByName[fullName] = new PackageDescriptor(name, fullName, file);
179 throw new DescriptorValidationException(descriptor, message);
184 private static readonly Regex ValidationRegex = new Regex("^[_A-Za-z][_A-Za-z0-9]*$",
196 throw new DescriptorValidationException(descriptor, "Missing name.");
200 throw new DescriptorValidationException(descriptor,
212 fieldsByNumber.TryGetValue(new DescriptorIntPair(messageDescriptor, number), out ret);
219 enumValuesByNumber.TryGetValue(new DescriptorIntPair(enumDescriptor, number), out ret);
230 DescriptorIntPair key = new DescriptorIntPair(field.ContainingType, field.FieldNumber);
234 throw new DescriptorValidationException(field, "Field number " + field.FieldNumber +
249 DescriptorIntPair key = new DescriptorIntPair(enumValue.EnumDescriptor, enumValue.Number);
283 StringBuilder scopeToTry = new StringBuilder(relativeTo.FullName);
325 throw new DescriptorValidationException(relativeTo, "\"" + name + "\" is not defined.");