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