RuntimeHelpers.PrepareConstrainedRegionsNoOP Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

[SecurityCriticalAttribute]
public 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: