105 references to Region
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (105)
Structure\AccessorDeclarationStructureTests.cs (6)
56Region("span1", "// My ...", autoCollapse: true), 103Region("span1", "// My ...", autoCollapse: true), 152Region("span1", "// My ...", autoCollapse: true), 193Region("span1", "// My ...", autoCollapse: true), 240Region("span1", "// My ...", autoCollapse: true), 289Region("span1", "// My ...", autoCollapse: true),
Structure\ArgumentListSyntaxStructureTests.cs (5)
50Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: false)); 67Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: false)); 76Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: false)); 99Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: false)); 122Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: false));
Structure\CommentStructureTests.cs (4)
65Region("span", "// Hello ...", autoCollapse: true)); 81Region("span", "// Hello ...", autoCollapse: true)); 97Region("span", "// Hello ...", autoCollapse: true)); 114Region("span", "// Hello ...", autoCollapse: true));
Structure\CompilationUnitStructureTests.cs (6)
89Region("span1", "// Goo ...", autoCollapse: true), 91Region("span3", "// Goo ...", autoCollapse: true)); 105Region("span1", "// Goo ...", autoCollapse: true), 120Region("span1", "// Goo ...", autoCollapse: true), 133Region("span1", "// Goo ...", autoCollapse: true)); 147Region("span2", "// Goo ...", autoCollapse: true));
Structure\ConstructorDeclarationStructureTests.cs (1)
204Region("span1", "// Goo ...", autoCollapse: true),
Structure\ConversionOperatorDeclarationStructureTests.cs (1)
89Region("span1", "// Goo ...", autoCollapse: true),
Structure\DelegateDeclarationStructureTests.cs (1)
28Region("span", "// Goo ...", autoCollapse: true));
Structure\DestructorDeclarationStructureTests.cs (1)
50Region("span1", "// Goo ...", autoCollapse: true),
Structure\DisabledTextStructureTests.cs (12)
31Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: true)); 47Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: true)); 63Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: true)); 83Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: true)); 122Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: true)); 144Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: true)); 166Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: true)); 190Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: true)); 211Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: true)); 231Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: true)); 260Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: true)); 289Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: true));
Structure\DocumentationCommentStructureTests.cs (17)
34Region("span", "/// XML doc comment ...", autoCollapse: true)); 52Region("span", "/** Block comment ...", autoCollapse: true)); 66Region("span", "/// <param name=\"tree\"></param> ...", autoCollapse: true)); 82Region("span", "/// <summary> Hello C#!", autoCollapse: true)); 99Region("span", "/// <summary> " + new string('x', 106) + " ...", autoCollapse: true)); 115Region("span", "/** <summary> Hello C#!", autoCollapse: true)); 131Region("span", "/// <summary> Hello C#!", autoCollapse: true)); 147Region("span", "/** <summary> Hello C#!", autoCollapse: true)); 161Region("span", "/// <summary>Hello C#!", autoCollapse: true)); 175Region("span", "/** <summary>Hello C#!", autoCollapse: true)); 189Region("span", "/// <summary>Hello C#!", autoCollapse: true)); 203Region("span", "/** <summary>Hello C#!", autoCollapse: true)); 220Region("span", "/// <summary> Hello C#!", autoCollapse: true)); 238Region("span", "/// <summary> Hello C#!", autoCollapse: true)); 256Region("span", "/// <summary> Summary with SeeClass, SeeAlsoClass, null, T, t, and not-supported.", autoCollapse: true)); 276Region("span", "/// <summary> The main entrypoint for Program.", autoCollapse: true)); 296Region("span", "/// <summary> Initializes a new instance of the Class1 class.", autoCollapse: true));
Structure\EnumDeclarationStructureTests.cs (2)
83Region("span1", "// Goo ...", autoCollapse: true), 100Region("span2", "// Goo ...", autoCollapse: true));
Structure\EventDeclarationStructureTests.cs (1)
149Region("span1", "// Goo ...", autoCollapse: true),
Structure\EventFieldDeclarationStructureTests.cs (1)
31Region("span", "// Goo ...", autoCollapse: true));
Structure\FieldDeclarationStructureTests.cs (1)
31Region("span", "// Goo ...", autoCollapse: true));
Structure\IfDirectiveTriviaStructureTests.cs (4)
40Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: false)); 63Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: false)); 86Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: false)); 140Region("span", CSharpStructureHelpers.Ellipsis, autoCollapse: false));
Structure\IndexerDeclarationStructureTests.cs (2)
89Region("span1", "// Goo ...", autoCollapse: true), 106Region("span", "// Goo ...", autoCollapse: true));
Structure\MetadataAsSource\AccessorDeclarationStructureTests.cs (1)
65Region("span1", "// My ...", autoCollapse: true),
Structure\MetadataAsSource\InvalidIdentifierStructureTests.cs (1)
74Region("textspan3", "/* now everything is commented (); ...", autoCollapse: true),
Structure\MetadataAsSource\RegionDirectiveStructureTests.cs (2)
30Region("span", "Assembly mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", autoCollapse: true, isDefaultCollapsed: true)); 43Region("span", "#region", autoCollapse: true, isDefaultCollapsed: true));
Structure\MethodDeclarationStructureTests.cs (2)
158Region("span1", "// Goo ...", autoCollapse: true), 175Region("span", "// Goo ...", autoCollapse: true));
Structure\MultilineCommentStructureTests.cs (17)
31Region("span", "/* Hello ...", autoCollapse: true)); 45Region("span", "/* Hello C# ...", autoCollapse: true)); 57Region("span", "/* ...", autoCollapse: true)); 69Region("span", "/* ...", autoCollapse: true)); 90Region("span1", "/* My ...", autoCollapse: true)); 114Region("span1", "/* My ...", autoCollapse: true)); 139Region("span1", "/* My ...", autoCollapse: true)); 160Region("span1", "/* My ...", autoCollapse: true)); 184Region("span1", "/* My ...", autoCollapse: true)); 209Region("span1", "/* My ...", autoCollapse: true)); 224Region("span1", "/* Comment in file ...", autoCollapse: true)); 239Region("span1", "/* Comment in namespace ...", autoCollapse: true)); 258Region("span1", "/* Comment in class ...", autoCollapse: true)); 280Region("span1", "/* Comment in method ...", autoCollapse: true)); 305Region("span1", "/* Comment in local function ...", autoCollapse: true)); 327Region("span1", "/* Comment in constructor ...", autoCollapse: true)); 336Region("span", "/* / ...", autoCollapse: true));
Structure\NamespaceDeclarationStructureTests.cs (3)
50Region("span1", "// Goo ...", autoCollapse: true), 91Region("span2", "// Goo ...", autoCollapse: true), 111Region("span2", "// Goo ...", autoCollapse: true));
Structure\OperatorDeclarationStructureTests.cs (1)
127Region("span1", "// Goo ...", autoCollapse: true),
Structure\PropertyDeclarationStructureTests.cs (2)
169Region("span1", "// Goo ...", autoCollapse: true), 186Region("span", "// Goo ...", autoCollapse: true));
Structure\RegionDirectiveStructureTests.cs (5)
39Region("span", "Goo", autoCollapse: false, isDefaultCollapsed: true)); 75Region("span", "TaoRegion", autoCollapse: false, isDefaultCollapsed: true)); 98Region("span", "Region", autoCollapse: false, isDefaultCollapsed: collapseRegionsWhenFirstOpened)); 116Region("span", "Region", autoCollapse: false, isDefaultCollapsed: true)); 130Region("span", "R1", autoCollapse: false, isDefaultCollapsed: true));
Structure\TypeDeclarationStructureTests.cs (6)
89Region("span1", "// Goo ...", autoCollapse: true), 106Region("span2", "// Goo ...", autoCollapse: true)); 179Region("span1", "// Goo ...", autoCollapse: true), 196Region("span2", "// Goo ...", autoCollapse: true)); 269Region("span1", "// Goo ...", autoCollapse: true), 286Region("span2", "// Goo ...", autoCollapse: true));