From 53e7c84f8b9ec4cafc1e195fe12fe512fe669c42 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 Commit migrated from https://github.com/dotnet/coreclr/commit/037cf33d62308375fb3bcfecd822cb83436b5081 --- src/coreclr/src/mscorlib/ref/mscorlib.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/coreclr/src/mscorlib/ref/mscorlib.cs b/src/coreclr/src/mscorlib/ref/mscorlib.cs index 304d35031263e..965e727ee9136 100644 --- a/src/coreclr/src/mscorlib/ref/mscorlib.cs +++ b/src/coreclr/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 {