Author: motym
Date: 2007-03-29 09:18:01 -0500 (Thu, 29 Mar 2007)
New Revision: 75142

Added:
   trunk/mono-basic/vbruntime/Microsoft.VisualBasic/MonoTODOAttribute.vb
Modified:
   
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Devices/Computer.jvm.vb
   
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Devices/ServerComputer.jvm.vb
   
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.MyServices.Internal/ContextValue.vb
Log:


Modified: 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Devices/Computer.jvm.vb
===================================================================
--- 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Devices/Computer.jvm.vb
      2007-03-29 14:07:58 UTC (rev 75141)
+++ 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Devices/Computer.jvm.vb
      2007-03-29 14:18:01 UTC (rev 75142)
@@ -37,7 +37,9 @@
     Public Class Computer
         Inherits ServerComputer
 
+        '<MonoLimitationAttribute("Microsoft.VisualBasic.Devices.Computer is 
not supported.") _
         Public Sub New()
+            'Throw New NotImplementedException
         End Sub
 
         Public ReadOnly Property Audio() As Audio

Modified: 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Devices/ServerComputer.jvm.vb
===================================================================
--- 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Devices/ServerComputer.jvm.vb
        2007-03-29 14:07:58 UTC (rev 75141)
+++ 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Devices/ServerComputer.jvm.vb
        2007-03-29 14:18:01 UTC (rev 75142)
@@ -32,8 +32,9 @@
 Namespace Microsoft.VisualBasic.Devices
     Public Class ServerComputer
 
+        '<MonoLimitationAttribute("Microsoft.VisualBasic.Devices.Computer is 
not supported.") _
         Public Sub New()
-            Throw New NotImplementedException
+           ' Throw New NotImplementedException
         End Sub
 
         Public ReadOnly Property Clock() As Clock

Modified: 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.MyServices.Internal/ContextValue.vb
===================================================================
--- 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.MyServices.Internal/ContextValue.vb
  2007-03-29 14:07:58 UTC (rev 75141)
+++ 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.MyServices.Internal/ContextValue.vb
  2007-03-29 14:18:01 UTC (rev 75142)
@@ -30,16 +30,20 @@
 Namespace Microsoft.VisualBasic.MyServices.Internal
     <EditorBrowsable(EditorBrowsableState.Never)> _
     Public Class ContextValue(Of T)
+
+        
'<MonoLimitationAttribute("Microsoft.VisualBasic.MyServices.Internal.ContextValue(Of
 T) is not supported.") _
         Public Sub New()
-            Throw New NotImplementedException
+            ' Throw New NotImplementedException
         End Sub
 
+        
'<MonoLimitationAttribute("Microsoft.VisualBasic.MyServices.Internal.ContextValue(Of
 T) is not supported.") _
         Public Property Value() As T
             Get
-                Throw New NotImplementedException
+                'Throw New NotImplementedException
+                Return Nothing
             End Get
             Set(ByVal value As T)
-                Throw New NotImplementedException
+                'Throw New NotImplementedException
             End Set
         End Property
     End Class

Added: trunk/mono-basic/vbruntime/Microsoft.VisualBasic/MonoTODOAttribute.vb
===================================================================
--- trunk/mono-basic/vbruntime/Microsoft.VisualBasic/MonoTODOAttribute.vb       
2007-03-29 14:07:58 UTC (rev 75141)
+++ trunk/mono-basic/vbruntime/Microsoft.VisualBasic/MonoTODOAttribute.vb       
2007-03-29 14:18:01 UTC (rev 75142)
@@ -0,0 +1,102 @@
+'
+' MonoTODOAttribute.vb
+'
+' Authors:
+'   Ravi Pratap ([EMAIL PROTECTED])
+'   Eyal Alaluf <[EMAIL PROTECTED]> 
+'
+' (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
+' "Software"), to deal in the Software without restriction, including
+' without limitation the rights to use, copy, modify, merge, publish,
+' distribute, sublicense, and/or sell copies of the Software, and to
+' permit persons to whom the Software is furnished to do so, subject to
+' the following conditions:
+' 
+' The above copyright notice and this permission notice shall be
+' included in all copies or substantial portions of the Software.
+' 
+' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+' EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+' MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+' LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+' OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+' WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+'
+
+Namespace System
+
+    <AttributeUsage(AttributeTargets.All)> _
+    Friend Class MonoTODOAttribute
+        Inherits Attribute
+
+        Private _comment As String
+
+        Public Sub New()
+        End Sub
+
+        Public Sub New(ByVal comment As String)
+            _comment = comment
+        End Sub
+
+        Public ReadOnly Property Comment() As String
+            Get
+                Return _comment
+            End Get
+
+        End Property
+    End Class
+
+    <AttributeUsage(AttributeTargets.All)> _
+    Friend Class MonoDocumentationNoteAttribute
+        Inherits MonoTODOAttribute
+
+        Public Sub New(ByVal comment As String)
+            MyBase.New(comment)
+        End Sub
+    End Class
+
+    <AttributeUsage(AttributeTargets.All)> _
+    Friend Class MonoExtensionAttribute
+        Inherits MonoTODOAttribute
+
+        Public Sub New(ByVal comment As String)
+            MyBase.New(comment)
+        End Sub
+    End Class
+
+    <AttributeUsage(AttributeTargets.All)> _
+    Friend Class MonoInternalNoteAttribute
+        Inherits MonoTODOAttribute
+
+        Public Sub New(ByVal comment As String)
+            MyBase.New(comment)
+        End Sub
+    End Class
+
+    <AttributeUsage(AttributeTargets.All)> _
+    Friend Class MonoLimitationAttribute
+        Inherits MonoTODOAttribute
+
+        Public Sub New(ByVal comment As String)
+            MyBase.New(comment)
+        End Sub
+    End Class
+
+    <AttributeUsage(AttributeTargets.All)> _
+    Friend Class MonoNotSupportedAttribute
+        Inherits MonoTODOAttribute
+
+        Public Sub New(ByVal comment As String)
+            MyBase.New(comment)
+        End Sub
+    End Class
+End Namespace

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to