[svn] r6099: nemerle/trunk/lib/internal.n

malekith svnadmin at nemerle.org
Mon Jan 30 15:49:38 CET 2006


Log:
Add ExtensionAttribute. Mark Immutable and Volatile with target.field.

Author: malekith
Date: Mon Jan 30 15:49:37 2006
New Revision: 6099

Modified:
   nemerle/trunk/lib/internal.n

Modified: nemerle/trunk/lib/internal.n
==============================================================================
--- nemerle/trunk/lib/internal.n	(original)
+++ nemerle/trunk/lib/internal.n	Mon Jan 30 15:49:37 2006
@@ -36,6 +36,7 @@
   /**
    * Marks a volatile field
    */
+  [System.AttributeUsage (System.AttributeTargets.Field)]
   public class VolatileModifier : NemerleAttribute
   {  }
 
@@ -43,9 +44,13 @@
   /**
    * Marks an immutable field
    */
+  [System.AttributeUsage (System.AttributeTargets.Field)]
   public class ImmutableAttribute : NemerleAttribute
   {  }
 
+  [System.AttributeUsage (System.AttributeTargets.Class|System.AttributeTargets.Method)]
+  public class ExtensionAttribute : NemerleAttribute
+  { }
   
   /**
    * Used to store the Nemerle types in genereated assembly metadata



More information about the svn mailing list