14 references to NotSupportedReason
Microsoft.Extensions.Configuration.Binder.SourceGeneration (14)
ConfigurationBindingGenerator.Parser.cs (4)
212spec = CreateUnsupportedTypeSpec(typeParseInfo, NotSupportedReason.UnknownType); 344return CreateUnsupportedTypeSpec(typeParseInfo, NotSupportedReason.MultiDimArraysNotSupported); 804=> CreateUnsupportedTypeSpec(typeParseInfo, NotSupportedReason.CollectionNotSupported); 806private static UnsupportedTypeSpec CreateUnsupportedTypeSpec(TypeParseInfo typeParseInfo, NotSupportedReason reason) =>
Parser\DiagnosticDescriptors.cs (9)
66public static DiagnosticDescriptor GetNotSupportedDescriptor(NotSupportedReason reason) => 69NotSupportedReason.UnknownType => TypeNotSupported, 70NotSupportedReason.MissingPublicInstanceConstructor => MissingPublicInstanceConstructor, 71NotSupportedReason.CollectionNotSupported => CollectionNotSupported, 72NotSupportedReason.DictionaryKeyNotSupported => DictionaryKeyNotSupported, 73NotSupportedReason.ElementTypeNotSupported => ElementTypeNotSupported, 74NotSupportedReason.MultipleParameterizedConstructors => MultipleParameterizedConstructors, 75NotSupportedReason.MultiDimArraysNotSupported => MultiDimArraysNotSupported, 76NotSupportedReason.NullableUnderlyingTypeNotSupported => NullableUnderlyingTypeNotSupported,
Specs\Types\TypeSpec.cs (1)
66public required NotSupportedReason NotSupportedReason { get; init; }