Added Microsoft.JScript assembly and namespace, that will be used by the Jscript...
authorCésar Natarén <cesar@mono-cvs.ximian.com>
Wed, 12 Mar 2003 01:22:25 +0000 (01:22 -0000)
committerCésar Natarén <cesar@mono-cvs.ximian.com>
Wed, 12 Mar 2003 01:22:25 +0000 (01:22 -0000)
svn path=/trunk/mcs/; revision=12445

mcs/class/Microsoft.JScript/Microsoft.JScript/JScriptCodeProvider.cs [new file with mode: 0644]
mcs/class/Microsoft.JScript/Microsoft.JScript/TODOAttribute.cs [new file with mode: 0755]

diff --git a/mcs/class/Microsoft.JScript/Microsoft.JScript/JScriptCodeProvider.cs b/mcs/class/Microsoft.JScript/Microsoft.JScript/JScriptCodeProvider.cs
new file mode 100644 (file)
index 0000000..1b6346e
--- /dev/null
@@ -0,0 +1,43 @@
+//
+// JScriptCodeProvider.cs:
+//
+// Author: Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
+//
+
+namespace Microsoft.JScript
+{
+       using System;
+       using System.CodeDom.Compiler;
+
+       [MonoTODO]
+       public class JScriptCodeProvider : CodeDomProvider
+       {
+               [MonoTODO]
+               public JScriptCodeProvider ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+
+               [MonoTODO]
+               public override string FileExtension {
+                       get {
+                               throw new NotImplementedException ();
+                       }
+               }
+
+
+               [MonoTODO]
+               public override ICodeCompiler CreateCompiler ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               
+               [MonoTODO]
+               public override ICodeGenerator CreateGenerator ()
+               {
+                       throw new NotImplementedException ();
+               }               
+       }
+}
diff --git a/mcs/class/Microsoft.JScript/Microsoft.JScript/TODOAttribute.cs b/mcs/class/Microsoft.JScript/Microsoft.JScript/TODOAttribute.cs
new file mode 100755 (executable)
index 0000000..0b89c8b
--- /dev/null
@@ -0,0 +1,37 @@
+//
+// TODOAttribute.cs
+//
+// Author:
+//   Ravi Pratap (ravi@ximian.com)
+//
+// (C) Ximian, Inc.  http://www.ximian.com
+//
+
+namespace System.Runtime.Serialization.Formatters.Soap {
+
+       /// <summary>
+       ///   The TODO attribute is used to flag all incomplete bits in our class libraries
+       /// </summary>
+       ///
+       /// <remarks>
+       ///   Use this to decorate any element which you think is not complete
+       /// </remarks>
+       [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
+       public class MonoTODOAttribute : Attribute {
+
+               private string comment;
+               
+               public MonoTODOAttribute ()
+               {}
+
+               public MonoTODOAttribute (string comment)
+               {
+                       this.comment = comment;
+               }
+
+               public string Comment
+               {
+                       get { return comment; }
+               }
+       }
+}