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