Skip to content

Commit

Permalink
Merge pull request #36338 from dotnet/merges/release/dev16.2-preview3…
Browse files Browse the repository at this point in the history
…-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 committed Jun 12, 2019
2 parents 14b659a + 47c8c51 commit 5905d75
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit 5905d75

Please sign in to comment.