Bläddra i källkod

2009-06-10 Marek Safar <[email protected]>

	* InternalsVisibleToAttribute.cs: Updated to 2.0 SP2.


svn path=/trunk/mcs/; revision=135842
Marek Safar 16 år sedan
förälder
incheckning
aafd64f1ca

+ 2 - 1
mcs/class/corlib/System.Runtime.CompilerServices/ChangeLog

@@ -1,6 +1,7 @@
 2009-06-10  Marek Safar  <[email protected]>
 
-	* TypeForwardedFromAttribute: New file.
+	* InternalsVisibleToAttribute.cs: Updated to 2.0 SP2.
+	* TypeForwardedFromAttribute.cs: New file.
 
 2008-04-02  Andreas Nahr  <[email protected]>
 

+ 6 - 0
mcs/class/corlib/System.Runtime.CompilerServices/InternalsVisibleToAttribute.cs

@@ -36,6 +36,7 @@ namespace System.Runtime.CompilerServices {
 	public sealed class InternalsVisibleToAttribute : Attribute
 	{
 		string assemblyName;
+		bool all_visible;
 
 		public InternalsVisibleToAttribute (string assemblyName)
 		{
@@ -47,6 +48,11 @@ namespace System.Runtime.CompilerServices {
 				return assemblyName;
 			}
 		}
+		
+		public bool AllInternalsVisible {
+			get { return all_visible; }
+			set { all_visible = value; }
+		}
 	}
 }