Compartir a través de


Workspace.CheckProjectHasAnalyzerReference Método

Definición

Produce una excepción si un proyecto no tiene una referencia de analizador específica.

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)

Parámetros

projectId
ProjectId
analyzerReference
AnalyzerReference

Se aplica a