Author: atsushi
Date: 2007-05-23 09:24:12 -0400 (Wed, 23 May 2007)
New Revision: 77832
Modified:
trunk/mcs/class/corlib/System/AppDomainInitializer.cs
trunk/mcs/class/corlib/System/AssemblyLoadEventHandler.cs
trunk/mcs/class/corlib/System/AsyncCallback.cs
trunk/mcs/class/corlib/System/Byte.cs
trunk/mcs/class/corlib/System/ChangeLog
trunk/mcs/class/corlib/System/CrossAppDomainDelegate.cs
trunk/mcs/class/corlib/System/DateTime.cs
trunk/mcs/class/corlib/System/Decimal.cs
trunk/mcs/class/corlib/System/Delegate.cs
trunk/mcs/class/corlib/System/Double.cs
trunk/mcs/class/corlib/System/EventHandler.cs
trunk/mcs/class/corlib/System/Int16.cs
trunk/mcs/class/corlib/System/Int32.cs
trunk/mcs/class/corlib/System/Int64.cs
trunk/mcs/class/corlib/System/IntPtr.cs
trunk/mcs/class/corlib/System/MulticastDelegate.cs
trunk/mcs/class/corlib/System/ResolveEventHandler.cs
trunk/mcs/class/corlib/System/SByte.cs
trunk/mcs/class/corlib/System/Single.cs
trunk/mcs/class/corlib/System/TimeSpan.cs
trunk/mcs/class/corlib/System/UInt16.cs
trunk/mcs/class/corlib/System/UInt32.cs
trunk/mcs/class/corlib/System/UInt64.cs
trunk/mcs/class/corlib/System/UIntPtr.cs
trunk/mcs/class/corlib/System/UnhandledExceptionEventHandler.cs
trunk/mcs/class/corlib/System/Void.cs
Log:
2007-05-23 Atsushi Enomoto <[EMAIL PROTECTED]>
* Int16.cs UInt64.cs UIntPtr.cs Double.cs CrossAppDomainDelegate.cs
ResolveEventHandler.cs IntPtr.cs UnhandledExceptionEventHandler.cs
Void.cs AssemblyLoadEventHandler.cs SByte.cs UInt16.cs DateTime.cs
Byte.cs TimeSpan.cs Decimal.cs Int32.cs Delegate.cs
AppDomainInitializer.cs MulticastDelegate.cs Int64.cs
EventHandler.cs Single.cs UInt32.cs AsyncCallback.cs :
cosmetic attribute fixes (ComVisible/Serializable).
Modified: trunk/mcs/class/corlib/System/AppDomainInitializer.cs
===================================================================
--- trunk/mcs/class/corlib/System/AppDomainInitializer.cs 2007-05-23
12:40:16 UTC (rev 77831)
+++ trunk/mcs/class/corlib/System/AppDomainInitializer.cs 2007-05-23
13:24:12 UTC (rev 77832)
@@ -29,7 +29,8 @@
#if NET_2_0
namespace System {
-
+ [System.Runtime.InteropServices.ComVisible (true)]
+ [Serializable]
public delegate void AppDomainInitializer (string[] args);
}
Modified: trunk/mcs/class/corlib/System/AssemblyLoadEventHandler.cs
===================================================================
--- trunk/mcs/class/corlib/System/AssemblyLoadEventHandler.cs 2007-05-23
12:40:16 UTC (rev 77831)
+++ trunk/mcs/class/corlib/System/AssemblyLoadEventHandler.cs 2007-05-23
13:24:12 UTC (rev 77832)
@@ -31,5 +31,9 @@
namespace System
{
+#if NET_2_0
+ [Serializable]
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public delegate void AssemblyLoadEventHandler (object sender,
AssemblyLoadEventArgs args);
}
Modified: trunk/mcs/class/corlib/System/AsyncCallback.cs
===================================================================
--- trunk/mcs/class/corlib/System/AsyncCallback.cs 2007-05-23 12:40:16 UTC
(rev 77831)
+++ trunk/mcs/class/corlib/System/AsyncCallback.cs 2007-05-23 13:24:12 UTC
(rev 77832)
@@ -32,5 +32,9 @@
namespace System
{
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+ [Serializable]
+#endif
public delegate void AsyncCallback (IAsyncResult ar);
}
Modified: trunk/mcs/class/corlib/System/Byte.cs
===================================================================
--- trunk/mcs/class/corlib/System/Byte.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/Byte.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -35,6 +35,9 @@
namespace System
{
[Serializable]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public struct Byte : IFormattable, IConvertible, IComparable
#if NET_2_0
, IComparable<Byte>, IEquatable <Byte>
Modified: trunk/mcs/class/corlib/System/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System/ChangeLog 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/ChangeLog 2007-05-23 13:24:12 UTC (rev
77832)
@@ -1,3 +1,13 @@
+2007-05-23 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * Int16.cs UInt64.cs UIntPtr.cs Double.cs CrossAppDomainDelegate.cs
+ ResolveEventHandler.cs IntPtr.cs UnhandledExceptionEventHandler.cs
+ Void.cs AssemblyLoadEventHandler.cs SByte.cs UInt16.cs DateTime.cs
+ Byte.cs TimeSpan.cs Decimal.cs Int32.cs Delegate.cs
+ AppDomainInitializer.cs MulticastDelegate.cs Int64.cs
+ EventHandler.cs Single.cs UInt32.cs AsyncCallback.cs :
+ cosmetic attribute fixes (ComVisible/Serializable).
+
2007-05-22 Atsushi Enomoto <[EMAIL PROTECTED]>
* Convert.cs : completed 2.0 (ToBase64CharArray).
Modified: trunk/mcs/class/corlib/System/CrossAppDomainDelegate.cs
===================================================================
--- trunk/mcs/class/corlib/System/CrossAppDomainDelegate.cs 2007-05-23
12:40:16 UTC (rev 77831)
+++ trunk/mcs/class/corlib/System/CrossAppDomainDelegate.cs 2007-05-23
13:24:12 UTC (rev 77832)
@@ -32,5 +32,8 @@
namespace System
{
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public delegate void CrossAppDomainDelegate ();
}
Modified: trunk/mcs/class/corlib/System/DateTime.cs
===================================================================
--- trunk/mcs/class/corlib/System/DateTime.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/DateTime.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -44,6 +44,9 @@
///
[Serializable]
[StructLayout (LayoutKind.Auto)]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public struct DateTime : IFormattable, IConvertible, IComparable
#if NET_2_0
, IComparable<DateTime>, IEquatable <DateTime>
Modified: trunk/mcs/class/corlib/System/Decimal.cs
===================================================================
--- trunk/mcs/class/corlib/System/Decimal.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/Decimal.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -52,6 +52,9 @@
/// digits, suitable for financial and commercial calculations
/// </summary>
[Serializable]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public struct Decimal: IFormattable, IConvertible, IComparable
#if NET_2_0
, IComparable<Decimal>, IEquatable <Decimal>
Modified: trunk/mcs/class/corlib/System/Delegate.cs
===================================================================
--- trunk/mcs/class/corlib/System/Delegate.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/Delegate.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -42,6 +42,10 @@
#if NET_1_1
[ClassInterface (ClassInterfaceType.AutoDual)]
#endif
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+ [Serializable]
+#endif
public abstract class Delegate : ICloneable, ISerializable
{
private Type target_type;
@@ -398,6 +402,7 @@
/// concatenated invocation lists of an Array of
MulticastDelegates
/// </symmary>
#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
public static Delegate Combine (params Delegate[] delegates)
#else
public static Delegate Combine (Delegate[] delegates)
Modified: trunk/mcs/class/corlib/System/Double.cs
===================================================================
--- trunk/mcs/class/corlib/System/Double.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/Double.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -42,6 +42,9 @@
namespace System {
[Serializable]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public struct Double : IComparable, IFormattable, IConvertible
#if NET_2_0
, IComparable <double>, IEquatable <double>
Modified: trunk/mcs/class/corlib/System/EventHandler.cs
===================================================================
--- trunk/mcs/class/corlib/System/EventHandler.cs 2007-05-23 12:40:16 UTC
(rev 77831)
+++ trunk/mcs/class/corlib/System/EventHandler.cs 2007-05-23 13:24:12 UTC
(rev 77832)
@@ -37,6 +37,7 @@
public delegate void EventHandler <TEventArgs> (object sender,
TEventArgs e) where TEventArgs : EventArgs;
[Serializable]
+ [System.Runtime.InteropServices.ComVisible (true)]
#endif
public delegate void EventHandler (object sender, EventArgs e);
Modified: trunk/mcs/class/corlib/System/Int16.cs
===================================================================
--- trunk/mcs/class/corlib/System/Int16.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/Int16.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -32,6 +32,9 @@
namespace System {
[Serializable]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public struct Int16 : IFormattable, IConvertible, IComparable
#if NET_2_0
, IComparable<Int16>, IEquatable <Int16>
Modified: trunk/mcs/class/corlib/System/Int32.cs
===================================================================
--- trunk/mcs/class/corlib/System/Int32.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/Int32.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -33,6 +33,9 @@
namespace System {
[Serializable]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public struct Int32 : IFormattable, IConvertible, IComparable
#if NET_2_0
, IComparable<Int32>, IEquatable <Int32>
Modified: trunk/mcs/class/corlib/System/Int64.cs
===================================================================
--- trunk/mcs/class/corlib/System/Int64.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/Int64.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -34,6 +34,9 @@
namespace System {
[Serializable]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public struct Int64 : IFormattable, IConvertible, IComparable
#if NET_2_0
, IComparable<Int64>, IEquatable <Int64>
Modified: trunk/mcs/class/corlib/System/IntPtr.cs
===================================================================
--- trunk/mcs/class/corlib/System/IntPtr.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/IntPtr.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -52,6 +52,9 @@
namespace System
{
[Serializable]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public unsafe struct IntPtr : ISerializable
{
private void *value;
Modified: trunk/mcs/class/corlib/System/MulticastDelegate.cs
===================================================================
--- trunk/mcs/class/corlib/System/MulticastDelegate.cs 2007-05-23 12:40:16 UTC
(rev 77831)
+++ trunk/mcs/class/corlib/System/MulticastDelegate.cs 2007-05-23 13:24:12 UTC
(rev 77832)
@@ -36,6 +36,10 @@
namespace System
{
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+ [Serializable]
+#endif
public abstract class MulticastDelegate : Delegate
{
private MulticastDelegate prev;
Modified: trunk/mcs/class/corlib/System/ResolveEventHandler.cs
===================================================================
--- trunk/mcs/class/corlib/System/ResolveEventHandler.cs 2007-05-23
12:40:16 UTC (rev 77831)
+++ trunk/mcs/class/corlib/System/ResolveEventHandler.cs 2007-05-23
13:24:12 UTC (rev 77832)
@@ -32,5 +32,9 @@
namespace System
{
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+ [Serializable]
+#endif
public delegate Reflection.Assembly ResolveEventHandler (object sender,
ResolveEventArgs args);
}
Modified: trunk/mcs/class/corlib/System/SByte.cs
===================================================================
--- trunk/mcs/class/corlib/System/SByte.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/SByte.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -33,6 +33,9 @@
{
[CLSCompliant(false)]
[Serializable]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public struct SByte : IFormattable, IConvertible, IComparable
#if NET_2_0
, IComparable<SByte>, IEquatable <SByte>
Modified: trunk/mcs/class/corlib/System/Single.cs
===================================================================
--- trunk/mcs/class/corlib/System/Single.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/Single.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -39,6 +39,9 @@
namespace System
{
[Serializable]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public struct Single : IComparable, IFormattable, IConvertible
#if NET_2_0
, IComparable <float>, IEquatable <float>
Modified: trunk/mcs/class/corlib/System/TimeSpan.cs
===================================================================
--- trunk/mcs/class/corlib/System/TimeSpan.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/TimeSpan.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -35,6 +35,9 @@
namespace System
{
[Serializable]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public struct TimeSpan : IComparable
#if NET_2_0
, IComparable<TimeSpan>, IEquatable <TimeSpan>
Modified: trunk/mcs/class/corlib/System/UInt16.cs
===================================================================
--- trunk/mcs/class/corlib/System/UInt16.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/UInt16.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -33,6 +33,9 @@
{
[Serializable]
[CLSCompliant (false)]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public struct UInt16 : IFormattable, IConvertible, IComparable
#if NET_2_0
, IComparable<UInt16>, IEquatable <UInt16>
Modified: trunk/mcs/class/corlib/System/UInt32.cs
===================================================================
--- trunk/mcs/class/corlib/System/UInt32.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/UInt32.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -34,6 +34,9 @@
{
[Serializable]
[CLSCompliant (false)]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public struct UInt32 : IFormattable, IConvertible, IComparable
#if NET_2_0
, IComparable<UInt32>, IEquatable <UInt32>
Modified: trunk/mcs/class/corlib/System/UInt64.cs
===================================================================
--- trunk/mcs/class/corlib/System/UInt64.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/UInt64.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -34,6 +34,9 @@
{
[Serializable]
[CLSCompliant (false)]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public struct UInt64 : IFormattable, IConvertible, IComparable
#if NET_2_0
, IComparable<UInt64>, IEquatable <UInt64>
Modified: trunk/mcs/class/corlib/System/UIntPtr.cs
===================================================================
--- trunk/mcs/class/corlib/System/UIntPtr.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/UIntPtr.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -44,6 +44,9 @@
{
[Serializable]
[CLSCompliant (false)]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public unsafe struct UIntPtr : ISerializable
{
public static readonly UIntPtr Zero = new UIntPtr (0u);
Modified: trunk/mcs/class/corlib/System/UnhandledExceptionEventHandler.cs
===================================================================
--- trunk/mcs/class/corlib/System/UnhandledExceptionEventHandler.cs
2007-05-23 12:40:16 UTC (rev 77831)
+++ trunk/mcs/class/corlib/System/UnhandledExceptionEventHandler.cs
2007-05-23 13:24:12 UTC (rev 77832)
@@ -31,5 +31,9 @@
namespace System
{
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+ [Serializable]
+#endif
public delegate void UnhandledExceptionEventHandler (object sender,
UnhandledExceptionEventArgs args);
}
Modified: trunk/mcs/class/corlib/System/Void.cs
===================================================================
--- trunk/mcs/class/corlib/System/Void.cs 2007-05-23 12:40:16 UTC (rev
77831)
+++ trunk/mcs/class/corlib/System/Void.cs 2007-05-23 13:24:12 UTC (rev
77832)
@@ -33,6 +33,9 @@
namespace System
{
[Serializable]
+#if NET_2_0
+ [System.Runtime.InteropServices.ComVisible (true)]
+#endif
public struct Void
{
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches