1 write to Bounds
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7126this.Bounds = bounds;
17 references to Bounds
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Attributes.cs (2)
389(arguments[argIndex].IsParamsArrayOrCollection && arguments[argIndex] is BoundArrayCreation { Bounds: [BoundLiteral { ConstantValueOpt.Value: 0 }] }) ? 973ImmutableArray<BoundExpression> bounds = node.Bounds;
BoundTree\BoundNode.cs (1)
341this is BoundArrayCreation { Bounds: [BoundLiteral { WasCompilerGenerated: true }], InitializerOpt: BoundArrayInitialization { WasCompilerGenerated: true }, WasCompilerGenerated: true } or
CodeGen\EmitExpression.cs (1)
2376EmitArrayIndices(expression.Bounds);
FlowAnalysis\AbstractFlowPass.cs (1)
2734foreach (var expr in node.Bounds)
FlowAnalysis\NullableWalker.cs (1)
4431foreach (var expr in node.Bounds)
Generated\BoundNodes.xml.Generated.cs (5)
7139if (bounds != this.Bounds || initializerOpt != this.InitializerOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10572this.VisitList(node.Bounds); 11899ImmutableArray<BoundExpression> bounds = this.VisitList(node.Bounds); 14339ImmutableArray<BoundExpression> bounds = this.VisitList(node.Bounds); 16663new TreeDumperNode("bounds", null, from x in node.Bounds select Visit(x, null)),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
358return ExprFactory("NewArrayBounds", boundType, Expressions(node.Bounds));
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
1133if (possibleParamsArray.IsParamsArrayOrCollection && !_inExpressionLambda && ((BoundArrayCreation)possibleParamsArray).Bounds is [BoundLiteral { ConstantValueOpt.Value: 0 }]) 1261if (paramsArray is BoundArrayCreation { Bounds: [BoundLiteral] bounds, InitializerOpt: BoundArrayInitialization { Initializers: var elements } initialization } creation)
Lowering\SpillSequenceSpiller.cs (2)
812bounds = VisitExpressionList(ref builder, node.Bounds); 818bounds = VisitExpressionList(ref boundsBuilder, node.Bounds, forceSpill: true);
Operations\CSharpOperationFactory.cs (1)
1206ImmutableArray<IOperation> dimensionSizes = CreateFromArray<BoundExpression, IOperation>(boundArrayCreation.Bounds);