Bläddra i källkod

2005-05-06 Zoltan Varga <[email protected]>

	* MethodBody.cs Module.cs CustomAttributeData.cs: Remove unnecessary
	CLSCompliant attributes now that generics is CLS compliant.

svn path=/trunk/mcs/; revision=44134
Zoltan Varga 20 år sedan
förälder
incheckning
00eef5da1d

+ 5 - 0
mcs/class/corlib/System.Reflection/ChangeLog

@@ -1,3 +1,8 @@
+2005-05-06  Zoltan Varga  <[email protected]>
+
+	* MethodBody.cs Module.cs CustomAttributeData.cs: Remove unnecessary
+	CLSCompliant attributes now that generics is CLS compliant.
+
 2004-05-03  Lluis Sanchez  <[email protected]>
 
 	* Assembly.cs: Don't remove version and culture information from

+ 0 - 6
mcs/class/corlib/System.Reflection/CustomAttributeData.cs

@@ -45,7 +45,6 @@ namespace System.Reflection {
 		}
 
 		[MonoTODO]
-		[CLSCompliant (false)]
 		public IList<CustomAttributeTypedArgument> ConstructorArguments {
 			get {
 				throw new NotImplementedException ();
@@ -53,7 +52,6 @@ namespace System.Reflection {
 		}
 
 		[MonoTODO]
-		[CLSCompliant (false)]
 		public IList<CustomAttributeNamedArgument> NamedArguments {
 			get {
 				throw new NotImplementedException ();
@@ -61,25 +59,21 @@ namespace System.Reflection {
 		}
 
 		[MonoTODO]
-		[CLSCompliant (false)]
 		public static IList<CustomAttributeData> GetCustomAttributes (Assembly yarget) {
 			throw new NotImplementedException ();
 		}
 
 		[MonoTODO]
-		[CLSCompliant (false)]
 		public static IList<CustomAttributeData> GetCustomAttributes (MemberInfo target) {
 			throw new NotImplementedException ();
 		}
 
 		[MonoTODO]
-		[CLSCompliant (false)]
 		public static IList<CustomAttributeData> GetCustomAttributes (Module target) {
 			throw new NotImplementedException ();
 		}
 
 		[MonoTODO]
-		[CLSCompliant (false)]
 		public static IList<CustomAttributeData> GetCustomAttributes (ParameterInfo target) {
 			throw new NotImplementedException ();
 		}

+ 0 - 2
mcs/class/corlib/System.Reflection/MethodBody.cs

@@ -48,14 +48,12 @@ namespace System.Reflection {
 		internal MethodBody () {
 		}
 
-		[CLSCompliant (false)]
 		public IList<ExceptionHandlingClause> ExceptionHandlingClauses {
 			get {
 				return Array.AsReadOnly<ExceptionHandlingClause> (clauses);
 			}
 		}
 
-		[CLSCompliant (false)]
 		public IList<LocalVariableInfo> LocalVariables {
 			get {
 				return Array.AsReadOnly<LocalVariableInfo> (locals);

+ 0 - 1
mcs/class/corlib/System.Reflection/Module.cs

@@ -91,7 +91,6 @@ namespace System.Reflection {
 		}
 
 #if NET_2_0
-		[CLSCompliant(false)]
 		public ModuleHandle ModuleHandle {
 			get {
 				return new ModuleHandle (_impl);