summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Runtime/Serialization/IObjectReference.cs
blob: ef5ee6ade0480b9776c7545cd2597a2c9ed15fe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

/*============================================================
**
** Interface: IObjectReference
**
**
** Purpose: Implemented by objects that are actually references
**          to a different object which can't be discovered until
**          this one is completely restored.  During the fixup stage,
**          any object implementing IObjectReference is asked for it's
**          "real" object and that object is inserted into the graph.
**
**
===========================================================*/
namespace System.Runtime.Serialization {

    using System;
    // Interface does not need to be marked with the serializable attribute
    public interface IObjectReference {
        Object GetRealObject(StreamingContext context);
    }
}