1 write to Children
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentSymbolUIItem.cs (1)
70
Children
= children;
13 references to Children
Microsoft.VisualStudio.LanguageServices (5)
DocumentOutline\DocumentOutlineHelper.cs (5)
292
return GetNodeToSelect(selectedSymbol.
Children
, selectedSymbol);
324
SetIsExpanded(documentSymbolItems[i].
Children
, currentDocumentSymbolItems.ElementAt(i).
Children
, expansionOption);
337
ExpandAncestors(symbol.
Children
, documentSymbolRangeSpan);
357
UnselectAll(documentSymbolItem.
Children
);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (8)
DocumentOutline\DocumentOutlineTests.cs (8)
196
originalUIItems.Single(parent => parent.Name.Equals("MyClass")).
Children
.Single(child => child.Name.Equals("Method2")).IsExpanded = false;
197
originalUIItems.Single(parent => parent.Name.Equals("foo")).
Children
.Single(child => child.Name.Equals("r")).IsExpanded = false;
210
CheckNodeExpansion(symbol.
Children
, isExpanded);
219
CheckNodeExpansionMatches(newUIItems[i].
Children
, originalUIItems[i].
Children
);
233
var selectedNode = uiItems.Single(parent => parent.Name.Equals("MyClass")).
Children
.Single(child => child.Name.Equals("Method2"));
244
CheckAncestorNodeExpansion(symbol.
Children
);
261
CheckNodesUnselected(symbol.
Children
);