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,
530
if (!{{keysIdentifier}}.Value.Contains({{
Expression
.sectionKey}}))
532
({{Identifier.temp}} ??= new {{TypeDisplayString.ListOfString}}()).Add($"'{{{
Expression
.sectionKey}}}'");
725
Expression
.sectionPath,
760
EmitStartBlock($"if (!string.IsNullOrEmpty({
Expression
.sectionValue}) && !{Identifier.section}.{Identifier.GetChildren}().{Identifier.Any}())");
777
Expression
.sectionKey,
778
Expression
.sectionPath,
792
Expression
.sectionPath,