We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28c384c commit cc1222cCopy full SHA for cc1222c
src/NHibernate/Proxy/AbstractProxyFactory.cs
@@ -2,6 +2,7 @@
2
using System.Collections.Generic;
3
using System.Reflection;
4
using System.Runtime.Serialization;
5
+using System.Security;
6
using NHibernate.Engine;
7
using NHibernate.Type;
8
using NHibernate.Util;
@@ -68,6 +69,7 @@ public virtual object GetFieldInterceptionProxy(object instanceToWrap)
68
69
throw new NotSupportedException();
70
}
71
72
+ [SecurityCritical]
73
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
74
{
75
info.AddValue(nameof(EntityName), EntityName);
0 commit comments