다음을 통해 공유


Diagnostic.GetSuppressionInfo(Compilation) 메서드

정의

SuppressionInfo 억제된 진단의 경우를 가져옵니다. 즉 IsSuppressed , = true입니다. 그렇지 않으면 null을 반환합니다.

public:
 Microsoft::CodeAnalysis::Diagnostics::SuppressionInfo ^ GetSuppressionInfo(Microsoft::CodeAnalysis::Compilation ^ compilation);
public Microsoft.CodeAnalysis.Diagnostics.SuppressionInfo GetSuppressionInfo (Microsoft.CodeAnalysis.Compilation compilation);
public Microsoft.CodeAnalysis.Diagnostics.SuppressionInfo? GetSuppressionInfo (Microsoft.CodeAnalysis.Compilation compilation);
member this.GetSuppressionInfo : Microsoft.CodeAnalysis.Compilation -> Microsoft.CodeAnalysis.Diagnostics.SuppressionInfo
Public Function GetSuppressionInfo (compilation As Compilation) As SuppressionInfo

매개 변수

compilation
Compilation

반환

적용 대상