2002-07-24 Duncan Mak <duncan@ximian.com>
authorDuncan Mak <duncan@mono-cvs.ximian.com>
Tue, 23 Jul 2002 17:06:30 +0000 (17:06 -0000)
committerDuncan Mak <duncan@mono-cvs.ximian.com>
Tue, 23 Jul 2002 17:06:30 +0000 (17:06 -0000)
* AccessedThroughPropertyAttribute.cs:
* CompilationRelaxationsAttribute.cs:
* CompilerGlobalScopeAttribute.cs:
* DateTimeConstantAttribute.cs:
* DecimalConstantAttribute.cs:
* IDispatchConstantAttribute.cs:
* IsVolatile.cs:
* IUnknownConstantAttribute.cs:
* RequiredAttributeAttribute.cs: Visibility changes.

svn path=/trunk/mcs/; revision=6085

mcs/class/corlib/System.Runtime.CompilerServices/AccessedThroughPropertyAttribute.cs
mcs/class/corlib/System.Runtime.CompilerServices/ChangeLog
mcs/class/corlib/System.Runtime.CompilerServices/CompilationRelaxationsAttribute.cs
mcs/class/corlib/System.Runtime.CompilerServices/CompilerGlobalScopeAttribute.cs
mcs/class/corlib/System.Runtime.CompilerServices/DateTimeConstantAttribute.cs
mcs/class/corlib/System.Runtime.CompilerServices/DecimalConstantAttribute.cs
mcs/class/corlib/System.Runtime.CompilerServices/IDispatchConstantAttribute.cs
mcs/class/corlib/System.Runtime.CompilerServices/IUnknownConstantAttribute.cs
mcs/class/corlib/System.Runtime.CompilerServices/IsVolatile.cs
mcs/class/corlib/System.Runtime.CompilerServices/RequiredAttributeAttribute.cs

index e324810050b4086c6ed6f443c757089f84392fd1..8343f11197aeb8fa01ba9a3123dd07730a812976 100644 (file)
@@ -9,6 +9,7 @@ using System;
 
 namespace System.Runtime.CompilerServices {
 
+       [AttributeUsage (AttributeTargets.Field)]
        public sealed class AccessedThroughPropertyAttribute : Attribute
        {
                string name;
index 1354ca98662d2fb502642bd30838a07fddb532c6..aa31b137dbdb5fcddc09f920569a07df7ca8a359 100644 (file)
@@ -1,3 +1,15 @@
+2002-07-24  Duncan Mak  <duncan@ximian.com>\r
+\r
+       * AccessedThroughPropertyAttribute.cs:\r
+       * CompilationRelaxationsAttribute.cs: \r
+       * CompilerGlobalScopeAttribute.cs: \r
+       * DateTimeConstantAttribute.cs: \r
+       * DecimalConstantAttribute.cs: \r
+       * IDispatchConstantAttribute.cs:\r
+       * IsVolatile.cs:\r
+       * IUnknownConstantAttribute.cs: \r
+       * RequiredAttributeAttribute.cs: Visibility changes.\r
+\r
 2002-07-23  Duncan Mak  <duncan@ximian.com>\r
 \r
        * AccessedThroughPropertyAttribute.cs: \r
index d4df4b706e1548118d8fc73aaa92070276ed4090..71e3e4835d9f6f3771a21631b2464927d725d956 100644 (file)
@@ -9,8 +9,8 @@ using System;
 
 namespace System.Runtime.CompilerServices {
 
-       [AttributeUsage (AttributeTargets.Module)]
-       public sealed class CompilationRelaxationsAttribute : Attribute
+       [AttributeUsage (AttributeTargets.Module)] [Serializable]
+       public class CompilationRelaxationsAttribute : Attribute
        {
                int relax;
                public CompilationRelaxationsAttribute (int relaxations)
@@ -18,7 +18,7 @@ namespace System.Runtime.CompilerServices {
                        relax = relaxations;
                }
 
-               public int Relaxations {
+               public int CompilationRelaxations {
                        get { return relax; }
                }
        }
index 9d3f91d07794a12d5f6e2999b4cd54e431fd0564..a317cb52b0d34da6435fafe1a0745217bfffec25 100644 (file)
@@ -12,7 +12,7 @@ namespace System.Runtime.CompilerServices {
        [AttributeUsage (AttributeTargets.Class)] [Serializable]
        public class CompilerGlobalScopeAttribute : Attribute
        {
-               protected CompilerGlobalScopeAttribute ()
+               public CompilerGlobalScopeAttribute ()
                {
                }
        }
index 65d2801568d00d9136e7ce5bc96a9c985cd47cc3..7bb937e3bf65b18415239dbe56b2d407e9ffc9ab 100644 (file)
@@ -11,7 +11,7 @@ namespace System.Runtime.CompilerServices {
 
        [Serializable]
        [AttributeUsage (AttributeTargets.Field | AttributeTargets.Parameter)]
-       public class DateTimeConstantAttribute : CustomConstantAttribute
+       public sealed class DateTimeConstantAttribute : CustomConstantAttribute
        {
                long ticks;
                
index 102823cbe7b5c3f76c27336a3eb580b8c1355776..0d242a55484e7a352192950188501abd9fe0b2d8 100644 (file)
@@ -11,7 +11,7 @@ namespace System.Runtime.CompilerServices {
 
        [Serializable] [CLSCompliant (false)]
        [AttributeUsage (AttributeTargets.Field | AttributeTargets.Parameter)]
-       public class DecimalConstantAttribute : Attribute
+       public sealed class DecimalConstantAttribute : Attribute
        {
                byte scale;
                bool sign;
index ab603f9c615ac92367d8b9daab3a7d4430b7450d..f0a2cad5b1b0a7d98301aaefc3695f68169d33fe 100644 (file)
@@ -11,7 +11,7 @@ namespace System.Runtime.CompilerServices {
 
        [Serializable]
        [AttributeUsage (AttributeTargets.Field | AttributeTargets.Parameter)]
-       public class IDispatchConstantAttribute : CustomConstantAttribute
+       public sealed class IDispatchConstantAttribute : CustomConstantAttribute
        {
                public IDispatchConstantAttribute ()
                {
index bce7753f8eca86fe7465738a6641b3622b91de7f..c8808ff4ba5f034c94137ab1b8f3d2a971bd6050 100644 (file)
@@ -11,7 +11,7 @@ namespace System.Runtime.CompilerServices {
 
        [Serializable]
        [AttributeUsage (AttributeTargets.Field | AttributeTargets.Parameter)]
-       public class IUnknownConstantAttribute : CustomConstantAttribute
+       public sealed class IUnknownConstantAttribute : CustomConstantAttribute
        {
                public IUnknownConstantAttribute ()
                {
index a6e2d9e8b71d699a392ec1e2babacd4093bc9cce..644da3ec227bb06200c8585074f2964b2db75ce6 100644 (file)
@@ -10,5 +10,8 @@ using System;
 namespace System.Runtime.CompilerServices {
        public sealed class IsVolatile
        {
+               public IsVolatile ()
+               {
+               }
        }
 }
index e9ce3e29ad27a6672166aff11df8b5b70c75ad97..1489b1b32f393153f0e8fa89827066ffdd5e2947 100644 (file)
@@ -14,7 +14,7 @@ namespace System.Runtime.CompilerServices {
        [Serializable]
        public sealed class RequiredAttributeAttribute : Attribute
        {
-               public RequiredAttributeAttribute ()
+               public RequiredAttributeAttribute (Type requiredContract)
                {
                }