diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2004-12-08 20:15:51 +0300 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2004-12-08 20:15:51 +0300 |
commit | 883b87b62cc16c40601ec22ee329c441179cde7c (patch) | |
tree | 512185b8c0abcd87da28c9927433a4fd313b08df /mcs/class/System.XML/System.Xml.Xsl | |
parent | 9a2a6c86f391912f87bf6157d9204c1da90e79e8 (diff) |
2004-12-08 Atsushi Enomoto <atsushi@ximian.com>
* XsltException.cs, XsltCompileException.cs :
added SecurityPermissionAttributes.
svn path=/trunk/mcs/; revision=37399
Diffstat (limited to 'mcs/class/System.XML/System.Xml.Xsl')
-rw-r--r-- | mcs/class/System.XML/System.Xml.Xsl/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/System.XML/System.Xml.Xsl/XsltCompileException.cs | 5 | ||||
-rw-r--r-- | mcs/class/System.XML/System.Xml.Xsl/XsltException.cs | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/mcs/class/System.XML/System.Xml.Xsl/ChangeLog b/mcs/class/System.XML/System.Xml.Xsl/ChangeLog index 35be8cc37aa..ec40e209148 100644 --- a/mcs/class/System.XML/System.Xml.Xsl/ChangeLog +++ b/mcs/class/System.XML/System.Xml.Xsl/ChangeLog @@ -1,3 +1,8 @@ +2004-12-08 Atsushi Enomoto <atsushi@ximian.com> + + * XsltException.cs, XsltCompileException.cs : + added SecurityPermissionAttributes. + 2004-10-09 Atsushi Enomoto <atsushi@ximian.com> * XsltException.cs : Message is incorrectly regarded only after 2.0 diff --git a/mcs/class/System.XML/System.Xml.Xsl/XsltCompileException.cs b/mcs/class/System.XML/System.Xml.Xsl/XsltCompileException.cs index ebb5623097d..5b1fd4f6eae 100644 --- a/mcs/class/System.XML/System.Xml.Xsl/XsltCompileException.cs +++ b/mcs/class/System.XML/System.Xml.Xsl/XsltCompileException.cs @@ -33,6 +33,7 @@ using System;
using System.Runtime.Serialization;
using System.Xml.XPath;
+using System.Security.Permissions;
namespace System.Xml.Xsl
{
@@ -87,6 +88,10 @@ namespace System.Xml.Xsl #region Methods
+#if NET_2_0
+ [SecurityPermission (SecurityAction.LinkDemand,
+ Flags=SecurityPermissionFlag.SerializationFormatter)]
+#endif
public override void GetObjectData (SerializationInfo info, StreamingContext context)
{
base.GetObjectData (info, context);
diff --git a/mcs/class/System.XML/System.Xml.Xsl/XsltException.cs b/mcs/class/System.XML/System.Xml.Xsl/XsltException.cs index 709cae46cd0..7af106a470b 100644 --- a/mcs/class/System.XML/System.Xml.Xsl/XsltException.cs +++ b/mcs/class/System.XML/System.Xml.Xsl/XsltException.cs @@ -33,6 +33,7 @@ using System;
using System.Runtime.Serialization;
using System.Xml.XPath;
+using System.Security.Permissions;
namespace System.Xml.Xsl
{
@@ -147,6 +148,10 @@ namespace System.Xml.Xsl #region Methods
+#if NET_2_0
+ [SecurityPermission (SecurityAction.LinkDemand,
+ Flags=SecurityPermissionFlag.SerializationFormatter)]
+#endif
public override void GetObjectData (SerializationInfo info, StreamingContext context)
{
base.GetObjectData (info, context);
|