다음을 통해 공유


Solution.AddAnalyzerReference 메서드

정의

오버로드

AddAnalyzerReference(AnalyzerReference)

지정된 분석기 참조를 포함하도록 업데이트된 새 솔루션 인스턴스를 만듭니다.

AddAnalyzerReference(ProjectId, AnalyzerReference)

지정된 분석기 참조를 포함하도록 업데이트된 프로젝트를 사용하여 새 솔루션 인스턴스를 만듭니다.

AddAnalyzerReference(AnalyzerReference)

Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs

지정된 분석기 참조를 포함하도록 업데이트된 새 솔루션 인스턴스를 만듭니다.

public Microsoft.CodeAnalysis.Solution AddAnalyzerReference (Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference analyzerReference);
member this.AddAnalyzerReference : Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference -> Microsoft.CodeAnalysis.Solution
Public Function AddAnalyzerReference (analyzerReference As AnalyzerReference) As Solution

매개 변수

analyzerReference
AnalyzerReference

반환

예외

analyzerReference이(가) null인 경우

적용 대상

AddAnalyzerReference(ProjectId, AnalyzerReference)

Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs
Source:
Solution.cs

지정된 분석기 참조를 포함하도록 업데이트된 프로젝트를 사용하여 새 솔루션 인스턴스를 만듭니다.

public:
 Microsoft::CodeAnalysis::Solution ^ AddAnalyzerReference(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::Diagnostics::AnalyzerReference ^ analyzerReference);
public Microsoft.CodeAnalysis.Solution AddAnalyzerReference (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference analyzerReference);
member this.AddAnalyzerReference : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference -> Microsoft.CodeAnalysis.Solution
Public Function AddAnalyzerReference (projectId As ProjectId, analyzerReference As AnalyzerReference) As Solution

매개 변수

projectId
ProjectId
analyzerReference
AnalyzerReference

반환

예외

analyzerReference이(가) null인 경우

솔루션에 .projectId

적용 대상