Well, one option is the calling convention; static is "Standard",
instance is generally "HasThis" (for C# at least). With PropertyInfo you
might have to get one of the accessors (GetGetMethod / GetSetMethod) to
do this.
Well, one option is the calling convention; static is "Standard",
instance is generally "HasThis" (for C# at least). With PropertyInfo you
might have to get one of the accessors (GetGetMethod / GetSetMethod) to
do this.
I guess I'm saying that while adding an IsStatic property might have
made it even _more_ convenient, once you head down that path there's
all sorts of attributes they could expose as properties rather than
just having you look at the specific meta-data. Given that the
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.