2 implementations of IDocumentServiceProvider
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\DefaultTextDocumentServiceProvider.cs (1)
14internal sealed class DefaultTextDocumentServiceProvider : IDocumentServiceProvider
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
199internal sealed class SourceGeneratedTextDocumentServiceProvider : IDocumentServiceProvider
28 references to IDocumentServiceProvider
Microsoft.CodeAnalysis.Workspaces (28)
Workspace\Host\SourceFiles\DynamicFileInfo.cs (3)
13internal sealed class DynamicFileInfo(string filePath, SourceCodeKind sourceCodeKind, TextLoader textLoader, bool designTimeOnly, IDocumentServiceProvider? documentServiceProvider) 38/// return <see cref="IDocumentServiceProvider"/> for the content it provided 40public IDocumentServiceProvider? DocumentServiceProvider { get; } = documentServiceProvider;
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
137IDocumentServiceProvider? documentServiceProvider)
Workspace\ProjectSystem\ProjectSystemProject.cs (2)
841/// <param name="documentServiceProvider">A <see cref="IDocumentServiceProvider"/> associated with this document</param> 848IDocumentServiceProvider? documentServiceProvider = null)
Workspace\Solution\AdditionalDocumentState.cs (2)
17IDocumentServiceProvider? documentServiceProvider, 42protected override TextDocumentState UpdateDocumentServiceProvider(IDocumentServiceProvider? newProvider)
Workspace\Solution\AnalyzerConfigDocumentState.cs (2)
19IDocumentServiceProvider? documentServiceProvider, 50protected override TextDocumentState UpdateDocumentServiceProvider(IDocumentServiceProvider? newProvider)
Workspace\Solution\DefaultTextDocumentServiceProvider.cs (1)
12/// <see cref="IDocumentServiceProvider"/> for regular C#/VB files.
Workspace\Solution\DocumentInfo.cs (6)
59/// A <see cref="IDocumentServiceProvider"/> associated with this document 61internal IDocumentServiceProvider? DocumentServiceProvider { get; } 66internal DocumentInfo(DocumentAttributes attributes, TextLoader? loader, IDocumentServiceProvider? documentServiceProvider) 101Optional<IDocumentServiceProvider?> documentServiceProvider = default) 105var newDocumentServiceProvider = documentServiceProvider.HasValue ? documentServiceProvider.Value : DocumentServiceProvider; 138internal DocumentInfo WithDocumentServiceProvider(IDocumentServiceProvider? provider)
Workspace\Solution\DocumentState.cs (2)
41IDocumentServiceProvider? documentServiceProvider, 433protected override TextDocumentState UpdateDocumentServiceProvider(IDocumentServiceProvider? newProvider)
Workspace\Solution\DocumentState_LinkedFileReuse.cs (1)
103IDocumentServiceProvider services,
Workspace\Solution\SourceGeneratedDocumentState.cs (2)
103IDocumentServiceProvider? documentServiceProvider, 133protected override TextDocumentState UpdateDocumentServiceProvider(IDocumentServiceProvider? newProvider)
Workspace\Solution\TextDocument.cs (2)
57/// A <see cref="IDocumentServiceProvider"/> associated with this document 59internal IDocumentServiceProvider DocumentServiceProvider => State.DocumentServiceProvider;
Workspace\Solution\TextDocumentState.cs (4)
19public readonly IDocumentServiceProvider DocumentServiceProvider; 29IDocumentServiceProvider? documentServiceProvider, 61public TextDocumentState WithDocumentServiceProvider(IDocumentServiceProvider? newProvider) 68protected abstract TextDocumentState UpdateDocumentServiceProvider(IDocumentServiceProvider? newProvider);