ILSupport icon indicating copy to clipboard operation
ILSupport copied to clipboard

VB Shared Sub/Function

Open jbs30000 opened this issue 6 years ago • 0 comments

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.

jbs30000 avatar Sep 05 '18 22:09 jbs30000