Delete ClassInterface attributes
authorJan Kotas <jkotas@microsoft.com>
Mon, 6 Feb 2017 15:32:51 +0000 (07:32 -0800)
committerJan Kotas <jkotas@microsoft.com>
Mon, 6 Feb 2017 15:40:38 +0000 (07:40 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/345005de9521c34c0c023539d9afef48acead426

src/coreclr/src/mscorlib/src/System/AppDomainSetup.cs
src/coreclr/src/mscorlib/src/System/Delegate.cs
src/coreclr/src/mscorlib/src/System/Exception.cs
src/coreclr/src/mscorlib/src/System/Reflection/Binder.cs
src/coreclr/src/mscorlib/src/System/Runtime/Remoting/ObjectHandle.cs

index b15663d..0d19ad2 100644 (file)
@@ -26,7 +26,6 @@ namespace System
     using System.Collections.Generic;
 
     [Serializable]
-    [ClassInterface(ClassInterfaceType.None)]
     internal sealed class AppDomainSetup
     {
         [Serializable]
index 12a64ba..8cb8d11 100644 (file)
@@ -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
index ccde550..26eb752 100644 (file)
@@ -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
     {
index 6275d02..bf4545f 100644 (file)
@@ -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
index e03befe..ed3444e 100644 (file)
@@ -19,7 +19,6 @@ namespace System.Runtime.Remoting
     using System;
     using System.Runtime.InteropServices;
 
-    [ClassInterface(ClassInterfaceType.AutoDual)]
     public class ObjectHandle 
     {
         private Object WrappedObject;