mscorlib(4.0.0.0) API with additions
|
Represents a field using an internal metadata token. More...
Public Member Functions | |
internal RuntimeFieldHandle | GetNativeHandle () |
internal | RuntimeFieldHandle (IRuntimeFieldInfo fieldInfo) |
internal IRuntimeFieldInfo | GetRuntimeFieldInfo () |
internal bool | IsNullHandle () |
override int | GetHashCode () |
Returns the hash code for this instance. More... | |
override bool | Equals (object obj) |
Indicates whether the current instance is equal to the specified object. More... | |
bool | Equals (RuntimeFieldHandle handle) |
Indicates whether the current instance is equal to the specified T:System.RuntimeFieldHandle. More... | |
static internal string | GetName (RtFieldInfo field) |
static internal bool | MatchesNameHash (RuntimeFieldHandleInternal handle, uint hash) |
static internal FieldAttributes | GetAttributes (RuntimeFieldHandleInternal field) |
static internal RuntimeType | GetApproxDeclaringType (RuntimeFieldHandleInternal field) |
static internal int | GetToken (RtFieldInfo field) |
static internal object | GetValue (RtFieldInfo field, object instance, RuntimeType fieldType, RuntimeType declaringType, ref bool domainInitialized) |
internal static unsafe object | GetValueDirect (RtFieldInfo field, RuntimeType fieldType, void *pTypedRef, RuntimeType contextType) |
static internal void | SetValue (RtFieldInfo field, object obj, object value, RuntimeType fieldType, FieldAttributes fieldAttr, RuntimeType declaringType, ref bool domainInitialized) |
internal static unsafe void | SetValueDirect (RtFieldInfo field, RuntimeType fieldType, void *pTypedRef, object value, RuntimeType contextType) |
static internal RuntimeFieldHandleInternal | GetStaticFieldForGenericType (RuntimeFieldHandleInternal field, RuntimeType declaringType) |
static internal bool | AcquiresContextFromThis (RuntimeFieldHandleInternal field) |
internal bool | IsSecurityCritical () |
internal bool | IsSecuritySafeCritical () |
internal bool | IsSecurityTransparent () |
static internal void | CheckAttributeAccess (RuntimeFieldHandle fieldHandle, RuntimeModule decoratedTarget) |
void | GetObjectData (SerializationInfo info, StreamingContext context) |
Populates a T:System.Runtime.Serialization.SerializationInfo with the data necessary to deserialize the field represented by the current instance. More... | |
Static Public Member Functions | |
static bool | operator== (RuntimeFieldHandle left, RuntimeFieldHandle right) |
Indicates whether two T:System.RuntimeFieldHandle structures are equal. More... | |
static bool | operator != (RuntimeFieldHandle left, RuntimeFieldHandle right) |
Indicates whether two T:System.RuntimeFieldHandle structures are not equal. More... | |
internal static unsafe Utf8String | GetUtf8Name (RuntimeFieldHandleInternal field) |
static internal RuntimeType | GetApproxDeclaringType (IRuntimeFieldInfo field) |
Properties | |
IntPtr | Value [get] |
Gets a handle to the field represented by the current instance. More... | |
Represents a field using an internal metadata token.
Definition at line 14 of file RuntimeFieldHandle.cs.
override bool System.RuntimeFieldHandle.Equals | ( | object | obj | ) |
Indicates whether the current instance is equal to the specified object.
obj | The object to compare to the current instance. |
true
if obj is a T:System.RuntimeFieldHandle and equal to the value of the current instance; otherwise, false
.Definition at line 74 of file RuntimeFieldHandle.cs.
bool System.RuntimeFieldHandle.Equals | ( | RuntimeFieldHandle | handle | ) |
Indicates whether the current instance is equal to the specified T:System.RuntimeFieldHandle.
handle | The T:System.RuntimeFieldHandle to compare to the current instance. |
true
if the value of handle is equal to the value of the current instance; otherwise, false
.Definition at line 90 of file RuntimeFieldHandle.cs.
override int System.RuntimeFieldHandle.GetHashCode | ( | ) |
Returns the hash code for this instance.
Definition at line 62 of file RuntimeFieldHandle.cs.
void System.RuntimeFieldHandle.GetObjectData | ( | SerializationInfo | info, |
StreamingContext | context | ||
) |
Populates a T:System.Runtime.Serialization.SerializationInfo with the data necessary to deserialize the field represented by the current instance.
info | The T:System.Runtime.Serialization.SerializationInfo object to populate with serialization information. |
context | (Reserved) The place to store and retrieve serialized data. |
T:System.ArgumentNullException | info is null . |
T:System.Runtime.Serialization.SerializationException | The P:System.RuntimeFieldHandle.Value property of the current instance is not a valid handle. |
Implements System.Runtime.Serialization.ISerializable.
Definition at line 247 of file RuntimeFieldHandle.cs.
|
static |
Indicates whether two T:System.RuntimeFieldHandle structures are not equal.
left | The T:System.RuntimeFieldHandle to compare to right . |
right | The T:System.RuntimeFieldHandle to compare to left . |
true
if left is not equal to right ; otherwise, false
.Definition at line 112 of file RuntimeFieldHandle.cs.
|
static |
Indicates whether two T:System.RuntimeFieldHandle structures are equal.
left | The T:System.RuntimeFieldHandle to compare to right . |
right | The T:System.RuntimeFieldHandle to compare to left . |
true
if left is equal to right ; otherwise, false
.Definition at line 101 of file RuntimeFieldHandle.cs.
|
get |
Gets a handle to the field represented by the current instance.
Definition at line 21 of file RuntimeFieldHandle.cs.