ILSupport
ILSupport copied to clipboard
VB Shared Sub/Function
When I try using Share in VB (and static in IL) I get an exception message. Usually it's that the method can't be found. Using only Share or Static doesn't work. Using static in VB gives an error message that you can't use static with forwardref. And finally, putting VB code in a module (where you don't need the Shared keyword because everything is implicitly shared) gives the exception that I tried to run illegal code. So, is it possible to have shared methods, or is this a limitation of ilsupport? Thank you.