Skip to content
Permalink
Browse files

Merge pull request #36338 from dotnet/merges/release/dev16.2-preview3…

…-to-release/dev16.2-preview3-vs-deps

Merge release/dev16.2-preview3 to release/dev16.2-preview3-vs-deps
  • Loading branch information...
dotnet-automerge-bot
dotnet-automerge-bot committed Jun 12, 2019
2 parents 14b659a + 47c8c51 commit 5905d757a89126ebbcdb383b1a10cadda8c6fdc3
@@ -9,6 +9,8 @@
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.ErrorReporting;
using Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem;
using Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.Extensions;
using Microsoft.VisualStudio.LanguageServices.Implementation.Venus;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
@@ -28,6 +30,12 @@ internal class ProjectExternalErrorReporter : IVsReportExternalErrors, IVsLangua
private readonly VisualStudioWorkspace _workspace;
private readonly ExternalErrorDiagnosticUpdateSource _diagnosticProvider;

[Obsolete("This is a compatibility shim for F#; please do not use it.")]
public ProjectExternalErrorReporter(ProjectId projectId, string errorCodePrefix, IServiceProvider serviceProvider)
: this(projectId, errorCodePrefix, serviceProvider.GetMefService<VisualStudioWorkspace>(), serviceProvider.GetMefService<ExternalErrorDiagnosticUpdateSource>())
{
}

public ProjectExternalErrorReporter(ProjectId projectId, string errorCodePrefix, VisualStudioWorkspace workspace, ExternalErrorDiagnosticUpdateSource diagnosticProvider)
{
Debug.Assert(projectId != null);

0 comments on commit 5905d75

Please sign in to comment.
You can’t perform that action at this time.