15 references to _listStack
Microsoft.CodeAnalysis.Features (15)
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (15)
127_listStack.Add((listType, index: 0, renderedItem: false)); 136if (_listStack.Count == 0) 141var (type, index, renderedItem) = _listStack[^1]; 149_listStack[^1] = (type, index + 1, renderedItem: false); 155if (_listStack.Count == 0) 160if (_listStack[^1].renderedItem) 165_listStack.RemoveAt(_listStack.Count - 1); 241for (var i = 0; i < _listStack.Count; i++) 243if (_listStack[i].renderedItem) 248switch (_listStack[i].type) 255Builder.Add(new TaggedText(TextTags.ContainerStart, $"{_listStack[i].index}. ")); 265_listStack[i] = (_listStack[i].type, _listStack[i].index, renderedItem: true);