14 references to CanInstantiate
Microsoft.Extensions.Configuration.Binder.SourceGeneration (14)
Emitter\CoreBindingHelpers.cs (11)
138
if (_typeIndex.
CanInstantiate
(complexType))
327
Debug.Assert(_typeIndex.
CanInstantiate
(type));
739
case ComplexTypeSpec complexType when _typeIndex.
CanInstantiate
(complexType):
828
if (_typeIndex.
CanInstantiate
(complexElementType))
982
(canSet && _typeIndex.
CanInstantiate
(complexType));
1117
return _typeIndex.
CanInstantiate
(complexType);
1148
_typeIndex.
CanInstantiate
(effectiveMemberType))
1214
if (!bindingToLocal && member.CanGet && _typeIndex.
CanInstantiate
(effectiveMemberType))
1250
&& _typeIndex.
CanInstantiate
(type);
1256
if (_typeIndex.
CanInstantiate
(type))
1302
if (_typeIndex.
CanInstantiate
(type))
Specs\BindingHelperInfo.cs (1)
161
return _typeIndex.
CanInstantiate
(collectionSpec);
Specs\TypeIndex.cs (2)
19
ComplexTypeSpec complexTypeSpec =>
CanInstantiate
(complexTypeSpec) || HasBindableMembers(complexTypeSpec),
59
ComplexTypeSpec elementSpec =>
CanInstantiate
(elementSpec),