다음을 통해 공유


Workspace.CheckProjectDoesNotHaveAnalyzerReference 메서드

정의

프로젝트에 특정 분석기 참조가 이미 있는 경우 예외를 throw합니다.

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

매개 변수

projectId
ProjectId
analyzerReference
AnalyzerReference

적용 대상