3 overrides of Replacement
Microsoft.CodeAnalysis.CSharp (3)
Lowering\StateMachineRewriter\CapturedSymbol.cs (3)
39public override BoundExpression Replacement(SyntaxNode node, Func<NamedTypeSymbol, BoundExpression> makeFrame) 57public override BoundExpression Replacement(SyntaxNode node, Func<NamedTypeSymbol, BoundExpression> makeFrame) 77public override BoundExpression Replacement(SyntaxNode node, Func<NamedTypeSymbol, BoundExpression> makeFrame)
13 references to Replacement
Microsoft.CodeAnalysis.CSharp (13)
Lowering\ClosureConversion\ClosureConversion.cs (2)
617return proxyField.Replacement(syntax, frameType => FramePointer(syntax, frameType)); 772var left = proxy.Replacement(syntax, frameType1 => new BoundLocal(syntax, framePointer, null, framePointer.Type));
Lowering\MethodToClassRewriter.cs (1)
371replacement = proxy.Replacement(syntax, frameType => FramePointer(syntax, frameType));
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (4)
144BoundExpression thisProxyReplacement = thisProxy.Replacement(F.Syntax, frameType => F.This()); 910var fetchThis = proxy.Replacement(F.Syntax, frameType => F.This()); 946return proxy.Replacement(F.Syntax, frameType => F.This()); 962return proxy.Replacement(F.Syntax, frameType => F.This());
Lowering\StateMachineRewriter\StateMachineRewriter.cs (6)
313bodyBuilder.Add(F.Assignment(proxy.Replacement(F.Syntax, frameType1 => F.Local(stateMachineVariable)), F.This())); 322bodyBuilder.Add(F.Assignment(proxy.Replacement(F.Syntax, frameType1 => F.Local(stateMachineVariable)), 460proxy.Replacement(F.Syntax, stateMachineType => F.Local(resultVariable)), 461copySrc[method.ThisParameter].Replacement(F.Syntax, stateMachineType => F.This()))); 473BoundExpression resultParameter = proxy.Replacement(F.Syntax, stateMachineType => F.Local(resultVariable)); 475BoundExpression parameterProxy = copySrc[parameter].Replacement(F.Syntax, stateMachineType => F.This());