[Mono-bugs] [Bug 697546] New: Use of VB Module doesn't fix ConsiderUsingStaticTypeRule

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 1 14:35:37 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=697546

https://bugzilla.novell.com/show_bug.cgi?id=697546#c0


           Summary: Use of VB Module doesn't fix
                    ConsiderUsingStaticTypeRule
    Classification: Mono
           Product: Mono: Tools
           Version: unspecified
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Gendarme
        AssignedTo: spouliot at novell.com
        ReportedBy: hanson.andrew at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User
           Blocker: ---


Created an attachment (id=432550)
 --> (http://bugzilla.novell.com/attachment.cgi?id=432550)
Example of a module breaking the rule

Description of Problem:


Steps to reproduce the problem:
1. Create a class using only static members to break the rule
2. Fix the rule by changing the fields away from static, and changing the class
to a module


Actual Results:
Rule is still listed as broken

Expected Results:
If I understand correctly, a Module is all VB has for a "static class", since
the "static" modifier can't be applied to classes in VB.  If this is wrong, I'm
very sorry to have wasted anyone's time.

How often does this happen? 
Every time a module is declared

Additional Information:

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


More information about the mono-bugs mailing list