15 instantiations of SynthesizedLocal
Microsoft.CodeAnalysis.CSharp (15)
CodeGen\CodeGenerator.cs (1)
190
var localSymbol = new
SynthesizedLocal
(_method, returnTypeWithAnnotations, SynthesizedLocalKind.FunctionReturnValue, bodySyntax);
Compiler\MethodBodySynthesizer.cs (1)
434
tmps[i] = new
SynthesizedLocal
(accessor, TypeWithAnnotations.Create(delegateType), SynthesizedLocalKind.LoweringTemp);
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (3)
224
var pendingExceptionLocal = new
SynthesizedLocal
(_F.CurrentFunction, TypeWithAnnotations.Create(exceptionType), SynthesizedLocalKind.TryAwaitPendingException, tryStatementSyntax);
226
var pendingBranchVar = new
SynthesizedLocal
(_F.CurrentFunction, TypeWithAnnotations.Create(_F.SpecialType(SpecialType.System_Int32)), SynthesizedLocalKind.TryAwaitPendingBranch, tryStatementSyntax);
1082
this.returnValue = returnValue = new
SynthesizedLocal
(containingMethod, TypeWithAnnotations.Create(valueOpt.Type), SynthesizedLocalKind.AsyncMethodReturnValue, _syntaxOpt);
Lowering\ClosureConversion\ClosureConversion.cs (1)
671
LocalSymbol framePointer = new
SynthesizedLocal
(_topLevelMethod, TypeWithAnnotations.Create(frameType), SynthesizedLocalKind.LambdaDisplayClass, frame.ScopeSyntaxOpt);
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (1)
390
var localSymbol = new
SynthesizedLocal
(_factory.CurrentFunction, TypeWithAnnotations.Create(outputPlaceholder.Type), SynthesizedLocalKind.LoweringTemp);
Lowering\SyntheticBoundNodeFactory.cs (4)
608
return new
SynthesizedLocal
(CurrentFunction, TypeWithAnnotations.Create(type), kind, syntax, isPinned,
626
return new
SynthesizedLocal
(
1698
new
SynthesizedLocal
(
1739
temp = new
SynthesizedLocal
(this.CurrentFunction, TypeWithAnnotations.Create(node.Type), SynthesizedLocalKind.LoweringTemp);
Operations\CSharpOperationFactory.cs (1)
2077
legacyMode ? null : new
SynthesizedLocal
((_semanticModel.GetEnclosingSymbol(boundLockStatement.Syntax.SpanStart) as IMethodSymbol).GetSymbol(),
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (2)
487
new
SynthesizedLocal
(this, TypeWithAnnotations.Create(_containingType), SynthesizedLocalKind.LoweringTemp),
580
new
SynthesizedLocal
(this, TypeWithAnnotations.Create(_containingType), SynthesizedLocalKind.LoweringTemp),
Symbols\Synthesized\SynthesizedLocal.cs (1)
82
return new
SynthesizedLocal
(
21 references to SynthesizedLocal
Microsoft.CodeAnalysis.CSharp (21)
BoundTree\BoundNode.cs (1)
415
return (o is
SynthesizedLocal
l) ? l.DumperString() : base.DumperString(o);
BoundTree\BoundNode_Source.cs (5)
21
appendSourceCore(this, indent: 0, tempIdentifiers: new Dictionary<
SynthesizedLocal
, int>());
24
void appendSourceCore(BoundNode node, int indent, Dictionary<
SynthesizedLocal
, int> tempIdentifiers)
96
if (local is
SynthesizedLocal
synthesized)
417
string name(
SynthesizedLocal
local)
430
if (symbol is
SynthesizedLocal
synthesized)
CodeGen\CodeGenerator.cs (1)
190
var
localSymbol = new SynthesizedLocal(_method, returnTypeWithAnnotations, SynthesizedLocalKind.FunctionReturnValue, bodySyntax);
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (9)
224
var
pendingExceptionLocal = new SynthesizedLocal(_F.CurrentFunction, TypeWithAnnotations.Create(exceptionType), SynthesizedLocalKind.TryAwaitPendingException, tryStatementSyntax);
226
var
pendingBranchVar = new SynthesizedLocal(_F.CurrentFunction, TypeWithAnnotations.Create(_F.SpecialType(SpecialType.System_Int32)), SynthesizedLocalKind.TryAwaitPendingBranch, tryStatementSyntax);
335
SynthesizedLocal
pendingBranchVar)
365
SynthesizedLocal
returnValue;
414
SynthesizedLocal
returnValue;
1004
public
SynthesizedLocal
returnValue;
1060
out
SynthesizedLocal
returnValue)
1095
public readonly
SynthesizedLocal
pendingCaughtException;
1099
public readonly
SynthesizedLocal
pendingCatch;
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
1048
((
SynthesizedLocal
)receiverTemp.LocalSymbol).SetIsKnownToReferToTempIfReferenceType();
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (1)
390
var
localSymbol = new SynthesizedLocal(_factory.CurrentFunction, TypeWithAnnotations.Create(outputPlaceholder.Type), SynthesizedLocalKind.LoweringTemp);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
515
} is
SynthesizedLocal
Symbols\Synthesized\TypeSubstitutedLocalSymbol.cs (2)
145
var
origSynthesized = (
SynthesizedLocal
)_originalVariable;