2 writes to Children
Microsoft.VisualStudio.LanguageServices (2)
DocumentOutline\DocumentSymbolData.cs (2)
31
Children
= children;
40
Children
= children;
10 references to Children
Microsoft.VisualStudio.LanguageServices (4)
DocumentOutline\DocumentOutlineHelper.cs (4)
197
var sortedChildren = SortDocumentSymbols(documentSymbol.
Children
, sortOption, cancellationToken);
243
var filteredChildren = SearchDocumentSymbolData(documentSymbol.
Children
, pattern, cancellationToken);
254
return patternMatcher.Matches(tree.Name) || tree.
Children
.Any(c => SearchNodeTree(c, patternMatcher, cancellationToken));
266
var children = GetDocumentSymbolUIItems(documentSymbol.
Children
, threadingContext);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (6)
DocumentOutline\DocumentOutlineTests.cs (6)
118
CheckSortedSymbols(symbol.
Children
);
134
Assert.Equal(0, searchedSymbols.Single(symbol => symbol.Name.Equals("foo")).
Children
.Length);
139
Assert.Equal(2, searchedSymbols.Single(symbol => symbol.Name.Equals("MyClass")).
Children
.Length);
140
Assert.Equal(1, searchedSymbols.Single(symbol => symbol.Name.Equals("App")).
Children
.Length);
145
Assert.Equal(0, searchedSymbols.Single(symbol => symbol.Name.Equals("App")).
Children
.Length);
146
Assert.Equal(1, searchedSymbols.Single(symbol => symbol.Name.Equals("foo")).
Children
.Length);