[Mono-bugs] [Bug 362716] Implement AllStaticMembersTypeStatic rule

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jul 12 20:43:09 EDT 2008


User spouliot at novell.com added comment

Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                                         |Added
             Status|NEW                                             |RESOLVED
         Resolution|                                                |FIXED

--- Comment #2 from Sebastien Pouliot <spouliot at novell.com>  2008-07-12 18:43:06 MDT ---
The existing Gendarme.Rules.Correctness.AvoidConstructorsInStaticTypesRule did
part of the job (because it was extended for 2.0 usage). So I changed it's
behavior to check to be more 1.x, i.e. avoiding a visible constructor inside
types that are "static" (even if it's not enforced in 1.x).

The new rule, Gendarme.Rules.Design.ConsiderUsingStaticTypeRule, does check for
static type eligibility (if the assembly is targeting 2.0+) and suggest to
change any defect found into static types.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list