RuntimeHelpers::PrepareConstrainedRegionsNoOP Method ()

 

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

Namespace:   System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

public:
[SecurityCriticalAttribute]
static void PrepareConstrainedRegionsNoOP()

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

SecurityCriticalAttribute

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

.NET Framework
Available since 2.0
Return to top
Show: