Espacio de nombres · Larva HIR
System
Tipos
| class |
Activator
|
Objects of types known at run time. |
| class |
Any
|
|
| class |
ArgumentError
|
An argument out of what the method takes. |
| class |
ArgumentOutOfRangeError
|
An argument outside the values it may take. |
| class |
Array
|
|
| class |
Attribute
|
What custom attributes derive from: a class derived from it can be written in […] on a type or a member (with constant arguments), and reflection gives its objects (GetCustomAttributes). |
| struct |
Boolean
|
|
| class |
Boxed<T>
|
What an any holds a function value or a pointer in (neither is an object of its own): any a = f; makes one, (func<i32> : i32)a takes the value back out. |
| class |
Char
|
|
| class |
Console
|
|
| class |
DateFields
internal
|
What reading a date found. |
| struct |
DateTime
|
A moment on the calendar, from 0001-01-01 to 9999-12-31, to 100 ns, and whose clock it reads (Kind). |
| enum |
DateTimeKind
|
Whose clock a DateTime reads: not said, UTC's, or the local time zone's. |
| bitflags |
DateTimeStyles
|
How Parse reads a date. |
| class |
Dates
internal
|
The calendar's arithmetic (proleptic Gregorian, days since 0001-01-01). |
| enum |
DayOfWeek
|
The days of the week, from Sunday (0). |
| class |
DecimalDigits
internal
|
A number's exact decimal digits: value = 0.d1 d2 … × 10^Point (digits 0..9, no leading zero; Count 0: zero). |
| class |
Dictionary<K, V>
|
|
| struct |
DictionaryIterator<K, V>
|
The pairs of a dictionary, in the table's order. |
| class |
Environment
|
|
| class |
Exception
|
|
| class |
Exchange
|
|
| class |
Fail
|
Throws the library's errors from one place, so the methods that check stay small (and are inlined). |
| struct |
Float128
|
|
| struct |
Float16
|
|
| struct |
Float256
|
|
| struct |
Float32
|
|
| struct |
Float64
|
|
| class |
FormatError
|
Text that is not what it should be (a number to parse…). |
| class |
FriendOfAttribute
|
[FriendOf(T)] on a type makes it and T friends, from any assembly: each sees the other's friendly members. |
| class |
GC
|
The collector (System.GC): asking for a collection, and what it has done. |
| class |
HashSet<T>
|
A set of values by hash: Add, Contains, Remove, and loop (T item in set). |
| interface |
IComparable<TSelf>
|
Values with an order: -1, 0 or 1 as this value is smaller than, equal to or larger than other. |
| interface |
IHashable<TSelf>
|
Values that can be keys of a Dictionary or members of a HashSet: equal values (Equals) have the same Hash(). |
| interface |
INumber<TSelf>
|
A number: +, -, *, /, %, == and < on two of them (so != and > too), the constants Zero and One, and FromF64/ToF64. |
| interface |
ISignedNumber<TSelf>
|
A number with a sign: negation and minus one. |
| interface |
IToString
|
What has a text of its own: ToString(). |
| class |
IndexError
|
An index outside a collection. |
| struct |
Int128
|
|
| struct |
Int16
|
|
| struct |
Int256
|
|
| struct |
Int32
|
|
| struct |
Int64
|
|
| struct |
Int8
|
|
| class |
InvalidCastError
|
A value of the wrong type given to a member through reflection (or a target that is not the member's). |
| class |
InvalidOperationError
|
Something the object cannot do in its state (an empty list's last element…). |
| class |
Iterator<T>
|
The values of a function with yield, made one at a time: each Next() runs the function on to its next yield. |
| class |
KeyNotFoundError
|
A key a dictionary does not have. |
| struct |
KeyValuePair<K, V>
|
|
| class |
LinkedList<T>
|
A doubly linked list: adding and removing at either end, or next to a node, costs the same at any size. |
| struct |
LinkedListIterator<T>
|
The values of a linked list, from the first. |
| class |
LinkedListNode<T>
|
A node of a LinkedList: its value, and its neighbours (null at the ends, and once it has been removed). |
| class |
List<T>
|
|
| struct |
ListIterator<T>
|
The items of a list, in order. |
| class |
Lists
|
What List<T> offers when its items can be compared or tested for equality. |
| class |
LocalZone
internal
|
The local time zone's offset from UTC, asked of the system once per quarter hour of UTC (zones change their offset only on quarter hours). |
| class |
Math
|
|
| class |
MissingMemberError
|
A member asked for through reflection is not there (no such constructor or method). |
| class |
NotSupportedError
|
Something reflection cannot do (setting a field of a boxed value, a value that is not an object). |
| class |
Number
|
Numbers as text and back. |
| class |
NumberFormat
|
Numbers formatted as text (what the primitives' ToString(format) call). |
| class |
NumberText
internal
|
The text a format makes: bytes (ASCII), grown as needed, then one string of exactly them. |
| class |
OverflowError
|
A number too big (or too small) for its type, in checked arithmetic or a checked conversion. |
| class |
PriorityQueue<E, P>
|
Elements with priorities; Dequeue gives one with the smallest priority (among equals, in no set order). |
| class |
Queue<T>
|
First in, first out: Enqueue at the end, Dequeue from the front (a ring buffer). |
| class |
Random
|
Pseudo-random numbers. |
| class |
Records
|
|
| class |
ResourceData
|
Read-only bytes of a resource, read in place from the program's static data (no copy): indexed, iterated, sliced. |
| struct |
ResourceIterator
|
loop (u8 b in data) over a ResourceData. |
| class |
Resources
|
|
| class |
SortedDictionary<K, V>
|
A map from keys to values kept in key order: Set, Get, map[key], TryGet, ContainsKey, Remove, MinKey, MaxKey, and loop (KeyValuePair<K, V> pair in map) from the smallest key. |
| struct |
SortedIterator<K, V>
|
The pairs of a sorted map, from the smallest key: an in-order walk with its own stack. |
| class |
SortedSet<T>
|
A set kept in order: Add, Contains, Remove, Min, Max, and loop (T item in set) from the smallest. |
| struct |
SortedSetIterator<T>
|
|
| struct |
Span<T>
|
A run of an array's elements, seen in place: span[i] reads and writes the array, Slice makes a smaller view, nothing is copied. |
| struct |
SpanIterator<T>
|
The elements of a span, in order. |
| class |
Spans
|
What spans of comparable, equatable and number elements can do. |
| class |
Stack<T>
|
Last in, first out: Push and Pop at the top. |
| class |
String<T>
|
|
| class |
StringBuilder
|
|
| struct |
StringIterator<T>
|
The code units of a string, in order. |
| class |
TimeFormat
internal
|
Dates and lengths of time as text, and read back. |
| struct |
TimeSpan
|
A length of time (negative too): ticks of 100 ns. |
| class |
TimeText
internal
|
Text being written for a date or a length of time. |
| class |
Tuple<T1>
|
1 item in an object: Item1, fixed when it is made. |
| class |
Tuple<T1, T2>
|
2 items in an object: Item1…Item2, fixed when it is made. |
| class |
Tuple<T1, T2, T3>
|
3 items in an object: Item1…Item3, fixed when it is made. |
| class |
Tuple<T1, T2, T3, T4>
|
4 items in an object: Item1…Item4, fixed when it is made. |
| class |
Tuple<T1, T2, T3, T4, T5>
|
5 items in an object: Item1…Item5, fixed when it is made. |
| class |
Tuple<T1, T2, T3, T4, T5, T6>
|
6 items in an object: Item1…Item6, fixed when it is made. |
| class |
Tuple<T1, T2, T3, T4, T5, T6, T7>
|
7 items in an object: Item1…Item7, fixed when it is made. |
| class |
Tuple<T1, T2, T3, T4, T5, T6, T7, T8>
|
8 items in an object: Item1…Item8, fixed when it is made. |
| class |
Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9>
|
9 items in an object: Item1…Item9, fixed when it is made. |
| class |
Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
|
10 items in an object: Item1…Item10, fixed when it is made. |
| class |
Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
|
11 items in an object: Item1…Item11, fixed when it is made. |
| class |
Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
|
12 items in an object: Item1…Item12, fixed when it is made. |
| class |
Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>
|
13 items in an object: Item1…Item13, fixed when it is made. |
| class |
Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>
|
14 items in an object: Item1…Item14, fixed when it is made. |
| class |
Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>
|
15 items in an object: Item1…Item15, fixed when it is made. |
| class |
Tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>
|
16 items in an object: Item1…Item16, fixed when it is made. |
| class |
Type
|
A type at run time: typeof(T) and x.GetType() give the same object for the same type (compare with ==). |
| struct |
UInt128
|
|
| struct |
UInt16
|
|
| struct |
UInt256
|
|
| struct |
UInt32
|
|
| struct |
UInt64
|
|
| struct |
UInt8
|
|
| class |
Unicode
|
Code points to and from UTF-8, UTF-16 and UTF-32 units (the unit type says which). |
| struct |
ValueTuple<T1>
|
1 item in a value: Item1, which can be changed. |
| struct |
ValueTuple<T1, T2>
|
2 items in a value: Item1…Item2, which can be changed. |
| struct |
ValueTuple<T1, T2, T3>
|
3 items in a value: Item1…Item3, which can be changed. |
| struct |
ValueTuple<T1, T2, T3, T4>
|
4 items in a value: Item1…Item4, which can be changed. |
| struct |
ValueTuple<T1, T2, T3, T4, T5>
|
5 items in a value: Item1…Item5, which can be changed. |
| struct |
ValueTuple<T1, T2, T3, T4, T5, T6>
|
6 items in a value: Item1…Item6, which can be changed. |
| struct |
ValueTuple<T1, T2, T3, T4, T5, T6, T7>
|
7 items in a value: Item1…Item7, which can be changed. |
| struct |
ValueTuple<T1, T2, T3, T4, T5, T6, T7, T8>
|
8 items in a value: Item1…Item8, which can be changed. |
| struct |
ValueTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9>
|
9 items in a value: Item1…Item9, which can be changed. |
| struct |
ValueTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
|
10 items in a value: Item1…Item10, which can be changed. |
| struct |
ValueTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
|
11 items in a value: Item1…Item11, which can be changed. |
| struct |
ValueTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
|
12 items in a value: Item1…Item12, which can be changed. |
| struct |
ValueTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>
|
13 items in a value: Item1…Item13, which can be changed. |
| struct |
ValueTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>
|
14 items in a value: Item1…Item14, which can be changed. |
| struct |
ValueTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>
|
15 items in a value: Item1…Item15, which can be changed. |
| struct |
ValueTuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>
|
16 items in a value: Item1…Item16, which can be changed. |
Extensiones
internal class System.$ext.Enums.4<T>
Whether every bit of x is set ((flags & x) == x).
Whether any bit of x is set.
static method With(flags: T, x: T) -> T
#
The flags with the bits of x set.
static method Without(flags: T, x: T) -> T
#
The flags with the bits of x cleared.
static method Toggle(flags: T, x: T) -> T
#
The flags with the bits of x flipped.