Partager via


Workspace.CheckProjectHasAnalyzerReference Méthode

Définition

Lève une exception si un projet n’a pas de référence d’analyseur spécifique.

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

Paramètres

projectId
ProjectId
analyzerReference
AnalyzerReference

S’applique à