-
In the past, I’ve used AlternateSignature to overload methods, but in the current dev version (0.8) how do you overload methods?
-
Is it possible to overload constructors?
-
I’m probably missing something in the release notes or forums, so please let me know how you discovered the new way to overload methods. That way I know where to look in the future.
Thanks!
Just do the same thing you used to do, but w/o annotating as AlternateSignature.
See https://github.com/nikhilk/scriptsharp/blob/cc/tests/TestCases/Member/Overloads/Code.cs
See same test cases.
See https://github.com/nikhilk/scriptsharp/blob/cc/History.txt for on-going list of changes. As you’ll observe from here, the test cases also help illustrate various features.
Hope that helps.