Remove VisualStudioWorkspaceAccessor.Workspace.

- This property used to represent a "primary Workspace". Now that we're moving away from having a "primary Workspace" this needs to go away.

#2001
This commit is contained in:
N. Taylor Mullen 2018-02-02 14:19:19 -08:00
parent ea9a74ee3c
commit ca15840d05
3 changed files with 0 additions and 6 deletions

View File

@ -8,8 +8,6 @@ namespace Microsoft.VisualStudio.Editor.Razor
{
internal abstract class VisualStudioWorkspaceAccessor
{
public abstract Workspace Workspace { get; }
public abstract bool TryGetWorkspace(ITextBuffer textBuffer, out Workspace workspace);
}
}

View File

@ -46,8 +46,6 @@ namespace Microsoft.VisualStudio.LanguageServices.Razor
_defaultWorkspace = defaultWorkspace;
}
public override Workspace Workspace => _defaultWorkspace;
public override bool TryGetWorkspace(ITextBuffer textBuffer, out Workspace workspace)
{
if (textBuffer == null)

View File

@ -28,8 +28,6 @@ namespace Microsoft.VisualStudio.Mac.LanguageServices.Razor
_projectService = projectService;
}
public override Workspace Workspace => TypeSystemService.Workspace;
public override bool TryGetWorkspace(ITextBuffer textBuffer, out Workspace workspace)
{
if (textBuffer == null)