dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] pnetlib ChangeLog runtime/System/Runtime/Compil...


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnetlib ChangeLog runtime/System/Runtime/Compil...
Date: Thu, 15 Jun 2006 16:53:00 +0000

CVSROOT:        /sources/dotgnu-pnet
Module name:    pnetlib
Changes by:     Klaus Treichel <ktreichel>      06/06/15 16:52:59

Modified files:
        .              : ChangeLog 
Added files:
        runtime/System/Runtime/CompilerServices: 
                                                 
RuntimeCompatibilityAttribute.cs 

Log message:
        2006-06-15  Klaus Treichel  <address@hidden>
        
                * 
runtime/System/Runtime/CompilerServices/RuntimeCompatibilityAttribute.cs:
                Added for Framework 2.0 compatibility.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnetlib/ChangeLog?cvsroot=dotgnu-pnet&r1=1.2427&r2=1.2428
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Runtime/CompilerServices/RuntimeCompatibilityAttribute.cs?cvsroot=dotgnu-pnet&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/dotgnu-pnet/pnetlib/ChangeLog,v
retrieving revision 1.2427
retrieving revision 1.2428
diff -u -b -r1.2427 -r1.2428
--- ChangeLog   15 Jun 2006 07:01:54 -0000      1.2427
+++ ChangeLog   15 Jun 2006 16:52:59 -0000      1.2428
@@ -3,6 +3,9 @@
        * runtime/System/MulticastDelegate.s: Remove the commented buggy code in
        ListMatch.
 
+       * 
runtime/System/Runtime/CompilerServices/RuntimeCompatibilityAttribute.cs:
+       Added for Framework 2.0 compatibility.
+
 2006-06-12  Heiko Weiss  <address@hidden>
        
        * System.Windows.Forms/Form.cs: workaround for bug #16734.

Index: runtime/System/Runtime/CompilerServices/RuntimeCompatibilityAttribute.cs
===================================================================
RCS file: 
runtime/System/Runtime/CompilerServices/RuntimeCompatibilityAttribute.cs
diff -N runtime/System/Runtime/CompilerServices/RuntimeCompatibilityAttribute.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Runtime/CompilerServices/RuntimeCompatibilityAttribute.cs    
15 Jun 2006 16:52:59 -0000      1.1
@@ -0,0 +1,59 @@
+/*
+ * RuntimeCompatibilityAttribute.cs - Implementation of the
+ *             "System.Runtime.CompilerServices.RuntimeCompatibilityAttribute" 
class.
+ *
+ * Copyright (C) 2001  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Runtime.CompilerServices
+{
+
+#if CONFIG_FRAMEWORK_2_0
+
+[Serializable]
+[AttributeUsage(AttributeTargets.Assembly,
+                               AllowMultiple=false, Inherited=false)]
+public sealed class RuntimeCompatibilityAttribute : Attribute
+{
+
+       // Internal state.
+       private bool wrapNonExceptionThrows;
+
+       // Constructors.
+       public RuntimeCompatibilityAttribute()
+                       {
+                               wrapNonExceptionThrows = false;
+                       }
+
+       // Properties.
+       public bool WrapNonExceptionThrows
+                       {
+                               get
+                               {
+                                       return wrapNonExceptionThrows;
+                               }
+                               set
+                               {
+                                       wrapNonExceptionThrows = value;
+                               }
+                       }
+
+}; // class RuntimeCompatibilityAttribute
+
+#endif // CONFIG_FRAMEWORK_2_0
+
+}; // namespace System.Runtime.CompilerServices




reply via email to

[Prev in Thread] Current Thread [Next in Thread]