16 references to DiagnosticDescriptors
ConfigurationSchemaGenerator (16)
DiagnosticDescriptors.cs (1)
17private static readonly string s_projectName = typeof(DiagnosticDescriptors).Assembly.GetName().Name!;
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (12)
39RecordDiagnostic(DiagnosticDescriptors.LanguageVersionNotSupported, trimmedLocation: Location.None); 149RecordDiagnostic(DiagnosticDescriptors.CouldNotDetermineTypeInfo, invocation.Location); 183DiagnosticDescriptors.NullableUnderlyingTypeNotSupported); 354DiagnosticDescriptors.ElementTypeNotSupported); 430TypeRef keyTypeRef = EnqueueTransitiveType(typeParseInfo, keyTypeSymbol, DiagnosticDescriptors.DictionaryKeyNotSupported); 431TypeRef elementTypeRef = EnqueueTransitiveType(typeParseInfo, elementTypeSymbol, DiagnosticDescriptors.ElementTypeNotSupported); 514TypeRef elementTypeRef = EnqueueTransitiveType(typeParseInfo, elementType, DiagnosticDescriptors.ElementTypeNotSupported); 635initDiagDescriptor = DiagnosticDescriptors.MultipleParameterizedConstructors; 647initDiagDescriptor = DiagnosticDescriptors.MissingPublicInstanceConstructor; 672TypeRef propertyTypeRef = EnqueueTransitiveType(typeParseInfo, property.Type, DiagnosticDescriptors.PropertyNotSupported, propertyName); 895DiagnosticDescriptor descriptor = DiagnosticDescriptors.GetNotSupportedDescriptor(unsupportedTypeSpec.NotSupportedReason); 898else if (containingTypeDiagInfo?.Descriptor == DiagnosticDescriptors.DictionaryKeyNotSupported &&
RuntimeSource\Configuration.Binder\Parser\ConfigurationBinder.cs (3)
91RecordDiagnostic(DiagnosticDescriptors.CouldNotDetermineTypeInfo, invocation.Location); 97RecordDiagnostic(DiagnosticDescriptors.ValueTypesInvalidForBind, invocation.Location, messageArgs: new object[] { type }); 242RecordDiagnostic(DiagnosticDescriptors.CouldNotDetermineTypeInfo, invocation.Location);