15 references to _listStack
Microsoft.CodeAnalysis.Features (15)
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (15)
126
_listStack
.Add((listType, index: 0, renderedItem: false));
135
if (
_listStack
.Count == 0)
140
var (type, index, renderedItem) =
_listStack
[^1];
148
_listStack
[^1] = (type, index + 1, renderedItem: false);
154
if (
_listStack
.Count == 0)
159
if (
_listStack
[^1].renderedItem)
164
_listStack
.RemoveAt(
_listStack
.Count - 1);
240
for (var i = 0; i <
_listStack
.Count; i++)
242
if (
_listStack
[i].renderedItem)
247
switch (
_listStack
[i].type)
254
Builder.Add(new TaggedText(TextTags.ContainerStart, $"{
_listStack
[i].index}. "));
264
_listStack
[i] = (
_listStack
[i].type,
_listStack
[i].index, renderedItem: true);