1 write to cachedThis
Microsoft.CodeAnalysis.CSharp (1)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
146this.cachedThis = F.SynthesizedLocal(thisProxyReplacement.Type, syntax: F.Syntax, kind: SynthesizedLocalKind.FrameCache);
12 references to cachedThis
Microsoft.CodeAnalysis.CSharp (12)
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
191if ((object)cachedThis != null) locals.Add(cachedThis);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (4)
111newBody = F.Block((object)cachedThis == null ? 113ImmutableArray.Create(cachedState, cachedThis), 402rewrittenHandler = F.Block((object)this.cachedThis != null ? 403ImmutableArray.Create(this.cachedThis) :
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (6)
926if ((object)this.cachedThis != null) 930return F.Assignment(F.Local(this.cachedThis), fetchThis); 940if ((object)this.cachedThis != null) 942return F.Local(this.cachedThis); 974if ((object)this.cachedThis != null) 976return F.Local(this.cachedThis);