2 writes to LanguageServiceProvider
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Workspaces\TestHostDocument.cs (2)
105LanguageServiceProvider = languageServiceProvider; 171LanguageServiceProvider ??= project.LanguageServiceProvider;
5 references to LanguageServiceProvider
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
Workspaces\EditorTestHostDocument.cs (4)
144var workspace = (EditorTestWorkspace?)LanguageServiceProvider?.WorkspaceServices.Workspace; 148Contract.ThrowIfNull(LanguageServiceProvider, $"To get a text buffer for a {nameof(TestHostDocument)}, it must have been parented in a project."); 149var contentType = LanguageServiceProvider.GetRequiredService<IContentTypeLanguageService>().GetDefaultContentType(); 151_textBuffer = workspace!.GetOrCreateBufferForPath(FilePath, contentType, LanguageServiceProvider.Language, InitialText);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestHostDocument.cs (1)
41var workspace = LanguageServiceProvider!.WorkspaceServices.Workspace;