未验证 提交 3fb1c63e 编写于 作者: D dotnet-automerge-bot 提交者: GitHub

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

Merge release/dev16.2-preview3 to master
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册