1 write to Expression
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5884this.Expression = expression;
26 references to Expression
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder_Invocation.cs (4)
1068(object)dynInvoke.Expression.Type != null && 1069dynInvoke.Expression.Type.IsRestrictedType()) 1073Error(diagnostics, ErrorCode.ERR_BadDynamicMethodArg, dynInvoke.Expression.Syntax, dynInvoke.Expression.Type);
BoundTree\Expression.cs (1)
121protected override ImmutableArray<BoundNode?> Children => StaticCast<BoundNode?>.From(this.Arguments.Insert(0, this.Expression));
FlowAnalysis\AbstractFlowPass.cs (1)
1165VisitRvalue(node.Expression);
FlowAnalysis\NullableWalker.cs (1)
11722var expr = node.Expression;
Generated\BoundNodes.xml.Generated.cs (10)
5918if (argumentNamesOpt != this.ArgumentNamesOpt || argumentRefKindsOpt != this.ArgumentRefKindsOpt || applicableMethods != this.ApplicableMethods || expression != this.Expression || arguments != this.Arguments || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 6931if (applicableMethods != this.ApplicableMethods || expression != this.Expression || arguments != this.Arguments || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10461this.Visit(node.Expression); 10587this.Visit(node.Expression); 11730BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 11902BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 13843BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 14277BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 16348new TreeDumperNode("expression", null, new TreeDumperNode[] { Visit(node.Expression, null) }), 16648new TreeDumperNode("expression", null, new TreeDumperNode[] { Visit(node.Expression, null) }),
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
937if (node.Expression.Kind == BoundKind.MethodGroup) 939return base.VisitMethodGroup((BoundMethodGroup)node.Expression);
Lowering\LocalRewriter\LocalRewriter_Call.cs (4)
33switch (node.Expression.Kind) 37BoundMethodGroup methodGroup = (BoundMethodGroup)node.Expression; 72var memberAccess = (BoundDynamicMemberAccess)node.Expression; 81var loweredExpression = VisitExpression(node.Expression);
Operations\CSharpOperationFactory.cs (3)
778IOperation operation = CreateBoundDynamicInvocationExpressionReceiver(boundDynamicInvocation.Expression); 976IOperation operation = CreateBoundDynamicInvocationExpressionReceiver(boundCollectionElementInitializer.Expression); 2451BoundDynamicInvocation { Expression: BoundMethodGroup { Name: var name } } => name,