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-10-25 04:59:32 +0400
committerSebastien Pouliot <sebastien@ximian.com>2005-10-25 04:59:32 +0400
commitb8cacc11d6606c64eecaa24ef2877c147a5dd6e5 (patch)
treef2ab2a1dc6c1d84d31ab4ab70e4aa9d1c2446284 /mcs/class/System/System.CodeDom.Compiler/IndentedTextWriter.cs
parent90c2790972255d9e9a077a7030640c96542ede36 (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.cs6
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
{