Feedback
Plugin constructor overloads that differ by enum and Integer fail to run
- Status
- Fixed
- Fixed in
- v26.10.4
- Area
- compiler
- Source discussion
- -
- Last updated
- 2026-10-30
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Applications fail to start when an installed C# plugin exports constructor overloads that differ only between an Integer parameter and an exported enum parameter. This happens when Run loads the plugin, even if the application never calls either constructor.
Both overloads should be supported. Passing an Integer should select the Integer constructor, and passing the declared enum should select the enum constructor. Plugin authors should not need to add a dummy parameter or replace a constructor with a factory method.