88 writes to SlotCount
Microsoft.CodeAnalysis.Razor.Compiler (88)
Language\Syntax\Generated\Syntax.xml.Internal.Generated.cs (82)
32SlotCount = 2; 42SlotCount = 2; 94SlotCount = 5; 110SlotCount = 5; 172SlotCount = 1; 185SlotCount = 1; 232SlotCount = 1; 243SlotCount = 1; 288SlotCount = 1; 301SlotCount = 1; 361SlotCount = 1; 372SlotCount = 1; 417SlotCount = 1; 430SlotCount = 1; 479SlotCount = 1; 492SlotCount = 1; 541SlotCount = 1; 554SlotCount = 1; 601SlotCount = 1; 612SlotCount = 1; 656SlotCount = 2; 669SlotCount = 2; 726SlotCount = 7; 761SlotCount = 7; 844SlotCount = 1; 855SlotCount = 1; 899SlotCount = 2; 915SlotCount = 2; 970SlotCount = 2; 983SlotCount = 2; 1111SlotCount = 3; 1132SlotCount = 3; 1201SlotCount = 6; 1231SlotCount = 6; 1318SlotCount = 6; 1345SlotCount = 6; 1424SlotCount = 3; 1446SlotCount = 3; 1516SlotCount = 6; 1545SlotCount = 6; 1629SlotCount = 6; 1655SlotCount = 6; 1736SlotCount = 7; 1769SlotCount = 7; 1853SlotCount = 2; 1867SlotCount = 2; 1920SlotCount = 1; 1931SlotCount = 1; 1984SlotCount = 10; 2029SlotCount = 10; 2134SlotCount = 5; 2160SlotCount = 5; 2244SlotCount = 1; 2255SlotCount = 1; 2300SlotCount = 1; 2310SlotCount = 1; 2356SlotCount = 1; 2369SlotCount = 1; 2418SlotCount = 1; 2431SlotCount = 1; 2480SlotCount = 1; 2493SlotCount = 1; 2540SlotCount = 1; 2551SlotCount = 1; 2612SlotCount = 2; 2622SlotCount = 2; 2672SlotCount = 3; 2684SlotCount = 3; 2737SlotCount = 2; 2747SlotCount = 2; 2797SlotCount = 3; 2809SlotCount = 3; 2862SlotCount = 2; 2872SlotCount = 2; 2920SlotCount = 1; 2928SlotCount = 1; 2983SlotCount = 2; 2994SlotCount = 2; 3046SlotCount = 2; 3057SlotCount = 2; 3108SlotCount = 2; 3121SlotCount = 2;
Language\Syntax\InternalSyntax\SyntaxList.cs (6)
180SlotCount = 2; 190SlotCount = 2; 235SlotCount = 3; 247SlotCount = 3; 311SlotCount = (byte)n; 315SlotCount = byte.MaxValue;
24 references to SlotCount
Microsoft.CodeAnalysis.Razor.Compiler (24)
Language\Syntax\ChildSyntaxList.cs (3)
32for (int i = 0, s = green.SlotCount; i < s; i++) 43n += child.SlotCount; 75return green.IsList ? green.SlotCount : 1;
Language\Syntax\GreenNode.cs (5)
126Debug.Assert(i < SlotCount); 252if (node1.IsList && node1.SlotCount == 1) 257if (node2.IsList && node2.SlotCount == 1) 273var n = node1.SlotCount; 274if (n != node2.SlotCount)
Language\Syntax\GreenNode.Enumerator.cs (1)
46for (var i = node.SlotCount - 1; i >= 0; i--)
Language\Syntax\InternalSyntax\SyntaxList.cs (6)
137var tmp = new ArrayElement<GreenNode>[left.SlotCount + right.SlotCount]; 139rightList.CopyTo(tmp, left.SlotCount); 144var tmp = new ArrayElement<GreenNode>[left.SlotCount + 1]; 146tmp[left.SlotCount].Value = right; 152var tmp = new ArrayElement<GreenNode>[rightList.SlotCount + 1];
Language\Syntax\InternalSyntax\SyntaxListBuilder.cs (1)
52var slotCount = item.SlotCount;
Language\Syntax\InternalSyntax\SyntaxListOfT.cs (3)
29return (_node == null) ? 0 : _node.IsList ? _node.SlotCount : 1; 44Debug.Assert(index <= _node.SlotCount); 111return ((TNode)node.GetSlot(node.SlotCount - 1));
Language\Syntax\SyntaxList.cs (1)
144_children = new ArrayElement<SyntaxNode?>[green.SlotCount];
Language\Syntax\SyntaxNode.cs (2)
31internal int SlotCount => Green.SlotCount; 145index += item.SlotCount;
Language\Syntax\SyntaxTokenList.cs (2)
85=> Node == null ? 0 : (Node.IsList ? Node.SlotCount : 1); 100if (unchecked((uint)index < (uint)Node.SlotCount))