You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: