[Mono-bugs] [Bug 468842] New Rule: Avoid mixing string and characters
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Jan 4 21:38:21 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=468842
http://bugzilla.novell.com/show_bug.cgi?id=468842#c3
--- Comment #3 from Sebastien Pouliot <spouliot at novell.com> 2010-01-05 02:38:19 UTC ---
Ok, here's a quick list of API with a similar pattern:
public int CompareTo (object value);
public int CompareTo (string strB);
public static string Concat (object arg0);
// no Concat alternative, just use "a" instead of String.Concat('a')
public static string Concat (params object [] args);
public static string Concat (params string [] values);
public static string Concat (object arg0, object arg1);
public static string Concat (string str0, string str1);
public static string Concat (object arg0, object arg1, object arg2);
public static string Concat (string str0, string str1, string str2);
public static string Concat (object arg0, object arg1, object arg2, object
arg3);
public static string Concat (string str0, string str1, string str2, string
str3);
public override bool Equals (object obj);
public bool Equals (string value);
Anything else you had in mind ?
--
Configure bugmail: http://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