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)
193
if ((object)
cachedThis
!= null) locals.Add(
cachedThis
);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (4)
112
newBody = F.Block((object)
cachedThis
== null ?
114
ImmutableArray.Create(cachedState,
cachedThis
),
408
rewrittenHandler = F.Block((object)this.
cachedThis
!= null ?
409
ImmutableArray.Create(this.
cachedThis
) :
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (6)
944
if ((object)this.
cachedThis
!= null)
948
return F.Assignment(F.Local(this.
cachedThis
), fetchThis);
958
if ((object)this.
cachedThis
!= null)
960
return F.Local(this.
cachedThis
);
992
if ((object)this.
cachedThis
!= null)
994
return F.Local(this.
cachedThis
);