12 references to Expression
Microsoft.Extensions.Configuration.Binder.SourceGeneration (12)
ConfigurationBindingGenerator.Emitter.cs (2)
58
{{
Expression
.GeneratedCodeAnnotation}}
86
{{
Expression
.GeneratedCodeAnnotation}}
Emitter\ConfigurationBinder.cs (1)
137
configExpression: $"{
Expression
.configurationGetSection}({Identifier.key})",
Emitter\CoreBindingHelpers.cs (9)
124
Expression
.sectionPath,
199
Expression
.sectionPath,
533
if (!{{keysIdentifier}}.Value.Contains({{
Expression
.sectionKey}}))
535
({{Identifier.temp}} ??= new {{TypeDisplayString.ListOfString}}()).Add($"'{{{
Expression
.sectionKey}}}'");
728
Expression
.sectionPath,
763
EmitStartBlock($"if (!string.IsNullOrEmpty({
Expression
.sectionValue}) && !{Identifier.section}.{Identifier.GetChildren}().{Identifier.Any}())");
780
Expression
.sectionKey,
781
Expression
.sectionPath,
795
Expression
.sectionPath,