|
|
@@ -5,10 +5,7 @@
|
|
|
// Paolo Molaro ([email protected])
|
|
|
//
|
|
|
// (C) 2001 Ximian, Inc. http://www.ximian.com
|
|
|
-//
|
|
|
-
|
|
|
-//
|
|
|
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
|
|
|
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
|
|
|
//
|
|
|
// Permission is hereby granted, free of charge, to any person obtaining
|
|
|
// a copy of this software and associated documentation files (the
|
|
|
@@ -36,6 +33,7 @@ using System.Runtime.Serialization;
|
|
|
using System.Security.Cryptography.X509Certificates;
|
|
|
using System.Runtime.InteropServices;
|
|
|
using System.Runtime.CompilerServices;
|
|
|
+using System.Security.Permissions;
|
|
|
|
|
|
namespace System.Reflection {
|
|
|
|
|
|
@@ -199,6 +197,7 @@ namespace System.Reflection {
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
+ [SecurityPermission (SecurityAction.LinkDemand, SerializationFormatter = true)]
|
|
|
public virtual void GetObjectData (SerializationInfo info, StreamingContext context)
|
|
|
{
|
|
|
UnitySerializationHolder.GetModuleData (this, info, context);
|