6 references to BindCore
Microsoft.Extensions.Configuration.Binder.SourceGeneration (6)
Emitter\ConfigurationBinder.cs (1)
161{{nameof(MethodsToGen_CoreBindingHelper.BindCore)}}({{configExpression}}, ref {{Identifier.typedObj}}, defaultValueIfNotFound: false, {{binderOptionsArg}});
Emitter\CoreBindingHelpers.cs (3)
263EmitStartBlock(@$"public static void {nameof(MethodsToGen_CoreBindingHelper.BindCore)}({Identifier.IConfiguration} {Identifier.configuration}, {objParameterExpression}, bool defaultValueIfNotFound, {Identifier.BinderOptions}? {Identifier.binderOptions})"); 444if (ShouldEmitMethods(MethodsToGen_CoreBindingHelper.BindCore)) 1130string bindCoreCall = $@"{nameof(MethodsToGen_CoreBindingHelper.BindCore)}({configArgExpr}, ref {instanceToBindExpr}, defaultValueIfNotFound: {FormatDefaultValueIfNotFound()}, {Identifier.binderOptions});";
Specs\BindingHelperInfo.cs (2)
54TypesForGen_BindCore = GetTypesForGen_CoreBindingHelper<ComplexTypeSpec>(MethodsToGen_CoreBindingHelper.BindCore), 209RegisterTypeForMethodGen(MethodsToGen_CoreBindingHelper.BindCore, type);