[Mono-bugs] [Bug 406889] New rule: Prefer char over string for string methods at least

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 24 13:35:12 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=406889

User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=406889#c1


Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |spouliot at novell.com
             Status|NEW                                             |RESOLVED
         Resolution|                                                |FIXED




--- Comment #1 from Sebastien Pouliot <spouliot at novell.com>  2008-12-24 11:35:10 MST ---
Rule added in SVN r122096/122098.

It covers String.IndexOf, String.LastIndexOf and String.Replace*. 125 potential
defects are reported for Mono HEAD (2.0 profile).

* It's harder to make the rule more generic since the performance results would
not be known (and we could be promoting something that affects negatively
performance). However we can easily extend the rule for other well known (and
tested) cases.


-- 
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