MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Aspect­TestingTest­OptionsIgnored­Diagnostics
Open sandboxFocus

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
System.Collections.Generic.List<System.String>