@tsonic/dotnet-types
Version:
TypeScript declarations and metadata for .NET 10.0 assemblies
654 lines (616 loc) • 71.9 kB
TypeScript
// Auto-generated by generatedts on 2025-11-02T09:57:26Z - do not edit by hand.
type int = number & { __brand: "int" };
type uint = number & { __brand: "uint" };
type byte = number & { __brand: "byte" };
type sbyte = number & { __brand: "sbyte" };
type short = number & { __brand: "short" };
type ushort = number & { __brand: "ushort" };
type long = number & { __brand: "long" };
type ulong = number & { __brand: "ulong" };
type float = number & { __brand: "float" };
type double = number & { __brand: "double" };
type decimal = number & { __brand: "decimal" };
declare namespace System.Collections.Frozen {
class AlternateLookup<TKey, TValue, TAlternateKey> {
readonly Dictionary: System.Collections.Frozen.FrozenDictionary<TKey, TValue>;
readonly Item: TValue;
ContainsKey(key: TAlternateKey): boolean;
TryGetValue(key: TAlternateKey, value: TValue): boolean;
}
class AlternateLookup<T, TAlternate> {
readonly Set: System.Collections.Frozen.FrozenSet<T>;
Contains(item: TAlternate): boolean;
TryGetValue(equalValue: TAlternate, actualValue: T): boolean;
}
class Enumerator<TKey, TValue> implements System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.IDisposable, System.Collections.IEnumerator {
readonly Current: System.Collections.Generic.KeyValuePair<TKey, TValue>;
MoveNext(): boolean;
}
class Enumerator<T> implements System.Collections.Generic.IEnumerator<T>, System.IDisposable, System.Collections.IEnumerator {
readonly Current: T;
MoveNext(): boolean;
}
class FrozenDictionary {
static Create<TKey, TValue>(source: System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<TKey, TValue>>): System.Collections.Frozen.FrozenDictionary<TKey, TValue>;
static Create<TKey, TValue>(comparer: System.Collections.Generic.IEqualityComparer<TKey>, source: System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<TKey, TValue>>): System.Collections.Frozen.FrozenDictionary<TKey, TValue>;
static ToFrozenDictionary<TKey, TValue>(source: ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>, comparer?: System.Collections.Generic.IEqualityComparer<TKey>): System.Collections.Frozen.FrozenDictionary<TKey, TValue>;
static ToFrozenDictionary<TSource, TKey>(source: ReadonlyArray<TSource>, keySelector: System.Func<TSource, TKey>, comparer?: System.Collections.Generic.IEqualityComparer<TKey>): System.Collections.Frozen.FrozenDictionary<TKey, TSource>;
static ToFrozenDictionary<TSource, TKey, TElement>(source: ReadonlyArray<TSource>, keySelector: System.Func<TSource, TKey>, elementSelector: System.Func<TSource, TElement>, comparer?: System.Collections.Generic.IEqualityComparer<TKey>): System.Collections.Frozen.FrozenDictionary<TKey, TElement>;
}
class FrozenDictionary<TKey, TValue> implements System.Collections.Generic.IDictionary<TKey, TValue>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>, ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>, ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.IDictionary, System.Collections.ICollection {
static readonly Empty: System.Collections.Frozen.FrozenDictionary<>;
readonly Comparer: System.Collections.Generic.IEqualityComparer<TKey>;
readonly Keys: System.Collections.Immutable.ImmutableArray<TKey>;
readonly Values: System.Collections.Immutable.ImmutableArray<TValue>;
readonly Count: int;
readonly Item: TValue;
CopyTo(destination: ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>, destinationIndex: int): void;
CopyTo(destination: System.Span<System.Collections.Generic.KeyValuePair<TKey, TValue>>): void;
GetValueRefOrNullRef(key: TKey): TValue;
ContainsKey(key: TKey): boolean;
TryGetValue(key: TKey, value: TValue): boolean;
GetEnumerator(): System.Collections.Frozen.Enumerator<TKey, TValue>;
GetAlternateLookup<TAlternateKey>(): System.Collections.Frozen.AlternateLookup<TKey, TValue, TAlternateKey>;
TryGetAlternateLookup<TAlternateKey>(lookup: System.Collections.Frozen.AlternateLookup<TKey, TValue, TAlternateKey>): boolean;
}
class FrozenSet {
static Create<T>(source: System.ReadOnlySpan<T>): System.Collections.Frozen.FrozenSet<T>;
static Create<T>(equalityComparer: System.Collections.Generic.IEqualityComparer<T>, source: System.ReadOnlySpan<T>): System.Collections.Frozen.FrozenSet<T>;
static ToFrozenSet<T>(source: ReadonlyArray<T>, comparer?: System.Collections.Generic.IEqualityComparer<T>): System.Collections.Frozen.FrozenSet<T>;
}
class FrozenSet<T> implements System.Collections.Generic.ISet<T>, System.Collections.Generic.ICollection<T>, ReadonlyArray<T>, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlySet<T>, ReadonlyArray<T>, System.Collections.ICollection {
static readonly Empty: System.Collections.Frozen.FrozenSet<>;
readonly Comparer: System.Collections.Generic.IEqualityComparer<T>;
readonly Items: System.Collections.Immutable.ImmutableArray<T>;
readonly Count: int;
CopyTo(destination: ReadonlyArray<T>, destinationIndex: int): void;
CopyTo(destination: System.Span<T>): void;
Contains(item: T): boolean;
TryGetValue(equalValue: T, actualValue: T): boolean;
GetEnumerator(): System.Collections.Frozen.Enumerator<T>;
IsProperSubsetOf(other: ReadonlyArray<T>): boolean;
IsProperSupersetOf(other: ReadonlyArray<T>): boolean;
IsSubsetOf(other: ReadonlyArray<T>): boolean;
IsSupersetOf(other: ReadonlyArray<T>): boolean;
Overlaps(other: ReadonlyArray<T>): boolean;
SetEquals(other: ReadonlyArray<T>): boolean;
GetAlternateLookup<TAlternate>(): System.Collections.Frozen.AlternateLookup<T, TAlternate>;
TryGetAlternateLookup<TAlternate>(lookup: System.Collections.Frozen.AlternateLookup<T, TAlternate>): boolean;
}
}
declare namespace System.Collections.Immutable {
class Builder<T> implements ReadonlyArray<T>, ReadonlyArray<T>, System.Collections.IEnumerable, System.Collections.Generic.ISet<T>, System.Collections.Generic.ICollection<T> {
readonly Count: int;
KeyComparer: System.Collections.Generic.IEqualityComparer<T>;
GetEnumerator(): System.Collections.Immutable.Enumerator<T>;
ToImmutable(): System.Collections.Immutable.ImmutableHashSet<T>;
TryGetValue(equalValue: T, actualValue: T): boolean;
Add(item: T): boolean;
Remove(item: T): boolean;
Contains(item: T): boolean;
Clear(): void;
ExceptWith(other: ReadonlyArray<T>): void;
IntersectWith(other: ReadonlyArray<T>): void;
IsProperSubsetOf(other: ReadonlyArray<T>): boolean;
IsProperSupersetOf(other: ReadonlyArray<T>): boolean;
IsSubsetOf(other: ReadonlyArray<T>): boolean;
IsSupersetOf(other: ReadonlyArray<T>): boolean;
Overlaps(other: ReadonlyArray<T>): boolean;
SetEquals(other: ReadonlyArray<T>): boolean;
SymmetricExceptWith(other: ReadonlyArray<T>): void;
UnionWith(other: ReadonlyArray<T>): void;
}
class Builder<T> implements System.Collections.Generic.IList<T>, System.Collections.Generic.ICollection<T>, ReadonlyArray<T>, System.Collections.IEnumerable, ReadonlyArray<T>, ReadonlyArray<T> {
Capacity: int;
Count: int;
Item: T;
ItemRef(index: int): T;
ToImmutable(): System.Collections.Immutable.ImmutableArray<T>;
MoveToImmutable(): System.Collections.Immutable.ImmutableArray<T>;
DrainToImmutable(): System.Collections.Immutable.ImmutableArray<T>;
Clear(): void;
Insert(index: int, item: T): void;
InsertRange(index: int, items: ReadonlyArray<T>): void;
InsertRange(index: int, items: System.Collections.Immutable.ImmutableArray<T>): void;
Add(item: T): void;
AddRange(items: ReadonlyArray<T>): void;
AddRange(...items: ReadonlyArray<T>): void;
AddRange<TDerived>(items: ReadonlyArray<TDerived>): void;
AddRange(items: ReadonlyArray<T>, length: int): void;
AddRange(items: System.Collections.Immutable.ImmutableArray<T>): void;
AddRange(items: System.Collections.Immutable.ImmutableArray<T>, length: int): void;
AddRange(items: System.ReadOnlySpan<T>): void;
AddRange<TDerived>(items: System.ReadOnlySpan<TDerived>): void;
AddRange<TDerived>(items: System.Collections.Immutable.ImmutableArray<TDerived>): void;
AddRange(items: System.Collections.Immutable.Builder<>): void;
AddRange<TDerived>(items: System.Collections.Immutable.Builder<TDerived>): void;
Remove(element: T): boolean;
Remove(element: T, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): boolean;
RemoveAll(match: System.Predicate<T>): void;
RemoveAt(index: int): void;
RemoveRange(index: int, length: int): void;
RemoveRange(items: ReadonlyArray<T>): void;
RemoveRange(items: ReadonlyArray<T>, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): void;
Replace(oldValue: T, newValue: T): void;
Replace(oldValue: T, newValue: T, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): void;
Contains(item: T): boolean;
ToArray(): ReadonlyArray<T>;
CopyTo(array: ReadonlyArray<T>, index: int): void;
CopyTo(destination: ReadonlyArray<T>): void;
CopyTo(sourceIndex: int, destination: ReadonlyArray<T>, destinationIndex: int, length: int): void;
IndexOf(item: T): int;
IndexOf(item: T, startIndex: int): int;
IndexOf(item: T, startIndex: int, count: int): int;
IndexOf(item: T, startIndex: int, count: int, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): int;
IndexOf(item: T, startIndex: int, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): int;
LastIndexOf(item: T): int;
LastIndexOf(item: T, startIndex: int): int;
LastIndexOf(item: T, startIndex: int, count: int): int;
LastIndexOf(item: T, startIndex: int, count: int, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): int;
Reverse(): void;
Sort(): void;
Sort(comparison: System.Comparison<T>): void;
Sort(comparer: System.Collections.Generic.IComparer<T>): void;
Sort(index: int, count: int, comparer: System.Collections.Generic.IComparer<T>): void;
CopyTo(destination: System.Span<T>): void;
GetEnumerator(): System.Collections.Generic.IEnumerator<T>;
}
class Builder<TKey, TValue> implements System.Collections.Generic.IDictionary<TKey, TValue>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>, ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>, ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.IDictionary, System.Collections.ICollection {
KeyComparer: System.Collections.Generic.IEqualityComparer<TKey>;
ValueComparer: System.Collections.Generic.IEqualityComparer<TValue>;
readonly Count: int;
readonly Keys: ReadonlyArray<TKey>;
readonly Values: ReadonlyArray<TValue>;
Item: TValue;
AddRange(items: ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>): void;
RemoveRange(keys: ReadonlyArray<TKey>): void;
GetEnumerator(): System.Collections.Immutable.Enumerator<TKey, TValue>;
GetValueOrDefault(key: TKey): TValue;
GetValueOrDefault(key: TKey, defaultValue: TValue): TValue;
ToImmutable(): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
Add(key: TKey, value: TValue): void;
ContainsKey(key: TKey): boolean;
ContainsValue(value: TValue): boolean;
Remove(key: TKey): boolean;
TryGetValue(key: TKey, value: TValue): boolean;
TryGetKey(equalKey: TKey, actualKey: TKey): boolean;
Add(item: System.Collections.Generic.KeyValuePair<TKey, TValue>): void;
Clear(): void;
Contains(item: System.Collections.Generic.KeyValuePair<TKey, TValue>): boolean;
Remove(item: System.Collections.Generic.KeyValuePair<TKey, TValue>): boolean;
}
class Builder<T> implements System.Collections.Generic.IList<T>, System.Collections.Generic.ICollection<T>, ReadonlyArray<T>, System.Collections.IEnumerable, System.Collections.IList, System.Collections.ICollection, ReadonlyArray<T>, ReadonlyArray<T> {
readonly Count: int;
Item: T;
ItemRef(index: int): T;
IndexOf(item: T): int;
Insert(index: int, item: T): void;
RemoveAt(index: int): void;
Add(item: T): void;
Clear(): void;
Contains(item: T): boolean;
Remove(item: T): boolean;
GetEnumerator(): System.Collections.Immutable.Enumerator<T>;
ForEach(action: System.Action<T>): void;
CopyTo(array: ReadonlyArray<T>): void;
CopyTo(array: ReadonlyArray<T>, arrayIndex: int): void;
CopyTo(index: int, array: ReadonlyArray<T>, arrayIndex: int, count: int): void;
GetRange(index: int, count: int): System.Collections.Immutable.ImmutableList<T>;
ConvertAll<TOutput>(converter: System.Func<T, TOutput>): System.Collections.Immutable.ImmutableList<TOutput>;
Exists(match: System.Predicate<T>): boolean;
Find(match: System.Predicate<T>): T;
FindAll(match: System.Predicate<T>): System.Collections.Immutable.ImmutableList<T>;
FindIndex(match: System.Predicate<T>): int;
FindIndex(startIndex: int, match: System.Predicate<T>): int;
FindIndex(startIndex: int, count: int, match: System.Predicate<T>): int;
FindLast(match: System.Predicate<T>): T;
FindLastIndex(match: System.Predicate<T>): int;
FindLastIndex(startIndex: int, match: System.Predicate<T>): int;
FindLastIndex(startIndex: int, count: int, match: System.Predicate<T>): int;
IndexOf(item: T, index: int): int;
IndexOf(item: T, index: int, count: int): int;
IndexOf(item: T, index: int, count: int, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): int;
LastIndexOf(item: T): int;
LastIndexOf(item: T, startIndex: int): int;
LastIndexOf(item: T, startIndex: int, count: int): int;
LastIndexOf(item: T, startIndex: int, count: int, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): int;
TrueForAll(match: System.Predicate<T>): boolean;
AddRange(items: ReadonlyArray<T>): void;
InsertRange(index: int, items: ReadonlyArray<T>): void;
RemoveAll(match: System.Predicate<T>): int;
Remove(item: T, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): boolean;
RemoveRange(index: int, count: int): void;
RemoveRange(items: ReadonlyArray<T>, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): void;
RemoveRange(items: ReadonlyArray<T>): void;
Replace(oldValue: T, newValue: T): void;
Replace(oldValue: T, newValue: T, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): void;
Reverse(): void;
Reverse(index: int, count: int): void;
Sort(): void;
Sort(comparison: System.Comparison<T>): void;
Sort(comparer: System.Collections.Generic.IComparer<T>): void;
Sort(index: int, count: int, comparer: System.Collections.Generic.IComparer<T>): void;
BinarySearch(item: T): int;
BinarySearch(item: T, comparer: System.Collections.Generic.IComparer<T>): int;
BinarySearch(index: int, count: int, item: T, comparer: System.Collections.Generic.IComparer<T>): int;
ToImmutable(): System.Collections.Immutable.ImmutableList<T>;
}
class Builder<TKey, TValue> implements System.Collections.Generic.IDictionary<TKey, TValue>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>, ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>, ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.IDictionary, System.Collections.ICollection {
readonly Keys: ReadonlyArray<TKey>;
readonly Values: ReadonlyArray<TValue>;
readonly Count: int;
Item: TValue;
KeyComparer: System.Collections.Generic.IComparer<TKey>;
ValueComparer: System.Collections.Generic.IEqualityComparer<TValue>;
ValueRef(key: TKey): TValue;
Add(key: TKey, value: TValue): void;
ContainsKey(key: TKey): boolean;
Remove(key: TKey): boolean;
TryGetValue(key: TKey, value: TValue): boolean;
TryGetKey(equalKey: TKey, actualKey: TKey): boolean;
Add(item: System.Collections.Generic.KeyValuePair<TKey, TValue>): void;
Clear(): void;
Contains(item: System.Collections.Generic.KeyValuePair<TKey, TValue>): boolean;
Remove(item: System.Collections.Generic.KeyValuePair<TKey, TValue>): boolean;
GetEnumerator(): System.Collections.Immutable.Enumerator<TKey, TValue>;
ContainsValue(value: TValue): boolean;
AddRange(items: ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>): void;
RemoveRange(keys: ReadonlyArray<TKey>): void;
GetValueOrDefault(key: TKey): TValue;
GetValueOrDefault(key: TKey, defaultValue: TValue): TValue;
ToImmutable(): System.Collections.Immutable.ImmutableSortedDictionary<TKey, TValue>;
}
class Builder<T> implements ReadonlyArray<T>, ReadonlyArray<T>, System.Collections.IEnumerable, System.Collections.Generic.ISet<T>, System.Collections.Generic.ICollection<T>, System.Collections.ICollection {
readonly Count: int;
readonly Item: T;
readonly Max: T;
readonly Min: T;
KeyComparer: System.Collections.Generic.IComparer<T>;
ItemRef(index: int): T;
Add(item: T): boolean;
ExceptWith(other: ReadonlyArray<T>): void;
IntersectWith(other: ReadonlyArray<T>): void;
IsProperSubsetOf(other: ReadonlyArray<T>): boolean;
IsProperSupersetOf(other: ReadonlyArray<T>): boolean;
IsSubsetOf(other: ReadonlyArray<T>): boolean;
IsSupersetOf(other: ReadonlyArray<T>): boolean;
Overlaps(other: ReadonlyArray<T>): boolean;
SetEquals(other: ReadonlyArray<T>): boolean;
SymmetricExceptWith(other: ReadonlyArray<T>): void;
UnionWith(other: ReadonlyArray<T>): void;
Clear(): void;
Contains(item: T): boolean;
Remove(item: T): boolean;
GetEnumerator(): System.Collections.Immutable.Enumerator<T>;
IndexOf(item: T): int;
Reverse(): ReadonlyArray<T>;
ToImmutable(): System.Collections.Immutable.ImmutableSortedSet<T>;
TryGetValue(equalValue: T, actualValue: T): boolean;
}
class Enumerator<T> implements System.Collections.Generic.IEnumerator<T>, System.IDisposable, System.Collections.IEnumerator {
readonly Current: T;
MoveNext(): boolean;
Reset(): void;
Dispose(): void;
}
class Enumerator<T> {
readonly Current: T;
MoveNext(): boolean;
}
class Enumerator<TKey, TValue> implements System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.IDisposable, System.Collections.IEnumerator {
readonly Current: System.Collections.Generic.KeyValuePair<TKey, TValue>;
MoveNext(): boolean;
Reset(): void;
Dispose(): void;
}
class Enumerator<T> implements System.Collections.Generic.IEnumerator<T>, System.IDisposable, System.Collections.IEnumerator {
readonly Current: T;
Dispose(): void;
MoveNext(): boolean;
Reset(): void;
}
class Enumerator<T> {
readonly Current: T;
MoveNext(): boolean;
}
class Enumerator<TKey, TValue> implements System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.IDisposable, System.Collections.IEnumerator {
readonly Current: System.Collections.Generic.KeyValuePair<TKey, TValue>;
Dispose(): void;
MoveNext(): boolean;
Reset(): void;
}
class Enumerator<T> implements System.Collections.Generic.IEnumerator<T>, System.IDisposable, System.Collections.IEnumerator {
readonly Current: T;
Dispose(): void;
MoveNext(): boolean;
Reset(): void;
}
class Enumerator<T> {
readonly Current: T;
MoveNext(): boolean;
}
interface IImmutableDictionary<TKey, TValue> extends System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>, ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>, ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.IEnumerable {
Clear(): System.Collections.Immutable.IImmutableDictionary<>;
Add(key: TKey, value: TValue): System.Collections.Immutable.IImmutableDictionary<>;
AddRange(pairs: ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>): System.Collections.Immutable.IImmutableDictionary<>;
SetItem(key: TKey, value: TValue): System.Collections.Immutable.IImmutableDictionary<>;
SetItems(items: ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>): System.Collections.Immutable.IImmutableDictionary<>;
RemoveRange(keys: ReadonlyArray<TKey>): System.Collections.Immutable.IImmutableDictionary<>;
Remove(key: TKey): System.Collections.Immutable.IImmutableDictionary<>;
Contains(pair: System.Collections.Generic.KeyValuePair<TKey, TValue>): boolean;
TryGetKey(equalKey: TKey, actualKey: TKey): boolean;
}
interface IImmutableList<T> extends ReadonlyArray<T>, ReadonlyArray<T>, ReadonlyArray<T>, System.Collections.IEnumerable {
Clear(): System.Collections.Immutable.IImmutableList<>;
IndexOf(item: T, index: int, count: int, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): int;
LastIndexOf(item: T, index: int, count: int, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): int;
Add(value: T): System.Collections.Immutable.IImmutableList<>;
AddRange(items: ReadonlyArray<T>): System.Collections.Immutable.IImmutableList<>;
Insert(index: int, element: T): System.Collections.Immutable.IImmutableList<>;
InsertRange(index: int, items: ReadonlyArray<T>): System.Collections.Immutable.IImmutableList<>;
Remove(value: T, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): System.Collections.Immutable.IImmutableList<>;
RemoveAll(match: System.Predicate<T>): System.Collections.Immutable.IImmutableList<>;
RemoveRange(items: ReadonlyArray<T>, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): System.Collections.Immutable.IImmutableList<>;
RemoveRange(index: int, count: int): System.Collections.Immutable.IImmutableList<>;
RemoveAt(index: int): System.Collections.Immutable.IImmutableList<>;
SetItem(index: int, value: T): System.Collections.Immutable.IImmutableList<>;
Replace(oldValue: T, newValue: T, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): System.Collections.Immutable.IImmutableList<>;
}
interface IImmutableQueue<T> extends ReadonlyArray<T>, System.Collections.IEnumerable {
readonly IsEmpty: boolean;
Clear(): System.Collections.Immutable.IImmutableQueue<>;
Peek(): T;
Enqueue(value: T): System.Collections.Immutable.IImmutableQueue<>;
Dequeue(): System.Collections.Immutable.IImmutableQueue<>;
}
interface IImmutableSet<T> extends ReadonlyArray<T>, ReadonlyArray<T>, System.Collections.IEnumerable {
Clear(): System.Collections.Immutable.IImmutableSet<>;
Contains(value: T): boolean;
Add(value: T): System.Collections.Immutable.IImmutableSet<>;
Remove(value: T): System.Collections.Immutable.IImmutableSet<>;
TryGetValue(equalValue: T, actualValue: T): boolean;
Intersect(other: ReadonlyArray<T>): System.Collections.Immutable.IImmutableSet<>;
Except(other: ReadonlyArray<T>): System.Collections.Immutable.IImmutableSet<>;
SymmetricExcept(other: ReadonlyArray<T>): System.Collections.Immutable.IImmutableSet<>;
Union(other: ReadonlyArray<T>): System.Collections.Immutable.IImmutableSet<>;
SetEquals(other: ReadonlyArray<T>): boolean;
IsProperSubsetOf(other: ReadonlyArray<T>): boolean;
IsProperSupersetOf(other: ReadonlyArray<T>): boolean;
IsSubsetOf(other: ReadonlyArray<T>): boolean;
IsSupersetOf(other: ReadonlyArray<T>): boolean;
Overlaps(other: ReadonlyArray<T>): boolean;
}
interface IImmutableStack<T> extends ReadonlyArray<T>, System.Collections.IEnumerable {
readonly IsEmpty: boolean;
Clear(): System.Collections.Immutable.IImmutableStack<>;
Push(value: T): System.Collections.Immutable.IImmutableStack<>;
Pop(): System.Collections.Immutable.IImmutableStack<>;
Peek(): T;
}
class ImmutableArray {
static Create<T>(): System.Collections.Immutable.ImmutableArray<T>;
static Create<T>(item: T): System.Collections.Immutable.ImmutableArray<T>;
static Create<T>(item1: T, item2: T): System.Collections.Immutable.ImmutableArray<T>;
static Create<T>(item1: T, item2: T, item3: T): System.Collections.Immutable.ImmutableArray<T>;
static Create<T>(item1: T, item2: T, item3: T, item4: T): System.Collections.Immutable.ImmutableArray<T>;
static Create<T>(items: System.ReadOnlySpan<T>): System.Collections.Immutable.ImmutableArray<T>;
static Create<T>(items: System.Span<T>): System.Collections.Immutable.ImmutableArray<T>;
static ToImmutableArray<T>(items: System.ReadOnlySpan<T>): System.Collections.Immutable.ImmutableArray<T>;
static ToImmutableArray<T>(items: System.Span<T>): System.Collections.Immutable.ImmutableArray<T>;
static CreateRange<T>(items: ReadonlyArray<T>): System.Collections.Immutable.ImmutableArray<T>;
static Create<T>(...items: ReadonlyArray<T>): System.Collections.Immutable.ImmutableArray<T>;
static Create<T>(items: ReadonlyArray<T>, start: int, length: int): System.Collections.Immutable.ImmutableArray<T>;
static Create<T>(items: System.Collections.Immutable.ImmutableArray<T>, start: int, length: int): System.Collections.Immutable.ImmutableArray<T>;
static CreateRange<TSource, TResult>(items: System.Collections.Immutable.ImmutableArray<TSource>, selector: System.Func<TSource, TResult>): System.Collections.Immutable.ImmutableArray<TResult>;
static CreateRange<TSource, TResult>(items: System.Collections.Immutable.ImmutableArray<TSource>, start: int, length: int, selector: System.Func<TSource, TResult>): System.Collections.Immutable.ImmutableArray<TResult>;
static CreateRange<TSource, TArg, TResult>(items: System.Collections.Immutable.ImmutableArray<TSource>, selector: System.Func<TSource, TArg, TResult>, arg: TArg): System.Collections.Immutable.ImmutableArray<TResult>;
static CreateRange<TSource, TArg, TResult>(items: System.Collections.Immutable.ImmutableArray<TSource>, start: int, length: int, selector: System.Func<TSource, TArg, TResult>, arg: TArg): System.Collections.Immutable.ImmutableArray<TResult>;
static CreateBuilder<T>(): System.Collections.Immutable.Builder<T>;
static CreateBuilder<T>(initialCapacity: int): System.Collections.Immutable.Builder<T>;
static ToImmutableArray<TSource>(items: ReadonlyArray<TSource>): System.Collections.Immutable.ImmutableArray<TSource>;
static ToImmutableArray<TSource>(builder: System.Collections.Immutable.Builder<TSource>): System.Collections.Immutable.ImmutableArray<TSource>;
static BinarySearch<T>(array: System.Collections.Immutable.ImmutableArray<T>, value: T): int;
static BinarySearch<T>(array: System.Collections.Immutable.ImmutableArray<T>, value: T, comparer: System.Collections.Generic.IComparer<T>): int;
static BinarySearch<T>(array: System.Collections.Immutable.ImmutableArray<T>, index: int, length: int, value: T): int;
static BinarySearch<T>(array: System.Collections.Immutable.ImmutableArray<T>, index: int, length: int, value: T, comparer: System.Collections.Generic.IComparer<T>): int;
}
class ImmutableArray<T> implements ReadonlyArray<T>, ReadonlyArray<T>, ReadonlyArray<T>, System.Collections.IEnumerable, System.Collections.Generic.IList<T>, System.Collections.Generic.ICollection<T>, System.IEquatable<System.Collections.Immutable.ImmutableArray<>>, System.Collections.IList, System.Collections.ICollection, System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.Collections.Immutable.IImmutableList<T> {
readonly Item: T;
readonly IsEmpty: boolean;
readonly Length: int;
readonly IsDefault: boolean;
readonly IsDefaultOrEmpty: boolean;
AsSpan(): System.ReadOnlySpan<T>;
AsMemory(): System.ReadOnlyMemory<T>;
IndexOf(item: T): int;
IndexOf(item: T, startIndex: int, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): int;
IndexOf(item: T, startIndex: int): int;
IndexOf(item: T, startIndex: int, count: int): int;
IndexOf(item: T, startIndex: int, count: int, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): int;
LastIndexOf(item: T): int;
LastIndexOf(item: T, startIndex: int): int;
LastIndexOf(item: T, startIndex: int, count: int): int;
LastIndexOf(item: T, startIndex: int, count: int, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): int;
Contains(item: T): boolean;
Contains(item: T, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): boolean;
Insert(index: int, item: T): System.Collections.Immutable.ImmutableArray<>;
InsertRange(index: int, items: ReadonlyArray<T>): System.Collections.Immutable.ImmutableArray<>;
InsertRange(index: int, items: System.Collections.Immutable.ImmutableArray<>): System.Collections.Immutable.ImmutableArray<>;
Add(item: T): System.Collections.Immutable.ImmutableArray<>;
AddRange(items: ReadonlyArray<T>): System.Collections.Immutable.ImmutableArray<>;
AddRange(items: ReadonlyArray<T>, length: int): System.Collections.Immutable.ImmutableArray<>;
AddRange<TDerived>(items: ReadonlyArray<TDerived>): System.Collections.Immutable.ImmutableArray<>;
AddRange(items: System.Collections.Immutable.ImmutableArray<>, length: int): System.Collections.Immutable.ImmutableArray<>;
AddRange<TDerived>(items: System.Collections.Immutable.ImmutableArray<TDerived>): System.Collections.Immutable.ImmutableArray<>;
AddRange(items: System.Collections.Immutable.ImmutableArray<>): System.Collections.Immutable.ImmutableArray<>;
SetItem(index: int, item: T): System.Collections.Immutable.ImmutableArray<>;
Replace(oldValue: T, newValue: T): System.Collections.Immutable.ImmutableArray<>;
Replace(oldValue: T, newValue: T, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): System.Collections.Immutable.ImmutableArray<>;
Remove(item: T): System.Collections.Immutable.ImmutableArray<>;
Remove(item: T, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): System.Collections.Immutable.ImmutableArray<>;
RemoveAt(index: int): System.Collections.Immutable.ImmutableArray<>;
RemoveRange(index: int, length: int): System.Collections.Immutable.ImmutableArray<>;
RemoveRange(items: ReadonlyArray<T>): System.Collections.Immutable.ImmutableArray<>;
RemoveRange(items: ReadonlyArray<T>, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): System.Collections.Immutable.ImmutableArray<>;
RemoveRange(items: System.Collections.Immutable.ImmutableArray<>): System.Collections.Immutable.ImmutableArray<>;
RemoveRange(items: System.Collections.Immutable.ImmutableArray<>, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): System.Collections.Immutable.ImmutableArray<>;
RemoveAll(match: System.Predicate<T>): System.Collections.Immutable.ImmutableArray<>;
Clear(): System.Collections.Immutable.ImmutableArray<>;
Sort(): System.Collections.Immutable.ImmutableArray<>;
Sort(comparison: System.Comparison<T>): System.Collections.Immutable.ImmutableArray<>;
Sort(comparer: System.Collections.Generic.IComparer<T>): System.Collections.Immutable.ImmutableArray<>;
Sort(index: int, count: int, comparer: System.Collections.Generic.IComparer<T>): System.Collections.Immutable.ImmutableArray<>;
OfType<TResult>(): ReadonlyArray<TResult>;
AddRange(items: System.ReadOnlySpan<T>): System.Collections.Immutable.ImmutableArray<>;
AddRange(...items: ReadonlyArray<T>): System.Collections.Immutable.ImmutableArray<>;
AsSpan(start: int, length: int): System.ReadOnlySpan<T>;
CopyTo(destination: System.Span<T>): void;
InsertRange(index: int, items: ReadonlyArray<T>): System.Collections.Immutable.ImmutableArray<>;
InsertRange(index: int, items: System.ReadOnlySpan<T>): System.Collections.Immutable.ImmutableArray<>;
RemoveRange(items: System.ReadOnlySpan<T>, equalityComparer?: System.Collections.Generic.IEqualityComparer<T>): System.Collections.Immutable.ImmutableArray<>;
RemoveRange(items: ReadonlyArray<T>, equalityComparer?: System.Collections.Generic.IEqualityComparer<T>): System.Collections.Immutable.ImmutableArray<>;
Slice(start: int, length: int): System.Collections.Immutable.ImmutableArray<>;
AsSpan(range: System.Range): System.ReadOnlySpan<T>;
ItemRef(index: int): T;
CopyTo(destination: ReadonlyArray<T>): void;
CopyTo(destination: ReadonlyArray<T>, destinationIndex: int): void;
CopyTo(sourceIndex: int, destination: ReadonlyArray<T>, destinationIndex: int, length: int): void;
ToBuilder(): System.Collections.Immutable.Builder<T>;
GetEnumerator(): System.Collections.Immutable.Enumerator<T>;
static CastUp<TDerived>(items: System.Collections.Immutable.ImmutableArray<TDerived>): System.Collections.Immutable.ImmutableArray<>;
CastArray<TOther>(): System.Collections.Immutable.ImmutableArray<TOther>;
As<TOther>(): System.Collections.Immutable.ImmutableArray<TOther>;
}
class ImmutableDictionary {
static Create<TKey, TValue>(): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static Create<TKey, TValue>(keyComparer: System.Collections.Generic.IEqualityComparer<TKey>): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static Create<TKey, TValue>(keyComparer: System.Collections.Generic.IEqualityComparer<TKey>, valueComparer: System.Collections.Generic.IEqualityComparer<TValue>): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static CreateRange<TKey, TValue>(items: ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static CreateRangeWithOverwrite<TKey, TValue>(items: System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<TKey, TValue>>): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static CreateRange<TKey, TValue>(keyComparer: System.Collections.Generic.IEqualityComparer<TKey>, items: ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static CreateRangeWithOverwrite<TKey, TValue>(keyComparer: System.Collections.Generic.IEqualityComparer<TKey>, items: System.ReadOnlySpan<System.Collections.Generic.KeyValuePair<TKey, TValue>>): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static CreateRange<TKey, TValue>(keyComparer: System.Collections.Generic.IEqualityComparer<TKey>, valueComparer: System.Collections.Generic.IEqualityComparer<TValue>, items: ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static CreateBuilder<TKey, TValue>(): System.Collections.Immutable.Builder<TKey, TValue>;
static CreateBuilder<TKey, TValue>(keyComparer: System.Collections.Generic.IEqualityComparer<TKey>): System.Collections.Immutable.Builder<TKey, TValue>;
static CreateBuilder<TKey, TValue>(keyComparer: System.Collections.Generic.IEqualityComparer<TKey>, valueComparer: System.Collections.Generic.IEqualityComparer<TValue>): System.Collections.Immutable.Builder<TKey, TValue>;
static ToImmutableDictionary<TSource, TKey, TValue>(source: ReadonlyArray<TSource>, keySelector: System.Func<TSource, TKey>, elementSelector: System.Func<TSource, TValue>, keyComparer: System.Collections.Generic.IEqualityComparer<TKey>, valueComparer: System.Collections.Generic.IEqualityComparer<TValue>): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static ToImmutableDictionary<TKey, TValue>(builder: System.Collections.Immutable.Builder<TKey, TValue>): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static ToImmutableDictionary<TSource, TKey, TValue>(source: ReadonlyArray<TSource>, keySelector: System.Func<TSource, TKey>, elementSelector: System.Func<TSource, TValue>, keyComparer: System.Collections.Generic.IEqualityComparer<TKey>): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static ToImmutableDictionary<TSource, TKey>(source: ReadonlyArray<TSource>, keySelector: System.Func<TSource, TKey>): System.Collections.Immutable.ImmutableDictionary<TKey, TSource>;
static ToImmutableDictionary<TSource, TKey>(source: ReadonlyArray<TSource>, keySelector: System.Func<TSource, TKey>, keyComparer: System.Collections.Generic.IEqualityComparer<TKey>): System.Collections.Immutable.ImmutableDictionary<TKey, TSource>;
static ToImmutableDictionary<TSource, TKey, TValue>(source: ReadonlyArray<TSource>, keySelector: System.Func<TSource, TKey>, elementSelector: System.Func<TSource, TValue>): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static ToImmutableDictionary<TKey, TValue>(source: ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>, keyComparer: System.Collections.Generic.IEqualityComparer<TKey>, valueComparer: System.Collections.Generic.IEqualityComparer<TValue>): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static ToImmutableDictionary<TKey, TValue>(source: ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>, keyComparer: System.Collections.Generic.IEqualityComparer<TKey>): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static ToImmutableDictionary<TKey, TValue>(source: ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>): System.Collections.Immutable.ImmutableDictionary<TKey, TValue>;
static Contains<TKey, TValue>(map: System.Collections.Immutable.IImmutableDictionary<TKey, TValue>, key: TKey, value: TValue): boolean;
static GetValueOrDefault<TKey, TValue>(dictionary: System.Collections.Immutable.IImmutableDictionary<TKey, TValue>, key: TKey): TValue;
static GetValueOrDefault<TKey, TValue>(dictionary: System.Collections.Immutable.IImmutableDictionary<TKey, TValue>, key: TKey, defaultValue: TValue): TValue;
}
class ImmutableDictionary<TKey, TValue> implements System.Collections.Immutable.IImmutableDictionary<TKey, TValue>, System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>, ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>, ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.IEnumerable, System.Collections.Generic.IDictionary<TKey, TValue>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.IDictionary, System.Collections.ICollection {
readonly Count: int;
readonly IsEmpty: boolean;
readonly KeyComparer: System.Collections.Generic.IEqualityComparer<TKey>;
readonly ValueComparer: System.Collections.Generic.IEqualityComparer<TValue>;
readonly Keys: ReadonlyArray<TKey>;
readonly Values: ReadonlyArray<TValue>;
readonly Item: TValue;
Clear(): System.Collections.Immutable.ImmutableDictionary<>;
ToBuilder(): System.Collections.Immutable.Builder<TKey, TValue>;
Add(key: TKey, value: TValue): System.Collections.Immutable.ImmutableDictionary<>;
AddRange(pairs: ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>): System.Collections.Immutable.ImmutableDictionary<>;
SetItem(key: TKey, value: TValue): System.Collections.Immutable.ImmutableDictionary<>;
SetItems(items: ReadonlyArray<System.Collections.Generic.KeyValuePair<TKey, TValue>>): System.Collections.Immutable.ImmutableDictionary<>;
Remove(key: TKey): System.Collections.Immutable.ImmutableDictionary<>;
RemoveRange(keys: ReadonlyArray<TKey>): System.Collections.Immutable.ImmutableDictionary<>;
ContainsKey(key: TKey): boolean;
Contains(pair: System.Collections.Generic.KeyValuePair<TKey, TValue>): boolean;
TryGetValue(key: TKey, value: TValue): boolean;
TryGetKey(equalKey: TKey, actualKey: TKey): boolean;
WithComparers(keyComparer: System.Collections.Generic.IEqualityComparer<TKey>, valueComparer: System.Collections.Generic.IEqualityComparer<TValue>): System.Collections.Immutable.ImmutableDictionary<>;
WithComparers(keyComparer: System.Collections.Generic.IEqualityComparer<TKey>): System.Collections.Immutable.ImmutableDictionary<>;
ContainsValue(value: TValue): boolean;
GetEnumerator(): System.Collections.Immutable.Enumerator<TKey, TValue>;
}
class ImmutableHashSet {
static Create<T>(): System.Collections.Immutable.ImmutableHashSet<T>;
static Create<T>(equalityComparer: System.Collections.Generic.IEqualityComparer<T>): System.Collections.Immutable.ImmutableHashSet<T>;
static Create<T>(item: T): System.Collections.Immutable.ImmutableHashSet<T>;
static Create<T>(equalityComparer: System.Collections.Generic.IEqualityComparer<T>, item: T): System.Collections.Immutable.ImmutableHashSet<T>;
static CreateRange<T>(items: ReadonlyArray<T>): System.Collections.Immutable.ImmutableHashSet<T>;
static CreateRange<T>(equalityComparer: System.Collections.Generic.IEqualityComparer<T>, items: ReadonlyArray<T>): System.Collections.Immutable.ImmutableHashSet<T>;
static Create<T>(...items: ReadonlyArray<T>): System.Collections.Immutable.ImmutableHashSet<T>;
static Create<T>(items: System.ReadOnlySpan<T>): System.Collections.Immutable.ImmutableHashSet<T>;
static Create<T>(equalityComparer: System.Collections.Generic.IEqualityComparer<T>, ...items: ReadonlyArray<T>): System.Collections.Immutable.ImmutableHashSet<T>;
static Create<T>(equalityComparer: System.Collections.Generic.IEqualityComparer<T>, items: System.ReadOnlySpan<T>): System.Collections.Immutable.ImmutableHashSet<T>;
static CreateBuilder<T>(): System.Collections.Immutable.Builder<T>;
static CreateBuilder<T>(equalityComparer: System.Collections.Generic.IEqualityComparer<T>): System.Collections.Immutable.Builder<T>;
static ToImmutableHashSet<TSource>(source: ReadonlyArray<TSource>, equalityComparer: System.Collections.Generic.IEqualityComparer<TSource>): System.Collections.Immutable.ImmutableHashSet<TSource>;
static ToImmutableHashSet<TSource>(builder: System.Collections.Immutable.Builder<TSource>): System.Collections.Immutable.ImmutableHashSet<TSource>;
static ToImmutableHashSet<TSource>(source: ReadonlyArray<TSource>): System.Collections.Immutable.ImmutableHashSet<TSource>;
}
class ImmutableHashSet<T> implements System.Collections.Immutable.IImmutableSet<T>, ReadonlyArray<T>, ReadonlyArray<T>, System.Collections.IEnumerable, System.Collections.Generic.ICollection<T>, System.Collections.Generic.ISet<T>, System.Collections.ICollection, System.Collections.Generic.IReadOnlySet<T> {
readonly Count: int;
readonly IsEmpty: boolean;
readonly KeyComparer: System.Collections.Generic.IEqualityComparer<T>;
Clear(): System.Collections.Immutable.ImmutableHashSet<>;
ToBuilder(): System.Collections.Immutable.Builder<T>;
Add(item: T): System.Collections.Immutable.ImmutableHashSet<>;
Remove(item: T): System.Collections.Immutable.ImmutableHashSet<>;
TryGetValue(equalValue: T, actualValue: T): boolean;
Union(other: ReadonlyArray<T>): System.Collections.Immutable.ImmutableHashSet<>;
Intersect(other: ReadonlyArray<T>): System.Collections.Immutable.ImmutableHashSet<>;
Except(other: ReadonlyArray<T>): System.Collections.Immutable.ImmutableHashSet<>;
SymmetricExcept(other: ReadonlyArray<T>): System.Collections.Immutable.ImmutableHashSet<>;
SetEquals(other: ReadonlyArray<T>): boolean;
IsProperSubsetOf(other: ReadonlyArray<T>): boolean;
IsProperSupersetOf(other: ReadonlyArray<T>): boolean;
IsSubsetOf(other: ReadonlyArray<T>): boolean;
IsSupersetOf(other: ReadonlyArray<T>): boolean;
Overlaps(other: ReadonlyArray<T>): boolean;
Contains(item: T): boolean;
WithComparer(equalityComparer: System.Collections.Generic.IEqualityComparer<T>): System.Collections.Immutable.ImmutableHashSet<>;
GetEnumerator(): System.Collections.Immutable.Enumerator<T>;
}
class ImmutableInterlocked {
static Update<T>(location: T, transformer: System.Func<T, T>): boolean;
static Update<T, TArg>(location: T, transformer: System.Func<T, TArg, T>, transformerArgument: TArg): boolean;
static Update<T>(location: System.Collections.Immutable.ImmutableArray<T>, transformer: System.Func<System.Collections.Immutable.ImmutableArray<T>, System.Collections.Immutable.ImmutableArray<T>>): boolean;
static Update<T, TArg>(location: System.Collections.Immutable.ImmutableArray<T>, transformer: System.Func<System.Collections.Immutable.ImmutableArray<T>, TArg, System.Collections.Immutable.ImmutableArray<T>>, transformerArgument: TArg): boolean;
static InterlockedExchange<T>(location: System.Collections.Immutable.ImmutableArray<T>, value: System.Collections.Immutable.ImmutableArray<T>): System.Collections.Immutable.ImmutableArray<T>;
static InterlockedCompareExchange<T>(location: System.Collections.Immutable.ImmutableArray<T>, value: System.Collections.Immutable.ImmutableArray<T>, comparand: System.Collections.Immutable.ImmutableArray<T>): System.Collections.Immutable.ImmutableArray<T>;
static InterlockedInitialize<T>(location: System.Collections.Immutable.ImmutableArray<T>, value: System.Collections.Immutable.ImmutableArray<T>): boolean;
static GetOrAdd<TKey, TValue, TArg>(location: System.Collections.Immutable.ImmutableDictionary<TKey, TValue>, key: TKey, valueFactory: System.Func<TKey, TArg, TValue>, factoryArgument: TArg): TValue;
static GetOrAdd<TKey, TValue>(location: System.Collections.Immutable.ImmutableDictionary<TKey, TValue>, key: TKey, valueFactory: System.Func<TKey, TValue>): TValue;
static GetOrAdd<TKey, TValue>(location: System.Collections.Immutable.ImmutableDictionary<TKey, TValue>, key: TKey, value: TValue): TValue;
static AddOrUpdate<TKey, TValue>(location: System.Collections.Immutable.ImmutableDictionary<TKey, TValue>, key: TKey, addValueFactory: System.Func<TKey, TValue>, updateValueFactory: System.Func<TKey, TValue, TValue>): TValue;
static AddOrUpdate<TKey, TValue>(location: System.Collections.Immutable.ImmutableDictionary<TKey, TValue>, key: TKey, addValue: TValue, updateValueFactory: System.Func<TKey, TValue, TValue>): TValue;
static TryAdd<TKey, TValue>(location: System.Collections.Immutable.ImmutableDictionary<TKey, TValue>, key: TKey, value: TValue): boolean;
static TryUpdate<TKey, TValue>(location: System.Collections.Immutable.ImmutableDictionary<TKey, TValue>, key: TKey, newValue: TValue, comparisonValue: TValue): boolean;
static TryRemove<TKey, TValue>(location: System.Collections.Immutable.ImmutableDictionary<TKey, TValue>, key: TKey, value: TValue): boolean;
static TryPop<T>(location: System.Collections.Immutable.ImmutableStack<T>, value: T): boolean;
static Push<T>(location: System.Collections.Immutable.ImmutableStack<T>, value: T): void;
static TryDequeue<T>(location: System.Collections.Immutable.ImmutableQueue<T>, value: T): boolean;
static Enqueue<T>(location: System.Collections.Immutable.ImmutableQueue<T>, value: T): void;
}
class ImmutableList {
static Create<T>(): System.Collections.Immutable.ImmutableList<T>;
static Create<T>(item: T): System.Collections.Immutable.ImmutableList<T>;
static CreateRange<T>(items: ReadonlyArray<T>): System.Collections.Immutable.ImmutableList<T>;
static Create<T>(...items: ReadonlyArray<T>): System.Collections.Immutable.ImmutableList<T>;
static Create<T>(items: System.ReadOnlySpan<T>): System.Collections.Immutable.ImmutableList<T>;
static CreateBuilder<T>(): System.Collections.Immutable.Builder<T>;
static ToImmutableList<TSource>(source: ReadonlyArray<TSource>): System.Collections.Immutable.ImmutableList<TSource>;
static ToImmutableList<TSource>(builder: System.Collections.Immutable.Builder<TSource>): System.Collections.Immutable.ImmutableList<TSource>;
static Replace<T>(list: System.Collections.Immutable.IImmutableList<T>, oldValue: T, newValue: T): System.Collections.Immutable.IImmutableList<T>;
static Remove<T>(list: System.Collections.Immutable.IImmutableList<T>, value: T): System.Collections.Immutable.IImmutableList<T>;
static RemoveRange<T>(list: System.Collections.Immutable.IImmutableList<T>, items: ReadonlyArray<T>): System.Collections.Immutable.IImmutableList<T>;
static IndexOf<T>(list: System.Collections.Immutable.IImmutableList<T>, item: T): int;
static IndexOf<T>(list: System.Collections.Immutable.IImmutableList<T>, item: T, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): int;
static IndexOf<T>(list: System.Collections.Immutable.IImmutableList<T>, item: T, startIndex: int): int;
static IndexOf<T>(list: System.Collections.Immutable.IImmutableList<T>, item: T, startIndex: int, count: int): int;
static LastIndexOf<T>(list: System.Collections.Immutable.IImmutableList<T>, item: T): int;
static LastIndexOf<T>(list: System.Collections.Immutable.IImmutableList<T>, item: T, equalityComparer: System.Collections.Generic.IEqualityComparer<T>): int;
static LastIndexOf<T>(list: System.Collections.Immutable.IImmutableList<T>, item: T, startIndex: int): int;
static LastIndexOf<T>(list: System.Collections.Immutable.IImmutableList<T>, item: T, startIndex: int, count: int): int;
}
class ImmutableList<T> implements System.Collect