Author: miguel
Date: 2006-11-27 18:04:17 -0500 (Mon, 27 Nov 2006)
New Revision: 68538
Modified:
trunk/mcs/class/corlib/System/AccessViolationException.cs
trunk/mcs/class/corlib/System/Exception.cs
trunk/mcs/class/corlib/System/IAppDomainSetup.cs
trunk/mcs/class/corlib/System/IAsyncResult.cs
trunk/mcs/class/corlib/System/ICloneable.cs
trunk/mcs/class/corlib/System/IComparable.cs
trunk/mcs/class/corlib/System/IConvertible.cs
trunk/mcs/class/corlib/System/ICustomFormatter.cs
trunk/mcs/class/corlib/System/IDisposable.cs
trunk/mcs/class/corlib/System/IFormattable.cs
trunk/mcs/class/corlib/System/IServiceProvider.cs
Log:
Social service duty: ComVisible attributes
Modified: trunk/mcs/class/corlib/System/AccessViolationException.cs
===================================================================
--- trunk/mcs/class/corlib/System/AccessViolationException.cs 2006-11-27
23:03:47 UTC (rev 68537)
+++ trunk/mcs/class/corlib/System/AccessViolationException.cs 2006-11-27
23:04:17 UTC (rev 68538)
@@ -26,11 +26,15 @@
//
using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
#if NET_2_0
namespace System
{
+#if NET_2_0
+ [ComVisible(true)]
+#endif
[Serializable]
public class AccessViolationException : SystemException
{
Modified: trunk/mcs/class/corlib/System/Exception.cs
===================================================================
--- trunk/mcs/class/corlib/System/Exception.cs 2006-11-27 23:03:47 UTC (rev
68537)
+++ trunk/mcs/class/corlib/System/Exception.cs 2006-11-27 23:04:17 UTC (rev
68538)
@@ -41,6 +41,9 @@
{
[Serializable]
[ClassInterface (ClassInterfaceType.AutoDual)]
+#if NET_2_0
+ [ComVisible(true)]
+#endif
public class Exception : ISerializable
#if NET_2_0
, _Exception
Modified: trunk/mcs/class/corlib/System/IAppDomainSetup.cs
===================================================================
--- trunk/mcs/class/corlib/System/IAppDomainSetup.cs 2006-11-27 23:03:47 UTC
(rev 68537)
+++ trunk/mcs/class/corlib/System/IAppDomainSetup.cs 2006-11-27 23:04:17 UTC
(rev 68538)
@@ -37,6 +37,9 @@
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
[Guid ("27FFF232-A7A8-40DD-8D4A-734AD59fCD41")]
+#if NET_2_0
+ [ComVisible(true)]
+#endif
public interface IAppDomainSetup {
string ApplicationBase { get; set; }
Modified: trunk/mcs/class/corlib/System/IAsyncResult.cs
===================================================================
--- trunk/mcs/class/corlib/System/IAsyncResult.cs 2006-11-27 23:03:47 UTC
(rev 68537)
+++ trunk/mcs/class/corlib/System/IAsyncResult.cs 2006-11-27 23:04:17 UTC
(rev 68538)
@@ -34,9 +34,13 @@
using System;
using System.Threading;
using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
namespace System {
+#if NET_2_0
+ [ComVisible(true)]
+#endif
public interface IAsyncResult
{
object AsyncState
Modified: trunk/mcs/class/corlib/System/ICloneable.cs
===================================================================
--- trunk/mcs/class/corlib/System/ICloneable.cs 2006-11-27 23:03:47 UTC (rev
68537)
+++ trunk/mcs/class/corlib/System/ICloneable.cs 2006-11-27 23:04:17 UTC (rev
68538)
@@ -29,9 +29,12 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System {
-
+#if NET_2_0
+ [ComVisible(true)]
+#endif
public interface ICloneable {
object Clone ();
}
Modified: trunk/mcs/class/corlib/System/IComparable.cs
===================================================================
--- trunk/mcs/class/corlib/System/IComparable.cs 2006-11-27 23:03:47 UTC
(rev 68537)
+++ trunk/mcs/class/corlib/System/IComparable.cs 2006-11-27 23:04:17 UTC
(rev 68538)
@@ -29,9 +29,13 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System {
+#if NET_2_0
+ [ComVisible(true)]
+#endif
public interface IComparable {
int CompareTo (object obj);
}
Modified: trunk/mcs/class/corlib/System/IConvertible.cs
===================================================================
--- trunk/mcs/class/corlib/System/IConvertible.cs 2006-11-27 23:03:47 UTC
(rev 68537)
+++ trunk/mcs/class/corlib/System/IConvertible.cs 2006-11-27 23:04:17 UTC
(rev 68538)
@@ -50,9 +50,13 @@
// See http://lists.ximian.com/archives/public/mono-list/2001-July/000525.html
// for more discussion on the topic
//
+using System.Runtime.InteropServices;
namespace System {
+#if NET_2_0
+ [ComVisible(true)]
+#endif
[CLSCompliant(false)]
public interface IConvertible {
Modified: trunk/mcs/class/corlib/System/ICustomFormatter.cs
===================================================================
--- trunk/mcs/class/corlib/System/ICustomFormatter.cs 2006-11-27 23:03:47 UTC
(rev 68537)
+++ trunk/mcs/class/corlib/System/ICustomFormatter.cs 2006-11-27 23:04:17 UTC
(rev 68538)
@@ -29,9 +29,13 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System {
+#if NET_2_0
+ [ComVisible(true)]
+#endif
public interface ICustomFormatter {
string Format (string format, object arg, IFormatProvider
formatProvider);
}
Modified: trunk/mcs/class/corlib/System/IDisposable.cs
===================================================================
--- trunk/mcs/class/corlib/System/IDisposable.cs 2006-11-27 23:03:47 UTC
(rev 68537)
+++ trunk/mcs/class/corlib/System/IDisposable.cs 2006-11-27 23:04:17 UTC
(rev 68538)
@@ -29,9 +29,13 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System {
+#if NET_2_0
+ [ComVisible(true)]
+#endif
public interface IDisposable {
void Dispose ();
Modified: trunk/mcs/class/corlib/System/IFormattable.cs
===================================================================
--- trunk/mcs/class/corlib/System/IFormattable.cs 2006-11-27 23:03:47 UTC
(rev 68537)
+++ trunk/mcs/class/corlib/System/IFormattable.cs 2006-11-27 23:04:17 UTC
(rev 68538)
@@ -29,9 +29,13 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System {
+#if NET_2_0
+ [ComVisible(true)]
+#endif
public interface IFormattable {
string ToString (string format, IFormatProvider
format_provider);
}
Modified: trunk/mcs/class/corlib/System/IServiceProvider.cs
===================================================================
--- trunk/mcs/class/corlib/System/IServiceProvider.cs 2006-11-27 23:03:47 UTC
(rev 68537)
+++ trunk/mcs/class/corlib/System/IServiceProvider.cs 2006-11-27 23:04:17 UTC
(rev 68538)
@@ -34,7 +34,6 @@
namespace System
{
- [ComVisible (false)]
public interface IServiceProvider
{
object GetService (Type serviceType);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches