diff options
Diffstat (limited to 'src/mscorlib/src/System/Runtime/Remoting/ObjectHandle.cs')
-rw-r--r-- | src/mscorlib/src/System/Runtime/Remoting/ObjectHandle.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mscorlib/src/System/Runtime/Remoting/ObjectHandle.cs b/src/mscorlib/src/System/Runtime/Remoting/ObjectHandle.cs index 5555670498..ed3444e15d 100644 --- a/src/mscorlib/src/System/Runtime/Remoting/ObjectHandle.cs +++ b/src/mscorlib/src/System/Runtime/Remoting/ObjectHandle.cs @@ -19,10 +19,7 @@ namespace System.Runtime.Remoting using System; using System.Runtime.InteropServices; - [ClassInterface(ClassInterfaceType.AutoDual)] - [System.Runtime.InteropServices.ComVisible(true)] - public class ObjectHandle: - IObjectHandle + public class ObjectHandle { private Object WrappedObject; @@ -30,12 +27,12 @@ namespace System.Runtime.Remoting { } - public ObjectHandle(Object o) + internal ObjectHandle(Object o) { WrappedObject = o; } - public Object Unwrap() + internal Object Unwrap() { return WrappedObject; } |