Merge pull request #2545 from ermshiperete/Xamarin-24974
[mono.git] / mcs / build / common / MonoTODOAttribute.cs
index 7c986cf3ae5c86ae6c2de211ece2293ab13f4d18..33bf6950260464f2ec97d0da0b8f6c13dcd899cd 100644 (file)
@@ -1,14 +1,16 @@
 //
 // MonoTODOAttribute.cs
 //
-// Author:
+// Authors:
 //   Ravi Pratap (ravi@ximian.com)
+//   Eyal Alaluf <eyala@mainsoft.com> 
 //
 // (C) Ximian, Inc.  http://www.ximian.com
 //
 
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2006 Mainsoft, Inc (http://www.mainsoft.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
@@ -31,9 +33,9 @@
 //
 
 namespace System {
-       
+#pragma warning disable 436
        [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
-       internal sealed class MonoTODOAttribute : Attribute {
+       internal class MonoTODOAttribute : Attribute {
 
                string comment;
                
@@ -50,4 +52,50 @@ namespace System {
                        get { return comment; }
                }
        }
+
+       [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
+       internal class MonoDocumentationNoteAttribute : MonoTODOAttribute {
+
+               public MonoDocumentationNoteAttribute (string comment)
+                       : base (comment)
+               {
+               }
+       }
+
+       [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
+       internal class MonoExtensionAttribute : MonoTODOAttribute {
+
+               public MonoExtensionAttribute (string comment)
+                       : base (comment)
+               {
+               }
+       }
+
+       [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
+       internal class MonoInternalNoteAttribute : MonoTODOAttribute {
+
+               public MonoInternalNoteAttribute (string comment)
+                       : base (comment)
+               {
+               }
+       }
+
+       [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
+       internal class MonoLimitationAttribute : MonoTODOAttribute {
+
+               public MonoLimitationAttribute (string comment)
+                       : base (comment)
+               {
+               }
+       }
+
+       [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
+       internal class MonoNotSupportedAttribute : MonoTODOAttribute {
+
+               public MonoNotSupportedAttribute (string comment)
+                       : base (comment)
+               {
+               }
+       }
+#pragma warning restore 436    
 }