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