diff options
author | Sebastien Pouliot <sebastien@ximian.com> | 2008-08-24 19:08:38 +0400 |
---|---|---|
committer | Sebastien Pouliot <sebastien@ximian.com> | 2008-08-24 19:08:38 +0400 |
commit | 05892a07df610a177a7bc8fba660efcf318dc315 (patch) | |
tree | 6b77df38a32b156ee0f2247e3b8b22ff9dc3ffc5 | |
parent | 03ff95a906be546d754177c8edd9cc32f797252e (diff) |
2008-08-24 Sebastien Pouliot <sebastien@ximian.com>
* ProblemAttribute.cs, SolutionAttribute.cs: Change Inherited to
true, other wise we would miss some descriptions in a few rules.
svn path=/branches/mono-2-0/mono-tools/; revision=111501
-rw-r--r-- | gendarme/framework/Gendarme.Framework/ChangeLog | 5 | ||||
-rw-r--r-- | gendarme/framework/Gendarme.Framework/ProblemAttribute.cs | 2 | ||||
-rw-r--r-- | gendarme/framework/Gendarme.Framework/SolutionAttribute.cs | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gendarme/framework/Gendarme.Framework/ChangeLog b/gendarme/framework/Gendarme.Framework/ChangeLog index a3b95f0b..0473610f 100644 --- a/gendarme/framework/Gendarme.Framework/ChangeLog +++ b/gendarme/framework/Gendarme.Framework/ChangeLog @@ -1,3 +1,8 @@ +2008-08-24 Sebastien Pouliot <sebastien@ximian.com> + + * ProblemAttribute.cs, SolutionAttribute.cs: Change Inherited to + true, other wise we would miss some descriptions in a few rules. + 2008-08-08 Sebastien Pouliot <sebastien@ximian.com> * Rule.cs: Set default ApplicabilityScope value to All. Otherwise diff --git a/gendarme/framework/Gendarme.Framework/ProblemAttribute.cs b/gendarme/framework/Gendarme.Framework/ProblemAttribute.cs index ed5fe6ab..8f2013eb 100644 --- a/gendarme/framework/Gendarme.Framework/ProblemAttribute.cs +++ b/gendarme/framework/Gendarme.Framework/ProblemAttribute.cs @@ -29,7 +29,7 @@ using System; namespace Gendarme.Framework { - [AttributeUsage (AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + [AttributeUsage (AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public sealed class ProblemAttribute : Attribute { private string problem; diff --git a/gendarme/framework/Gendarme.Framework/SolutionAttribute.cs b/gendarme/framework/Gendarme.Framework/SolutionAttribute.cs index 278f5160..f6259222 100644 --- a/gendarme/framework/Gendarme.Framework/SolutionAttribute.cs +++ b/gendarme/framework/Gendarme.Framework/SolutionAttribute.cs @@ -29,7 +29,7 @@ using System; namespace Gendarme.Framework { - [AttributeUsage (AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + [AttributeUsage (AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public sealed class SolutionAttribute : Attribute { private string solution; |