diff options
author | Sebastien Pouliot <sebastien@ximian.com> | 2006-07-31 17:44:41 +0400 |
---|---|---|
committer | Sebastien Pouliot <sebastien@ximian.com> | 2006-07-31 17:44:41 +0400 |
commit | 74387a7d7d345b074394076aa432442eb1070638 (patch) | |
tree | 309484436366d8e6faf052e335b01660ba0048fd /mcs/class/System/System.Diagnostics/Process.cs | |
parent | 7af158001846aeca9f17cee64cd54f1ac08036f5 (diff) |
2006-07-31 Sebastien Pouliot <sebastien@ximian.com>
* EventLogEntry.cs: Add a linkdemand for unrestricted on class.
* EventLogTraceListener.cs: Add a linkdemand for unrestricted on class
* FileVersionInfo.cs: Add a linkdemand for unrestricted on class. Add
an imperative demand for FileIOPermission.Read on GetVersionInfo
method. Change ToString method to use a StringBuilder.
* PerformanceCounterCategory.cs: Add a linkdemand for unrestricted on
class.
* PerformanceCounterManager.cs: Add a linkdemand for unrestricted on
class. Add [Obsolete] for NET_2_0 profile.
* Process.cs: Add a linkdemand and an inheritancedemand for
unrestricted on class.
* ProcessStartInfo.cs: Add a linkdemand for unrestricted on class.
svn path=/trunk/mcs/; revision=63179
Diffstat (limited to 'mcs/class/System/System.Diagnostics/Process.cs')
-rw-r--r-- | mcs/class/System/System.Diagnostics/Process.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mcs/class/System/System.Diagnostics/Process.cs b/mcs/class/System/System.Diagnostics/Process.cs index aaf9318a18f..79b04a98280 100644 --- a/mcs/class/System/System.Diagnostics/Process.cs +++ b/mcs/class/System/System.Diagnostics/Process.cs @@ -32,18 +32,21 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -using System; using System.IO; using System.ComponentModel; using System.ComponentModel.Design; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security.Permissions; using System.Collections; using System.Threading; namespace System.Diagnostics { + [DefaultEvent ("Exited"), DefaultProperty ("StartInfo")] [Designer ("System.Diagnostics.Design.ProcessDesigner, " + Consts.AssemblySystem_Design)] + [PermissionSet (SecurityAction.LinkDemand, Unrestricted = true)] + [PermissionSet (SecurityAction.InheritanceDemand, Unrestricted = true)] public class Process : Component { [StructLayout(LayoutKind.Sequential)] |