MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Aspect­TestingTest­OptionsApplied­Code­Fix­Index
Open sandboxFocus

TestOptions.AppliedCodeFixIndex Property

AppliedCodeFixIndex

Gets or sets the zero-based index of the code fix to be applied when TestScenario is set to ApplyCodeFix or PreviewCodeFix. To set this option in a test, add this comment to your test file: // @AppliedCodeFixIndex(id).

Declaration
public Nullable<int> AppliedCodeFixIndex { get; set; }
Property Value
Type Description
Nullable<Int32>