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)
11661var 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)) 10425this.Visit(node.Expression); 10551this.Visit(node.Expression); 11694BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 11866BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 13807BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 14241BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 16312new TreeDumperNode("expression", null, new TreeDumperNode[] { Visit(node.Expression, null) }), 16612new 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)
34switch (node.Expression.Kind) 38BoundMethodGroup methodGroup = (BoundMethodGroup)node.Expression; 73var memberAccess = (BoundDynamicMemberAccess)node.Expression; 82var 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,