Skip to content

Commit

Permalink
LayoutKind.Sequential (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
k3min authored Sep 1, 2023
1 parent 07a67bf commit 197ac53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public override async Task RegisterCodeFixesAsync(CodeFixContext context)
context.RegisterCodeFix(
CodeAction.Create(
"Add Sequential StructLayout attribute",
ct => Refactor(context.Document, nodeToFix, LayoutKind.Explicit, ct),
ct => Refactor(context.Document, nodeToFix, LayoutKind.Sequential, ct),
equivalenceKey: "Add Sequential StructLayout attribute"),
context.Diagnostics);
}
Expand Down

0 comments on commit 197ac53

Please sign in to comment.