RuntimeHelpers.PrepareConstrainedRegionsNoOP Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
The Constrained Execution Region (CER) feature is not supported.
Designates a body of code as a constrained execution region (CER) without performing any probing.
public:
static void PrepareConstrainedRegionsNoOP();
[System.Obsolete("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static void PrepareConstrainedRegionsNoOP ();
[System.Security.SecurityCritical]
public static void PrepareConstrainedRegionsNoOP ();
public static void PrepareConstrainedRegionsNoOP ();
[<System.Obsolete("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member PrepareConstrainedRegionsNoOP : unit -> unit
[<System.Security.SecurityCritical>]
static member PrepareConstrainedRegionsNoOP : unit -> unit
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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.