1 write to cachedThis
Microsoft.CodeAnalysis.CSharp (1)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
151
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)
198
if ((object)
cachedThis
!= null) locals.Add(
cachedThis
);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (4)
117
newBody = F.Block((object)
cachedThis
== null ?
119
ImmutableArray.Create(cachedState,
cachedThis
),
415
rewrittenHandler = F.Block((object)this.
cachedThis
!= null ?
416
ImmutableArray.Create(this.
cachedThis
) :
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (6)
951
if ((object)this.
cachedThis
!= null)
955
return F.Assignment(F.Local(this.
cachedThis
), fetchThis);
965
if ((object)this.
cachedThis
!= null)
967
return F.Local(this.
cachedThis
);
999
if ((object)this.
cachedThis
!= null)
1001
return F.Local(this.
cachedThis
);