1 write to Expression
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5883this.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)
11664var expr = node.Expression;
Generated\BoundNodes.xml.Generated.cs (10)
5917if (argumentNamesOpt != this.ArgumentNamesOpt || argumentRefKindsOpt != this.ArgumentRefKindsOpt || applicableMethods != this.ApplicableMethods || expression != this.Expression || arguments != this.Arguments || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 6930if (applicableMethods != this.ApplicableMethods || expression != this.Expression || arguments != this.Arguments || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10424this.Visit(node.Expression); 10550this.Visit(node.Expression); 11693BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 11865BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 13806BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 14240BoundExpression expression = (BoundExpression)this.Visit(node.Expression); 16311new TreeDumperNode("expression", null, new TreeDumperNode[] { Visit(node.Expression, null) }), 16611new 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,