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