diff options
author | Sebastien Pouliot <sebastien@ximian.com> | 2005-10-25 04:59:32 +0400 |
---|---|---|
committer | Sebastien Pouliot <sebastien@ximian.com> | 2005-10-25 04:59:32 +0400 |
commit | b8cacc11d6606c64eecaa24ef2877c147a5dd6e5 (patch) | |
tree | f2ab2a1dc6c1d84d31ab4ab70e4aa9d1c2446284 /mcs/class/System/System.CodeDom.Compiler/IndentedTextWriter.cs | |
parent | 90c2790972255d9e9a077a7030640c96542ede36 (diff) |
2005-10-24 Sebastien Pouliot <sebastien@ximian.com>
* CodeGeneratorOptions.cs: Fixed how properties are kept inside the
IDictionary (which is just like System.Web.dll).
* CompilerError.cs: Added [Serializable] attribute for 2.0.
* CompilerInfo.cs: Added LinkDemand for Unrestricted. Stubbed new
(2.0) CreateDefaultCompilerParameters method.
* CompilerParameters.cs: Added LinkDemand and InheritanceDemand for
Unrestricted. Added Demand for ControlEvidence to Evidence property.
Added new (2.0) EmbeddedResources and LinkedResources properties.
* CompilerResults.cs: Added LinkDemand and InheritanceDemand for
Unrestricted. Added Demand for ControlEvidence to Evidence property.
* Executor.cs: Added LinkDemand for Unrestricted. Added support for
userToken (impersonation).
* GeneratedCodeAttribute.cs: New. 2.0 attribute for code generated by
tools.
* IndentedTextWriter.cs: Added LinkDemand and InheritanceDemand for
Unrestricted.
svn path=/trunk/mcs/; revision=52159
Diffstat (limited to 'mcs/class/System/System.CodeDom.Compiler/IndentedTextWriter.cs')
-rw-r--r-- | mcs/class/System/System.CodeDom.Compiler/IndentedTextWriter.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mcs/class/System/System.CodeDom.Compiler/IndentedTextWriter.cs b/mcs/class/System/System.CodeDom.Compiler/IndentedTextWriter.cs index c823093aafe..e9139bdeb7c 100644 --- a/mcs/class/System/System.CodeDom.Compiler/IndentedTextWriter.cs +++ b/mcs/class/System/System.CodeDom.Compiler/IndentedTextWriter.cs @@ -5,8 +5,7 @@ // Daniel Stodden (stodden@in.tum.de) // // (C) 2002 Ximian, Inc. -// - +// Copyright (C) 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 @@ -29,10 +28,13 @@ // using System.IO; +using System.Security.Permissions; using System.Text; namespace System.CodeDom.Compiler { + [PermissionSet (SecurityAction.LinkDemand, Unrestricted = true)] + [PermissionSet (SecurityAction.InheritanceDemand, Unrestricted = true)] public class IndentedTextWriter : TextWriter { |