2 instantiations of DocumentSymbolData
Microsoft.VisualStudio.LanguageServices (2)
DocumentOutline\DocumentOutlineHelper.cs (1)
145return new DocumentSymbolData(
DocumentOutline\DocumentSymbolData.cs (1)
44=> new(this, children);
27 references to DocumentSymbolData
Microsoft.VisualStudio.LanguageServices (25)
DocumentOutline\DocumentOutlineHelper.cs (16)
113using var _1 = ArrayBuilder<DocumentSymbolData>.GetInstance(out var finalResult); 122DocumentSymbolData NestDescendantSymbols(ImmutableArray<LspDocumentSymbol> allSymbols, int start, out int newStart) 131using var _2 = ArrayBuilder<DocumentSymbolData>.GetInstance(out var currentSymbolChildren); 169public static ImmutableArray<DocumentSymbolData> SortDocumentSymbolData( 170ImmutableArray<DocumentSymbolData> documentSymbolData, 187static ImmutableArray<DocumentSymbolData> SortDocumentSymbols( 188ImmutableArray<DocumentSymbolData> documentSymbolData, 194using var _ = ArrayBuilder<DocumentSymbolData>.GetInstance(out var sortedDocumentSymbols); 195foreach (var documentSymbol in documentSymbolData) 231public static ImmutableArray<DocumentSymbolData> SearchDocumentSymbolData( 232ImmutableArray<DocumentSymbolData> documentSymbolData, 238using var _ = ArrayBuilder<DocumentSymbolData>.GetInstance(out var filteredDocumentSymbols); 241foreach (var documentSymbol in documentSymbolData) 251static bool SearchNodeTree(DocumentSymbolData tree, PatternMatcher patternMatcher, CancellationToken cancellationToken) 261public static ImmutableArray<DocumentSymbolUIItem> GetDocumentSymbolUIItems(ImmutableArray<DocumentSymbolData> documentSymbolData, IThreadingContext threadingContext) 264foreach (var documentSymbol in documentSymbolData)
DocumentOutline\DocumentSymbolData.cs (6)
23public ImmutableArray<DocumentSymbolData> Children { get; } 25public DocumentSymbolData(DocumentSymbol documentSymbol, SnapshotSpan rangeSpan, SnapshotSpan selectionRangeSpan, ImmutableArray<DocumentSymbolData> children) 34private DocumentSymbolData(DocumentSymbolData documentSymbolData, ImmutableArray<DocumentSymbolData> children) 43public DocumentSymbolData WithChildren(ImmutableArray<DocumentSymbolData> children)
DocumentOutline\DocumentSymbolDataModel.cs (2)
17public ImmutableArray<DocumentSymbolData> DocumentSymbolData { get; } 20public DocumentSymbolDataModel(ImmutableArray<DocumentSymbolData> documentSymbolData, ITextSnapshot originalSnapshot)
DocumentOutline\DocumentSymbolUIItem.cs (1)
66public DocumentSymbolUIItem(DocumentSymbolData documentSymbolData, ImmutableArray<DocumentSymbolUIItem> children, IThreadingContext threadingContext)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
DocumentOutline\DocumentOutlineTests.cs (2)
96void CheckSortedSymbols(ImmutableArray<DocumentSymbolData> sortedSymbols) 117foreach (var symbol in sortedSymbols)