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)
123
Expression
.sectionPath,
198
Expression
.sectionPath,
525
if (!{{keysIdentifier}}.Value.Contains({{
Expression
.sectionKey}}))
527
({{Identifier.temp}} ??= new {{TypeDisplayString.ListOfString}}()).Add($"'{{{
Expression
.sectionKey}}}'");
720
Expression
.sectionPath,
755
EmitStartBlock($"if (!string.IsNullOrEmpty({
Expression
.sectionValue}) && !{Identifier.section}.{Identifier.GetChildren}().{Identifier.Any}())");
772
Expression
.sectionKey,
773
Expression
.sectionPath,
787
Expression
.sectionPath,