We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f77ceef commit 0afd9d0Copy full SHA for 0afd9d0
1 file changed
Orm/Xtensive.Orm/Orm/Serialization/EntityReference.cs
@@ -17,21 +17,19 @@ namespace Xtensive.Orm.Serialization
17
/// </summary>
18
[Serializable]
19
internal sealed class EntityReference :
20
-#if !NET8_0_OR_GREATER
+#pragma warning disable SYSLIB0050 // Type or member is obsolete
21
IObjectReference,
22
-#endif
+#pragma warning restore SYSLIB0050 // Type or member is obsolete
23
ISerializable
24
{
25
private const string KeyValueName = WellKnown.KeyFieldName;
26
private readonly Entity entity;
27
28
29
[SecurityCritical]
30
public object GetRealObject(StreamingContext context)
31
32
return entity;
33
}
34
35
36
37
public void GetObjectData(SerializationInfo info, StreamingContext context)
0 commit comments