Export (0) Print
Expand All

RuntimeHelpers Methods

The RuntimeHelpers type exposes the following members.

  Name Description
Public method Static member EnsureSufficientExecutionStack Ensures that the remaining stack space is large enough to execute the average .NET Framework function.
Public method Static member Equals(Object, Object) Determines whether the specified Object instances are considered equal.
Public method Static member ExecuteCodeWithGuaranteedCleanup Executes code using a Delegate while using another Delegate to execute additional code in case of an exception.
Public method Static member GetHashCode(Object) 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.
Public method Static member GetObjectValue Boxes a value type.
Public method Static member InitializeArray Provides a fast way to initialize an array from data that is stored in a module.
Public method Static member PrepareConstrainedRegions Designates a body of code as a constrained execution region (CER).
Public method Static member PrepareConstrainedRegionsNoOP Designates a body of code as a constrained execution region (CER) without performing any probing.
Public method Static member PrepareContractedDelegate Provides a way for applications to dynamically prepare AppDomain event delegates.
Public method Static member PrepareDelegate Indicates that the specified delegate should be prepared for inclusion in a constrained execution region (CER).
Public method Static member PrepareMethod(RuntimeMethodHandle) Prepares a method for inclusion in a constrained execution region (CER).
Public method Static member PrepareMethod(RuntimeMethodHandle, RuntimeTypeHandle[]) Prepares a method for inclusion in a constrained execution region (CER) with the specified instantiation.
Public method Static member 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.
Public method Static member RunClassConstructor Runs a specified class constructor method.
Public method Static member RunModuleConstructor Runs a specified module constructor method.
Top
Show:
© 2014 Microsoft