Author: nestor
Date: 2007-08-31 10:25:08 -0400 (Fri, 31 Aug 2007)
New Revision: 85129
Modified:
trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/ChangeLog
trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/Gendarme.Rules.Performance.xml.in
Log:
Merging some work of the summer of code 2007. Adding the rule information in
the xml file.
* Gendarme.Rules.Performance.xml.in: Added the rule information in the
xml file.
Modified: trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/ChangeLog
===================================================================
--- trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/ChangeLog
2007-08-31 14:21:40 UTC (rev 85128)
+++ trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/ChangeLog
2007-08-31 14:25:08 UTC (rev 85129)
@@ -1,5 +1,10 @@
2007-09-31 Nestor Salceda <[EMAIL PROTECTED]>
+
+ * Gendarme.Rules.Performance.xml.in: Added the rule information in the
+ xml file.
+2007-09-31 Nestor Salceda <[EMAIL PROTECTED]>
+
* AvoidUnusedParametersRule.cs: New rule to check for unused parameters
in a method.
* Makefile.am: Added the sources of the rule and the unit tests.
Modified:
trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/Gendarme.Rules.Performance.xml.in
===================================================================
---
trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/Gendarme.Rules.Performance.xml.in
2007-08-31 14:21:40 UTC (rev 85128)
+++
trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/Gendarme.Rules.Performance.xml.in
2007-08-31 14:25:08 UTC (rev 85129)
@@ -17,4 +17,10 @@
<problem>The method '{0}' use literal "" instead of
String.Empty.</problem>
<solution>Change the empty string for String.Empty.</solution>
</rule>
+ <rule Name="AvoidUnusedParametersRule"
+ Type="Gendarme.Rules.Performance.AvoidUnusedParametersRule,
Gendarme.Rules.Performance, [EMAIL PROTECTED]@, Culture=neutral,
PublicKeyToken=null"
+ Uri="">
+ <problem>The method '{0}' contains unused parameters.</problem>
+ <solution>You should remove the unused parameters.</solution>
+ </rule>
</rules>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches