1 write to DocumentServiceProvider
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\TextDocumentState.cs (1)
35DocumentServiceProvider = 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)
37DocumentServiceProvider, 63this.DocumentServiceProvider,
Workspace\Solution\AnalyzerConfigDocumentState.cs (3)
43DocumentServiceProvider, 53DocumentServiceProvider, 73this.DocumentServiceProvider,
Workspace\Solution\DocumentState.cs (5)
331DocumentServiceProvider, 378DocumentServiceProvider, 425DocumentServiceProvider, 480DocumentServiceProvider, 508DocumentServiceProvider,
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
183this.DocumentServiceProvider,
Workspace\Solution\TextDocument.cs (1)
59internal IDocumentServiceProvider DocumentServiceProvider => State.DocumentServiceProvider;
Workspace\Solution\TextDocumentState.cs (1)
62=> ReferenceEquals(newProvider, DocumentServiceProvider) ? this : UpdateDocumentServiceProvider(newProvider);
Workspace\Workspace.cs (1)
1650new DocumentInfo(newDoc.DocumentState.Attributes, loader: null, documentServiceProvider: newDoc.State.DocumentServiceProvider));