3 types derived from DocumentPropertiesService
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Formatting\RazorLineFormattingOptionsTests.cs (1)
30internal sealed class PropertiesService : DocumentPropertiesService
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
RazorDocumentPropertiesServiceWrapper.cs (1)
10internal sealed class RazorDocumentPropertiesServiceWrapper : DocumentPropertiesService
Microsoft.VisualStudio.LanguageServices (1)
ExternalAccess\VSTypeScript\Api\VSTypeScriptVisualStudioProjectWrapper.LSPContainedDocumentServiceProvider.cs (1)
36private sealed class VirtualDocumentPropertiesService : DocumentPropertiesService
1 instantiation of DocumentPropertiesService
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Host\DocumentService\DocumentPropertiesService.cs (1)
12public static readonly DocumentPropertiesService Default = new();
13 references to DocumentPropertiesService
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Formatting\RazorLineFormattingOptionsTests.cs (1)
28=> typeof(TService) == typeof(DocumentPropertiesService) ? (TService?)(object)new PropertiesService() : null;
Microsoft.CodeAnalysis.ExternalAccess.Razor (3)
RazorDocumentServiceProviderWrapper.cs (3)
19private StrongBox<DocumentPropertiesService?>? _lazyDocumentPropertiesService; 61if (serviceType == typeof(DocumentPropertiesService)) 63var documentPropertiesService = LazyInitialization.EnsureInitialized(
Microsoft.CodeAnalysis.Workspaces (7)
Diagnostics\DiagnosticData.cs (2)
227var documentPropertiesService = document.Services.GetService<DocumentPropertiesService>();
Workspace\Host\DocumentService\DocumentPropertiesService.cs (1)
12public static readonly DocumentPropertiesService Default = new();
Workspace\Host\DocumentService\Extensions.cs (1)
29=> documentState.Services.GetService<DocumentPropertiesService>()?.DiagnosticsLspClientName == RazorCSharpLspClientName;
Workspace\Host\DocumentService\IDocumentOperationService.cs (1)
10/// TODO: Merge into <see cref="DocumentPropertiesService"/>.
Workspace\Solution\DefaultTextDocumentServiceProvider.cs (1)
30if (DocumentPropertiesService.Default is TService documentPropertiesService)
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
109if (DocumentPropertiesService.Default is TService documentPropertiesService)
Microsoft.VisualStudio.LanguageServices (2)
ExternalAccess\VSTypeScript\Api\VSTypeScriptVisualStudioProjectWrapper.LSPContainedDocumentServiceProvider.cs (1)
28if (typeof(TService) == typeof(DocumentPropertiesService))
TableDataSource\VisualStudioBaseDiagnosticListTable.LiveTableDataSource.cs (1)
261if (diagnostic.Properties.ContainsKey(nameof(DocumentPropertiesService.DiagnosticsLspClientName)))