[Mono-bugs] [Bug 78202][Nor] New - gendarme doesn't support exclusions

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Apr 25 22:12:50 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by matt at use.net.

http://bugzilla.ximian.com/show_bug.cgi?id=78202

--- shadow/78202	2006-04-25 22:12:50.000000000 -0400
+++ shadow/78202.tmp.27144	2006-04-25 22:12:50.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 78202
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Mono.Cecil
+AssignedTo: mono at evain.net                            
+ReportedBy: matt at use.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: gendarme doesn't support exclusions
+
+Steps to reproduce the problem:
+1. add this line to the default rules.xml in the "default" ruleset:
+ <rules exclude="NullDerefRule" from="Gendarme.Rules.Correctness.dll" />
+
+2. run gendarme on a binary
+
+
+Actual Results:
+Error reading rules
+Details: System.NotImplementedException: excludeMask
+in <0x002f6> Gendarme.Framework.Runner:LoadRulesFromAssembly (System.String
+assembly, System.String includeMask, System.String excludeMask)
+in <0x002f0> ConsoleRunner:LoadConfiguration ()
+
+
+Expected Results:
+When combined with this line:
+<rules include="*" from="Gendarme.Rules.Correctness.dll" />
+
+it should execute/report all rules in the Correctness set except for
+NullDerefRule.


More information about the mono-bugs mailing list