diff options
author | Dick Porter <dick@acm.org> | 2003-01-23 20:57:47 +0300 |
---|---|---|
committer | Dick Porter <dick@acm.org> | 2003-01-23 20:57:47 +0300 |
commit | 1018fa070ee7628940a923b5d000d700dc5e3726 (patch) | |
tree | e7e99b88a1448b3ef424e4a7a6cc42587accff90 /mcs/class/corlib/System/Environment.cs | |
parent | 9b5c149aec6d102a015c353b28fee08a1bae4009 (diff) |
2003-01-23 Dick Porter <dick@ximian.com>
* Environment.cs (System): Implemented ExitCode
svn path=/trunk/mcs/; revision=10839
Diffstat (limited to 'mcs/class/corlib/System/Environment.cs')
-rw-r--r-- | mcs/class/corlib/System/Environment.cs | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/mcs/class/corlib/System/Environment.cs b/mcs/class/corlib/System/Environment.cs index 9063180418e..453d90462ba 100644 --- a/mcs/class/corlib/System/Environment.cs +++ b/mcs/class/corlib/System/Environment.cs @@ -95,17 +95,12 @@ namespace System /// <summary> /// Gets or sets the exit code of this process /// </summary> - [MonoTODO] - public static int ExitCode + public extern static int ExitCode { - get - { - throw new NotImplementedException (); - } - set - { - throw new NotImplementedException (); - } + [MethodImplAttribute (MethodImplOptions.InternalCall)] + get; + [MethodImplAttribute (MethodImplOptions.InternalCall)] + set; } [MonoTODO] |