1 write to Name
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentSymbolUIItem.cs (1)
69Name = documentSymbolData.Name;
12 references to Name
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (12)
DocumentOutline\DocumentOutlineTests.cs (12)
167Assert.Equal("MyClass", nodeToSelect?.Name); 172Assert.Equal("Method1", nodeToSelect?.Name); 177Assert.Equal("App", nodeToSelect?.Name); 195originalUIItems.Single(parent => parent.Name.Equals("App")).IsExpanded = false; 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; 233var selectedNode = uiItems.Single(parent => parent.Name.Equals("MyClass")).Children.Single(child => child.Name.Equals("Method2")); 243Assert.True(symbol.Name.Equals("MyClass") || symbol.Name.Equals("Method2") ? symbol.IsExpanded : !symbol.IsExpanded);