C# Class System.Runtime.CompilerServices.RuntimeHelpers.RuntimeHelpers

显示文件 Open project: runefs/Marvin

Public Methods

Method Description
Equals ( object o1, object o2 ) : bool
GetHashCode ( object o ) : int
InitializeArray ( Array array, RuntimeFieldHandle fldHandle ) : void
RunClassConstructor ( RuntimeTypeHandle type ) : void
RunModuleConstructor ( ModuleHandle module ) : void

Private Methods

Method Description
ExecuteCodeWithGuaranteedCleanup ( TryCode code, CleanupCode backoutCode, Object userData ) : void
GetObjectValue ( object obj ) : object
InitializeArray ( Array array, IntPtr fldHandle ) : void
PrepareConstrainedRegions ( ) : void
PrepareConstrainedRegionsNoOP ( ) : void
PrepareDelegate ( Delegate d ) : void
PrepareMethod ( RuntimeMethodHandle method ) : void
PrepareMethod ( RuntimeMethodHandle method, RuntimeTypeHandle instantiation ) : void
ProbeForSufficientStack ( ) : void
RunClassConstructor ( IntPtr type ) : void
RunModuleConstructor ( IntPtr module ) : void
RuntimeHelpers ( ) : System.Runtime.ConstrainedExecution

Method Details

Equals() public static method

public static Equals ( object o1, object o2 ) : bool
o1 object
o2 object
return bool

GetHashCode() public static method

public static GetHashCode ( object o ) : int
o object
return int

InitializeArray() public static method

public static InitializeArray ( Array array, RuntimeFieldHandle fldHandle ) : void
array Array
fldHandle RuntimeFieldHandle
return void

RunClassConstructor() public static method

public static RunClassConstructor ( RuntimeTypeHandle type ) : void
type RuntimeTypeHandle
return void

RunModuleConstructor() public static method

public static RunModuleConstructor ( ModuleHandle module ) : void
module ModuleHandle
return void