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:
parent
ea9a74ee3c
commit
ca15840d05
|
|
@ -8,8 +8,6 @@ namespace Microsoft.VisualStudio.Editor.Razor
|
||||||
{
|
{
|
||||||
internal abstract class VisualStudioWorkspaceAccessor
|
internal abstract class VisualStudioWorkspaceAccessor
|
||||||
{
|
{
|
||||||
public abstract Workspace Workspace { get; }
|
|
||||||
|
|
||||||
public abstract bool TryGetWorkspace(ITextBuffer textBuffer, out Workspace workspace);
|
public abstract bool TryGetWorkspace(ITextBuffer textBuffer, out Workspace workspace);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -46,8 +46,6 @@ namespace Microsoft.VisualStudio.LanguageServices.Razor
|
||||||
_defaultWorkspace = defaultWorkspace;
|
_defaultWorkspace = defaultWorkspace;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override Workspace Workspace => _defaultWorkspace;
|
|
||||||
|
|
||||||
public override bool TryGetWorkspace(ITextBuffer textBuffer, out Workspace workspace)
|
public override bool TryGetWorkspace(ITextBuffer textBuffer, out Workspace workspace)
|
||||||
{
|
{
|
||||||
if (textBuffer == null)
|
if (textBuffer == null)
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,6 @@ namespace Microsoft.VisualStudio.Mac.LanguageServices.Razor
|
||||||
_projectService = projectService;
|
_projectService = projectService;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override Workspace Workspace => TypeSystemService.Workspace;
|
|
||||||
|
|
||||||
public override bool TryGetWorkspace(ITextBuffer textBuffer, out Workspace workspace)
|
public override bool TryGetWorkspace(ITextBuffer textBuffer, out Workspace workspace)
|
||||||
{
|
{
|
||||||
if (textBuffer == null)
|
if (textBuffer == null)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue