Could someone please confirm that static class constructors are only called
at the first
use of a non-static constructor on the class, or am I doing something wrong?
If this is
indeed the case then I would consider this a serious error in the language
implementation,
not to mention a pain in the backside :(
Also, is it to much to ask that the method Type.GetTypeFro mCLSID be
documented
clearly as unimplemented? The help gives the following:
Parameters
clsid
The CLSID of the type to get.
Return Value
System.__ComObj ect regardless of whether the
CLSID is valid.
and then goes on to provide an example of this pointless function in use. I
wouldn't mind
but I have used this function and, of course, it doesn't work.
Andy
at the first
use of a non-static constructor on the class, or am I doing something wrong?
If this is
indeed the case then I would consider this a serious error in the language
implementation,
not to mention a pain in the backside :(
Also, is it to much to ask that the method Type.GetTypeFro mCLSID be
documented
clearly as unimplemented? The help gives the following:
Parameters
clsid
The CLSID of the type to get.
Return Value
System.__ComObj ect regardless of whether the
CLSID is valid.
and then goes on to provide an example of this pointless function in use. I
wouldn't mind
but I have used this function and, of course, it doesn't work.
Andy
Comment