Skip to content
Permalink
Browse files

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

…-to-master

Merge release/dev16.2-preview3 to master
  • Loading branch information...
dotnet-automerge-bot committed Jun 12, 2019
2 parents 6f09af8 + 47c8c51 commit 3fb1c63ef69e76b398f0416e7e00cd5b20dd7452
@@ -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 3fb1c63

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