2008-03-05 09:52:00 -05:00
|
|
|
// ==++==
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//
|
|
|
|
// ==--==
|
|
|
|
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
|
2008-11-17 18:29:00 -05:00
|
|
|
namespace System
|
|
|
|
{
|
2008-03-05 09:52:00 -05:00
|
|
|
|
|
|
|
// This value type is used for making classlib type safe.
|
|
|
|
//
|
|
|
|
// SECURITY : m_ptr cannot be set to anything other than null by untrusted
|
|
|
|
// code.
|
|
|
|
//
|
|
|
|
// This corresponds to EE MethodDesc.
|
|
|
|
//| <include file='doc\RuntimeMethodHandle.uex' path='docs/doc[@for="RuntimeMethodHandle"]/*' />
|
|
|
|
public struct RuntimeMethodHandle
|
|
|
|
{
|
|
|
|
#if !DONT_DO_BARTOK
|
|
|
|
private int value;
|
|
|
|
#endif
|
|
|
|
//| <include file='doc\RuntimeMethodHandle.uex' path='docs/doc[@for="RuntimeMethodHandle.Value"]/*' />
|
|
|
|
public IntPtr Value {
|
|
|
|
get;
|
|
|
|
}
|
|
|
|
|
|
|
|
//| <include file='doc\RuntimeMethodHandle.uex' path='docs/doc[@for="RuntimeMethodHandle.GetFunctionPointer"]/*' />
|
|
|
|
public System.IntPtr GetFunctionPointer();
|
|
|
|
}
|
|
|
|
}
|