2 implementations of ICopilotOptionsService
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
Copilot\CSharpImplementNotImplementedExceptionFixProviderTests.cs (1)
605private sealed class TestCopilotOptionsService : ICopilotOptionsService
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Options\CSharpVisualStudioCopilotOptionsService.cs (1)
19internal sealed class CSharpVisualStudioCopilotOptionsService : ICopilotOptionsService
12 references to ICopilotOptionsService
Microsoft.CodeAnalysis.CSharp.Features (3)
Copilot\CSharpCopilotCodeFixProvider.cs (1)
57if (document.GetLanguageService<ICopilotOptionsService>() is not { } copilotOptionsService ||
Copilot\CSharpImplementNotImplementedExceptionFixProvider.cs (1)
45if (document.GetLanguageService<ICopilotOptionsService>() is not { } optionsService ||
QuickInfo\CSharpSemanticQuickInfoProvider.cs (1)
161if (document.GetLanguageService<ICopilotOptionsService>() is not { } service ||
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
Copilot\CSharpImplementNotImplementedExceptionFixProviderTests.cs (1)
604[ExportLanguageService(typeof(ICopilotOptionsService), LanguageNames.CSharp), Shared, PartNotDiscoverable]
Microsoft.CodeAnalysis.EditorFeatures (3)
Copilot\CopilotTaggerProvider.cs (1)
68|| document.GetLanguageService<ICopilotOptionsService>() is not { } optionsService
DocumentationComments\CopilotGenerateDocumentationCommentManager.cs (1)
78if (document.GetLanguageService<ICopilotOptionsService>() is not { } copilotOptionService ||
Suggestions\RefineUsingCopilot\RefineUsingCopilotSuggestedAction.cs (1)
47if (originalDocument.GetLanguageService<ICopilotOptionsService>() is not { } optionsService ||
Microsoft.CodeAnalysis.ExternalAccess.Copilot (3)
Internal\Analyzer\AbstractCopilotCodeAnalysisService.cs (3)
57if (document.GetLanguageService<ICopilotOptionsService>() is not { } service) 68if (document.GetLanguageService<ICopilotOptionsService>() is not { } service) 176if (oldDocument.GetLanguageService<ICopilotOptionsService>() is not { } service)
Microsoft.CodeAnalysis.Features (1)
Copilot\Extensions.cs (1)
21if (sourceDocument.GetLanguageService<ICopilotOptionsService>() is not { } optionsService ||
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Options\CSharpVisualStudioCopilotOptionsService.cs (1)
18[ExportLanguageService(typeof(ICopilotOptionsService), LanguageNames.CSharp), Shared]