1 instantiation of RuntimeFieldHandle
System.Private.CoreLib (1)
System\RuntimeFieldHandle.cs (1)
59public static RuntimeFieldHandle FromIntPtr(IntPtr value) => new RuntimeFieldHandle(value);
52 references to RuntimeFieldHandle
Microsoft.CodeAnalysis (1)
SpecialType.cs (1)
227/// Indicates that the type is <see cref="RuntimeFieldHandle"/>.
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
783[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.RuntimeFieldHandle))]
netstandard (1)
netstandard.cs (1)
1817[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.RuntimeFieldHandle))]
System.Private.CoreLib (30)
Internal\Reflection\Augments\ReflectionAugments.cs (2)
158public static FieldInfo GetFieldFromHandle(RuntimeFieldHandle runtimeFieldHandle) 175public static FieldInfo GetFieldFromHandle(RuntimeFieldHandle runtimeFieldHandle, RuntimeTypeHandle declaringTypeHandle)
Internal\Reflection\Core\Execution\ExecutionEnvironment.cs (2)
65public abstract bool TryGetFieldFromHandle(RuntimeFieldHandle runtimeFieldHandle, out RuntimeTypeHandle declaringTypeHandle, out FieldHandle fieldHandle); 66public abstract bool TryGetFieldFromHandleAndType(RuntimeFieldHandle runtimeFieldHandle, RuntimeTypeHandle declaringTypeHandle, out FieldHandle fieldHandle);
Internal\Runtime\Augments\TypeLoaderCallbacks.cs (1)
25public abstract RuntimeFieldHandle GetRuntimeFieldHandleForComponents(RuntimeTypeHandle declaringTypeHandle, FieldHandle handle);
Internal\Runtime\CompilerHelpers\LdTokenHelpers.cs (2)
20private static unsafe RuntimeFieldHandle GetRuntimeFieldHandle(IntPtr pHandleSignature) 22RuntimeFieldHandle returnValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\FieldOnTypeBuilderInstantiation.cs (1)
68public override RuntimeFieldHandle FieldHandle => throw new NotImplementedException();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\FieldInfo.cs (1)
38public abstract RuntimeFieldHandle FieldHandle { get; }
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RuntimeHelpers.cs (1)
154public static ReadOnlySpan<T> CreateSpan<T>(RuntimeFieldHandle fldHandle)
System\ModuleHandle.cs (3)
43public RuntimeFieldHandle GetRuntimeFieldHandleFromMetadataToken(int fieldToken) 79public RuntimeFieldHandle ResolveFieldHandle(int fieldToken) 85public RuntimeFieldHandle ResolveFieldHandle(int fieldToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
System\Reflection\Emit\DynamicILInfo.cs (2)
44public int GetTokenFor(RuntimeFieldHandle field) 48public int GetTokenFor(RuntimeFieldHandle field, RuntimeTypeHandle contextType)
System\Reflection\FieldInfo.NativeAot.cs (2)
10public static FieldInfo GetFieldFromHandle(RuntimeFieldHandle handle) => ReflectionAugments.GetFieldFromHandle(handle); 11public static FieldInfo GetFieldFromHandle(RuntimeFieldHandle handle, RuntimeTypeHandle declaringType) => ReflectionAugments.GetFieldFromHandle(handle, declaringType);
System\Reflection\Runtime\FieldInfos\NativeFormat\NativeFormatRuntimeFieldInfo.cs (1)
127public sealed override RuntimeFieldHandle FieldHandle
System\Reflection\Runtime\FieldInfos\RuntimeFieldInfo.cs (1)
180public abstract override RuntimeFieldHandle FieldHandle { get; }
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (1)
22public static void InitializeArray(Array array, RuntimeFieldHandle fldHandle)
System\RuntimeFieldHandle.cs (10)
15public struct RuntimeFieldHandle : IEquatable<RuntimeFieldHandle>, ISerializable 28if (!(obj is RuntimeFieldHandle)) 31return Equals((RuntimeFieldHandle)obj); 34public unsafe bool Equals(RuntimeFieldHandle handle) 59public static RuntimeFieldHandle FromIntPtr(IntPtr value) => new RuntimeFieldHandle(value); 61public static IntPtr ToIntPtr(RuntimeFieldHandle value) => value.Value; 63public static bool operator ==(RuntimeFieldHandle left, RuntimeFieldHandle right) 68public static bool operator !=(RuntimeFieldHandle left, RuntimeFieldHandle right)
System.Private.Reflection.Execution (2)
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.MappingTables.cs (2)
814public sealed override unsafe bool TryGetFieldFromHandle(RuntimeFieldHandle runtimeFieldHandle, out RuntimeTypeHandle declaringTypeHandle, out FieldHandle fieldHandle) 822public sealed override bool TryGetFieldFromHandleAndType(RuntimeFieldHandle runtimeFieldHandle, RuntimeTypeHandle declaringTypeHandle, out FieldHandle fieldHandle)
System.Private.TypeLoader (12)
Internal\Runtime\TypeLoader\GenericDictionaryCell.cs (1)
302RuntimeFieldHandle handle = TypeLoaderEnvironment.Instance.GetRuntimeFieldHandleForComponents(
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.cs (1)
66public override RuntimeFieldHandle GetRuntimeFieldHandleForComponents(RuntimeTypeHandle declaringTypeHandle, FieldHandle handle)
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.LdTokenResultLookup.cs (7)
119private LowLevelDictionary<RuntimeFieldHandleKey, RuntimeFieldHandle> _runtimeFieldHandles = new LowLevelDictionary<RuntimeFieldHandleKey, RuntimeFieldHandle>(); 125public unsafe RuntimeFieldHandle GetRuntimeFieldHandleForComponents(RuntimeTypeHandle declaringTypeHandle, int handle) 130public unsafe RuntimeFieldHandle GetRuntimeFieldHandleForComponents(RuntimeTypeHandle declaringTypeHandle, FieldHandle handle) 136if (!_runtimeFieldHandles.TryGetValue(key, out RuntimeFieldHandle runtimeFieldHandle)) 141runtimeFieldHandle = RuntimeFieldHandle.FromIntPtr((nint)fieldData); 150public unsafe bool TryGetRuntimeFieldHandleComponents(RuntimeFieldHandle runtimeFieldHandle, out RuntimeTypeHandle declaringTypeHandle, out FieldHandle fieldHandle)
Internal\Runtime\TypeLoader\TypeLoaderTypeSystemContext.cs (1)
128return (DefType)ResolveRuntimeTypeHandle(typeof(RuntimeFieldHandle).TypeHandle);
Internal\Runtime\TypeLoader\TypeSystemExtensions.cs (2)
55public static unsafe bool IsDynamic(this RuntimeFieldHandle rtfh) 56=> (RuntimeFieldHandle.ToIntPtr(rtfh) & 1) != 0;
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingFieldInfo.cs (1)
29public override RuntimeFieldHandle FieldHandle
System.Reflection.Emit (1)
System\Reflection\Emit\FieldBuilderImpl.cs (1)
108public override RuntimeFieldHandle FieldHandle => throw new NotSupportedException(SR.NotSupported_DynamicModule);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Fields\RoField.cs (1)
144public sealed override RuntimeFieldHandle FieldHandle => throw new InvalidOperationException(SR.Arg_InvalidOperation_Reflection);
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
747[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.RuntimeFieldHandle))]
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\SerializationFieldInfo.cs (1)
51public override RuntimeFieldHandle FieldHandle => m_field.FieldHandle;