4 instantiations of RuntimeFieldHandle
mscorlib (4)
system\reflection\fieldinfo.cs (1)
790return new RuntimeFieldHandle(this);
system\runtimehandles.cs (3)
1607return new RuntimeFieldHandle(field); 2007public RuntimeFieldHandle ResolveFieldHandle(int fieldToken) { return new RuntimeFieldHandle(ResolveFieldHandleInternal(GetRuntimeModule(), fieldToken, null, null)); } 2009{ return new RuntimeFieldHandle(ResolveFieldHandleInternal(GetRuntimeModule(), fieldToken, typeInstantiationContext, methodInstantiationContext)); }
62 references to RuntimeFieldHandle
mscorlib (60)
system\reflection\cominterfaces.cs (1)
507RuntimeFieldHandle FieldHandle { get; }
system\reflection\customattribute.cs (1)
1812RuntimeFieldHandle.CheckAttributeAccess(field.FieldHandle, decoratedModule.GetNativeHandle());
system\reflection\emit\dynamicilgenerator.cs (8)
951if (handle is RuntimeFieldHandle) 953fieldHandle = ((RuntimeFieldHandle)handle).Value; 1154public int GetTokenFor(RuntimeFieldHandle field) 1158public int GetTokenFor(RuntimeFieldHandle field, RuntimeTypeHandle contextType) 1260public int GetTokenFor(RuntimeFieldHandle field) 1265public int GetTokenFor(RuntimeFieldHandle field, RuntimeTypeHandle typeContext) 1302internal RuntimeFieldHandle m_fieldHandle; 1305internal GenericFieldInfo(RuntimeFieldHandle fieldHandle, RuntimeTypeHandle context)
system\reflection\emit\fieldbuilder.cs (1)
147public override RuntimeFieldHandle FieldHandle
system\reflection\emit\xxxontypebuilderinstantiation.cs (1)
283public override RuntimeFieldHandle FieldHandle
system\reflection\fieldinfo.cs (17)
38public static FieldInfo GetFieldFromHandle(RuntimeFieldHandle handle) 55public static FieldInfo GetFieldFromHandle(RuntimeFieldHandle handle, RuntimeTypeHandle declaringType) 126public abstract RuntimeFieldHandle FieldHandle { get; } 497m_fieldAttributes = RuntimeFieldHandle.GetAttributes(handle); 592RuntimeFieldHandle.SetValue(this, obj, value, fieldType, m_fieldAttributes, null, ref domainInitialized); 597RuntimeFieldHandle.SetValue(this, obj, value, fieldType, m_fieldAttributes, declaringType, ref domainInitialized); 620RuntimeFieldHandle.SetValue(this, obj, value, fieldType, m_fieldAttributes, null, ref domainInitialized); 625RuntimeFieldHandle.SetValue(this, obj, value, fieldType, m_fieldAttributes, declaringType, ref domainInitialized); 685return RuntimeFieldHandle.GetValue(this, obj, fieldType, null, ref domainInitialized); 690object retVal = RuntimeFieldHandle.GetValue(this, obj, fieldType, declaringType, ref domainInitialized); 705m_name = RuntimeFieldHandle.GetName(this); 722get { return RuntimeFieldHandle.GetToken(this); } 728return RuntimeTypeHandle.GetModule(RuntimeFieldHandle.GetApproxDeclaringType(this)); 754return RuntimeFieldHandle.GetValueDirect(this, (RuntimeType)FieldType, &obj, (RuntimeType)DeclaringType); 779RuntimeFieldHandle.SetValueDirect(this, (RuntimeType)FieldType, &obj, value, (RuntimeType)DeclaringType); 783public override RuntimeFieldHandle FieldHandle 888public override RuntimeFieldHandle FieldHandle { get { throw new NotSupportedException(); } }
system\reflection\module.cs (1)
810RuntimeType declaringType = RuntimeFieldHandle.GetApproxDeclaringType(fieldHandle.Value);
system\rttype.cs (12)
358FieldAttributes fieldAttributes = RuntimeFieldHandle.GetAttributes(field); 361RuntimeType approxDeclaringType = RuntimeFieldHandle.GetApproxDeclaringType(field); 362bool isInherited = RuntimeFieldHandle.AcquiresContextFromThis(field) ? 941if (!RuntimeFieldHandle.MatchesNameHash(runtimeFieldHandle, filter.GetHashToMatch())) 943Contract.Assert(!filter.Match(RuntimeFieldHandle.GetUtf8Name(runtimeFieldHandle))); 947if (!filter.Match(RuntimeFieldHandle.GetUtf8Name(runtimeFieldHandle))) 953FieldAttributes fieldAttributes = RuntimeFieldHandle.GetAttributes(runtimeFieldHandle); 970runtimeFieldHandle = RuntimeFieldHandle.GetStaticFieldForGenericType(runtimeFieldHandle, declaringType); 2148return GetFieldInfo(RuntimeFieldHandle.GetApproxDeclaringType(fieldHandle), fieldHandle); 2159reflectedType = RuntimeFieldHandle.GetApproxDeclaringType(fieldHandle); 2163RuntimeType declaredType = RuntimeFieldHandle.GetApproxDeclaringType(fieldHandle); 2166if (!RuntimeFieldHandle.AcquiresContextFromThis(fieldHandle) ||
system\runtime\compilerservices\runtimehelpers.cs (1)
32public static extern void InitializeArray(Array array,RuntimeFieldHandle fldHandle);
system\runtime\serialization\serializationfieldinfo.cs (1)
130public override RuntimeFieldHandle FieldHandle {
system\runtimehandles.cs (16)
1601internal RuntimeFieldHandle GetNativeHandle() 1650if (!(obj is RuntimeFieldHandle)) 1653RuntimeFieldHandle handle = (RuntimeFieldHandle)obj; 1660public unsafe bool Equals(RuntimeFieldHandle handle) 1665public static bool operator ==(RuntimeFieldHandle left, RuntimeFieldHandle right) 1670public static bool operator !=(RuntimeFieldHandle left, RuntimeFieldHandle right) 1751private static extern bool IsSecurityCritical(RuntimeFieldHandle fieldHandle); 1764private static extern bool IsSecuritySafeCritical(RuntimeFieldHandle fieldHandle); 1777private static extern bool IsSecurityTransparent(RuntimeFieldHandle fieldHandle); 1789internal static extern void CheckAttributeAccess(RuntimeFieldHandle fieldHandle, RuntimeModule decoratedTarget); 2006public RuntimeFieldHandle GetRuntimeFieldHandleFromMetadataToken(int fieldToken) { return ResolveFieldHandle(fieldToken); } 2007public RuntimeFieldHandle ResolveFieldHandle(int fieldToken) { return new RuntimeFieldHandle(ResolveFieldHandleInternal(GetRuntimeModule(), fieldToken, null, null)); } 2008public RuntimeFieldHandle ResolveFieldHandle(int fieldToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\TypeSystem\FieldInfo.cs (1)
44public override RuntimeFieldHandle FieldHandle
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
894public override RuntimeFieldHandle FieldHandle