diff options
Diffstat (limited to 'src/mscorlib/src/System/ArgIterator.cs')
-rw-r--r-- | src/mscorlib/src/System/ArgIterator.cs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mscorlib/src/System/ArgIterator.cs b/src/mscorlib/src/System/ArgIterator.cs index 0ce27ed24a..c5bc379505 100644 --- a/src/mscorlib/src/System/ArgIterator.cs +++ b/src/mscorlib/src/System/ArgIterator.cs @@ -16,19 +16,16 @@ namespace System { [StructLayout(LayoutKind.Sequential)] public struct ArgIterator { - [System.Security.SecurityCritical] // auto-generated [MethodImplAttribute(MethodImplOptions.InternalCall)] private extern ArgIterator(IntPtr arglist); // create an arg iterator that points at the first argument that // is not statically declared (that is the first ... arg) // 'arglist' is the value returned by the ARGLIST instruction - [System.Security.SecuritySafeCritical] // auto-generated public ArgIterator(RuntimeArgumentHandle arglist) : this(arglist.Value) { } - [System.Security.SecurityCritical] // auto-generated [MethodImplAttribute(MethodImplOptions.InternalCall)] private unsafe extern ArgIterator(IntPtr arglist, void *ptr); @@ -36,7 +33,6 @@ namespace System { // 'arglist' is the value returned by the ARGLIST instruction // This is much like the C va_start macro - [System.Security.SecurityCritical] // auto-generated [CLSCompliant(false)] public unsafe ArgIterator(RuntimeArgumentHandle arglist, void* ptr) : this(arglist.Value, ptr) @@ -45,7 +41,6 @@ namespace System { // Fetch an argument as a typed referece, advance the iterator. // Throws an exception if past end of argument list - [System.Security.SecuritySafeCritical] // auto-generated [CLSCompliant(false)] public TypedReference GetNextArg() { @@ -58,14 +53,12 @@ namespace System { return result; } - [System.Security.SecurityCritical] // auto-generated [MethodImplAttribute(MethodImplOptions.InternalCall)] // reference to TypedReference is banned, so have to pass result as void pointer private unsafe extern void FCallGetNextArg(void * result); // Alternate version of GetNextArg() intended primarily for IJW code // generated by VC's "va_arg()" construct. - [System.Security.SecuritySafeCritical] // auto-generated [CLSCompliant(false)] public TypedReference GetNextArg(RuntimeTypeHandle rth) { @@ -96,7 +89,6 @@ namespace System { } - [System.Security.SecurityCritical] // auto-generated [MethodImplAttribute(MethodImplOptions.InternalCall)] // reference to TypedReference is banned, so have to pass result as void pointer private unsafe extern void InternalGetNextArg(void * result, RuntimeType rt); @@ -107,16 +99,13 @@ namespace System { } // How many arguments are left in the list - [System.Security.SecuritySafeCritical] // auto-generated [MethodImplAttribute(MethodImplOptions.InternalCall)] public extern int GetRemainingCount(); // Gets the type of the current arg, does NOT advance the iterator - [System.Security.SecurityCritical] // auto-generated [MethodImplAttribute(MethodImplOptions.InternalCall)] private extern unsafe void* _GetNextArgType(); - [System.Security.SecuritySafeCritical] // auto-generated public unsafe RuntimeTypeHandle GetNextArgType() { return new RuntimeTypeHandle(Type.GetTypeFromHandleUnsafe((IntPtr)_GetNextArgType())); |