From: Jan Kotas Date: Mon, 6 Feb 2017 15:32:51 +0000 (-0800) Subject: Delete ClassInterface attributes X-Git-Tag: submit/tizen/20210909.063632~11030^2~8192^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e8660b3a1bf2c7d79a68e83f96d944a2ac068f2;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Delete ClassInterface attributes Commit migrated from https://github.com/dotnet/coreclr/commit/345005de9521c34c0c023539d9afef48acead426 --- 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;