1 write to cachedThis
Microsoft.CodeAnalysis.CSharp (1)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
151this.cachedThis = F.SynthesizedLocal(thisProxyReplacement.Type, syntax: F.Syntax, kind: SynthesizedLocalKind.FrameCache);
12 references to cachedThis
Microsoft.CodeAnalysis.CSharp (12)
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
193if ((object)cachedThis != null) locals.Add(cachedThis);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (4)
112newBody = F.Block((object)cachedThis == null ? 114ImmutableArray.Create(cachedState, cachedThis), 410rewrittenHandler = F.Block((object)this.cachedThis != null ? 411ImmutableArray.Create(this.cachedThis) :
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (6)
944if ((object)this.cachedThis != null) 948return F.Assignment(F.Local(this.cachedThis), fetchThis); 958if ((object)this.cachedThis != null) 960return F.Local(this.cachedThis); 992if ((object)this.cachedThis != null) 994return F.Local(this.cachedThis);