MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Aspect­TestingTest­OptionsRemove­Diagnostic­Message
Open sandboxFocus

TestOptions.RemoveDiagnosticMessage Property

RemoveDiagnosticMessage

Gets or sets a value indicating that the test output should not include the diagnostic message, but only the diagnostic ID. The default value is false. To enable this option in a test, add this comment to your test file: // @RemoveDiagnosticMessage.

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