326 references to GetStructure
Microsoft.Analyzers.Local (1)
Microsoft.AspNetCore.App.Analyzers (1)
Microsoft.CodeAnalysis (6)
Microsoft.CodeAnalysis.CodeStyle (14)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (14)
Microsoft.CodeAnalysis.CSharp.CodeStyle (17)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (6)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Features (12)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (128)
LexicalAndXml\XmlDocCommentTests.cs (106)
85var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
154var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
175var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
200var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
222var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
245var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
268var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
295var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
323var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
347var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
372var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
398var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
425var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
452var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
480var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
509var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
539var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
568var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
598var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
629var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
652var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
674var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
696var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
718var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
740var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
760var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
794var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
827var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
858var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
886var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
911var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
937var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
962var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
989var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1020var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1048var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1073var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1098var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1125var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1158var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1189var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1215var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1242var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1270var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1315var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1339var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1364var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1388var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1413var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1437var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1462var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1486var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1566var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1594var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1622var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1648var doc = (DocumentationCommentTriviaSyntax)node.GetStructure();
1723Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[2].GetStructure().GetType());
1724var doc = trivias[2].GetStructure() as DocumentationCommentTriviaSyntax;
1757Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[0].GetStructure().GetType());
1758Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[3].GetStructure().GetType());
1761var firstComment = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
1762var secondComment = trivias[3].GetStructure() as DocumentationCommentTriviaSyntax;
1799Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[0].GetStructure().GetType());
1800Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[3].GetStructure().GetType());
1803var firstComment = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
1804var secondComment = trivias[3].GetStructure() as DocumentationCommentTriviaSyntax;
1842Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[0].GetStructure().GetType());
1845var firstComment = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
1877Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[0].GetStructure().GetType());
1880var firstComment = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
1912Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[0].GetStructure().GetType());
1915var firstComment = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
1947Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[0].GetStructure().GetType());
1950var firstComment = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
1984Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[0].GetStructure().GetType());
1987var firstComment = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2020Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[0].GetStructure().GetType());
2023var firstComment = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2058Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[0].GetStructure().GetType());
2061var firstComment = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2090Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[0].GetStructure().GetType());
2093var firstComment = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2124Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[0].GetStructure().GetType());
2127var firstComment = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2155Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[0].GetStructure().GetType());
2158var firstComment = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2185Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[2].GetStructure().GetType());
2188var firstComment = trivias[2].GetStructure() as DocumentationCommentTriviaSyntax;
2217Assert.Equal(typeof(DocumentationCommentTriviaSyntax), trivias[0].GetStructure().GetType());
2220var outerComment = (trivias[0].GetStructure() as DocumentationCommentTriviaSyntax).Content[1] as XmlElementSyntax;
2264VerifyXmlElement((trivias[0].GetStructure() as DocumentationCommentTriviaSyntax).Content[0] as XmlElementSyntax, "goo", " ");
2266VerifyXmlAttributes(((trivias[0].GetStructure() as DocumentationCommentTriviaSyntax).Content[0] as XmlElementSyntax).StartTag.Attributes,
2291var doc = topTrivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2331var doc = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2387var doc = classKeyword.GetLeadingTrivia()[0].GetStructure() as DocumentationCommentTriviaSyntax;
2417var doc = classKeyword.GetLeadingTrivia()[0].GetStructure() as DocumentationCommentTriviaSyntax;
2445var doc = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2471var doc = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2498var doc = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2523var doc = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2545var doc = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2571var doc = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2639var doc = classKeyword.GetLeadingTrivia()[0].GetStructure() as DocumentationCommentTriviaSyntax;
2657var doc = classKeyword.GetLeadingTrivia()[0].GetStructure() as DocumentationCommentTriviaSyntax;
2747var doc = trivias[0].GetStructure() as DocumentationCommentTriviaSyntax;
2771var doc = trivias[1].GetStructure() as DocumentationCommentTriviaSyntax;
Microsoft.CodeAnalysis.CSharp.Workspaces (20)
Microsoft.CodeAnalysis.Features (8)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic (11)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (8)
Microsoft.CodeAnalysis.VisualBasic.Features (12)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (14)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (13)
Microsoft.CodeAnalysis.Workspaces (16)
Microsoft.VisualStudio.LanguageServices (1)