Partager via


Workspace.ApplyAnalyzerReferenceRemoved(ProjectId, AnalyzerReference) Méthode

Définition

Cette méthode est appelée pendant TryApplyChanges(Solution) la suppression d’une référence d’analyseur d’un projet.

Remplacez cette méthode pour implémenter la possibilité de supprimer des références d’analyseur.

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)

Paramètres

projectId
ProjectId
analyzerReference
AnalyzerReference

S’applique à