summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/RuntimeArgumentHandle.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/RuntimeArgumentHandle.cs')
-rw-r--r--src/mscorlib/src/System/RuntimeArgumentHandle.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/RuntimeArgumentHandle.cs b/src/mscorlib/src/System/RuntimeArgumentHandle.cs
new file mode 100644
index 0000000000..d1bc86b49a
--- /dev/null
+++ b/src/mscorlib/src/System/RuntimeArgumentHandle.cs
@@ -0,0 +1,24 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+namespace System {
+
+ using System;
+ // This value type is used for constructing System.ArgIterator.
+ //
+ // SECURITY : m_ptr cannot be set to anything other than null by untrusted
+ // code.
+ //
+ // This corresponds to EE VARARGS cookie.
+
+ // Cannot be serialized
+ [System.Runtime.InteropServices.ComVisible(true)]
+ public struct RuntimeArgumentHandle
+ {
+ private IntPtr m_ptr;
+
+ internal IntPtr Value { get { return m_ptr; } }
+ }
+
+}