29 references to Value
System.Private.CoreLib (24)
src\libraries\System.Private.CoreLib\src\System\Reflection\FieldAccessor.cs (8)
53_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 60_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 66_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 71_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 81_methodTable = (MethodTable*)typeof(IntPtr).TypeHandle.Value; 95_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 100_methodTable = (MethodTable*)fieldType.TypeHandle.Value; 109_methodTable = (MethodTable*)typeof(IntPtr).TypeHandle.Value;
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\QCallHandles.cs (1)
128_handle = rth.Value;
src\System\Reflection\Associates.cs (1)
62genericArgumentHandles[i] = genericArguments[i].TypeHandle.Value;
src\System\Reflection\Emit\DynamicILGenerator.cs (4)
799typeHandle = ((RuntimeTypeHandle)handle).Value; 825typeHandle = gmi.m_context.Value; 832typeHandle = gfi.m_context.Value; 841typeHandle = vaMeth.m_method.GetDeclaringTypeInternal().TypeHandle.Value;
src\System\Reflection\Emit\SignatureHelper.cs (1)
615IntPtr handle = type.TypeHandle.Value;
src\System\RuntimeHandles.cs (9)
82public static IntPtr ToIntPtr(RuntimeTypeHandle value) => value.Value; 196outHandles[i] = inHandles[i].Value; 218outHandles[i] = inHandles[i].TypeHandle.Value; 236IntPtr typeHandle = genericParameter.TypeHandle.Value; 262genericParameter1.TypeHandle.Value, 263genericParameter2.TypeHandle.Value 774IntPtr ptr = inst.TypeHandle.Value; 839retAndParamTypeHandles[0] = GetNativeHandle().Value; 841retAndParamTypeHandles[i + 1] = parameterTypes[i].TypeHandle.Value;
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\DataContract.cs (3)
412if (s_typeToIDCache.TryGetValue(typeHandle.Value, out int id)) 419return s_typeToIDCache.GetOrAdd(typeHandle.Value, static _ => 959s_typeToIDCache.TryRemove(runtimeTypeHandle.Value, out _);
System\Runtime\Serialization\Json\JsonDataContract.cs (2)
191if (s_typeToIDCache.TryGetValue(typeHandle.Value, out int id)) 196return s_typeToIDCache.GetOrAdd(typeHandle.Value, static _ =>