5 references to CastHelpers
System.Private.CoreLib (5)
src\System\Array.CoreCLR.cs (3)
310Unsafe.Add(ref destData, i) = CastHelpers.ChkCastAny(destTH, obj); 535&& CastHelpers.IsInstanceOfAny(pElementMethodTable, value) == null) 545if (CastHelpers.IsInstanceOfAny(pElementMethodTable, value) != null)
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
1057CastResult result = CastCache.TryGet(CastHelpers.s_table!, (nuint)m_asTAddr, (nuint)destTH.m_asTAddr);
src\System\RuntimeType.CoreCLR.cs (1)
3311bool ret = CastHelpers.IsInstanceOfAny(GetUnderlyingNativeHandle().ToPointer(), o) is not null;