G
Guest
Hi,
Repro:
Make a call to the Cursor ctor like this.Cursor = new Cursor(GetType(),
"SomeCur.cur");
DO NOT have the following line in the program... using System.Reflection;
Watch the Cursor ctro FAIL yet no compiler warning.
Add the using System.Reflection; 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.cur");
DO NOT have the following line in the program... using System.Reflection;
Watch the Cursor ctro FAIL yet no compiler warning.
Add the using System.Reflection; 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.