MonoCompatibilityReviewRule

3 views
Skip to first unread message

Vlad

unread,
Oct 19, 2009, 2:42:30 PM10/19/09
to Gendarme
I got the following critical error

Severity: Critical Confidence: Normal
Source: /home/vgiszpenc/trunk/Net/HostSet.cs(≈547)
Details: System.String System.Net.Sockets.SocketException::get_Message
() is missing from Mono.


But SocketException inherits from Exception which defines
public virtual string Message {
get {
if (message == null)
message = string.Format (Locale.GetText ("Exception of type
'{0}' was thrown."),
ClassName);

return message;
}
}

What do you think is really the problem?
Thanks!

Sebastien Pouliot

unread,
Oct 19, 2009, 5:35:28 PM10/19/09
to gend...@googlegroups.com

Your MoMA definitions could be (much) older than the version of Mono you
are currently using. What version of Gendarme are you using ?

Gendarme 2.6 (preview) should try to download newer definitions (if used
with older MoMA definitions). Do a "man gendarme" and find where the
definitions are kept, then delete (or move) them. That should force the
rule to re-download the most recent definitions available.

Sebastien

Reply all
Reply to author
Forward
0 new messages