[Mono-bugs] [Bug 665193] New: CheckParametersNullityInVisibleMethodsTest fails when using 'is' operator

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 18 11:55:43 EST 2011



           Summary: CheckParametersNullityInVisibleMethodsTest fails when
                    using 'is' operator
    Classification: Mono
           Product: Mono: Tools
           Version: 2.10.x
          Platform: 64bit
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Gendarme
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ethan_j_brown at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.634.0 Safari/534.16

The 'is' operator only succeeds when the expression is non-null

It would appear Gendarme does not take this into consideration.

See test case here:

Reproducible: Always

Steps to Reproduce:
1.Run the included Test
Actual Results:  
Generates a failure

Expected Results:  
Should succeed as the parameter is checked before being used

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