Circular reasoning

For this:

private static System.Windows.Forms.Timer myTimer = new System.Windows.Forms.Timer();

R# says, "Qualifier is redundant"

...but if I allow it to remove the "System.Windows.Forms"

...the app no longer compiles, because it assumes the unqualified Timer is a System.Thread.Timer, whose constructor takes arguments.

This is a C# app, Visual Studio 2008

Please sign in to leave a comment.