1 instantiation of DictionarySpec
Microsoft.Extensions.Configuration.Binder.SourceGeneration (1)
ConfigurationBindingGenerator.Parser.cs (1)
443
return new
DictionarySpec
(type)
9 references to DictionarySpec
Microsoft.Extensions.Configuration.Binder.SourceGeneration (9)
ConfigurationBindingGenerator.Parser.cs (1)
371
Debug.Assert(spec is
DictionarySpec
or UnsupportedTypeSpec or null);
Emitter\CoreBindingHelpers.cs (2)
279
case
DictionarySpec
dictionaryType:
760
private void EmitBindCoreImplForDictionary(
DictionarySpec
type)
Specs\BindingHelperInfo.cs (1)
132
case
DictionarySpec
dictionarySpec:
Specs\TypeIndex.cs (5)
26
DictionarySpec
dictionarySpec => KeyIsSupported(dictionarySpec),
35
DictionarySpec
dictSpec => KeyIsSupported(dictSpec) && CanBindTo(dictSpec.ElementTypeRef),
47
bool IsDictWithUnsupportedKey() => propTypeSpec is
DictionarySpec
dictionarySpec && !KeyIsSupported(dictionarySpec);
101
string keyTypeDisplayString = ((
DictionarySpec
)type).KeyTypeRef.FullyQualifiedName;
105
public bool KeyIsSupported(
DictionarySpec
typeSpec) =>