https://bugzilla.novell.com/show_bug.cgi?id=665193
https://bugzilla.novell.com/show_bug.cgi?id=665193#c0 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: [email protected] ReportedBy: [email protected] QAContact: [email protected] 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 http://msdn.microsoft.com/en-us/library/scekt9xw.aspx It would appear Gendarme does not take this into consideration. See test case here: https://github.com/Iristyle/mono-tools/commit/5afbd0a3ef746ff6fdb3db4e1be53995c1734be4 Reproducible: Always Steps to Reproduce: 1.Run the included Test 2. 3. 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
