1 write to Argument
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7091this.Argument = argument;
33 references to Argument
Microsoft.CodeAnalysis.CSharp (33)
CodeGen\EmitExpression.cs (2)
799var mg = expression.Argument as BoundMethodGroup; 800var receiver = mg != null ? mg.ReceiverOpt : expression.Argument;
Compilation\CSharpSemanticModel.cs (1)
4286if (delegateCreation.Argument == boundNode && (object)delegateCreation.MethodOpt != null)
FlowAnalysis\AbstractFlowPass.cs (2)
1614var methodGroup = node.Argument as BoundMethodGroup; 1630VisitRvalue(node.Argument);
FlowAnalysis\NullableWalker.cs (2)
9602switch (node.Argument) 9620VisitRvalue(node.Argument);
Generated\BoundNodes.xml.Generated.cs (5)
7108if (argument != this.Argument || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(methodOpt, this.MethodOpt) || isExtensionMethod != this.IsExtensionMethod || wasTargetTyped != this.WasTargetTyped || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10570this.Visit(node.Argument); 11896BoundExpression argument = (BoundExpression)this.Visit(node.Argument); 14325BoundExpression argument = (BoundExpression)this.Visit(node.Argument); 16655new TreeDumperNode("argument", null, new TreeDumperNode[] { Visit(node.Argument, null) }),
Lowering\ClosureConversion\ClosureConversion.cs (2)
1333if (node.Argument.Kind == BoundKind.Lambda) 1335return RewriteLambdaConversion((BoundLambda)node.Argument);
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (5)
787if (node.Argument.Kind == BoundKind.MethodGroup) 795return DelegateCreation(node.Argument, node.MethodOpt, node.Type, staticMember); 798var d = node.Argument.Type as NamedTypeSymbol; 801return DelegateCreation(node.Argument, d.DelegateInvokeMethod, node.Type, false); 805throw ExceptionUtilities.UnexpectedValue(node.Argument);
Lowering\DiagnosticsPass_ExpressionTrees.cs (3)
853if (node.Argument.Kind != BoundKind.MethodGroup) 855this.Visit(node.Argument); 859CheckMethodGroup((BoundMethodGroup)node.Argument, node.MethodOpt, node.IsExtensionMethod, parentIsConversion: true, convertedToType: node.Type);
Lowering\LocalRewriter\DelegateCacheContainer.cs (1)
62var constrainedToTypeOpt = ((targetMethod.IsAbstract || targetMethod.IsVirtual) && boundDelegateCreation.Argument is BoundTypeExpression typeExpression) ? typeExpression.Type : null;
Lowering\LocalRewriter\DelegateCacheRewriter.cs (1)
166if ((targetMethod.IsAbstract || targetMethod.IsVirtual) && boundDelegateCreation.Argument is BoundTypeExpression typeExpression)
Lowering\LocalRewriter\LocalRewriter_DelegateCreationExpression.cs (4)
18if (node.Argument.HasDynamicType()) 20var loweredArgument = VisitExpression(node.Argument); 28if (node.Argument.Kind == BoundKind.MethodGroup) 30var mg = (BoundMethodGroup)node.Argument;
Lowering\MethodToClassRewriter.cs (1)
586BoundExpression originalArgument = node.Argument;
Lowering\SpillSequenceSpiller.cs (1)
1208var argument = VisitExpression(ref builder, node.Argument);
Operations\CSharpOperationFactory_Methods.cs (3)
163if (boundDelegateCreationExpression.Argument.Kind == BoundKind.MethodGroup && 170BoundMethodGroup boundMethodGroup = (BoundMethodGroup)boundDelegateCreationExpression.Argument; 175return Create(boundDelegateCreationExpression.Argument);