Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Pouliot <sebastien@ximian.com>2005-09-02 01:24:35 +0400
committerSebastien Pouliot <sebastien@ximian.com>2005-09-02 01:24:35 +0400
commit32d253709e443e6dcb523de69ce791eec82f3933 (patch)
tree29e5e942c24cf4599af7b13838cd53c24c0ac444 /mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs
parent7e157b09ef864a97bdf84484f6614b2ca8b9526c (diff)
2005-09-01 Sebastien Pouliot <sebastien@ximian.com>
* HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs, HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs, HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs, HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs, HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs, HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs, HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs, HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs, HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security attributes AspNetHostingPermission for Minimal level on all classes (LinkDemand) and for non-sealed classes (InheritanceDemand). svn path=/trunk/mcs/; revision=49299
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs')
-rw-r--r--mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs
index 90714426e0a..b318ae68530 100644
--- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs
+++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlTextArea.cs
@@ -29,9 +29,14 @@
using System.ComponentModel;
using System.Collections.Specialized;
using System.Globalization;
+using System.Security.Permissions;
namespace System.Web.UI.HtmlControls {
+ // CAS
+ [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
+ [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
+ // attributes
[DefaultEvent ("ServerChange")]
[ValidationProperty ("Value")]
public class HtmlTextArea : HtmlContainerControl, IPostBackDataHandler {