1 write to cachedThis
Microsoft.CodeAnalysis.CSharp (1)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
146
this.
cachedThis
= F.SynthesizedLocal(thisProxyReplacement.Type, syntax: F.Syntax, kind: SynthesizedLocalKind.FrameCache);
12 references to cachedThis
Microsoft.CodeAnalysis.CSharp (12)
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
191
if ((object)
cachedThis
!= null) locals.Add(
cachedThis
);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (4)
110
newBody = F.Block((object)
cachedThis
== null ?
112
ImmutableArray.Create(cachedState,
cachedThis
),
409
rewrittenHandler = F.Block((object)this.
cachedThis
!= null ?
410
ImmutableArray.Create(this.
cachedThis
) :
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (6)
907
if ((object)this.
cachedThis
!= null)
911
return F.Assignment(F.Local(this.
cachedThis
), fetchThis);
921
if ((object)this.
cachedThis
!= null)
923
return F.Local(this.
cachedThis
);
955
if ((object)this.
cachedThis
!= null)
957
return F.Local(this.
cachedThis
);