RuntimeHelpers.PrepareConstrainedRegionsNoOP Method

Definition

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

public:
 static void PrepareConstrainedRegionsNoOP();
[System.Security.SecurityCritical]
public static void PrepareConstrainedRegionsNoOP ();
static member PrepareConstrainedRegionsNoOP : unit -> unit
Public Shared Sub PrepareConstrainedRegionsNoOP ()
Attributes

Remarks

Compilers should not call this method directly. Instead, define a CER by calling the RuntimeHelpers.PrepareConstrainedRegions method.

Security

SecurityCriticalAttribute
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

Applies to