Module
System
module System
Core values and contracts
The core module contains Object and Value, primitive values, immutable String text, Array, tuples, Optional and Result, and common equality, comparison and lifetime contracts. Console provides standard input and output; time-related values live in System.Time.
Start with objects and values, strings, arrays, outcomes or Console. The declarations below link to member contracts, including typed errors and execution-mode limitations.
Error handling explains recoverable failures, domain mapping and opt-in context diagnostics. Error API.
Modules
17 items
System.IO
Development asynchronous byte/text stream contracts. Existing file providers block internally and are scoped to one runtime invocation.
Types
78 items
AndroidApiLevel
Android SDK API level, distinct from kernel and product versions.
Architecture
Closed processor-architecture classification; OtherArchitecture retains unrecognized host names.
Array
Nongeneric array base. Typed array members are supplied by the generic Array type.
Array<T>
A fixed-length mutable sequence of elements, with iteration and element-wise callbacks.
AsyncDisposable
A resource whose cleanup may suspend. Await disposal before releasing its owner.
Attribute
Base class for nominal metadata attributes.
AttributeTargets
Identifies declaration categories to which an attribute may be applied.
AttributeUsageAttribute
Describes the declaration targets, repetition and inheritance policy of an attribute class.
Boolean
A Boolean true or false value.
BooleanParseError
Development standard Raven union for concrete parsing failures.
Byte
A unsigned 8-bit integer.
Character
An immutable Unicode extended grapheme cluster backed by preserved UTF-8 text.
Clonable
Development implementing-type cloning contract with no generic parameter.
Closable<E>
Closes a resource and reports an expected failure through Result.
ComparableTo<T>
Compares a value with another value of the declared type.
Console
Static access to standard input, output and error.
ConsoleKey
Logical terminal key identity; Unicode text without a named key uses None.
ConsoleKeyError
Failure to acquire or read a synchronous terminal key session.
ConsoleKeyInfo
A decoded key value. TextScalar is a Unicode scalar, not a grapheme or an allocated String.
ConsoleKeyReader
Exclusive synchronous key input. Use a disposal scope to restore terminal settings.
ConsoleReadError
Failure to read raw standard input.
ContextError<E>
Adds operation context while retaining the original typed failure. This is an ordinary reference object: diagnostic snapshots do not define value equality.
ConvertibleInto<T>
Explicitly converts this instance into the declared result type.
Decimal
An exact base-ten value with a 96-bit coefficient and scale from zero through 28. Arithmetic rounds discarded digits to even and faults on overflow or division by zero.
Disposable
A capability for explicitly releasing resources after use.
DistributionRelease
Optional distribution identity and release text; release need not be numeric.
Double
A double-precision floating-point value.
Enum
Nominal base for enum declarations; the base itself is a reference class.
Environment
Provides process environment and execution-platform information.
EnvironmentError
An expected failure to access the requested host environment information.
EquatableTo<T>
Defines typed equality without imposing nullable or optional operands.
Error
Opt-in diagnostics for recoverable failures. Result and propagation do not require this interface.
ErrorDiagnostics
Application-owned diagnostic policy. Configure at startup before concurrent work begins.
FlagsAttribute
Marks an enum whose constants can be combined as flags.
Formattable
Formats a value with a type-defined format and an explicit supported culture.
HashCode
A mutable value accumulator for combining integer and string components into an execution-local hash.
Index
A position measured from the start or end of an indexable value.
Int16
A signed 16-bit integer.
Int32
A signed 32-bit integer.
Int64
A signed 64-bit integer.
IntegerDivisionError
An expected integer division failure: division by zero or signed overflow.
IntPtr
A signed native-sized integer.
InvalidRangeError
An error indicating an invalid range or bound ordering.
KernelRelease
Exact kernel release text, including vendor suffixes; no numeric ordering.
Memory<T>
A persistent writable window retaining its managed backing owner. Copies share storage. Safe to store and carry across await; concurrent access is not synchronized.
Number
Basic arithmetic and ordering for numeric values. Parsing is a separate capability.
NumberParseError
Development standard Raven union for concrete parsing failures.
Object
Provides an abstract common object-reference base with runtime type inspection, display and bounded identity/equality behavior.
ObsoleteAttribute
Marks a declaration as obsolete without removing it from the runtime contract. Compilers report a warning by default, or an error when IsError is true.
OperatingSystem
Closed execution operating-system classification with OS-specific version data.
Optional
Contains the None and Some cases used to construct Optional values.
Optional<T>
A nominal union containing Some with a value or None without one.
OverflowError
An error indicating that the result cannot be represented in the requested numeric range.
ParamArrayAttribute
Marks the final array parameter as accepting a variable number of arguments.
ProductVersion
Numeric OS product version with major, minor and patch components.
Propagatable<TSelf, TOutput, TResidual>
The compiler-facing contract for separating successful output from a residual outcome during propagation.
Range
A half-open range: the start boundary is inclusive and the end is exclusive.
ReadOnlyMemory<T>
A persistent readonly window retaining its managed backing owner. Copies share storage. Safe to store and carry across await; concurrent access is not synchronized.
ReadOnlySlice<T>
A borrowed readonly view of contiguous managed memory. Readonly is shallow: writes through another alias remain visible. This ref struct cannot be stored.
Result
Contains the Ok and Failure cases used to construct Result values.
Result<T, E>
A nominal union containing a successful value or an expected error.
RuntimeTypeHandle
An opaque runtime identity for a represented type, used by compiler lowering and RuntimeContext.
SByte
A signed 8-bit integer.
Single
A single-precision floating-point value.
Slice<T>
A borrowed writable view of contiguous managed memory. Copies share storage. This ref struct cannot escape into heap storage or cross suspension.
String
Immutable Unicode text stored as UTF-8, with grapheme-based length and iteration.
StringComparer
Consistent string equality, hashing and ordering under a consistent Unicode text policy.
StringComparison
Explicit, locale-independent string comparison policies.
UInt16
A unsigned 16-bit integer.
UInt32
A unsigned 32-bit integer.
UInt64
A unsigned 64-bit integer.
UIntPtr
A unsigned native-sized integer.
Uri
An immutable validated ASCII URI reference.
UriError
Expected URI parsing or resolution failures.
Value
Represents one explicitly erased, exactly typed payload in the interpreter.
ValueType
Nominal base for value-type declarations; the base itself is a reference class.
Void
The inhabited unit value used when an operation has no meaningful result.
WindowsVersion
Windows major, minor, build and revision components; no cross-domain ordering.
Type extensions
7 items
ErrorExtensions for E
Explicit typed context attachment for authors who implement Error.
ErrorFormattingExtensions for Error
Human-readable diagnostics for explicit reporting boundaries.
OptionalNestedOperators for Optional<Optional<T>>
Operations for reducing nested optional values.
OptionalOperators for Optional<T>
Extension operations for transforming, inspecting and providing fallbacks for optional values.
ResultErrorContextExtensions for Result<T, E>
Context attachment only transforms Result's failure channel.
ResultOperators for Result<T, E>
Extension operations for transforming successful values, mapping errors and recovering from expected failures.
SliceOperations for Slice<T>
Explicit slicing operations for writable views.
Functions
1 item
Static member:
Panic(message: string) -> ()
No summary available.