1 write to DocumentServiceProvider
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\TextDocumentState.cs (1)
35
DocumentServiceProvider
= documentServiceProvider ?? DefaultTextDocumentServiceProvider.Instance;
17 references to DocumentServiceProvider
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\Host\DocumentService\Extensions.cs (3)
17
=> document?.
DocumentServiceProvider
.GetService<IDocumentOperationService>()?.CanApplyChange ?? false;
23
=> document?.
DocumentServiceProvider
.GetService<IDocumentOperationService>()?.SupportDiagnostics ?? false;
29
=> documentState.
DocumentServiceProvider
.GetService<DocumentPropertiesService>()?.DiagnosticsLspClientName == RazorCSharpLspClientName;
Workspace\Solution\AdditionalDocumentState.cs (2)
37
DocumentServiceProvider
,
63
this.
DocumentServiceProvider
,
Workspace\Solution\AnalyzerConfigDocumentState.cs (3)
43
DocumentServiceProvider
,
53
DocumentServiceProvider
,
73
this.
DocumentServiceProvider
,
Workspace\Solution\DocumentState.cs (5)
331
DocumentServiceProvider
,
378
DocumentServiceProvider
,
425
DocumentServiceProvider
,
480
DocumentServiceProvider
,
508
DocumentServiceProvider
,
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
183
this.
DocumentServiceProvider
,
Workspace\Solution\TextDocument.cs (1)
59
internal IDocumentServiceProvider DocumentServiceProvider => State.
DocumentServiceProvider
;
Workspace\Solution\TextDocumentState.cs (1)
62
=> ReferenceEquals(newProvider,
DocumentServiceProvider
) ? this : UpdateDocumentServiceProvider(newProvider);
Workspace\Workspace.cs (1)
1650
new DocumentInfo(newDoc.DocumentState.Attributes, loader: null, documentServiceProvider: newDoc.State.
DocumentServiceProvider
));