Author: zoltan
Date: 2005-06-06 14:03:29 -0400 (Mon, 06 Jun 2005)
New Revision: 45510
Modified:
trunk/mcs/class/corlib/System.Reflection/AmbiguousMatchException.cs
trunk/mcs/class/corlib/System.Reflection/Assembly.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyAlgorithmIdAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyCompanyAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyConfigurationAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyCopyrightAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyCultureAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyDefaultAliasAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyDelaySignAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyDescriptionAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyFileVersionAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyFlagsAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyInformationalVersionAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyKeyFileAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyKeyNameAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyName.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyNameFlags.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyNameProxy.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyProductAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyTitleAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyTradeMarkAttribute.cs
trunk/mcs/class/corlib/System.Reflection/AssemblyVersionAttribute.cs
trunk/mcs/class/corlib/System.Reflection/Binder.cs
trunk/mcs/class/corlib/System.Reflection/BindingFlags.cs
trunk/mcs/class/corlib/System.Reflection/CallingConventions.cs
trunk/mcs/class/corlib/System.Reflection/ChangeLog
trunk/mcs/class/corlib/System.Reflection/ConstructorInfo.cs
trunk/mcs/class/corlib/System.Reflection/CustomAttributeData.cs
trunk/mcs/class/corlib/System.Reflection/CustomAttributeFormatException.cs
trunk/mcs/class/corlib/System.Reflection/CustomAttributeNamedArgument.cs
trunk/mcs/class/corlib/System.Reflection/CustomAttributeTypedArgument.cs
trunk/mcs/class/corlib/System.Reflection/DefaultMemberAttribute.cs
trunk/mcs/class/corlib/System.Reflection/EventAttributes.cs
trunk/mcs/class/corlib/System.Reflection/EventInfo.cs
trunk/mcs/class/corlib/System.Reflection/ExceptionHandlingClause.cs
trunk/mcs/class/corlib/System.Reflection/ExceptionHandlingClauseFlags.cs
trunk/mcs/class/corlib/System.Reflection/FieldAttributes.cs
trunk/mcs/class/corlib/System.Reflection/FieldInfo.cs
trunk/mcs/class/corlib/System.Reflection/ICustomAttributeProvider.cs
trunk/mcs/class/corlib/System.Reflection/IReflect.cs
trunk/mcs/class/corlib/System.Reflection/ImageFileMachine.cs
trunk/mcs/class/corlib/System.Reflection/InterfaceMapping.cs
trunk/mcs/class/corlib/System.Reflection/InvalidFilterCriteriaException.cs
trunk/mcs/class/corlib/System.Reflection/LocalVariableInfo.cs
trunk/mcs/class/corlib/System.Reflection/ManifestResourceInfo.cs
trunk/mcs/class/corlib/System.Reflection/MemberFilter.cs
trunk/mcs/class/corlib/System.Reflection/MemberInfo.cs
trunk/mcs/class/corlib/System.Reflection/MemberTypes.cs
trunk/mcs/class/corlib/System.Reflection/MethodAttributes.cs
trunk/mcs/class/corlib/System.Reflection/MethodBase.cs
trunk/mcs/class/corlib/System.Reflection/MethodBody.cs
trunk/mcs/class/corlib/System.Reflection/MethodImplAttributes.cs
trunk/mcs/class/corlib/System.Reflection/MethodInfo.cs
trunk/mcs/class/corlib/System.Reflection/Missing.cs
trunk/mcs/class/corlib/System.Reflection/Module.cs
trunk/mcs/class/corlib/System.Reflection/ModuleResolveEventHandler.cs
trunk/mcs/class/corlib/System.Reflection/ObfuscateAssemblyAttribute.cs
trunk/mcs/class/corlib/System.Reflection/ObfuscationAttribute.cs
trunk/mcs/class/corlib/System.Reflection/ParameterAttributes.cs
trunk/mcs/class/corlib/System.Reflection/ParameterInfo.cs
trunk/mcs/class/corlib/System.Reflection/ParameterModifier.cs
trunk/mcs/class/corlib/System.Reflection/Pointer.cs
trunk/mcs/class/corlib/System.Reflection/PropertyAttributes.cs
trunk/mcs/class/corlib/System.Reflection/PropertyInfo.cs
trunk/mcs/class/corlib/System.Reflection/ReflectionTypeLoadException.cs
trunk/mcs/class/corlib/System.Reflection/ResourceAttributes.cs
trunk/mcs/class/corlib/System.Reflection/ResourceLocation.cs
trunk/mcs/class/corlib/System.Reflection/StrongNameKeyPair.cs
trunk/mcs/class/corlib/System.Reflection/TargetException.cs
trunk/mcs/class/corlib/System.Reflection/TargetInvocationException.cs
trunk/mcs/class/corlib/System.Reflection/TargetParameterCountException.cs
trunk/mcs/class/corlib/System.Reflection/TypeAttributes.cs
trunk/mcs/class/corlib/System.Reflection/TypeDelegator.cs
trunk/mcs/class/corlib/System.Reflection/TypeFilter.cs
Log:
2005-06-06 Zoltan Varga <[EMAIL PROTECTED]>
* *.cs: Add net 2.0 ComVisibleAttribute.
Modified: trunk/mcs/class/corlib/System.Reflection/AmbiguousMatchException.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AmbiguousMatchException.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AmbiguousMatchException.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -32,9 +32,13 @@
using System;
using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
public sealed class AmbiguousMatchException : SystemException {
// Constructors
Modified: trunk/mcs/class/corlib/System.Reflection/Assembly.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/Assembly.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/Assembly.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -44,6 +44,9 @@
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
[ClassInterface(ClassInterfaceType.None)]
public class Assembly : System.Reflection.ICustomAttributeProvider,
Modified:
trunk/mcs/class/corlib/System.Reflection/AssemblyAlgorithmIdAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyAlgorithmIdAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyAlgorithmIdAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -31,9 +31,13 @@
using System;
using System.Configuration.Assemblies;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyAlgorithmIdAttribute : Attribute
{
Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyCompanyAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyCompanyAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyCompanyAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -30,9 +30,13 @@
//
using System;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyCompanyAttribute : Attribute
{
Modified:
trunk/mcs/class/corlib/System.Reflection/AssemblyConfigurationAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyConfigurationAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyConfigurationAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -30,9 +30,13 @@
//
using System;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyConfigurationAttribute : Attribute
{
Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyCopyrightAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyCopyrightAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyCopyrightAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -30,9 +30,13 @@
//
using System;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyCopyrightAttribute : Attribute
{
Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyCultureAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyCultureAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyCultureAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -30,9 +30,13 @@
//
using System;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyCultureAttribute : Attribute
{
Modified:
trunk/mcs/class/corlib/System.Reflection/AssemblyDefaultAliasAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyDefaultAliasAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyDefaultAliasAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -30,9 +30,13 @@
//
using System;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyDefaultAliasAttribute : Attribute
{
Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyDelaySignAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyDelaySignAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyDelaySignAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -29,9 +29,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyDelaySignAttribute : Attribute
{
Modified:
trunk/mcs/class/corlib/System.Reflection/AssemblyDescriptionAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyDescriptionAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyDescriptionAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -29,8 +29,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyDescriptionAttribute : Attribute
{
Modified:
trunk/mcs/class/corlib/System.Reflection/AssemblyFileVersionAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyFileVersionAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyFileVersionAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -29,8 +29,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyFileVersionAttribute : Attribute
{
Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyFlagsAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyFlagsAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyFlagsAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -29,8 +29,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyFlagsAttribute : Attribute
{
Modified:
trunk/mcs/class/corlib/System.Reflection/AssemblyInformationalVersionAttribute.cs
===================================================================
---
trunk/mcs/class/corlib/System.Reflection/AssemblyInformationalVersionAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++
trunk/mcs/class/corlib/System.Reflection/AssemblyInformationalVersionAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -29,8 +29,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyInformationalVersionAttribute : Attribute
{
Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyKeyFileAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyKeyFileAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyKeyFileAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -29,8 +29,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyKeyFileAttribute : Attribute
{
Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyKeyNameAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyKeyNameAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyKeyNameAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -29,8 +29,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyKeyNameAttribute : Attribute
{
Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyName.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyName.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyName.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -46,6 +46,9 @@
// a. Uniform Resource Identifiers (URI): Generic Syntax
// http://www.ietf.org/rfc/rfc2396.txt
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
[MonoTODO ("Fix serialization compatibility with MS.NET")]
public sealed class AssemblyName : ICloneable, ISerializable,
IDeserializationCallback {
Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyNameFlags.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyNameFlags.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyNameFlags.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -32,12 +32,15 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection {
-
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Flags]
[Serializable]
public enum AssemblyNameFlags {
Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyNameProxy.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyNameProxy.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyNameProxy.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -31,9 +31,13 @@
//
using System;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public class AssemblyNameProxy : MarshalByRefObject
{
// Constructor
Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyProductAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyProductAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyProductAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -29,8 +29,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyProductAttribute : Attribute
{
Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyTitleAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyTitleAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyTitleAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -29,8 +29,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyTitleAttribute : Attribute
{
Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyTradeMarkAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyTradeMarkAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyTradeMarkAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -29,8 +29,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyTrademarkAttribute : Attribute
{
Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyVersionAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyVersionAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyVersionAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -29,8 +29,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class AssemblyVersionAttribute : Attribute
{
Modified: trunk/mcs/class/corlib/System.Reflection/Binder.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/Binder.cs 2005-06-06 18:01:27 UTC
(rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/Binder.cs 2005-06-06 18:03:29 UTC
(rev 45510)
@@ -36,6 +36,9 @@
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
[ClassInterface(ClassInterfaceType.AutoDual)]
public abstract class Binder
Modified: trunk/mcs/class/corlib/System.Reflection/BindingFlags.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/BindingFlags.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/BindingFlags.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -32,12 +32,15 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection {
-
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Flags]
public enum BindingFlags {
Modified: trunk/mcs/class/corlib/System.Reflection/CallingConventions.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/CallingConventions.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/CallingConventions.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -32,12 +32,16 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection {
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Flags]
public enum CallingConventions {
Modified: trunk/mcs/class/corlib/System.Reflection/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ChangeLog 2005-06-06 18:01:27 UTC
(rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ChangeLog 2005-06-06 18:03:29 UTC
(rev 45510)
@@ -1,3 +1,7 @@
+2005-06-06 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * *.cs: Add net 2.0 ComVisibleAttribute.
+
2005-06-04 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* Assembly.cs: if the assembly is loaded from a byte array, Location
Modified: trunk/mcs/class/corlib/System.Reflection/ConstructorInfo.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ConstructorInfo.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ConstructorInfo.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -38,6 +38,9 @@
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
[ClassInterface(ClassInterfaceType.None)]
public abstract class ConstructorInfo : MethodBase {
Modified: trunk/mcs/class/corlib/System.Reflection/CustomAttributeData.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/CustomAttributeData.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/CustomAttributeData.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -35,6 +35,9 @@
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public sealed class CustomAttributeData {
[MonoTODO]
Modified:
trunk/mcs/class/corlib/System.Reflection/CustomAttributeFormatException.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/CustomAttributeFormatException.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/CustomAttributeFormatException.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -31,9 +31,13 @@
using System.Globalization;
using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
public class CustomAttributeFormatException : FormatException
{
Modified:
trunk/mcs/class/corlib/System.Reflection/CustomAttributeNamedArgument.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/CustomAttributeNamedArgument.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/CustomAttributeNamedArgument.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -29,9 +29,13 @@
#if NET_2_0
using System;
+using System.Runtime.InteropServices;
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public struct CustomAttributeNamedArgument {
[MonoTODO]
Modified:
trunk/mcs/class/corlib/System.Reflection/CustomAttributeTypedArgument.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/CustomAttributeTypedArgument.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/CustomAttributeTypedArgument.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -29,9 +29,13 @@
#if NET_2_0
using System;
+using System.Runtime.InteropServices;
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public struct CustomAttributeTypedArgument {
[MonoTODO]
Modified: trunk/mcs/class/corlib/System.Reflection/DefaultMemberAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/DefaultMemberAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/DefaultMemberAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -30,8 +30,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct |
AttributeTargets.Interface)]
Modified: trunk/mcs/class/corlib/System.Reflection/EventAttributes.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/EventAttributes.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/EventAttributes.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -32,12 +32,16 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection {
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Flags]
public enum EventAttributes {
Modified: trunk/mcs/class/corlib/System.Reflection/EventInfo.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/EventInfo.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/EventInfo.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -37,6 +37,9 @@
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[ClassInterface(ClassInterfaceType.None)]
public abstract class EventInfo : MemberInfo {
Modified: trunk/mcs/class/corlib/System.Reflection/ExceptionHandlingClause.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ExceptionHandlingClause.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ExceptionHandlingClause.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -34,6 +34,9 @@
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public sealed class ExceptionHandlingClause {
#region Sync with reflection.h
internal Type catch_type;
Modified:
trunk/mcs/class/corlib/System.Reflection/ExceptionHandlingClauseFlags.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ExceptionHandlingClauseFlags.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ExceptionHandlingClauseFlags.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -30,9 +30,13 @@
#if NET_2_0
using System;
+using System.Runtime.InteropServices;
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Flags]
public enum ExceptionHandlingClauseFlags {
Clause = 0x0,
Modified: trunk/mcs/class/corlib/System.Reflection/FieldAttributes.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/FieldAttributes.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/FieldAttributes.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -32,12 +32,16 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection {
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Flags]
public enum FieldAttributes {
Modified: trunk/mcs/class/corlib/System.Reflection/FieldInfo.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/FieldInfo.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/FieldInfo.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -42,6 +42,9 @@
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
[ClassInterface(ClassInterfaceType.None)]
public abstract class FieldInfo : MemberInfo {
Modified: trunk/mcs/class/corlib/System.Reflection/ICustomAttributeProvider.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ICustomAttributeProvider.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ICustomAttributeProvider.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -30,8 +30,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public interface ICustomAttributeProvider {
object [] GetCustomAttributes (bool inherit);
Modified: trunk/mcs/class/corlib/System.Reflection/IReflect.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/IReflect.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/IReflect.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -36,6 +36,9 @@
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Guid("AFBF15E5-C37C-11d2-B88E-00A0C9B471B8")]
public interface IReflect {
Modified: trunk/mcs/class/corlib/System.Reflection/ImageFileMachine.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ImageFileMachine.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ImageFileMachine.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -26,8 +26,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
#if NET_2_0 || BOOTSTRAP_NET_2_0
public
Modified: trunk/mcs/class/corlib/System.Reflection/InterfaceMapping.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/InterfaceMapping.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/InterfaceMapping.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -22,12 +22,29 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection {
+ public struct InterfaceMapping {
- public struct InterfaceMapping {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public MethodInfo[] InterfaceMethods;
+
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public Type InterfaceType;
+
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public MethodInfo[] TargetMethods;
+
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public Type TargetType;
}
}
Modified:
trunk/mcs/class/corlib/System.Reflection/InvalidFilterCriteriaException.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/InvalidFilterCriteriaException.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/InvalidFilterCriteriaException.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -31,9 +31,13 @@
using System.Globalization;
using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
public class InvalidFilterCriteriaException : ApplicationException
{
Modified: trunk/mcs/class/corlib/System.Reflection/LocalVariableInfo.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/LocalVariableInfo.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/LocalVariableInfo.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -34,6 +34,9 @@
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public class LocalVariableInfo {
#region Sync with reflection.h
internal Type type;
Modified: trunk/mcs/class/corlib/System.Reflection/ManifestResourceInfo.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ManifestResourceInfo.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ManifestResourceInfo.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -28,8 +28,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public class ManifestResourceInfo
{
private Assembly _assembly;
Modified: trunk/mcs/class/corlib/System.Reflection/MemberFilter.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/MemberFilter.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/MemberFilter.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -23,8 +23,12 @@
//
using System;
using System.Reflection;
+using System.Runtime.InteropServices;
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public delegate bool MemberFilter( MemberInfo m, object filterCriteria);
}
Modified: trunk/mcs/class/corlib/System.Reflection/MemberInfo.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/MemberInfo.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/MemberInfo.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -33,6 +33,9 @@
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
[ClassInterface(ClassInterfaceType.None)]
[PermissionSet (SecurityAction.InheritanceDemand, Unrestricted = true)]
Modified: trunk/mcs/class/corlib/System.Reflection/MemberTypes.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/MemberTypes.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/MemberTypes.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -32,12 +32,16 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection {
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Flags]
public enum MemberTypes {
Modified: trunk/mcs/class/corlib/System.Reflection/MethodAttributes.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/MethodAttributes.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/MethodAttributes.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -32,12 +32,16 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection {
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Flags]
public enum MethodAttributes {
Modified: trunk/mcs/class/corlib/System.Reflection/MethodBase.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/MethodBase.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/MethodBase.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -39,6 +39,9 @@
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
[ClassInterface(ClassInterfaceType.None)]
public abstract class MethodBase: MemberInfo {
Modified: trunk/mcs/class/corlib/System.Reflection/MethodBody.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/MethodBody.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/MethodBody.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -35,6 +35,9 @@
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public sealed class MethodBody {
#region Sync with reflection.h
ExceptionHandlingClause[] clauses;
Modified: trunk/mcs/class/corlib/System.Reflection/MethodImplAttributes.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/MethodImplAttributes.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/MethodImplAttributes.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -32,12 +32,16 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection {
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Flags]
public enum MethodImplAttributes {
Modified: trunk/mcs/class/corlib/System.Reflection/MethodInfo.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/MethodInfo.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/MethodInfo.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -36,6 +36,9 @@
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
[ClassInterface(ClassInterfaceType.None)]
public abstract class MethodInfo: MethodBase {
Modified: trunk/mcs/class/corlib/System.Reflection/Missing.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/Missing.cs 2005-06-06 18:01:27 UTC
(rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/Missing.cs 2005-06-06 18:03:29 UTC
(rev 45510)
@@ -29,8 +29,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public sealed class Missing
{
public static readonly Missing Value = new Missing ();
Modified: trunk/mcs/class/corlib/System.Reflection/Module.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/Module.cs 2005-06-06 18:01:27 UTC
(rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/Module.cs 2005-06-06 18:03:29 UTC
(rev 45510)
@@ -42,6 +42,9 @@
Other
};
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
public class Module : ISerializable, ICustomAttributeProvider {
Modified: trunk/mcs/class/corlib/System.Reflection/ModuleResolveEventHandler.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ModuleResolveEventHandler.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ModuleResolveEventHandler.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -29,9 +29,15 @@
// 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;
+using System.Runtime.InteropServices;
+
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public delegate Module ModuleResolveEventHandler (object sender,
ResolveEventArgs e);
}
Modified: trunk/mcs/class/corlib/System.Reflection/ObfuscateAssemblyAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ObfuscateAssemblyAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ObfuscateAssemblyAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -31,9 +31,13 @@
#if NET_2_0 || BOOTSTRAP_NET_2_0
using System;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage (AttributeTargets.Assembly)]
public sealed class ObfuscateAssemblyAttribute : Attribute {
Modified: trunk/mcs/class/corlib/System.Reflection/ObfuscationAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ObfuscationAttribute.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ObfuscationAttribute.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -31,9 +31,13 @@
#if NET_2_0 || BOOTSTRAP_NET_2_0
using System;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[AttributeUsage
(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Event|AttributeTargets.Interface|AttributeTargets.Parameter|AttributeTargets.Delegate)]
public sealed class ObfuscationAttribute : Attribute {
Modified: trunk/mcs/class/corlib/System.Reflection/ParameterAttributes.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ParameterAttributes.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ParameterAttributes.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -32,12 +32,16 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection {
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Flags]
public enum ParameterAttributes {
Modified: trunk/mcs/class/corlib/System.Reflection/ParameterInfo.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ParameterInfo.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ParameterInfo.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -33,6 +33,9 @@
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
public class ParameterInfo : ICustomAttributeProvider
{
Modified: trunk/mcs/class/corlib/System.Reflection/ParameterModifier.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ParameterModifier.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ParameterModifier.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -30,8 +30,12 @@
//
using System;
+using System.Runtime.InteropServices;
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
public struct ParameterModifier {
private bool[] _byref;
Modified: trunk/mcs/class/corlib/System.Reflection/Pointer.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/Pointer.cs 2005-06-06 18:01:27 UTC
(rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/Pointer.cs 2005-06-06 18:03:29 UTC
(rev 45510)
@@ -36,8 +36,13 @@
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
namespace System.Reflection {
+
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[CLSCompliant(false)]
public unsafe sealed class Pointer : ISerializable {
Modified: trunk/mcs/class/corlib/System.Reflection/PropertyAttributes.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/PropertyAttributes.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/PropertyAttributes.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -32,12 +32,16 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection {
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Flags]
public enum PropertyAttributes {
Modified: trunk/mcs/class/corlib/System.Reflection/PropertyInfo.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/PropertyInfo.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/PropertyInfo.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -37,6 +37,10 @@
using System.Runtime.InteropServices;
namespace System.Reflection {
+
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
[ClassInterface(ClassInterfaceType.None)]
public abstract class PropertyInfo : MemberInfo {
Modified:
trunk/mcs/class/corlib/System.Reflection/ReflectionTypeLoadException.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ReflectionTypeLoadException.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ReflectionTypeLoadException.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -31,9 +31,13 @@
//
using System.Globalization;
using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
public sealed class ReflectionTypeLoadException : SystemException
{
Modified: trunk/mcs/class/corlib/System.Reflection/ResourceAttributes.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ResourceAttributes.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ResourceAttributes.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -32,12 +32,16 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection {
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Flags]
public enum ResourceAttributes {
Modified: trunk/mcs/class/corlib/System.Reflection/ResourceLocation.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ResourceLocation.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/ResourceLocation.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -32,12 +32,16 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection {
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Flags]
public enum ResourceLocation {
Modified: trunk/mcs/class/corlib/System.Reflection/StrongNameKeyPair.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/StrongNameKeyPair.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/StrongNameKeyPair.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -32,12 +32,16 @@
using System.IO;
using System.Security.Cryptography;
using System.Security.Permissions;
+using System.Runtime.InteropServices;
using Mono.Security;
using Mono.Security.Cryptography;
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
public class StrongNameKeyPair
{
Modified: trunk/mcs/class/corlib/System.Reflection/TargetException.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/TargetException.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/TargetException.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -31,9 +31,13 @@
using System.Globalization;
using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
public class TargetException : ApplicationException
{
Modified: trunk/mcs/class/corlib/System.Reflection/TargetInvocationException.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/TargetInvocationException.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/TargetInvocationException.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -30,9 +30,13 @@
//
using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
public sealed class TargetInvocationException : ApplicationException
{
Modified:
trunk/mcs/class/corlib/System.Reflection/TargetParameterCountException.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/TargetParameterCountException.cs
2005-06-06 18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/TargetParameterCountException.cs
2005-06-06 18:03:29 UTC (rev 45510)
@@ -31,9 +31,13 @@
using System.Runtime.Serialization;
using System.Globalization;
+using System.Runtime.InteropServices;
namespace System.Reflection
{
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
public sealed class TargetParameterCountException : ApplicationException
{
Modified: trunk/mcs/class/corlib/System.Reflection/TypeAttributes.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/TypeAttributes.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/TypeAttributes.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -32,12 +32,16 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection {
/// <summary>
/// </summary>
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Flags]
public enum TypeAttributes {
Modified: trunk/mcs/class/corlib/System.Reflection/TypeDelegator.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/TypeDelegator.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/TypeDelegator.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -30,9 +30,13 @@
using System;
using System.Reflection;
using System.Globalization;
+using System.Runtime.InteropServices;
namespace System.Reflection {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
[Serializable]
public class TypeDelegator : Type {
protected Type typeImpl;
Modified: trunk/mcs/class/corlib/System.Reflection/TypeFilter.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/TypeFilter.cs 2005-06-06
18:01:27 UTC (rev 45509)
+++ trunk/mcs/class/corlib/System.Reflection/TypeFilter.cs 2005-06-06
18:03:29 UTC (rev 45510)
@@ -27,10 +27,13 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
namespace System.Reflection {
-
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public delegate bool TypeFilter (Type m, object filterCriteria);
} // System.Reflection
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches