1 write to Count
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6921
this.
Count
= count;
20 references to Count
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Conversions.cs (1)
887
var convertedNode = new BoundConvertedStackAllocExpression(syntax, elementType, boundStackAlloc.
Count
, boundStackAlloc.InitializerOpt, stackAllocType, boundStackAlloc.HasErrors);
BoundTree\Expression.cs (2)
139
protected override ImmutableArray<BoundNode?> Children => StaticCast<BoundNode?>.From(GetChildInitializers(this.InitializerOpt).Insert(0, this.
Count
));
144
protected override ImmutableArray<BoundNode?> Children => StaticCast<BoundNode?>.From(GetChildInitializers(this.InitializerOpt).Insert(0, this.
Count
));
BoundTree\Formatting.cs (2)
155
=> (Type is null) ? FormattableStringFactory.Create("stackalloc {0}[{1}]", ElementType,
Count
.WasCompilerGenerated ? null :
Count
.Syntax.ToString()) : base.Display;
CodeGen\EmitExpression.cs (1)
2176
EmitExpression(expression.
Count
, used);
FlowAnalysis\AbstractFlowPass.cs (1)
3319
VisitRvalue(node.
Count
);
FlowAnalysis\NullableWalker.cs (1)
11018
VisitRvalue(node.
Count
);
Generated\BoundNodes.xml.Generated.cs (10)
6947
if (!TypeSymbol.Equals(elementType, this.ElementType, TypeCompareKind.ConsiderEverything) || count != this.
Count
|| initializerOpt != this.InitializerOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
6976
if (!TypeSymbol.Equals(elementType, this.ElementType, TypeCompareKind.ConsiderEverything) || count != this.
Count
|| initializerOpt != this.InitializerOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10212
this.Visit(node.
Count
);
10218
this.Visit(node.
Count
);
11487
BoundExpression count = (BoundExpression)this.Visit(node.
Count
);
11495
BoundExpression count = (BoundExpression)this.Visit(node.
Count
);
13858
BoundExpression count = (BoundExpression)this.Visit(node.
Count
);
13877
BoundExpression count = (BoundExpression)this.Visit(node.
Count
);
16079
new TreeDumperNode("count", null, new TreeDumperNode[] { Visit(node.
Count
, null) }),
16089
new TreeDumperNode("count", null, new TreeDumperNode[] { Visit(node.
Count
, null) }),
Lowering\LocalRewriter\LocalRewriter_StackAlloc.cs (1)
27
var rewrittenCount = VisitExpression(stackAllocNode.
Count
);
Lowering\SpillSequenceSpiller.cs (1)
765
BoundExpression count = VisitExpression(ref builder, node.
Count
);