23 references to ShouldEmitMethods
Microsoft.Extensions.Configuration.Binder.SourceGeneration (23)
ConfigurationBindingGenerator.Emitter.cs (1)
36if (!ShouldEmitMethods(MethodsToGen.Any))
Emitter\ConfigurationBinder.cs (13)
15if (!ShouldEmitMethods(MethodsToGen.ConfigBinder_Any)) 32if (ShouldEmitMethods(MethodsToGen.ConfigBinder_Get_T)) 39if (ShouldEmitMethods(MethodsToGen.ConfigBinder_Get_T_BinderOptions)) 46if (ShouldEmitMethods(MethodsToGen.ConfigBinder_Get_TypeOf)) 53if (ShouldEmitMethods(MethodsToGen.ConfigBinder_Get_TypeOf_BinderOptions)) 66if (ShouldEmitMethods(MethodsToGen.ConfigBinder_GetValue_T_key)) 73if (ShouldEmitMethods(MethodsToGen.ConfigBinder_GetValue_T_key_defaultValue)) 81if (ShouldEmitMethods(MethodsToGen.ConfigBinder_GetValue_TypeOf_key)) 88if (ShouldEmitMethods(MethodsToGen.ConfigBinder_GetValue_TypeOf_key_defaultValue)) 107if (!ShouldEmitMethods(MethodsToGen.ConfigBinder_Bind)) 114if (ShouldEmitMethods(MethodsToGen.ConfigBinder_Bind_instance)) 123if (ShouldEmitMethods(MethodsToGen.ConfigBinder_Bind_instance_BinderOptions)) 132if (ShouldEmitMethods(MethodsToGen.ConfigBinder_Bind_key_instance))
Emitter\CoreBindingHelpers.cs (1)
465ShouldEmitMethods(MethodsToGen.ConfigBinder_Bind_instance_BinderOptions))
Emitter\OptionsBuilderConfigurationExtensions.cs (4)
12if (!ShouldEmitMethods(MethodsToGen.OptionsBuilderExt_Any)) 25if (!ShouldEmitMethods(MethodsToGen.OptionsBuilderExt_Bind)) 33if (ShouldEmitMethods(MethodsToGen.OptionsBuilderExt_Bind_T)) 58if (!ShouldEmitMethods(MethodsToGen.OptionsBuilderExt_BindConfiguration_T_path_BinderOptions))
Emitter\OptionsConfigurationServiceCollectionExtensions.cs (4)
12if (!ShouldEmitMethods(MethodsToGen.ServiceCollectionExt_Any)) 27if (ShouldEmitMethods(MethodsToGen.ServiceCollectionExt_Configure_T)) 34if (ShouldEmitMethods(MethodsToGen.ServiceCollectionExt_Configure_T_name)) 43if (ShouldEmitMethods(MethodsToGen.ServiceCollectionExt_Configure_T_BinderOptions))