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