[Mono-bugs] [Bug 701251] New: Wrong violation of CheckParametersNullityInVisibleMethodsRule
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Jun 21 08:27:23 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=701251
https://bugzilla.novell.com/show_bug.cgi?id=701251#c0
Summary: Wrong violation of
CheckParametersNullityInVisibleMethodsRule
Classification: Mono
Product: Mono: Tools
Version: 2.10.x
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Gendarme
AssignedTo: spouliot at novell.com
ReportedBy: daniel.lidstrom at gpsgate.com
QAContact: mono-bugs at lists.ximian.com
Found By: Community User
Blocker: No
I've just experienced a strange case of
CheckParametersNullityInVisibleMethodsRule. I don't understand why it fires for
my code. Here's the "offending" code:
public void SetVarValue( int lEMLArea, ref string szVar, ref string szValue,
ref int lValue )
{
short rc = 0;
rc = _insObjectClass.SetVarValue( lEMLArea, szVar, szValue, lValue );
if (rc < -1)
throw new InsObjectException(rc);
}
The method being called looks like this:
public virtual short SetVarValue(int lEMLID, object vaVar, string szValue, int
lValue);
Why is the rule being fired here?
Gendarme used is 2.11.0.
--
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