Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Static class

RuntimeHelpers

static class RuntimeHelpers

Module: System.Runtime.CompilerServices
Assembly: System.Runtime.dll
Source file: RuntimeHelpers.rvn

Library operations used by compiler lowering.

Methods

4 items
Static member: DrainEntryTasks() -> () Compiler startup hook that drains registered entry work before observing its result. Reentrant pumping and invocation from a task callback fault.
Static member: GetSlice<T>(array: T[], range: Range) -> Slice<T> Borrows a range without copying; invalid ranges fault.
Static member: HaveSameRuntimeType(left: object, right: object) -> bool Compares exact runtime type identities without allocating reflection descriptors. Both objects must be non-null. Used by generated record-class equality.
Static member: IsAssignable<TSource, TTarget>() -> bool Tests assignment from TSource to TTarget using declared types, without creating type descriptors. Used by generated generic value semantics; does not inspect an object's runtime ty…