2 instantiations of SynthesizedLocal
Microsoft.CodeAnalysis.CSharp (2)
Lowering\SyntheticBoundNodeFactory.cs (1)
595
return new
SynthesizedLocal
(CurrentFunction, TypeWithAnnotations.Create(type), kind, syntax, isPinned,
Symbols\Synthesized\SynthesizedLocal.cs (1)
82
return new
SynthesizedLocal
(
22 references to SynthesizedLocal
Microsoft.CodeAnalysis.CSharp (22)
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)
177
var
localSymbol = new SynthesizedLocal(_method, _method.ReturnTypeWithAnnotations, SynthesizedLocalKind.FunctionReturnValue, bodySyntax);
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (9)
187
var
pendingExceptionLocal = new SynthesizedLocal(_F.CurrentFunction, TypeWithAnnotations.Create(exceptionType), SynthesizedLocalKind.TryAwaitPendingException, tryStatementSyntax);
189
var
pendingBranchVar = new SynthesizedLocal(_F.CurrentFunction, TypeWithAnnotations.Create(_F.SpecialType(SpecialType.System_Int32)), SynthesizedLocalKind.TryAwaitPendingBranch, tryStatementSyntax);
298
SynthesizedLocal
pendingBranchVar)
328
SynthesizedLocal
returnValue;
376
SynthesizedLocal
returnValue;
930
public
SynthesizedLocal
returnValue;
986
out
SynthesizedLocal
returnValue)
1021
public readonly
SynthesizedLocal
pendingCaughtException;
1025
public readonly
SynthesizedLocal
pendingCatch;
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
988
((
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 (2)
491
private BoundExpression HoistRefInitialization(
SynthesizedLocal
local, BoundAssignmentOperator node)
841
return HoistRefInitialization((
SynthesizedLocal
)leftLocal, node);
Symbols\Synthesized\TypeSubstitutedLocalSymbol.cs (2)
135
var
origSynthesized = (
SynthesizedLocal
)_originalVariable;