3 overrides of Replacement
Microsoft.CodeAnalysis.CSharp (3)
Lowering\StateMachineRewriter\CapturedSymbol.cs (3)
39public override BoundExpression Replacement<TArg>(SyntaxNode node, Func<NamedTypeSymbol, TArg, BoundExpression> makeFrame, TArg arg) 57public override BoundExpression Replacement<TArg>(SyntaxNode node, Func<NamedTypeSymbol, TArg, BoundExpression> makeFrame, TArg arg) 77public override BoundExpression Replacement<TArg>(SyntaxNode node, Func<NamedTypeSymbol, TArg, BoundExpression> makeFrame, TArg arg)
13 references to Replacement
Microsoft.CodeAnalysis.CSharp (13)
Lowering\ClosureConversion\ClosureConversion.cs (2)
625return proxyField.Replacement( 783var left = proxy.Replacement(
Lowering\MethodToClassRewriter.cs (1)
376replacement = proxy.Replacement(
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (4)
144BoundExpression thisProxyReplacement = thisProxy.Replacement(F.Syntax, static (frameType, F) => F.This(), F); 929var fetchThis = proxy.Replacement(F.Syntax, static (frameType, F) => F.This(), F); 965return proxy.Replacement(F.Syntax, static (frameType, F) => F.This(), F); 981return proxy.Replacement(F.Syntax, static (frameType, F) => F.This(), F);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (6)
314var leftExpression = proxy.Replacement( 328var leftExpression = proxy.Replacement( 468var leftExpression = proxy.Replacement( 473var rightExpression = copySrc[method.ThisParameter].Replacement(F.Syntax, static (stateMachineType, F) => F.This(), F); 487BoundExpression resultParameter = proxy.Replacement( 493BoundExpression parameterProxy = copySrc[parameter].Replacement(F.Syntax, static (stateMachineType, F) => F.This(), F);