Author: spouliot
Date: 2008-01-23 18:38:08 -0500 (Wed, 23 Jan 2008)
New Revision: 93738
Modified:
trunk/cecil/gendarme/framework/Gendarme.Framework/ChangeLog
trunk/cecil/gendarme/framework/Gendarme.Framework/MethodSignatures.cs
Log:
2008-01-23 Sebastien Pouliot <[EMAIL PROTECTED]>
* MethodSignatures.cs: Change [No|One|Two]Parameter[s] to private
to avoid ArrayFieldsShouldNotBeReadOnlyRule on self-test.
Modified: trunk/cecil/gendarme/framework/Gendarme.Framework/ChangeLog
===================================================================
--- trunk/cecil/gendarme/framework/Gendarme.Framework/ChangeLog 2008-01-23
23:24:50 UTC (rev 93737)
+++ trunk/cecil/gendarme/framework/Gendarme.Framework/ChangeLog 2008-01-23
23:38:08 UTC (rev 93738)
@@ -1,3 +1,8 @@
+2008-01-23 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * MethodSignatures.cs: Change [No|One|Two]Parameter[s] to private
+ to avoid ArrayFieldsShouldNotBeReadOnlyRule on self-test.
+
2008-01-18 Sebastien Pouliot <[EMAIL PROTECTED]>
* MethodSignature.cs: Allow to find a method using a signature
Modified: trunk/cecil/gendarme/framework/Gendarme.Framework/MethodSignatures.cs
===================================================================
--- trunk/cecil/gendarme/framework/Gendarme.Framework/MethodSignatures.cs
2008-01-23 23:24:50 UTC (rev 93737)
+++ trunk/cecil/gendarme/framework/Gendarme.Framework/MethodSignatures.cs
2008-01-23 23:38:08 UTC (rev 93738)
@@ -39,9 +39,9 @@
/// </summary>
/// <see cref="Gendarme.Framework.MethodSignature"/>
public static class MethodSignatures {
- public static readonly string [] NoParameter = new string [0];
- public static readonly string [] OneParameter = new string [1];
- public static readonly string [] TwoParameters = new string [2];
+ private static readonly string [] NoParameter = new string [0];
+ private static readonly string [] OneParameter = new string [1];
+ private static readonly string [] TwoParameters = new string
[2];
//System.Object
public static readonly new MethodSignature Equals = new
MethodSignature () { Name = "Equals", ReturnType = "System.Boolean", Parameters
= new string [] { "System.Object" }, Attributes = MethodAttributes.Public |
MethodAttributes.Virtual };
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches