From 3e8660b3a1bf2c7d79a68e83f96d944a2ac068f2 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Mon, 6 Feb 2017 07:32:51 -0800 Subject: [PATCH] Delete ClassInterface attributes Commit migrated from https://github.com/dotnet/coreclr/commit/345005de9521c34c0c023539d9afef48acead426 --- src/coreclr/src/mscorlib/src/System/AppDomainSetup.cs | 1 - src/coreclr/src/mscorlib/src/System/Delegate.cs | 1 - src/coreclr/src/mscorlib/src/System/Exception.cs | 2 -- src/coreclr/src/mscorlib/src/System/Reflection/Binder.cs | 1 - src/coreclr/src/mscorlib/src/System/Runtime/Remoting/ObjectHandle.cs | 1 - 5 files changed, 6 deletions(-) diff --git a/src/coreclr/src/mscorlib/src/System/AppDomainSetup.cs b/src/coreclr/src/mscorlib/src/System/AppDomainSetup.cs index b15663d..0d19ad2 100644 --- a/src/coreclr/src/mscorlib/src/System/AppDomainSetup.cs +++ b/src/coreclr/src/mscorlib/src/System/AppDomainSetup.cs @@ -26,7 +26,6 @@ namespace System using System.Collections.Generic; [Serializable] - [ClassInterface(ClassInterfaceType.None)] internal sealed class AppDomainSetup { [Serializable] diff --git a/src/coreclr/src/mscorlib/src/System/Delegate.cs b/src/coreclr/src/mscorlib/src/System/Delegate.cs index 12a64ba..8cb8d11 100644 --- a/src/coreclr/src/mscorlib/src/System/Delegate.cs +++ b/src/coreclr/src/mscorlib/src/System/Delegate.cs @@ -16,7 +16,6 @@ namespace System { using System.Diagnostics.Contracts; [Serializable] - [ClassInterface(ClassInterfaceType.AutoDual)] public abstract class Delegate : ICloneable, ISerializable { // _target is the object we will invoke on diff --git a/src/coreclr/src/mscorlib/src/System/Exception.cs b/src/coreclr/src/mscorlib/src/System/Exception.cs index ccde550..26eb752 100644 --- a/src/coreclr/src/mscorlib/src/System/Exception.cs +++ b/src/coreclr/src/mscorlib/src/System/Exception.cs @@ -27,8 +27,6 @@ namespace System { using System.Globalization; using System.Diagnostics.Contracts; - [ClassInterface(ClassInterfaceType.None)] - [ComDefaultInterface(typeof(_Exception))] [Serializable] public class Exception : ISerializable, _Exception { diff --git a/src/coreclr/src/mscorlib/src/System/Reflection/Binder.cs b/src/coreclr/src/mscorlib/src/System/Reflection/Binder.cs index 6275d02..bf4545f 100644 --- a/src/coreclr/src/mscorlib/src/System/Reflection/Binder.cs +++ b/src/coreclr/src/mscorlib/src/System/Reflection/Binder.cs @@ -16,7 +16,6 @@ namespace System.Reflection { using CultureInfo = System.Globalization.CultureInfo; [Serializable] - [ClassInterface(ClassInterfaceType.AutoDual)] public abstract class Binder { // Given a set of methods that match the basic criteria, select a method to diff --git a/src/coreclr/src/mscorlib/src/System/Runtime/Remoting/ObjectHandle.cs b/src/coreclr/src/mscorlib/src/System/Runtime/Remoting/ObjectHandle.cs index e03befe..ed3444e 100644 --- a/src/coreclr/src/mscorlib/src/System/Runtime/Remoting/ObjectHandle.cs +++ b/src/coreclr/src/mscorlib/src/System/Runtime/Remoting/ObjectHandle.cs @@ -19,7 +19,6 @@ namespace System.Runtime.Remoting using System; using System.Runtime.InteropServices; - [ClassInterface(ClassInterfaceType.AutoDual)] public class ObjectHandle { private Object WrappedObject; -- 2.7.4