System.Runtime.CompilerServices.RuntimeHelpers Members

The members of System.Runtime.CompilerServices.RuntimeHelpers are listed below.

See Also: Inherited members from System.Object

Public Properties

[read-only]
static
OffsetToStringDataint (12).

Gets the offset, in bytes, to the data in the given string.

Public Methods

static
EnsureSufficientExecutionStack()

Ensures that the remaining stack space is large enough to execute the average .NET Framework function.

static
Equals(object, object) : bool

Determines whether the specified object instances are considered equal.

static
ExecuteCodeWithGuaranteedCleanup(RuntimeHelpers.TryCode, RuntimeHelpers.CleanupCode, object)
Documentation for this section has not yet been entered.
static
GetHashCode(object) : int

Serves as a hash function for a particular object, and is suitable for use in algorithms and data structures that use hash codes, such as a hash table.

static
GetObjectValue(object) : object

Boxes a value type.

static
InitializeArray(Array, RuntimeFieldHandle)

Provides a fast way to initialize an array from data that is stored in a module.

static
PrepareConstrainedRegions()

Designates a body of code as a constrained execution region (CER).

static
PrepareConstrainedRegionsNoOP()

Designates a body of code as a constrained execution region (CER) without performing any probing.

static
PrepareDelegate(Delegate)

Indicates that the specified delegate should be prepared for inclusion in a constrained execution region (CER).

static
PrepareMethod(RuntimeMethodHandle)

Prepares a method for inclusion in a constrained execution region (CER).

static
PrepareMethod(RuntimeMethodHandle, RuntimeTypeHandle[])

Prepares a method for inclusion in a constrained execution region (CER) with the specified instantiation.

static
ProbeForSufficientStack()

Probes for a certain amount of stack space to ensure that a stack overflow cannot happen within a subsequent block of code (assuming that your code uses only a finite and moderate amount of stack space). We recommend that you use a constrained execution region (CER) instead of this method.

static
RunClassConstructor(RuntimeTypeHandle)

Runs a specified class constructor method.

static
RunModuleConstructor(IntPtr)
Documentation for this section has not yet been entered.
static
RunModuleConstructor(ModuleHandle)

Runs a specified module constructor method.