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 CodeFix or CodeFixPreview. To set this option in a test, add this comment to your test file: // @AppliedCodeFixIndex(id).

Declaration
public int? AppliedCodeFixIndex { get; set; }
Property Value
Type Description
int?