MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Aspect­TestingTest­OptionsReport­Output­Warnings
Open sandboxFocus

TestOptions.ReportOutputWarnings Property

ReportOutputWarnings

Gets or sets a value indicating whether the diagnostics of the compilation of the transformed target code should be included in the test result. This is useful when diagnostic suppression is being tested. To enable this option in a test, add this comment to your test file: // @ReportOutputWarnings.

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