From 037cf33d62308375fb3bcfecd822cb83436b5081 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Wed, 27 Jul 2016 14:14:36 -0400 Subject: [PATCH] Add IObjectReference to mscorlib ref assembly --- src/mscorlib/ref/mscorlib.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mscorlib/ref/mscorlib.cs b/src/mscorlib/ref/mscorlib.cs index 304d35031263..965e727ee913 100644 --- a/src/mscorlib/ref/mscorlib.cs +++ b/src/mscorlib/ref/mscorlib.cs @@ -11314,6 +11314,11 @@ public interface IFormatterConverter 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 {