MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Aspect­TestingTest­OptionsRemove­Output­Code
Open sandboxFocus

TestOptions.RemoveOutputCode Property

RemoveOutputCode

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

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