Add IObjectReference to mscorlib ref assembly
authorStephen Toub <stoub@microsoft.com>
Wed, 27 Jul 2016 18:14:36 +0000 (14:14 -0400)
committerStephen Toub <stoub@microsoft.com>
Wed, 27 Jul 2016 18:14:36 +0000 (14:14 -0400)
Commit migrated from https://github.com/dotnet/coreclr/commit/037cf33d62308375fb3bcfecd822cb83436b5081

src/coreclr/src/mscorlib/ref/mscorlib.cs

index 304d350..965e727 100644 (file)
@@ -11314,6 +11314,11 @@ namespace System.Runtime.Serialization
         DateTime ToDateTime(object value);
         String ToString(object value);
     }
+    [System.Runtime.InteropServices.ComVisible(true)]
+    public interface IObjectReference
+    {
+        object GetRealObject(StreamingContext context);
+    }
     [System.Runtime.InteropServices.ComVisibleAttribute(true)]
     public interface ISerializable
     {