Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@gmail.com>2012-11-30 23:54:22 +0400
committerRodrigo Kumpera <kumpera@gmail.com>2012-11-30 23:55:05 +0400
commit41fe9f361ce3e59c612fe5eaebbe6f521b4d3a67 (patch)
treec99101a751b4d4a9fdb03de3e1977ec2881c860e
parent96d531dd95006241c8e752fdbd38aced5a2c0fc4 (diff)
RegistrationServices from the Mobile profile. This is only required for COM.
-rw-r--r--mcs/class/corlib/System.Runtime.InteropServices/RegistrationServices.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/class/corlib/System.Runtime.InteropServices/RegistrationServices.cs b/mcs/class/corlib/System.Runtime.InteropServices/RegistrationServices.cs
index 6a246d026a9..29bebe45922 100644
--- a/mcs/class/corlib/System.Runtime.InteropServices/RegistrationServices.cs
+++ b/mcs/class/corlib/System.Runtime.InteropServices/RegistrationServices.cs
@@ -34,6 +34,7 @@ using System.Reflection;
namespace System.Runtime.InteropServices
{
+#if !MOBILE
[ComVisible(true)]
[Guid ("475e398f-8afa-43a7-a3be-f4ef8d6787c9")]
[ClassInterface (ClassInterfaceType.None)]
@@ -106,4 +107,5 @@ namespace System.Runtime.InteropServices
}
}
+#endif
}