Hi,
Repro:
Make a call to the Cursor ctor like this.Cursor = new Cursor(GetType( ),
"SomeCur.cu r");
DO NOT have the following line in the program... using System.Reflecti on;
Watch the Cursor ctro FAIL yet no compiler warning.
Add the using System.Reflecti on; reference
Build, again no compiler errror or warning (this time correctly) and call
the Cursor ctor, it succeeds.
Why no compiler warning or error?
Thanks.
Repro:
Make a call to the Cursor ctor like this.Cursor = new Cursor(GetType( ),
"SomeCur.cu r");
DO NOT have the following line in the program... using System.Reflecti on;
Watch the Cursor ctro FAIL yet no compiler warning.
Add the using System.Reflecti on; reference
Build, again no compiler errror or warning (this time correctly) and call
the Cursor ctor, it succeeds.
Why no compiler warning or error?
Thanks.
Comment