// 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
//
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
{
return indent;
}
set {
+ if (value < 0) {
+ value = 0;
+ }
indent = value;
}
}