'delegate': a delegate may not have an explicit calling convention
You cannot specify the calling convention for a __delegate.
The following sample generates C3737:
#using <mscorlib.dll> __delegate void __stdcall MyFunc(); // C3737 // The following line resolves the error. // __delegate void MyFunc(); void main() { }