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


           Summary: New rule: Avoid declaring custom delegates
    Classification: Mono
           Product: Mono: Tools
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Gendarme
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


NET 2.0/3.5 comes with predefined sets of generic delegates

Action, Action<T>,...
Func<T>,....

Users should use these instead of defining their own delegates. I believe it
has performance benefits too.

Few exceptions:
- when ref, out, or params is used
- will have to ignore this rule for public delegates in BCL

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

Reply via email to