MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Aspect­TestingTest­OptionsInclude­Line­Number­In­Diagnostic­Report
Open sandboxFocus

TestOptions.IncludeLineNumberInDiagnosticReport Property

IncludeLineNumberInDiagnosticReport

Gets or sets a value indicating whether the line number should be included in reports of warnings or errors in the consolidated test output. The default value is false. To enable this option in a test, add this comment to your test file: // @IncludeLineNumberInDiagnosticReport.

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