2 instantiations of DocumentOptionSet
Microsoft.CodeAnalysis.Workspaces (2)
17 references to DocumentOptionSet
Microsoft.CodeAnalysis.EditorFeatures (4)
ExternalAccess\VSTypeScript\Api\IVSTypeScriptFormattingInteractionService.cs (4)
31Task<ImmutableArray<TextChange>> GetFormattingChangesAsync(Document document, TextSpan? textSpan, DocumentOptionSet? documentOptions, CancellationToken cancellationToken);
36Task<ImmutableArray<TextChange>> GetFormattingChangesOnPasteAsync(Document document, TextSpan textSpan, DocumentOptionSet? documentOptions, CancellationToken cancellationToken);
43Task<ImmutableArray<TextChange>> GetFormattingChangesAsync(Document document, char typedChar, int position, DocumentOptionSet? documentOptions, CancellationToken cancellationToken);
48Task<ImmutableArray<TextChange>> GetFormattingChangesOnReturnAsync(Document document, int position, DocumentOptionSet? documentOptions, CancellationToken cancellationToken);
Microsoft.CodeAnalysis.Workspaces (6)
Microsoft.CodeAnalysis.Workspaces.UnitTests (7)
Options\DocumentOptionSetTests.cs (6)
29var set = new DocumentOptionSet(configOptions, underlyingSet, LanguageNames.CSharp);
55var set = new DocumentOptionSet(configOptions: null, underlyingSet, LanguageNames.CSharp);
74var set = new DocumentOptionSet(configOptions: null, underlyingSet, LanguageNames.CSharp);
91var set = new DocumentOptionSet(configOptions: null, underlyingSet, LanguageNames.CSharp);
131var set = new DocumentOptionSet(configOptions, underlyingSet, LanguageNames.CSharp);
153var set = new DocumentOptionSet(configOptions: null, underlyingSet, LanguageNames.CSharp);