projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Plug SplitOrderedList inside TemplateControl.
[mono.git]
/
mcs
/
class
/
System.Web
/
System.Web
/
HttpPostedFile.cs
diff --git
a/mcs/class/System.Web/System.Web/HttpPostedFile.cs
b/mcs/class/System.Web/System.Web/HttpPostedFile.cs
index 7765b2bc2722e6d62927b7e6a18fb3f3419893d4..9764b5324d07a412c8ac6d9820bd1d75d711f497 100644
(file)
--- a/
mcs/class/System.Web/System.Web/HttpPostedFile.cs
+++ b/
mcs/class/System.Web/System.Web/HttpPostedFile.cs
@@
-29,9
+29,12
@@
//
using System.IO;
//
using System.IO;
+using System.Security.Permissions;
namespace System.Web
{
namespace System.Web
{
+ // CAS - no InheritanceDemand here as the class is sealed
+ [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class HttpPostedFile {
string name;
string content_type;
public sealed class HttpPostedFile {
string name;
string content_type;