1 instantiation of BlockStructureOptions
Microsoft.CodeAnalysis.Features (1)
Structure\BlockStructureOptions.cs (1)
27public static readonly BlockStructureOptions Default = new();
25 references to BlockStructureOptions
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Structure\CompilationUnitStructureTests.cs (1)
169var options = GetDefaultOptions() with
Structure\RegionDirectiveStructureTests.cs (1)
92var options = GetDefaultOptions() with
Microsoft.CodeAnalysis.EditorFeatures (1)
Structure\AbstractStructureTaggerProvider.cs (1)
70var options = BlockStructureOptionsStorage.GetBlockStructureOptions(GlobalOptions, openDocument.Project);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Structure\BlockStructureServiceTests.cs (1)
118var options = BlockStructureOptions.Default;
Microsoft.CodeAnalysis.Features (20)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
271public bool ShouldCollapseOnOpen(MetadataAsSourceWorkspace workspace, string filePath, BlockStructureOptions blockStructureOptions)
MetadataAsSource\IMetadataAsSourceFileProvider.cs (1)
52bool ShouldCollapseOnOpen(MetadataAsSourceWorkspace workspace, string filePath, BlockStructureOptions blockStructureOptions);
MetadataAsSource\MetadataAsSourceFileService.cs (1)
211public bool ShouldCollapseOnOpen(string? filePath, BlockStructureOptions blockStructureOptions)
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (1)
382public bool ShouldCollapseOnOpen(MetadataAsSourceWorkspace workspace, string filePath, BlockStructureOptions blockStructureOptions)
Structure\BlockStructureContext.cs (2)
13internal readonly struct BlockStructureContext(SyntaxTree syntaxTree, BlockStructureOptions options, CancellationToken cancellationToken) : IDisposable 22public 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,
Microsoft.VisualStudio.LanguageServices (1)
LanguageService\AbstractLanguageService`2.cs (1)
166var options = BlockStructureOptionsStorage.GetBlockStructureOptions(globalOptions, openDocument.Project.Language, isMetadataAsSource: true);