Skip to content

Commit

Permalink
Revert "[dotnet-linker] Make PreserveSmartEnumConversionsStep active …
Browse files Browse the repository at this point in the history
…for type as well to work around a linker bug." (#11064)

This reverts commit 482151e.

This issue dotnet/linker#1458 has been fixed a while ago.

Co-authored-by: Sebastien Pouliot <[email protected]>
  • Loading branch information
2 people authored and TJ Lambert committed Apr 7, 2021
1 parent df460dd commit aff3d48
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ public class PreserveSmartEnumConversionsSubStep : ExceptionalSubStep

public override SubStepTargets Targets {
get {
return
SubStepTargets.Method
| SubStepTargets.Type // SubStepTargets.Type is only needed to work around a linker bug: https://github.com/mono/linker/issues/1458
| SubStepTargets.Property;
return SubStepTargets.Method | SubStepTargets.Property;
}
}

Expand Down

0 comments on commit aff3d48

Please sign in to comment.