TestOptions.IgnoredDiagnostics Property
IgnoredDiagnostics
Gets a list of warnings that are not reported even if ReportOutputWarnings is set to true
.
To add an item into this collection from a test, add this comment to your test file: // @IgnoredDiagnostic(id)
.
Declaration
public List<string> IgnoredDiagnostics { get; }
Property Value
Type | Description |
---|---|
List<string> |