1 instantiation of DictionarySpec
Microsoft.Extensions.Configuration.Binder.SourceGeneration (1)
ConfigurationBindingGenerator.Parser.cs (1)
446return new DictionarySpec(type)
11 references to DictionarySpec
Microsoft.Extensions.Configuration.Binder.SourceGeneration (11)
ConfigurationBindingGenerator.Parser.cs (1)
374Debug.Assert(spec is DictionarySpec or UnsupportedTypeSpec or null);
Emitter\CoreBindingHelpers.cs (3)
290case DictionarySpec dictionaryType: 768private void EmitBindCoreImplForDictionary(DictionarySpec type) 1249&& type is CollectionSpec and not DictionarySpec
Specs\BindingHelperInfo.cs (1)
132case DictionarySpec dictionarySpec:
Specs\TypeIndex.cs (6)
26DictionarySpec dictionarySpec => KeyIsSupported(dictionarySpec), 41DictionarySpec dictSpec => KeyIsSupported(dictSpec) && CanBindTo(dictSpec.ElementTypeRef), 54Debug.Assert(typeSpec is not DictionarySpec, "Dictionary entries are bound in place, not constructed."); 76bool IsDictWithUnsupportedKey() => propTypeSpec is DictionarySpec dictionarySpec && !KeyIsSupported(dictionarySpec); 130string keyTypeDisplayString = ((DictionarySpec)type).KeyTypeRef.FullyQualifiedName; 134public bool KeyIsSupported(DictionarySpec typeSpec) =>