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