15 references to _listStack
Microsoft.CodeAnalysis.Features (15)
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (15)
122_listStack.Add((listType, index: 0, renderedItem: false)); 131if (_listStack.Count == 0) 136var (type, index, renderedItem) = _listStack[^1]; 144_listStack[^1] = (type, index + 1, renderedItem: false); 150if (_listStack.Count == 0) 155if (_listStack[^1].renderedItem) 160_listStack.RemoveAt(_listStack.Count - 1); 236for (var i = 0; i < _listStack.Count; i++) 238if (_listStack[i].renderedItem) 243switch (_listStack[i].type) 250Builder.Add(new TaggedText(TextTags.ContainerStart, $"{_listStack[i].index}. ")); 260_listStack[i] = (_listStack[i].type, _listStack[i].index, renderedItem: true);