48 references to CSharpStructureHelpers
Microsoft.CodeAnalysis.CSharp.Features (48)
Structure\Providers\AccessorDeclarationStructureProvider.cs (2)
21CSharpStructureHelpers.CollectCommentBlockSpans(accessorDeclaration, spans, options); 40spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan(
Structure\Providers\AnonymousMethodExpressionStructureProvider.cs (2)
29var lastToken = CSharpStructureHelpers.GetLastInlineMethodBlockToken(anonymousMethod); 39spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan(
Structure\Providers\CompilationUnitStructureProvider.cs (3)
24CSharpStructureHelpers.CollectCommentBlockSpans(compilationUnit, spans, options); 32spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan( 45CSharpStructureHelpers.CollectCommentBlockSpans(compilationUnit.EndOfFileToken.LeadingTrivia, spans);
Structure\Providers\ConstructorDeclarationStructureProvider.cs (2)
21CSharpStructureHelpers.CollectCommentBlockSpans(constructorDeclaration, spans, options); 40spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan(
Structure\Providers\ConversionOperatorDeclarationStructureProvider.cs (2)
23CSharpStructureHelpers.CollectCommentBlockSpans(operatorDeclaration, spans, options); 42spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan(
Structure\Providers\DelegateDeclarationStructureProvider.cs (1)
21CSharpStructureHelpers.CollectCommentBlockSpans(delegateDeclaration, spans, options);
Structure\Providers\DestructorDeclarationStructureProvider.cs (2)
21CSharpStructureHelpers.CollectCommentBlockSpans(destructorDeclaration, spans, options); 31spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan(
Structure\Providers\DisabledTextTriviaStructureProvider.cs (1)
64bannerText: CSharpStructureHelpers.Ellipsis,
Structure\Providers\EnumDeclarationStructureProvider.cs (3)
21CSharpStructureHelpers.CollectCommentBlockSpans(enumDeclaration, spans, options); 35spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan( 48CSharpStructureHelpers.CollectCommentBlockSpans(leadingTrivia, spans);
Structure\Providers\EnumMemberDeclarationStructureProvider.cs (1)
21CSharpStructureHelpers.CollectCommentBlockSpans(enumMemberDeclaration, spans, options);
Structure\Providers\EventDeclarationStructureProvider.cs (2)
21CSharpStructureHelpers.CollectCommentBlockSpans(eventDeclaration, spans, options); 41spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan(
Structure\Providers\EventFieldDeclarationStructureProvider.cs (1)
21CSharpStructureHelpers.CollectCommentBlockSpans(eventFieldDeclaration, spans, options);
Structure\Providers\FieldDeclarationStructureProvider.cs (1)
21CSharpStructureHelpers.CollectCommentBlockSpans(fieldDeclaration, spans, options);
Structure\Providers\FileScopedNamespaceDeclarationStructureProvider.cs (3)
25CSharpStructureHelpers.CollectCommentBlockSpans(fileScopedNamespaceDeclaration, spans, options); 33CSharpStructureHelpers.CollectCommentBlockSpans(externsAndUsings.First(), spans, options); 36spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan(
Structure\Providers\IfDirectiveTriviaStructureProvider.cs (1)
58bannerText: CSharpStructureHelpers.Ellipsis,
Structure\Providers\IndexerDeclarationStructureProvider.cs (2)
21CSharpStructureHelpers.CollectCommentBlockSpans(indexerDeclaration, spans, options); 41spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan(
Structure\Providers\MethodDeclarationStructureProvider.cs (2)
21CSharpStructureHelpers.CollectCommentBlockSpans(methodDeclaration, spans, options); 40spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan(
Structure\Providers\MultilineCommentBlockStructureProvider.cs (1)
24bannerText: CSharpStructureHelpers.GetCommentBannerText(trivia),
Structure\Providers\NamespaceDeclarationStructureProvider.cs (5)
23CSharpStructureHelpers.CollectCommentBlockSpans(namespaceDeclaration, spans, options); 28spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan( 45CSharpStructureHelpers.CollectCommentBlockSpans(externsAndUsings.First(), spans, options); 48spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan( 55CSharpStructureHelpers.CollectCommentBlockSpans(
Structure\Providers\OperatorDeclarationStructureProvider.cs (2)
21CSharpStructureHelpers.CollectCommentBlockSpans(operatorDeclaration, spans, options); 40spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan(
Structure\Providers\ParenthesizedLambdaExpressionStructureProvider.cs (2)
34var lastToken = CSharpStructureHelpers.GetLastInlineMethodBlockToken(lambdaExpression); 40spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan(
Structure\Providers\PropertyDeclarationStructureProvider.cs (2)
21CSharpStructureHelpers.CollectCommentBlockSpans(propertyDeclaration, spans, options); 40spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan(
Structure\Providers\SimpleLambdaExpressionStructureProvider.cs (2)
34var lastToken = CSharpStructureHelpers.GetLastInlineMethodBlockToken(lambdaExpression); 40spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan(
Structure\Providers\TypeDeclarationStructureProvider.cs (3)
23CSharpStructureHelpers.CollectCommentBlockSpans(typeDeclaration, spans, options); 43spans.AddIfNotNull(CSharpStructureHelpers.CreateBlockSpan( 56CSharpStructureHelpers.CollectCommentBlockSpans(leadingTrivia, spans);