1 write to Bounds
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7126
this.
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 }] }) ?
973
ImmutableArray<BoundExpression> bounds = node.
Bounds
;
BoundTree\BoundNode.cs (1)
362
this is BoundArrayCreation {
Bounds
: [BoundLiteral { WasCompilerGenerated: true }], InitializerOpt: BoundArrayInitialization { WasCompilerGenerated: true }, WasCompilerGenerated: true } or
CodeGen\EmitExpression.cs (1)
2376
EmitArrayIndices(expression.
Bounds
);
FlowAnalysis\AbstractFlowPass.cs (1)
2824
foreach (var expr in node.
Bounds
)
FlowAnalysis\NullableWalker.cs (1)
4547
foreach (var expr in node.
Bounds
)
Generated\BoundNodes.xml.Generated.cs (5)
7139
if (bounds != this.
Bounds
|| initializerOpt != this.InitializerOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10574
this.VisitList(node.
Bounds
);
11901
ImmutableArray<BoundExpression> bounds = this.VisitList(node.
Bounds
);
14341
ImmutableArray<BoundExpression> bounds = this.VisitList(node.
Bounds
);
16665
new TreeDumperNode("bounds", null, from x in node.
Bounds
select Visit(x, null)),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
356
return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__NewArrayBounds, boundType, Expressions(node.
Bounds
));
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
1133
if (possibleParamsArray.IsParamsArrayOrCollection && !_inExpressionLambda && ((BoundArrayCreation)possibleParamsArray).
Bounds
is [BoundLiteral { ConstantValueOpt.Value: 0 }])
1261
if (paramsArray is BoundArrayCreation {
Bounds
: [BoundLiteral] bounds, InitializerOpt: BoundArrayInitialization { Initializers: var elements } initialization } creation)
Lowering\SpillSequenceSpiller.cs (2)
812
bounds = VisitExpressionList(ref builder, node.
Bounds
);
818
bounds = VisitExpressionList(ref boundsBuilder, node.
Bounds
, forceSpill: true);
Operations\CSharpOperationFactory.cs (1)
1206
ImmutableArray<IOperation> dimensionSizes = CreateFromArray<BoundExpression, IOperation>(boundArrayCreation.
Bounds
);