1 instantiation of BlockStructureOptions
Microsoft.CodeAnalysis.Features (1)
Structure\BlockStructureOptions.cs (1)
27public static readonly BlockStructureOptions Default = new();
60 references to BlockStructureOptions
Microsoft.CodeAnalysis.CSharp.Features (38)
Structure\CSharpStructureHelpers.cs (1)
212in BlockStructureOptions options)
Structure\Providers\AccessorDeclarationStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\AnonymousMethodExpressionStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\AnonymousObjectCreationExpressionStructureProvider.cs (1)
21BlockStructureOptions options,
Structure\Providers\ArgumentListStructureProvider.cs (1)
14protected override void CollectBlockSpans(SyntaxToken previousToken, ArgumentListSyntax node, ArrayBuilder<BlockSpan> spans, BlockStructureOptions options, CancellationToken cancellationToken)
Structure\Providers\ArrowExpressionClauseStructureProvider.cs (1)
22BlockStructureOptions options,
Structure\Providers\BlockSyntaxStructureProvider.cs (1)
25BlockStructureOptions options,
Structure\Providers\CollectionExpressionStructureProvider.cs (1)
19BlockStructureOptions options,
Structure\Providers\CompilationUnitStructureProvider.cs (1)
21BlockStructureOptions options,
Structure\Providers\ConstructorDeclarationStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\ConversionOperatorDeclarationStructureProvider.cs (1)
20BlockStructureOptions options,
Structure\Providers\DelegateDeclarationStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\DestructorDeclarationStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\DisabledTextTriviaStructureProvider.cs (1)
17BlockStructureOptions options,
Structure\Providers\DocumentationCommentStructureProvider.cs (1)
20BlockStructureOptions options,
Structure\Providers\EnumDeclarationStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\EnumMemberDeclarationStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\EventDeclarationStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\EventFieldDeclarationStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\FieldDeclarationStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\FileScopedNamespaceDeclarationStructureProvider.cs (1)
21BlockStructureOptions options,
Structure\Providers\IfDirectiveTriviaStructureProvider.cs (1)
23BlockStructureOptions options,
Structure\Providers\IndexerDeclarationStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\InitializerExpressionStructureProvider.cs (1)
21BlockStructureOptions options,
Structure\Providers\InterpolatedStringExpressionStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\MethodDeclarationStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\MultilineCommentBlockStructureProvider.cs (1)
16BlockStructureOptions options,
Structure\Providers\NamespaceDeclarationStructureProvider.cs (1)
19BlockStructureOptions options,
Structure\Providers\OperatorDeclarationStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\ParameterListStructureProvider.cs (1)
14protected override void CollectBlockSpans(SyntaxToken previousToken, ParameterListSyntax node, ArrayBuilder<BlockSpan> spans, BlockStructureOptions options, CancellationToken cancellationToken)
Structure\Providers\ParenthesizedLambdaExpressionStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\PropertyDeclarationStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\RegionDirectiveStructureProvider.cs (1)
36BlockStructureOptions options,
Structure\Providers\SimpleLambdaExpressionStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\StringLiteralExpressionStructureProvider.cs (1)
18BlockStructureOptions options,
Structure\Providers\SwitchExpressionStructureProvider.cs (1)
19BlockStructureOptions options,
Structure\Providers\SwitchStatementStructureProvider.cs (1)
19BlockStructureOptions options,
Structure\Providers\TypeDeclarationStructureProvider.cs (1)
18BlockStructureOptions options,
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (2)
Structure\OmniSharpBlockStructureOptions.cs (2)
13internal BlockStructureOptions ToBlockStructureOptions() 14=> BlockStructureOptions.Default with
Microsoft.CodeAnalysis.Features (20)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
272public bool ShouldCollapseOnOpen(MetadataAsSourceWorkspace workspace, string filePath, BlockStructureOptions blockStructureOptions)
MetadataAsSource\IMetadataAsSourceFileProvider.cs (1)
39bool ShouldCollapseOnOpen(MetadataAsSourceWorkspace workspace, string filePath, BlockStructureOptions blockStructureOptions);
MetadataAsSource\MetadataAsSourceFileService.cs (1)
222public bool ShouldCollapseOnOpen(string? filePath, BlockStructureOptions blockStructureOptions)
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (1)
372public bool ShouldCollapseOnOpen(MetadataAsSourceWorkspace workspace, string filePath, BlockStructureOptions blockStructureOptions)
Structure\BlockStructureContext.cs (2)
12internal readonly struct BlockStructureContext(SyntaxTree syntaxTree, BlockStructureOptions options, CancellationToken cancellationToken) : IDisposable 21public readonly BlockStructureOptions Options = options;
Structure\BlockStructureOptions.cs (1)
27public static readonly BlockStructureOptions Default = new();
Structure\BlockStructureService.cs (1)
27public abstract Task<BlockStructure> GetBlockStructureAsync(Document document, BlockStructureOptions options, CancellationToken cancellationToken);
Structure\BlockStructureServiceWithProviders.cs (3)
48BlockStructureOptions options, 58in BlockStructureOptions options, 82private static BlockSpan UpdateBlockSpan(BlockSpan blockSpan, in BlockStructureOptions options)
Structure\Syntax\AbstractSyntaxNodeStructureProvider.cs (3)
17BlockStructureOptions options, 27BlockStructureOptions options, 40BlockStructureOptions options,
Structure\Syntax\AbstractSyntaxStructureProvider.cs (2)
16BlockStructureOptions options, 22BlockStructureOptions options,
Structure\Syntax\AbstractSyntaxTriviaStructureProvider.cs (1)
17BlockStructureOptions options,
Structure\Syntax\BlockSpanCollector.cs (3)
15private readonly BlockStructureOptions _options; 21BlockStructureOptions options, 34BlockStructureOptions options,