In most cases the rules ConsiderUsingStaticType and
AvoidConstructorsInStaticTypes point to the same classes. However, I
found a single exception:
public class Test
{
public const int x = 5;
}
When analyzing this class, AvoidConstructorsInStaticTypes does not
fire.

Also, I think that these two rules should be merged. Shouldn't they?

Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"Gendarme" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/gendarme?hl=en.

Reply via email to