TODOAttribute.cs 700 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // TODOAttribute.cs
  3. //
  4. // Author:
  5. // Ravi Pratap ([email protected])
  6. //
  7. // (C) Ximian, Inc. http://www.ximian.com
  8. //
  9. using System;
  10. namespace System {
  11. /// <summary>
  12. /// The TODO attribute is used to flag all incomplete bits in our class libraries
  13. /// </summary>
  14. ///
  15. /// <remarks>
  16. /// Use this to decorate any element which you think is not complete
  17. /// </remarks>
  18. [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
  19. internal class MonoTODOAttribute : Attribute {
  20. private string comment;
  21. public MonoTODOAttribute ()
  22. {}
  23. public MonoTODOAttribute (string comment)
  24. {
  25. this.comment = comment;
  26. }
  27. public string Comment
  28. {
  29. get { return comment; }
  30. }
  31. }
  32. }