15 references to EmitTempArgument
Microsoft.AspNetCore.Http.RequestDelegateGenerator (15)
StaticRouteHandlerModel\Emitters\EndpointParameterEmitter.cs (15)
32
codeWriter.WriteLine($"var {endpointParameter.
EmitTempArgument
()} = {endpointParameter.EmitAssigningCodeResult()}.ToArray();");
36
codeWriter.WriteLine($"var {endpointParameter.
EmitTempArgument
()} = {endpointParameter.EmitAssigningCodeResult()}.Count > 0 ? (string?){endpointParameter.EmitAssigningCodeResult()} : null;");
40
codeWriter.WriteLine($"var {endpointParameter.
EmitTempArgument
()} = {endpointParameter.EmitAssigningCodeResult()};");
49
codeWriter.WriteLine($"var {endpointParameter.
EmitTempArgument
()} = (string?){endpointParameter.EmitAssigningCodeResult()};");
86
codeWriter.WriteLine($"var {endpointParameter.
EmitTempArgument
()} = {endpointParameter.EmitAssigningCodeResult()};");
95
var createArray = $"new {endpointParameter.ElementType.ToDisplayString(EmitterConstants.DisplayFormat)}[{endpointParameter.
EmitTempArgument
()}.Length]";
100
codeWriter.WriteLine($"for (var i = 0; i < {endpointParameter.
EmitTempArgument
()}.Length; i++)");
102
codeWriter.WriteLine($"var element = {endpointParameter.
EmitTempArgument
()}[i];");
128
codeWriter.WriteLine($"{endpointParameter.Type.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat)} {endpointParameter.EmitHandlerArgument()} = {endpointParameter.
EmitTempArgument
()}!;");
133
var temp_argument = endpointParameter.
EmitTempArgument
();
172
codeWriter.WriteLine($"{endpointParameter.Type.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat)} {endpointParameter.EmitHandlerArgument()} = {endpointParameter.
EmitTempArgument
()}!;");
213
codeWriter.WriteLine($"var {endpointParameter.
EmitTempArgument
()} = (string?){endpointParameter.EmitAssigningCodeResult()};");
226
codeWriter.WriteLine($"var {endpointParameter.
EmitTempArgument
()} = {endpointParameter.EmitAssigningCodeResult()}.ToArray();");
233
codeWriter.WriteLine($"var {endpointParameter.
EmitTempArgument
()} = {endpointParameter.EmitAssigningCodeResult()}.Count > 0 ? (string?){endpointParameter.EmitAssigningCodeResult()} : {fallback};");
242
codeWriter.WriteLine($"var {endpointParameter.
EmitTempArgument
()} = (string?){endpointParameter.EmitAssigningCodeResult()};");