Module
System.Runtime.CompilerServices
module System.Runtime.CompilerServices
Compiler and runtime integration
This module contains compiler-facing contracts such as union metadata, AsyncStateMachine and AsyncTaskMethodBuilder. They connect generated code to runtime services rather than forming a separate application programming model.
See async builders for supported lowering contracts and reference support for documentation-only projection details. Production libraries use native metadata and explicit runtime contracts. Internal runtime services are not public application APIs.
Types
10 items
AsyncStateMachine
Temporary compiler-generated async state contract.
AsyncTaskMethodBuilder<T>
Temporary reference-type builder sharing completion and suspended-state ownership.
CheckedStorage
Compiler storage operations with checked initialization.
InternalsVisibleToAttribute
Grants a named assembly access to this assembly's internal types and members. Grants are directional and non-transitive; private access is unchanged.
MethodImplAttribute
Controls method inlining or declares a runtime-supplied implementation. NoInlining takes precedence over AggressiveInlining; neither changes interpreter behavior.
MethodImplOptions
Supported runtime method implementation flags.
RuntimeHelpers
Library operations used by compiler lowering.
Self
Compiler marker for the native Self signature kind; not a concrete callback or payload type.
TaskAwaiter
Temporary continuation-registration contract used by the async compiler protocol.
UnionAttribute
A metadata marker identifying a nominal union declaration.