Compartir a través de


Workspace.ApplyAnalyzerReferenceRemoved(ProjectId, AnalyzerReference) Método

Definición

Se llama a este método durante TryApplyChanges(Solution) para quitar una referencia de analizador de un proyecto.

Invalide este método para implementar la capacidad de quitar referencias del analizador.

protected:
 virtual void ApplyAnalyzerReferenceRemoved(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::Diagnostics::AnalyzerReference ^ analyzerReference);
protected virtual void ApplyAnalyzerReferenceRemoved (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference analyzerReference);
abstract member ApplyAnalyzerReferenceRemoved : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference -> unit
override this.ApplyAnalyzerReferenceRemoved : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference -> unit
Protected Overridable Sub ApplyAnalyzerReferenceRemoved (projectId As ProjectId, analyzerReference As AnalyzerReference)

Parámetros

projectId
ProjectId
analyzerReference
AnalyzerReference

Se aplica a