2008-03-05 09:52:00 -05:00
|
|
|
// ==++==
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//
|
|
|
|
// ==--==
|
2008-11-17 18:29:00 -05:00
|
|
|
namespace System
|
|
|
|
{
|
2008-03-05 09:52:00 -05:00
|
|
|
|
|
|
|
using System;
|
|
|
|
using System.Reflection;
|
|
|
|
|
|
|
|
// 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 FieldDesc.
|
|
|
|
//| <include path='docs/doc[@for="RuntimeFieldHandle"]/*' />
|
|
|
|
public struct RuntimeFieldHandle
|
|
|
|
{
|
|
|
|
private IntPtr m_ptr;
|
|
|
|
|
|
|
|
//| <include path='docs/doc[@for="RuntimeFieldHandle.Value"]/*' />
|
|
|
|
public IntPtr Value {
|
|
|
|
get {
|
|
|
|
return m_ptr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|