1 write to Count
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7191this.Count = count;
20 references to Count
Microsoft.CodeAnalysis.CSharp (20)
BoundTree\Expression.cs (2)
139protected override ImmutableArray<BoundNode?> Children => StaticCast<BoundNode?>.From(GetChildInitializers(this.InitializerOpt).Insert(0, this.Count)); 144protected 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 (2)
2402EmitStackAlloc(expression.Type, initializer, expression.Count); 2408EmitExpression(expression.Count, used: false);
FlowAnalysis\AbstractFlowPass.cs (1)
3515VisitRvalue(node.Count);
FlowAnalysis\NullableWalker.cs (1)
11995VisitRvalue(node.Count);
Generated\BoundNodes.xml.Generated.cs (10)
7217if (!TypeSymbol.Equals(elementType, this.ElementType, TypeCompareKind.ConsiderEverything) || count != this.Count || initializerOpt != this.InitializerOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 7246if (!TypeSymbol.Equals(elementType, this.ElementType, TypeCompareKind.ConsiderEverything) || count != this.Count || initializerOpt != this.InitializerOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10622this.Visit(node.Count); 10628this.Visit(node.Count); 11951BoundExpression count = (BoundExpression)this.Visit(node.Count); 11959BoundExpression count = (BoundExpression)this.Visit(node.Count); 14414BoundExpression count = (BoundExpression)this.Visit(node.Count); 14433BoundExpression count = (BoundExpression)this.Visit(node.Count); 16721new TreeDumperNode("count", null, new TreeDumperNode[] { Visit(node.Count, null) }), 16731new TreeDumperNode("count", null, new TreeDumperNode[] { Visit(node.Count, null) }),
Lowering\LocalRewriter\LocalRewriter_StackAlloc.cs (1)
27var rewrittenCount = VisitExpression(stackAllocNode.Count);
Lowering\SpillSequenceSpiller.cs (1)
836BoundExpression count = VisitExpression(ref builder, node.Count);