Generated tests assign enums to enum constructor

When Visual Studio generates tests, for initial value for enums it uses enum constructor.
MyClass.TracingMode tracingMode = new MyClass.TracingMode(); // TODO: Initialize to an appropriate value
It looks strange.
Is it worth to suggest in MS Connect to change the default?

posted @ Sunday, June 12, 2011 5:47 PM
Print

Comments on this entry:

No comments posted yet.

Your comment:



(not displayed)


 
 
 
 
 

Live Comment Preview:

 
«May»
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789