14 references to NotSupportedReason
ConfigurationSchemaGenerator (14)
DiagnosticDescriptors.cs (9)
69
public static DiagnosticDescriptor GetNotSupportedDescriptor(
NotSupportedReason
reason) =>
72
NotSupportedReason
.UnknownType => TypeNotSupported,
73
NotSupportedReason
.MissingPublicInstanceConstructor => MissingPublicInstanceConstructor,
74
NotSupportedReason
.CollectionNotSupported => CollectionNotSupported,
75
NotSupportedReason
.DictionaryKeyNotSupported => DictionaryKeyNotSupported,
76
NotSupportedReason
.ElementTypeNotSupported => ElementTypeNotSupported,
77
NotSupportedReason
.MultipleParameterizedConstructors => MultipleParameterizedConstructors,
78
NotSupportedReason
.MultiDimArraysNotSupported => MultiDimArraysNotSupported,
79
NotSupportedReason
.NullableUnderlyingTypeNotSupported => NullableUnderlyingTypeNotSupported,
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (4)
211
spec = CreateUnsupportedTypeSpec(typeParseInfo,
NotSupportedReason
.UnknownType);
343
return CreateUnsupportedTypeSpec(typeParseInfo,
NotSupportedReason
.MultiDimArraysNotSupported);
748
=> CreateUnsupportedTypeSpec(typeParseInfo,
NotSupportedReason
.CollectionNotSupported);
750
private static UnsupportedTypeSpec CreateUnsupportedTypeSpec(TypeParseInfo typeParseInfo,
NotSupportedReason
reason) =>
RuntimeSource\Configuration.Binder\Specs\Types\TypeSpec.cs (1)
56
public required NotSupportedReason
NotSupportedReason
{ get; init; }