1 instantiation of LanguageServices
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Host\HostLanguageServices.cs (1)
33LanguageServices = new LanguageServices(this);
193 references to LanguageServices
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
AbstractCodeGenerationService.cs (2)
31LanguageServices languageServices) 37public LanguageServices LanguageServices { get; }
CodeActionOptions.cs (6)
72public static CodeActionOptions GetDefault(LanguageServices languageServices) 91CodeActionOptions GetOptions(LanguageServices languageService); 96public abstract CodeActionOptions GetOptions(LanguageServices languageServices); 150private readonly Func<LanguageServices, CodeActionOptions> _delegate; 152public DelegatingCodeActionOptionsProvider(Func<LanguageServices, CodeActionOptions> @delegate) 155public override CodeActionOptions GetOptions(LanguageServices languageService)
OptionsProvider.cs (1)
13ValueTask<TOptions> GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken);
ParsedDocument.cs (1)
31public LanguageServices LanguageServices => HostLanguageServices.LanguageServices;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpCodeGenerationService.cs (1)
28public CSharpCodeGenerationService(LanguageServices languageServices)
Microsoft.CodeAnalysis.CSharp.Features (2)
LanguageServices\CSharpSymbolDisplayService.cs (1)
13public CSharpSymbolDisplayService(Host.LanguageServices services)
QuickInfo\CSharpQuickInfoSevice.cs (1)
28internal CSharpQuickInfoService(LanguageServices services)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpCodeGenerationService.cs (1)
28public CSharpCodeGenerationService(LanguageServices languageServices)
Formatting\CSharpSyntaxFormattingService.cs (2)
30private readonly LanguageServices _services; 45private CSharpSyntaxFormattingService(LanguageServices languageServices)
Microsoft.CodeAnalysis.EditorFeatures (9)
IntelliSense\AsyncCompletion\CompletionSource.cs (1)
191ITextBuffer buffer, int caretPoint, SourceText text, LanguageServices services, CompletionRules rules)
Options\TextBufferOptionProviders.cs (6)
23public static DocumentationCommentOptions GetDocumentationCommentOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, LanguageServices languageServices) 46public static SyntaxFormattingOptions GetSyntaxFormattingOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, LanguageServices languageServices, bool explicitFormat) 49private static SyntaxFormattingOptions GetSyntaxFormattingOptionsImpl(ITextBuffer textBuffer, IEditorOptions editorOptions, IIndentationManagerService indentationManager, IGlobalOptionService globalOptions, LanguageServices languageServices, bool explicitFormat) 59public static IndentationOptions GetIndentationOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, LanguageServices languageServices, bool explicitFormat) 72public static AddImportPlacementOptions GetAddImportPlacementOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, LanguageServices languageServices, bool allowInHiddenRegions) 80public static CodeCleanupOptions GetCodeCleanupOptions(this ITextBuffer textBuffer, EditorOptionsService optionsProvider, LanguageServices languageServices, bool explicitFormat, bool allowImportsInHiddenRegions)
Shared\Extensions\HostWorkspaceServicesExtensions.cs (2)
21public static CodeAnalysis.Host.LanguageServices? GetProjectServices( 27public static CodeAnalysis.Host.LanguageServices? GetProjectServices(
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Formatting\AbstractNewDocumentFormattingServiceTests.cs (1)
33var languageServices = document.Project.Services;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Options\GlobalOptionsTests.cs (1)
181var languageServices = workspace.Services.SolutionServices.GetLanguageServices(language);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
IntelliSense\CompletionServiceTests.vb (1)
128Friend Overrides Function ShouldTriggerCompletion(languageServices As CodeAnalysis.Host.LanguageServices, text As SourceText, caretPosition As Integer, trigger As CompletionTrigger, options As CompletionOptions, passThroughOptions As OptionSet) As Boolean
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Completion\FSharpCompletionProviderBase.cs (1)
17internal sealed override bool ShouldTriggerCompletion(Host.LanguageServices languageServices, SourceText text, int caretPosition, CompletionTrigger trigger, CompletionOptions options, OptionSet passthroughOptions)
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (2)
CodeActions\OmniSharpCodeActionOptions.cs (1)
20internal CodeActionOptions GetCodeActionOptions(LanguageServices languageServices)
Options\OmnisharpLegacyGlobalOptionsWorkspaceService.cs (1)
85public override ValueTask<CleanCodeGenerationOptions> GetCleanCodeGenerationOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Features (23)
ChangeSignature\AbstractChangeSignatureService.cs (1)
961protected ImmutableArray<SyntaxTrivia> GetPermutedDocCommentTrivia(SyntaxNode node, ImmutableArray<SyntaxNode> permutedParamNodes, LanguageServices services, LineFormattingOptions options)
Completion\CommonCompletionProvider.cs (1)
42internal override bool ShouldTriggerCompletion(LanguageServices languageServices, SourceText text, int caretPosition, CompletionTrigger trigger, CompletionOptions options, OptionSet passThroughOptions)
Completion\CompletionProvider.cs (1)
47internal virtual bool ShouldTriggerCompletion(LanguageServices languageServices, SourceText text, int caretPosition, CompletionTrigger trigger, CompletionOptions options, OptionSet passThroughOptions)
Completion\CompletionService.cs (2)
101var languageServices = document?.Project.Services ?? _services.GetLanguageServices(Language); 131LanguageServices languageServices,
Completion\Providers\AbstractAggregateEmbeddedLanguageCompletionProvider.cs (2)
60protected ImmutableArray<IEmbeddedLanguage> GetLanguageProviders(Host.LanguageServices? languageServices) 73internal sealed override bool ShouldTriggerCompletion(LanguageServices languageServices, SourceText text, int caretPosition, CompletionTrigger trigger, CompletionOptions options, OptionSet passThroughOptions)
ExternalAccess\VSTypeScript\Api\VSTypeScriptCompletionProvider.cs (1)
21internal sealed override bool ShouldTriggerCompletion(LanguageServices languageServices, SourceText text, int caretPosition, CompletionTrigger trigger, CompletionOptions options, OptionSet passThroughOptions)
GenerateConstructorFromMembers\AbstractGenerateConstructorFromMembersCodeRefactoringProvider.ConstructorDelegatingCodeAction.cs (1)
52var languageServices = project.Solution.Services.GetLanguageServices(_state.ContainingType.Language);
GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.State.cs (1)
79var destinationProvider = semanticDocument.Project.Solution.Services.GetLanguageServices(ClassType.Language);
GenerateMember\GenerateConstructor\AbstractGenerateConstructorService.State.cs (3)
582var provider = document.Project.Solution.Services.GetLanguageServices(TypeToGenerateIn.Language); 617var provider = document.Project.Solution.Services.GetLanguageServices(TypeToGenerateIn.Language); 640var provider = document.Project.Solution.Services.GetLanguageServices(TypeToGenerateIn.Language);
GenerateMember\GenerateEnumMember\AbstractGenerateEnumMemberService.CodeAction.cs (1)
36var languageServices = _document.Project.Solution.Services.GetLanguageServices(_state.TypeToGenerateIn.Language);
GenerateMember\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.SignatureInfo.cs (1)
125var languageServiceProvider = Document.Project.Solution.Services.GetLanguageServices(State.TypeToGenerateIn.Language);
GenerateMember\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.State.cs (1)
83var destinationProvider = document.Project.Solution.Services.GetLanguageServices(TypeToGenerateIn.Language);
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.cs (2)
20protected readonly LanguageServices Services; 23protected AbstractSymbolDisplayService(LanguageServices services)
MetadataAsSource\MetadataAsSourceOptions.cs (1)
41public static MetadataAsSourceOptions GetDefault(LanguageServices languageServices)
QuickInfo\CommonSemanticQuickInfoProvider.cs (1)
187var languageServices = services.GetLanguageServices(semanticModel.Language);
QuickInfo\QuickInfoServiceWithProviders.cs (2)
23private readonly LanguageServices _services; 26protected QuickInfoServiceWithProviders(LanguageServices services)
Workspace\MiscellaneousFileUtilities.cs (1)
30var languageServices = services.GetLanguageServices(languageInformation.LanguageName);
Microsoft.CodeAnalysis.LanguageServer.Protocol (25)
Features\Options\AddImportPlacementOptionsStorage.cs (1)
17public static AddImportPlacementOptions GetAddImportPlacementOptions(this IGlobalOptionService globalOptions, LanguageServices languageServices)
Features\Options\CodeActionOptionsStorage.cs (1)
24public static CodeActionOptions GetCodeActionOptions(this IGlobalOptionService globalOptions, LanguageServices languageServices)
Features\Options\CodeCleanupOptionsStorage.cs (1)
17public static CodeCleanupOptions GetCodeCleanupOptions(this IOptionsReader globalOptions, LanguageServices languageServices)
Features\Options\CodeGenerationOptionsStorage.cs (3)
20public static CodeGenerationOptions GetCodeGenerationOptions(this IGlobalOptionService globalOptions, LanguageServices languageServices) 23public static CodeAndImportGenerationOptions GetCodeAndImportGenerationOptions(this IGlobalOptionService globalOptions, LanguageServices languageServices) 26public static CleanCodeGenerationOptions GetCleanCodeGenerationOptions(this IGlobalOptionService globalOptions, LanguageServices languageServices)
Features\Options\CodeStyleOptionsStorage.cs (1)
12public static IdeCodeStyleOptions GetCodeStyleOptions(this IGlobalOptionService globalOptions, LanguageServices languageServices)
Features\Options\ExtractMethodOptionsStorage.cs (1)
24public static ExtractMethodGenerationOptions GetExtractMethodGenerationOptions(this IGlobalOptionService globalOptions, LanguageServices languageServices)
Features\Options\GlobalCodeActionOptionsProvider.cs (12)
45CodeActionOptions CodeActionOptionsProvider.GetOptions(LanguageServices languageServices) 48ValueTask<LineFormattingOptions> OptionsProvider<LineFormattingOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 51ValueTask<DocumentFormattingOptions> OptionsProvider<DocumentFormattingOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 54ValueTask<SyntaxFormattingOptions> OptionsProvider<SyntaxFormattingOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 57ValueTask<SimplifierOptions> OptionsProvider<SimplifierOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 60ValueTask<AddImportPlacementOptions> OptionsProvider<AddImportPlacementOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 63ValueTask<OrganizeImportsOptions> OptionsProvider<OrganizeImportsOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 66ValueTask<CodeCleanupOptions> OptionsProvider<CodeCleanupOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 69ValueTask<CodeGenerationOptions> OptionsProvider<CodeGenerationOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 72ValueTask<NamingStylePreferences> OptionsProvider<NamingStylePreferences>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 75ValueTask<CleanCodeGenerationOptions> OptionsProvider<CleanCodeGenerationOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 78ValueTask<CodeAndImportGenerationOptions> OptionsProvider<CodeAndImportGenerationOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken)
Features\Options\IdeAnalyzerOptionsStorage.cs (1)
18public static IdeAnalyzerOptions GetIdeAnalyzerOptions(this IGlobalOptionService globalOptions, LanguageServices languageServices)
Features\Options\ImplementTypeOptionsStorage.cs (1)
19public static ImplementTypeGenerationOptions GetImplementTypeGenerationOptions(this IGlobalOptionService globalOptions, LanguageServices languageServices)
Features\Options\MetadataAsSourceOptionsStorage.cs (1)
13public static MetadataAsSourceOptions GetMetadataAsSourceOptions(this IGlobalOptionService globalOptions, LanguageServices languageServices)
Features\Options\SimplifierOptionsStorage.cs (1)
17public static SimplifierOptions GetSimplifierOptions(this IGlobalOptionService options, LanguageServices languageServices)
Features\Options\SyntaxFormattingOptionsStorage.cs (1)
17public static SyntaxFormattingOptions GetSyntaxFormattingOptions(this IGlobalOptionService globalOptions, LanguageServices languageServices)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
Completion\CompletionResolveTests.cs (1)
464internal override bool ShouldTriggerCompletion(Project project, LanguageServices languageServices, SourceText text, int caretPosition, CompletionTrigger trigger, CodeAnalysis.Completion.CompletionOptions options, OptionSet passthroughOptions, ImmutableHashSet<string> roles = null)
Options\LspOptionsTests.cs (2)
38var project = testLspServer.GetCurrentSolution().Projects.Single().Services; 52var project = testLspServer.GetCurrentSolution().Projects.Single().Services;
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator (2)
CompilerInvocation.cs (1)
38var languageServices = workspace.Services.GetLanguageServices(languageName).LanguageServices;
Generator.cs (1)
261var languageServices = document.Project.Services;
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
Services\ClientOptionProviders.cs (3)
35public async ValueTask<TOptions> GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 52public override ValueTask<CleanCodeGenerationOptions> GetCleanCodeGenerationOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 63public override ValueTask<CodeCleanupOptions> GetCodeCleanupOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (3)
LineCommit\CommitFormatter.vb (3)
143languageServices As CodeAnalysis.Host.LanguageServices, 162languageServices As CodeAnalysis.Host.LanguageServices, 224languageServices As CodeAnalysis.Host.LanguageServices,
Microsoft.CodeAnalysis.VisualBasic.Features (2)
LanguageServices\VisualBasicSymbolDisplayService.vb (1)
15Public Sub New(provider As Host.LanguageServices)
QuickInfo\VisualBasicQuickInfoService.vb (1)
29Public Sub New(services As Host.LanguageServices)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\VisualBasicCodeGenerationService.vb (1)
24Public Sub New(languageServices As LanguageServices)
Microsoft.CodeAnalysis.Workspaces (95)
AbstractCodeGenerationService.cs (2)
31LanguageServices languageServices) 37public LanguageServices LanguageServices { get; }
AddImportPlacementOptions.cs (1)
52public static AddImportPlacementOptions GetAddImportPlacementOptions(this IOptionsReader options, LanguageServices languageServices, bool? allowInHiddenRegions, AddImportPlacementOptions? fallbackOptions)
Classification\Classifier.cs (1)
61var projectServices = services.GetLanguageServices(semanticModel.Language);
CleanCodeGenerationOptions.cs (7)
27public static CleanCodeGenerationOptions GetDefault(LanguageServices languageServices) 56public abstract ValueTask<CleanCodeGenerationOptions> GetCleanCodeGenerationOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken); 58public sealed override async ValueTask<CodeCleanupOptions> GetCodeCleanupOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 61ValueTask<CleanCodeGenerationOptions> OptionsProvider<CleanCodeGenerationOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 64async ValueTask<CodeAndImportGenerationOptions> OptionsProvider<CodeAndImportGenerationOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 67async ValueTask<CodeGenerationOptions> OptionsProvider<CodeGenerationOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 70async ValueTask<NamingStylePreferences> OptionsProvider<NamingStylePreferences>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken)
CodeActionOptions.cs (19)
64public static CodeActionOptions GetDefault(LanguageServices languageServices) 91CodeActionOptions GetOptions(LanguageServices languageService); 96public abstract CodeActionOptions GetOptions(LanguageServices languageServices); 99ValueTask<LineFormattingOptions> OptionsProvider<LineFormattingOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 102ValueTask<DocumentFormattingOptions> OptionsProvider<DocumentFormattingOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 105ValueTask<SyntaxFormattingOptions> OptionsProvider<SyntaxFormattingOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 108ValueTask<SimplifierOptions> OptionsProvider<SimplifierOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 111ValueTask<AddImportPlacementOptions> OptionsProvider<AddImportPlacementOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 114ValueTask<OrganizeImportsOptions> OptionsProvider<OrganizeImportsOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 117ValueTask<CodeCleanupOptions> OptionsProvider<CodeCleanupOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 120ValueTask<CodeGenerationOptions> OptionsProvider<CodeGenerationOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 123ValueTask<NamingStylePreferences> OptionsProvider<NamingStylePreferences>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 126ValueTask<CleanCodeGenerationOptions> OptionsProvider<CleanCodeGenerationOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 136ValueTask<CodeAndImportGenerationOptions> OptionsProvider<CodeAndImportGenerationOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 150private readonly Func<LanguageServices, CodeActionOptions> _delegate; 152public DelegatingCodeActionOptionsProvider(Func<LanguageServices, CodeActionOptions> @delegate) 155public override CodeActionOptions GetOptions(LanguageServices languageService) 177public static ImplementTypeGenerationOptions GetImplementTypeGenerationOptions(this CodeActionOptionsProvider provider, LanguageServices languageServices) 180public static ExtractMethodGenerationOptions GetExtractMethodGenerationOptions(this CodeActionOptionsProvider provider, LanguageServices languageServices)
CodeCleanupOptions.cs (9)
30public static CodeCleanupOptions GetDefault(LanguageServices languageServices) 61public abstract ValueTask<CodeCleanupOptions> GetCodeCleanupOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken); 63ValueTask<CodeCleanupOptions> OptionsProvider<CodeCleanupOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 66async ValueTask<LineFormattingOptions> OptionsProvider<LineFormattingOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 69async ValueTask<DocumentFormattingOptions> OptionsProvider<DocumentFormattingOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 72async ValueTask<SyntaxFormattingOptions> OptionsProvider<SyntaxFormattingOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 75async ValueTask<SimplifierOptions> OptionsProvider<SimplifierOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 78async ValueTask<AddImportPlacementOptions> OptionsProvider<AddImportPlacementOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 87public static CodeCleanupOptions GetCodeCleanupOptions(this IOptionsReader options, LanguageServices languageServices, bool? allowImportsInHiddenRegions, CodeCleanupOptions? fallbackOptions)
CodeGenerationOptions.cs (9)
43public static CodeGenerationOptions GetDefault(LanguageServices languageServices) 58internal static CodeAndImportGenerationOptions GetDefault(LanguageServices languageServices) 75ValueTask<CodeAndImportGenerationOptions> OptionsProvider<CodeAndImportGenerationOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 78ValueTask<CodeGenerationOptions> OptionsProvider<CodeGenerationOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 81ValueTask<NamingStylePreferences> OptionsProvider<NamingStylePreferences>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 84ValueTask<AddImportPlacementOptions> OptionsProvider<AddImportPlacementOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 110public static CodeGenerationOptions GetCodeGenerationOptions(this IOptionsReader options, LanguageServices languageServices, CodeGenerationOptions? fallbackOptions) 113public static CodeAndImportGenerationOptions GetCodeAndImportGenerationOptions(this IOptionsReader options, LanguageServices languageServices, bool? allowImportsInHiddenRegions, CodeAndImportGenerationOptions? fallbackOptions) 120public static CleanCodeGenerationOptions GetCleanCodeGenerationOptions(this IOptionsReader options, LanguageServices languageServices, bool? allowImportsInHiddenRegions, CleanCodeGenerationOptions? fallbackOptions)
ExtractMethod\ExtractMethodOptions.cs (1)
41public static ExtractMethodGenerationOptions GetDefault(LanguageServices languageServices)
Formatting\Formatter.cs (1)
39internal static ImmutableArray<AbstractFormattingRule> GetDefaultFormattingRules(LanguageServices languageServices)
IdeAnalyzerOptions.cs (1)
48public static IdeAnalyzerOptions GetDefault(LanguageServices languageServices)
IdeCodeStyleOptions.cs (1)
97public static IdeCodeStyleOptions GetDefault(Host.LanguageServices languageServices)
IndentationOptions.cs (1)
24public static IndentationOptions GetDefault(LanguageServices languageServices)
Options\LegacyGlobalCodeActionOptionsWorkspaceService.cs (10)
44ValueTask<LineFormattingOptions> OptionsProvider<LineFormattingOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 47ValueTask<DocumentFormattingOptions> OptionsProvider<DocumentFormattingOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 50ValueTask<SyntaxFormattingOptions> OptionsProvider<SyntaxFormattingOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 53ValueTask<SimplifierOptions> OptionsProvider<SimplifierOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 56ValueTask<AddImportPlacementOptions> OptionsProvider<AddImportPlacementOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 59ValueTask<CodeCleanupOptions> OptionsProvider<CodeCleanupOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 62ValueTask<CleanCodeGenerationOptions> OptionsProvider<CleanCodeGenerationOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 65ValueTask<CodeAndImportGenerationOptions> OptionsProvider<CodeAndImportGenerationOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 68ValueTask<CodeGenerationOptions> OptionsProvider<CodeGenerationOptions>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken) 71ValueTask<NamingStylePreferences> OptionsProvider<NamingStylePreferences>.GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken)
OptionsProvider.cs (1)
13ValueTask<TOptions> GetOptionsAsync(LanguageServices languageServices, CancellationToken cancellationToken);
ParsedDocument.cs (1)
31public LanguageServices LanguageServices => HostLanguageServices.LanguageServices;
Rename\ConflictEngine\ConflictResolver.cs (1)
158var languageServices = solution.Services.GetLanguageServices(language);
Shared\Extensions\ITypeSymbolExtensions.cs (1)
154var provider = services.GetLanguageServices(typeSymbol.Language);
Shared\Extensions\SemanticModelExtensions.cs (1)
77var languageServices = services.GetLanguageServices(token.Language);
SimplifierOptions.cs (2)
63public static SimplifierOptions GetDefault(LanguageServices languageServices) 78public static SimplifierOptions GetSimplifierOptions(this IOptionsReader options, LanguageServices languageServices, SimplifierOptions? fallbackOptions)
SyntaxFormattingOptions.cs (2)
47public static SyntaxFormattingOptions GetDefault(LanguageServices languageServices) 63public static SyntaxFormattingOptions GetSyntaxFormattingOptions(this IOptionsReader options, LanguageServices languageServices, SyntaxFormattingOptions? fallbackOptions)
Workspace\CommandLineProject.cs (1)
31var languageServices = tmpWorkspace.Services.SolutionServices.GetLanguageServices(language);
Workspace\Host\HostLanguageServices.cs (1)
28public LanguageServices LanguageServices { get; }
Workspace\Host\SolutionServices.cs (2)
51/// Gets the <see cref="LanguageServices"/> for the language name. 54public LanguageServices GetLanguageServices(string languageName)
Workspace\Solution\DocumentState.cs (7)
30public LanguageServices LanguageServices { get; } 37LanguageServices languageServices, 54LanguageServices languageServices, 105LanguageServices languageServices, 119LanguageServices languageServices, 135LanguageServices languageServices, 149LanguageServices languageServices,
Workspace\Solution\DocumentState_LinkedFileReuse.cs (5)
49var languageServices = this.LanguageServices; 69LanguageServices languageServices, 84LanguageServices languageServices, 177LanguageServices languageServices, 199LanguageServices languageServices,
Workspace\Solution\Project.cs (1)
111public LanguageServices Services => _projectState.LanguageServices;
Workspace\Solution\ProjectState.cs (3)
30public readonly LanguageServices LanguageServices; 70LanguageServices languageServices, 94public ProjectState(LanguageServices languageServices, ProjectInfo projectInfo)
Workspace\Solution\SolutionState.cs (1)
504var languageServices = Services.GetLanguageServices(language);
Workspace\Solution\SourceGeneratedDocumentState.cs (2)
21LanguageServices languageServices) 53LanguageServices languageServices,
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Remote\ServiceDescriptorTests.cs (1)
234var languageServices = workspace.Services.SolutionServices.GetLanguageServices(language);
Microsoft.VisualStudio.LanguageServices (2)
Snippets\AbstractSnippetExpansionClient.cs (1)
1067var languageServices = documentWithImports.Project.Services;
TableDataSource\Suppression\VisualStudioSuppressionFixService.cs (1)
308foreach (var languageService in languageServices)
Microsoft.VisualStudio.LanguageServices.Implementation (2)
CodeModel\CodeModelProjectCache.cs (1)
42Microsoft.CodeAnalysis.Host.LanguageServices languageServices,
CodeModel\CodeModelState.cs (1)
33Microsoft.CodeAnalysis.Host.LanguageServices languageServices,