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

TestOptions.ClearIgnoredDiagnostics Property

ClearIgnoredDiagnostics

Gets or sets a value indicating whether the list of IgnoredDiagnostics inherited from the parent level (directory or base directory) must be cleared before new diagnostics are added to this list. This option is not inherited from the base level. To enable this option in a test, add this comment to your test file: // @ClearIgnoredDiagnostics.

Declaration
public Nullable<bool> ClearIgnoredDiagnostics { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>