@tsonic/dotnet 10.0.40 → 10.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/Internal/internal/index.d.ts +4 -3
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
  3. package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
  4. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
  5. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
  6. package/Microsoft.Win32/internal/index.d.ts +19 -18
  7. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
  8. package/README.md +76 -104
  9. package/System/bindings.json +1520 -2039
  10. package/System/internal/index.d.ts +1549 -1602
  11. package/System.Buffers/bindings.json +12 -3
  12. package/System.Buffers/internal/index.d.ts +12 -14
  13. package/System.Buffers.Binary/internal/index.d.ts +2 -4
  14. package/System.Buffers.Text/internal/index.d.ts +2 -4
  15. package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
  16. package/System.Collections/internal/index.d.ts +129 -131
  17. package/System.Collections.Concurrent/bindings.json +218 -218
  18. package/System.Collections.Concurrent/internal/index.d.ts +34 -36
  19. package/System.Collections.Frozen/bindings.json +413 -611
  20. package/System.Collections.Frozen/internal/index.d.ts +81 -97
  21. package/System.Collections.Frozen.d.ts +14 -2
  22. package/System.Collections.Generic/bindings.json +9420 -14155
  23. package/System.Collections.Generic/internal/index.d.ts +547 -758
  24. package/System.Collections.Generic.d.ts +1 -1
  25. package/System.Collections.Immutable/bindings.json +6000 -9080
  26. package/System.Collections.Immutable/internal/index.d.ts +265 -354
  27. package/System.Collections.Immutable.d.ts +49 -12
  28. package/System.Collections.ObjectModel/bindings.json +132 -654
  29. package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
  30. package/System.Collections.Specialized/bindings.json +0 -123
  31. package/System.Collections.Specialized/internal/index.d.ts +88 -101
  32. package/System.ComponentModel/bindings.json +163 -102
  33. package/System.ComponentModel/internal/index.d.ts +618 -608
  34. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
  35. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
  36. package/System.ComponentModel.Design/bindings.json +22 -292
  37. package/System.ComponentModel.Design/internal/index.d.ts +101 -109
  38. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
  39. package/System.ComponentModel.d.ts +1 -0
  40. package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
  41. package/System.Data/bindings.json +4 -1
  42. package/System.Data/internal/index.d.ts +351 -350
  43. package/System.Data.Common/internal/index.d.ts +151 -152
  44. package/System.Data.SqlTypes/internal/index.d.ts +68 -67
  45. package/System.Diagnostics/bindings.json +7044 -7249
  46. package/System.Diagnostics/internal/index.d.ts +446 -461
  47. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
  48. package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
  49. package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
  50. package/System.Diagnostics.Metrics.d.ts +1 -1
  51. package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
  52. package/System.Diagnostics.Tracing/bindings.json +81 -21
  53. package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
  54. package/System.Diagnostics.Tracing.d.ts +2 -1
  55. package/System.Drawing/internal/index.d.ts +76 -75
  56. package/System.Dynamic/internal/index.d.ts +55 -57
  57. package/System.Formats.Asn1/bindings.json +48 -69
  58. package/System.Formats.Asn1/internal/index.d.ts +21 -28
  59. package/System.Formats.Tar/internal/index.d.ts +8 -7
  60. package/System.Globalization/internal/index.d.ts +40 -42
  61. package/System.IO/internal/index.d.ts +187 -189
  62. package/System.IO.Compression/internal/index.d.ts +29 -31
  63. package/System.IO.Enumeration/bindings.json +250 -250
  64. package/System.IO.Enumeration/internal/index.d.ts +15 -17
  65. package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
  66. package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
  67. package/System.IO.Pipelines/internal/index.d.ts +15 -17
  68. package/System.IO.Pipes/internal/index.d.ts +8 -7
  69. package/System.Linq/internal/index.d.ts +223 -225
  70. package/System.Linq.Expressions/internal/index.d.ts +205 -207
  71. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
  72. package/System.Net/bindings.json +104 -104
  73. package/System.Net/internal/index.d.ts +279 -281
  74. package/System.Net.Cache/internal/index.d.ts +3 -2
  75. package/System.Net.Http/internal/index.d.ts +128 -130
  76. package/System.Net.Http.Headers/bindings.json +0 -204
  77. package/System.Net.Http.Headers/internal/index.d.ts +111 -127
  78. package/System.Net.Http.Json/internal/index.d.ts +67 -69
  79. package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
  80. package/System.Net.Mail/internal/index.d.ts +76 -78
  81. package/System.Net.Mime/internal/index.d.ts +11 -10
  82. package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
  83. package/System.Net.Quic/internal/index.d.ts +10 -9
  84. package/System.Net.Security/internal/index.d.ts +87 -89
  85. package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
  86. package/System.Net.Sockets/internal/index.d.ts +91 -93
  87. package/System.Net.WebSockets/internal/index.d.ts +47 -46
  88. package/System.Numerics/bindings.json +544 -116
  89. package/System.Numerics/internal/index.d.ts +110 -112
  90. package/System.Reflection/internal/index.d.ts +270 -272
  91. package/System.Reflection.Emit/internal/index.d.ts +114 -116
  92. package/System.Reflection.Metadata/bindings.json +166 -3169
  93. package/System.Reflection.Metadata/internal/index.d.ts +154 -361
  94. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
  95. package/System.Reflection.PortableExecutable/bindings.json +58 -0
  96. package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
  97. package/System.Reflection.PortableExecutable.d.ts +1 -0
  98. package/System.Resources/internal/index.d.ts +33 -35
  99. package/System.Runtime/internal/index.d.ts +12 -11
  100. package/System.Runtime.CompilerServices/bindings.json +519 -717
  101. package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
  102. package/System.Runtime.CompilerServices.d.ts +14 -4
  103. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
  104. package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
  105. package/System.Runtime.InteropServices/bindings.json +101 -101
  106. package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
  107. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
  108. package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
  109. package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
  110. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
  111. package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
  112. package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
  113. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
  114. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
  115. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
  116. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
  117. package/System.Runtime.InteropServices.Swift.d.ts +1 -1
  118. package/System.Runtime.Intrinsics/bindings.json +64 -16
  119. package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
  120. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
  121. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
  122. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
  123. package/System.Runtime.Loader/bindings.json +48 -69
  124. package/System.Runtime.Loader/internal/index.d.ts +30 -34
  125. package/System.Runtime.Remoting/internal/index.d.ts +5 -4
  126. package/System.Runtime.Serialization/internal/index.d.ts +175 -177
  127. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
  128. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
  129. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
  130. package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
  131. package/System.Runtime.Versioning/internal/index.d.ts +20 -19
  132. package/System.Security/internal/index.d.ts +64 -66
  133. package/System.Security.AccessControl/bindings.json +104 -0
  134. package/System.Security.AccessControl/internal/index.d.ts +59 -58
  135. package/System.Security.AccessControl.d.ts +6 -5
  136. package/System.Security.Authentication/internal/index.d.ts +7 -6
  137. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
  138. package/System.Security.Claims/internal/index.d.ts +45 -44
  139. package/System.Security.Cryptography/bindings.json +469 -469
  140. package/System.Security.Cryptography/internal/index.d.ts +269 -271
  141. package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
  142. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
  143. package/System.Security.Permissions/internal/index.d.ts +5 -4
  144. package/System.Security.Policy/internal/index.d.ts +11 -10
  145. package/System.Security.Principal/internal/index.d.ts +28 -27
  146. package/System.Text/bindings.json +1562 -1562
  147. package/System.Text/internal/index.d.ts +119 -121
  148. package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
  149. package/System.Text.Json/bindings.json +0 -290
  150. package/System.Text.Json/internal/index.d.ts +135 -153
  151. package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
  152. package/System.Text.Json.Schema/internal/index.d.ts +9 -8
  153. package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
  154. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
  155. package/System.Text.Json.Serialization.d.ts +1 -1
  156. package/System.Text.RegularExpressions/bindings.json +198 -402
  157. package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
  158. package/System.Text.Unicode/bindings.json +508 -508
  159. package/System.Text.Unicode/internal/index.d.ts +29 -31
  160. package/System.Threading/bindings.json +42 -42
  161. package/System.Threading/internal/index.d.ts +157 -159
  162. package/System.Threading.Channels/internal/index.d.ts +10 -12
  163. package/System.Threading.Tasks/bindings.json +4 -1
  164. package/System.Threading.Tasks/internal/index.d.ts +115 -114
  165. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
  166. package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
  167. package/System.Timers/internal/index.d.ts +8 -7
  168. package/System.Transactions/internal/index.d.ts +31 -30
  169. package/System.Web/internal/index.d.ts +32 -31
  170. package/System.Windows.Input/internal/index.d.ts +5 -4
  171. package/System.Windows.Markup/internal/index.d.ts +3 -2
  172. package/System.Xml/internal/index.d.ts +383 -385
  173. package/System.Xml.Linq/internal/index.d.ts +103 -102
  174. package/System.Xml.Resolvers/internal/index.d.ts +10 -9
  175. package/System.Xml.Schema/bindings.json +76 -76
  176. package/System.Xml.Schema/internal/index.d.ts +233 -232
  177. package/System.Xml.Serialization/bindings.json +193 -0
  178. package/System.Xml.Serialization/internal/index.d.ts +277 -245
  179. package/System.Xml.Serialization.d.ts +2 -0
  180. package/System.Xml.XPath/internal/index.d.ts +46 -45
  181. package/System.Xml.Xsl/internal/index.d.ts +53 -52
  182. package/System.Xml.Xsl.Runtime/bindings.json +4 -1
  183. package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
  184. package/System.d.ts +2 -2
  185. package/__internal/extensions/index.d.ts +517 -515
  186. package/families.json +63 -7
  187. package/package.json +2 -2
@@ -2,11 +2,9 @@
2
2
  // Namespace: System.Collections.Immutable
3
3
  // Assembly: System.Collections.Immutable
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import * as System_Collections_Generic_Internal from "../../System.Collections.Generic/internal/index.js";
@@ -48,15 +46,15 @@ export interface IImmutableList_1$instance<T> extends IReadOnlyList_1<T>, IEnume
48
46
  Clear(): IImmutableList_1<T>;
49
47
  GetEnumerator(): IEnumerator_1<T>;
50
48
  GetEnumerator(): IEnumerator;
51
- IndexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
49
+ IndexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T> | null): int;
52
50
  Insert(index: int, element: T): IImmutableList_1<T>;
53
51
  InsertRange(index: int, items: IEnumerable_1<T>): IImmutableList_1<T>;
54
- Remove(value: T, equalityComparer: IEqualityComparer_1<T>): IImmutableList_1<T>;
52
+ Remove(value: T, equalityComparer: IEqualityComparer_1<T> | null): IImmutableList_1<T>;
55
53
  RemoveAll(match: Predicate_1<T>): IImmutableList_1<T>;
56
54
  RemoveAt(index: int): IImmutableList_1<T>;
57
- RemoveRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T>): IImmutableList_1<T>;
55
+ RemoveRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T> | null): IImmutableList_1<T>;
58
56
  RemoveRange(index: int, count: int): IImmutableList_1<T>;
59
- Replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T>): IImmutableList_1<T>;
57
+ Replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T> | null): IImmutableList_1<T>;
60
58
  GetEnumerator2(): IEnumerator;
61
59
  }
62
60
 
@@ -147,20 +145,20 @@ export interface ImmutableArray_1$instance<T> {
147
145
  CastArray<TOther>(): ImmutableArray_1<TOther>;
148
146
  Clear(): ImmutableArray_1<T>;
149
147
  Contains(item: T): boolean;
150
- Contains(item: T, equalityComparer: IEqualityComparer_1<T>): boolean;
148
+ Contains(item: T, equalityComparer: IEqualityComparer_1<T> | null): boolean;
151
149
  CopyTo(destination: Span_1<T>): void;
152
150
  CopyTo(destination: T[]): void;
153
151
  CopyTo(destination: T[], destinationIndex: int): void;
154
152
  CopyTo(sourceIndex: int, destination: T[], destinationIndex: int, length: int): void;
155
- Equals(obj: unknown): boolean;
153
+ Equals(obj: JsValue | null): boolean;
156
154
  Equals(other: ImmutableArray_1<T>): boolean;
157
155
  GetEnumerator(): ImmutableArray_1_Enumerator<T>;
158
156
  GetHashCode(): int;
159
157
  IndexOf(item: T): int;
160
- IndexOf(item: T, startIndex: int, equalityComparer: IEqualityComparer_1<T>): int;
158
+ IndexOf(item: T, startIndex: int, equalityComparer: IEqualityComparer_1<T> | null): int;
161
159
  IndexOf(item: T, startIndex: int): int;
162
160
  IndexOf(item: T, startIndex: int, count: int): int;
163
- IndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
161
+ IndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T> | null): int;
164
162
  Insert(index: int, item: T): ImmutableArray_1<T>;
165
163
  InsertRange(index: int, items: IEnumerable_1<T>): ImmutableArray_1<T>;
166
164
  InsertRange(index: int, items: ImmutableArray_1<T>): ImmutableArray_1<T>;
@@ -170,34 +168,34 @@ export interface ImmutableArray_1$instance<T> {
170
168
  LastIndexOf(item: T): int;
171
169
  LastIndexOf(item: T, startIndex: int): int;
172
170
  LastIndexOf(item: T, startIndex: int, count: int): int;
173
- LastIndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
171
+ LastIndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T> | null): int;
174
172
  OfType<TResult>(): IEnumerable_1<TResult>;
175
173
  Remove(item: T): ImmutableArray_1<T>;
176
- Remove(item: T, equalityComparer: IEqualityComparer_1<T>): ImmutableArray_1<T>;
174
+ Remove(item: T, equalityComparer: IEqualityComparer_1<T> | null): ImmutableArray_1<T>;
177
175
  RemoveAll(match: Predicate_1<T>): ImmutableArray_1<T>;
178
176
  RemoveAt(index: int): ImmutableArray_1<T>;
179
177
  RemoveRange(index: int, length: int): ImmutableArray_1<T>;
180
178
  RemoveRange(items: IEnumerable_1<T>): ImmutableArray_1<T>;
181
- RemoveRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T>): ImmutableArray_1<T>;
179
+ RemoveRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T> | null): ImmutableArray_1<T>;
182
180
  RemoveRange(items: ImmutableArray_1<T>): ImmutableArray_1<T>;
183
- RemoveRange(items: ImmutableArray_1<T>, equalityComparer: IEqualityComparer_1<T>): ImmutableArray_1<T>;
184
- RemoveRange(items: ReadOnlySpan_1<T>, equalityComparer?: IEqualityComparer_1<T>): ImmutableArray_1<T>;
185
- RemoveRange(items: T[], equalityComparer?: IEqualityComparer_1<T>): ImmutableArray_1<T>;
181
+ RemoveRange(items: ImmutableArray_1<T>, equalityComparer: IEqualityComparer_1<T> | null): ImmutableArray_1<T>;
182
+ RemoveRange(items: ReadOnlySpan_1<T>, equalityComparer?: IEqualityComparer_1<T> | null): ImmutableArray_1<T>;
183
+ RemoveRange(items: T[], equalityComparer?: IEqualityComparer_1<T> | null): ImmutableArray_1<T>;
186
184
  Replace(oldValue: T, newValue: T): ImmutableArray_1<T>;
187
- Replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T>): ImmutableArray_1<T>;
185
+ Replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T> | null): ImmutableArray_1<T>;
188
186
  SetItem(index: int, item: T): ImmutableArray_1<T>;
189
187
  Slice(start: int, length: int): ImmutableArray_1<T>;
190
188
  Sort(): ImmutableArray_1<T>;
191
189
  Sort(comparison: Comparison_1<T>): ImmutableArray_1<T>;
192
- Sort(comparer: IComparer_1<T>): ImmutableArray_1<T>;
193
- Sort(index: int, count: int, comparer: IComparer_1<T>): ImmutableArray_1<T>;
190
+ Sort(comparer: IComparer_1<T> | null): ImmutableArray_1<T>;
191
+ Sort(index: int, count: int, comparer: IComparer_1<T> | null): ImmutableArray_1<T>;
194
192
  ToBuilder(): ImmutableArray_1_Builder<T>;
195
193
  }
196
194
 
197
195
 
198
196
  export const ImmutableArray_1: {
199
197
  new<T>(): ImmutableArray_1<T>;
200
- readonly Empty: unknown;
198
+ readonly Empty: <T>() => ImmutableArray_1<T>;
201
199
  CastUp<T, TDerived extends T>(items: ImmutableArray_1<TDerived>): ImmutableArray_1<T>;
202
200
  };
203
201
 
@@ -237,172 +235,7 @@ export const ImmutableArray_1_Enumerator: {
237
235
 
238
236
  export type ImmutableArray_1_Enumerator<T> = ImmutableArray_1_Enumerator$instance<T>;
239
237
 
240
- export interface ImmutableDictionary_2_Enumerator$instance<TKey, TValue> extends IDisposable {
241
- readonly __tsonic_type_System_Collections_Immutable_ImmutableDictionary_2_Enumerator: never;
242
-
243
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
244
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
245
- readonly __tsonic_iface_System_IDisposable: never;
246
-
247
- readonly Current: KeyValuePair_2<TKey, TValue>;
248
- Dispose(): void;
249
- MoveNext(): boolean;
250
- Reset(): void;
251
- }
252
-
253
-
254
- export const ImmutableDictionary_2_Enumerator: {
255
- new<TKey, TValue>(): ImmutableDictionary_2_Enumerator<TKey, TValue>;
256
- };
257
-
258
-
259
- export interface __ImmutableDictionary_2_Enumerator$views<TKey, TValue> {
260
- As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<KeyValuePair_2<TKey, TValue>>;
261
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
262
- }
263
-
264
- export type ImmutableDictionary_2_Enumerator<TKey, TValue> = ImmutableDictionary_2_Enumerator$instance<TKey, TValue> & __ImmutableDictionary_2_Enumerator$views<TKey, TValue>;
265
-
266
-
267
- export interface ImmutableHashSet_1_Enumerator$instance<T> extends IDisposable {
268
- readonly __tsonic_type_System_Collections_Immutable_ImmutableHashSet_1_Enumerator: never;
269
-
270
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
271
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
272
- readonly __tsonic_iface_System_IDisposable: never;
273
-
274
- readonly Current: T;
275
- Dispose(): void;
276
- MoveNext(): boolean;
277
- Reset(): void;
278
- }
279
-
280
-
281
- export const ImmutableHashSet_1_Enumerator: {
282
- new<T>(): ImmutableHashSet_1_Enumerator<T>;
283
- };
284
-
285
-
286
- export interface __ImmutableHashSet_1_Enumerator$views<T> {
287
- As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<T>;
288
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
289
- }
290
-
291
- export type ImmutableHashSet_1_Enumerator<T> = ImmutableHashSet_1_Enumerator$instance<T> & __ImmutableHashSet_1_Enumerator$views<T>;
292
-
293
-
294
- export interface ImmutableList_1_Enumerator$instance<T> extends IDisposable {
295
- readonly __tsonic_type_System_Collections_Immutable_ImmutableList_1_Enumerator: never;
296
-
297
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
298
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
299
- readonly __tsonic_iface_System_IDisposable: never;
300
-
301
- readonly Current: T;
302
- Dispose(): void;
303
- MoveNext(): boolean;
304
- Reset(): void;
305
- }
306
-
307
-
308
- export const ImmutableList_1_Enumerator: {
309
- new<T>(): ImmutableList_1_Enumerator<T>;
310
- };
311
-
312
-
313
- export interface __ImmutableList_1_Enumerator$views<T> {
314
- As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<T>;
315
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
316
- }
317
-
318
- export type ImmutableList_1_Enumerator<T> = ImmutableList_1_Enumerator$instance<T> & __ImmutableList_1_Enumerator$views<T>;
319
-
320
-
321
- export interface ImmutableQueue_1_Enumerator$instance<T> {
322
- readonly __tsonic_type_System_Collections_Immutable_ImmutableQueue_1_Enumerator: never;
323
-
324
- readonly Current: T;
325
- MoveNext(): boolean;
326
- }
327
-
328
-
329
- export const ImmutableQueue_1_Enumerator: {
330
- new<T>(): ImmutableQueue_1_Enumerator<T>;
331
- };
332
-
333
-
334
- export type ImmutableQueue_1_Enumerator<T> = ImmutableQueue_1_Enumerator$instance<T>;
335
-
336
- export interface ImmutableSortedDictionary_2_Enumerator$instance<TKey, TValue> extends IDisposable {
337
- readonly __tsonic_type_System_Collections_Immutable_ImmutableSortedDictionary_2_Enumerator: never;
338
-
339
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
340
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
341
- readonly __tsonic_iface_System_IDisposable: never;
342
-
343
- readonly Current: KeyValuePair_2<TKey, TValue>;
344
- Dispose(): void;
345
- MoveNext(): boolean;
346
- Reset(): void;
347
- }
348
-
349
-
350
- export const ImmutableSortedDictionary_2_Enumerator: {
351
- new<TKey, TValue>(): ImmutableSortedDictionary_2_Enumerator<TKey, TValue>;
352
- };
353
-
354
-
355
- export interface __ImmutableSortedDictionary_2_Enumerator$views<TKey, TValue> {
356
- As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<KeyValuePair_2<TKey, TValue>>;
357
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
358
- }
359
-
360
- export type ImmutableSortedDictionary_2_Enumerator<TKey, TValue> = ImmutableSortedDictionary_2_Enumerator$instance<TKey, TValue> & __ImmutableSortedDictionary_2_Enumerator$views<TKey, TValue>;
361
-
362
-
363
- export interface ImmutableSortedSet_1_Enumerator$instance<T> extends IDisposable {
364
- readonly __tsonic_type_System_Collections_Immutable_ImmutableSortedSet_1_Enumerator: never;
365
-
366
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
367
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
368
- readonly __tsonic_iface_System_IDisposable: never;
369
-
370
- readonly Current: T;
371
- Dispose(): void;
372
- MoveNext(): boolean;
373
- Reset(): void;
374
- }
375
-
376
-
377
- export const ImmutableSortedSet_1_Enumerator: {
378
- new<T>(): ImmutableSortedSet_1_Enumerator<T>;
379
- };
380
-
381
-
382
- export interface __ImmutableSortedSet_1_Enumerator$views<T> {
383
- As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<T>;
384
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
385
- }
386
-
387
- export type ImmutableSortedSet_1_Enumerator<T> = ImmutableSortedSet_1_Enumerator$instance<T> & __ImmutableSortedSet_1_Enumerator$views<T>;
388
-
389
-
390
- export interface ImmutableStack_1_Enumerator$instance<T> {
391
- readonly __tsonic_type_System_Collections_Immutable_ImmutableStack_1_Enumerator: never;
392
-
393
- readonly Current: T;
394
- MoveNext(): boolean;
395
- }
396
-
397
-
398
- export const ImmutableStack_1_Enumerator: {
399
- new<T>(): ImmutableStack_1_Enumerator<T>;
400
- };
401
-
402
-
403
- export type ImmutableStack_1_Enumerator<T> = ImmutableStack_1_Enumerator$instance<T>;
404
-
405
- export interface ImmutableArray_1_Builder$instance<T> {
238
+ export interface ImmutableArray_1_Builder$instance<T> extends IList_1<T>, ICollection_1<T>, IEnumerable_1<T>, IEnumerable, IReadOnlyList_1<T>, IReadOnlyCollection_1<T> {
406
239
  readonly __tsonic_type_System_Collections_Immutable_ImmutableArray_1_Builder: never;
407
240
 
408
241
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -417,7 +250,7 @@ export interface ImmutableArray_1_Builder$instance<T> {
417
250
  Add(item: T): void;
418
251
  AddRange(items: IEnumerable_1<T>): void;
419
252
  AddRange(...items: T[]): void;
420
- AddRange<TDerived extends T>(items: TDerived[]): void;
253
+ AddRange<TDerived>(items: TDerived[]): void;
421
254
  AddRange(items: T[], length: int): void;
422
255
  AddRange(items: ImmutableArray_1<T>): void;
423
256
  AddRange(items: ImmutableArray_1<T>, length: int): void;
@@ -434,8 +267,8 @@ export interface ImmutableArray_1_Builder$instance<T> {
434
267
  IndexOf(item: T): int;
435
268
  IndexOf(item: T, startIndex: int): int;
436
269
  IndexOf(item: T, startIndex: int, count: int): int;
437
- IndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
438
- IndexOf(item: T, startIndex: int, equalityComparer: IEqualityComparer_1<T>): int;
270
+ IndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T> | null): int;
271
+ IndexOf(item: T, startIndex: int, equalityComparer: IEqualityComparer_1<T> | null): int;
439
272
  Insert(index: int, item: T): void;
440
273
  InsertRange(index: int, items: IEnumerable_1<T>): void;
441
274
  InsertRange(index: int, items: ImmutableArray_1<T>): void;
@@ -443,22 +276,22 @@ export interface ImmutableArray_1_Builder$instance<T> {
443
276
  LastIndexOf(item: T): int;
444
277
  LastIndexOf(item: T, startIndex: int): int;
445
278
  LastIndexOf(item: T, startIndex: int, count: int): int;
446
- LastIndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
279
+ LastIndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T> | null): int;
447
280
  MoveToImmutable(): ImmutableArray_1<T>;
448
281
  Remove(element: T): boolean;
449
- Remove(element: T, equalityComparer: IEqualityComparer_1<T>): boolean;
282
+ Remove(element: T, equalityComparer: IEqualityComparer_1<T> | null): boolean;
450
283
  RemoveAll(match: Predicate_1<T>): void;
451
284
  RemoveAt(index: int): void;
452
285
  RemoveRange(index: int, length: int): void;
453
286
  RemoveRange(items: IEnumerable_1<T>): void;
454
- RemoveRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T>): void;
287
+ RemoveRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T> | null): void;
455
288
  Replace(oldValue: T, newValue: T): void;
456
- Replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T>): void;
289
+ Replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T> | null): void;
457
290
  Reverse(): void;
458
291
  Sort(): void;
459
292
  Sort(comparison: Comparison_1<T>): void;
460
- Sort(comparer: IComparer_1<T>): void;
461
- Sort(index: int, count: int, comparer: IComparer_1<T>): void;
293
+ Sort(comparer: IComparer_1<T> | null): void;
294
+ Sort(index: int, count: int, comparer: IComparer_1<T> | null): void;
462
295
  ToArray(): T[];
463
296
  ToImmutable(): ImmutableArray_1<T>;
464
297
  }
@@ -468,16 +301,7 @@ export const ImmutableArray_1_Builder: {
468
301
  };
469
302
 
470
303
 
471
- export interface __ImmutableArray_1_Builder$views<T> {
472
- As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<T>;
473
- As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<T>;
474
- As_IList_1(): System_Collections_Generic_Internal.IList_1$instance<T>;
475
- As_IReadOnlyCollection_1(): System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<T>;
476
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
477
- }
478
-
479
- export type ImmutableArray_1_Builder<T> = ImmutableArray_1_Builder$instance<T> & __ImmutableArray_1_Builder$views<T> & { [index: number]: T; };
480
-
304
+ export type ImmutableArray_1_Builder<T> = ImmutableArray_1_Builder$instance<T> & { [index: number]: T; };
481
305
 
482
306
  export interface ImmutableDictionary_2$instance<TKey, TValue> {
483
307
  readonly __tsonic_type_System_Collections_Immutable_ImmutableDictionary_2: never;
@@ -513,13 +337,13 @@ export interface ImmutableDictionary_2$instance<TKey, TValue> {
513
337
  ToBuilder(): ImmutableDictionary_2_Builder<TKey, TValue>;
514
338
  TryGetKey(equalKey: TKey, actualKey: TKey): boolean;
515
339
  TryGetValue(key: TKey, value: TValue): boolean;
516
- WithComparers(keyComparer: IEqualityComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>): ImmutableDictionary_2<TKey, TValue>;
517
- WithComparers(keyComparer: IEqualityComparer_1<TKey>): ImmutableDictionary_2<TKey, TValue>;
340
+ WithComparers(keyComparer: IEqualityComparer_1<TKey> | null, valueComparer: IEqualityComparer_1<TValue> | null): ImmutableDictionary_2<TKey, TValue>;
341
+ WithComparers(keyComparer: IEqualityComparer_1<TKey> | null): ImmutableDictionary_2<TKey, TValue>;
518
342
  }
519
343
 
520
344
 
521
345
  export const ImmutableDictionary_2: {
522
- readonly Empty: unknown;
346
+ readonly Empty: <TKey, TValue>() => ImmutableDictionary_2<TKey, TValue>;
523
347
  };
524
348
 
525
349
 
@@ -538,7 +362,28 @@ export interface __ImmutableDictionary_2$views<TKey, TValue> {
538
362
  export type ImmutableDictionary_2<TKey, TValue> = ImmutableDictionary_2$instance<TKey, TValue> & __ImmutableDictionary_2$views<TKey, TValue>;
539
363
 
540
364
 
541
- export interface ImmutableDictionary_2_Builder$instance<TKey, TValue> {
365
+ export interface ImmutableDictionary_2_Enumerator$instance<TKey, TValue> extends IEnumerator_1<KeyValuePair_2<TKey, TValue>>, IEnumerator, IDisposable {
366
+ readonly __tsonic_type_System_Collections_Immutable_ImmutableDictionary_2_Enumerator: never;
367
+
368
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
369
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
370
+ readonly __tsonic_iface_System_IDisposable: never;
371
+
372
+ readonly Current: KeyValuePair_2<TKey, TValue>;
373
+ Dispose(): void;
374
+ MoveNext(): boolean;
375
+ Reset(): void;
376
+ }
377
+
378
+
379
+ export const ImmutableDictionary_2_Enumerator: {
380
+ new<TKey, TValue>(): ImmutableDictionary_2_Enumerator<TKey, TValue>;
381
+ };
382
+
383
+
384
+ export type ImmutableDictionary_2_Enumerator<TKey, TValue> = ImmutableDictionary_2_Enumerator$instance<TKey, TValue>;
385
+
386
+ export interface ImmutableDictionary_2_Builder$instance<TKey, TValue> extends IDictionary_2<TKey, TValue>, ICollection_1<KeyValuePair_2<TKey, TValue>>, IEnumerable_1<KeyValuePair_2<TKey, TValue>>, IEnumerable, IReadOnlyDictionary_2<TKey, TValue>, IReadOnlyCollection_1<KeyValuePair_2<TKey, TValue>>, IDictionary, ICollection {
542
387
  readonly __tsonic_type_System_Collections_Immutable_ImmutableDictionary_2_Builder: never;
543
388
 
544
389
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -564,7 +409,7 @@ export interface ImmutableDictionary_2_Builder$instance<TKey, TValue> {
564
409
  ContainsKey(key: TKey): boolean;
565
410
  ContainsValue(value: TValue): boolean;
566
411
  GetEnumerator(): ImmutableDictionary_2_Enumerator<TKey, TValue>;
567
- GetValueOrDefault(key: TKey): TValue | undefined;
412
+ GetValueOrDefault(key: TKey): TValue | null;
568
413
  GetValueOrDefault(key: TKey, defaultValue: TValue): TValue;
569
414
  Remove(key: TKey): boolean;
570
415
  Remove(item: KeyValuePair_2<TKey, TValue>): boolean;
@@ -579,19 +424,7 @@ export const ImmutableDictionary_2_Builder: {
579
424
  };
580
425
 
581
426
 
582
- export interface __ImmutableDictionary_2_Builder$views<TKey, TValue> {
583
- As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<KeyValuePair_2<TKey, TValue>>;
584
- As_IDictionary_2(): System_Collections_Generic_Internal.IDictionary_2$instance<TKey, TValue>;
585
- As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<KeyValuePair_2<TKey, TValue>>;
586
- As_IReadOnlyCollection_1(): System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<KeyValuePair_2<TKey, TValue>>;
587
- As_IReadOnlyDictionary_2(): System_Collections_Generic_Internal.IReadOnlyDictionary_2$instance<TKey, TValue>;
588
- As_ICollection(): System_Collections_Internal.ICollection$instance;
589
- As_IDictionary(): System_Collections_Internal.IDictionary$instance;
590
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
591
- }
592
-
593
- export type ImmutableDictionary_2_Builder<TKey, TValue> = ImmutableDictionary_2_Builder$instance<TKey, TValue> & __ImmutableDictionary_2_Builder$views<TKey, TValue>;
594
-
427
+ export type ImmutableDictionary_2_Builder<TKey, TValue> = ImmutableDictionary_2_Builder$instance<TKey, TValue>;
595
428
 
596
429
  export interface ImmutableHashSet_1$instance<T> {
597
430
  readonly __tsonic_type_System_Collections_Immutable_ImmutableHashSet_1: never;
@@ -625,12 +458,12 @@ export interface ImmutableHashSet_1$instance<T> {
625
458
  ToBuilder(): ImmutableHashSet_1_Builder<T>;
626
459
  TryGetValue(equalValue: T, actualValue: T): boolean;
627
460
  Union(other: IEnumerable_1<T>): ImmutableHashSet_1<T>;
628
- WithComparer(equalityComparer: IEqualityComparer_1<T>): ImmutableHashSet_1<T>;
461
+ WithComparer(equalityComparer: IEqualityComparer_1<T> | null): ImmutableHashSet_1<T>;
629
462
  }
630
463
 
631
464
 
632
465
  export const ImmutableHashSet_1: {
633
- readonly Empty: unknown;
466
+ readonly Empty: <T>() => ImmutableHashSet_1<T>;
634
467
  };
635
468
 
636
469
 
@@ -648,7 +481,29 @@ export interface __ImmutableHashSet_1$views<T> {
648
481
  export type ImmutableHashSet_1<T> = ImmutableHashSet_1$instance<T> & __ImmutableHashSet_1$views<T>;
649
482
 
650
483
 
651
- export interface ImmutableHashSet_1_Builder$instance<T> {
484
+ export interface ImmutableHashSet_1_Enumerator$instance<T> extends IEnumerator_1<T>, IEnumerator, IDisposable {
485
+ readonly __tsonic_type_System_Collections_Immutable_ImmutableHashSet_1_Enumerator: never;
486
+
487
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
488
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
489
+ readonly __tsonic_iface_System_Collections_Immutable_IStrongEnumerator_1: never;
490
+ readonly __tsonic_iface_System_IDisposable: never;
491
+
492
+ readonly Current: T;
493
+ Dispose(): void;
494
+ MoveNext(): boolean;
495
+ Reset(): void;
496
+ }
497
+
498
+
499
+ export const ImmutableHashSet_1_Enumerator: {
500
+ new<T>(): ImmutableHashSet_1_Enumerator<T>;
501
+ };
502
+
503
+
504
+ export type ImmutableHashSet_1_Enumerator<T> = ImmutableHashSet_1_Enumerator$instance<T>;
505
+
506
+ export interface ImmutableHashSet_1_Builder$instance<T> extends IReadOnlyCollection_1<T>, IEnumerable_1<T>, IEnumerable, ISet_1<T>, ICollection_1<T> {
652
507
  readonly __tsonic_type_System_Collections_Immutable_ImmutableHashSet_1_Builder: never;
653
508
 
654
509
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -683,16 +538,7 @@ export const ImmutableHashSet_1_Builder: {
683
538
  };
684
539
 
685
540
 
686
- export interface __ImmutableHashSet_1_Builder$views<T> {
687
- As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<T>;
688
- As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<T>;
689
- As_IReadOnlyCollection_1(): System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<T>;
690
- As_ISet_1(): System_Collections_Generic_Internal.ISet_1$instance<T>;
691
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
692
- }
693
-
694
- export type ImmutableHashSet_1_Builder<T> = ImmutableHashSet_1_Builder$instance<T> & __ImmutableHashSet_1_Builder$views<T>;
695
-
541
+ export type ImmutableHashSet_1_Builder<T> = ImmutableHashSet_1_Builder$instance<T>;
696
542
 
697
543
  export interface ImmutableList_1$instance<T> {
698
544
  readonly __tsonic_type_System_Collections_Immutable_ImmutableList_1: never;
@@ -712,8 +558,8 @@ export interface ImmutableList_1$instance<T> {
712
558
  Add(value: T): ImmutableList_1<T>;
713
559
  AddRange(items: IEnumerable_1<T>): ImmutableList_1<T>;
714
560
  BinarySearch(item: T): int;
715
- BinarySearch(item: T, comparer: IComparer_1<T>): int;
716
- BinarySearch(index: int, count: int, item: T, comparer: IComparer_1<T>): int;
561
+ BinarySearch(item: T, comparer: IComparer_1<T> | null): int;
562
+ BinarySearch(index: int, count: int, item: T, comparer: IComparer_1<T> | null): int;
717
563
  Clear(): ImmutableList_1<T>;
718
564
  Contains(value: T): boolean;
719
565
  ConvertAll<TOutput>(converter: Func_2<T, TOutput>): ImmutableList_1<TOutput>;
@@ -721,47 +567,47 @@ export interface ImmutableList_1$instance<T> {
721
567
  CopyTo(array: T[], arrayIndex: int): void;
722
568
  CopyTo(index: int, array: T[], arrayIndex: int, count: int): void;
723
569
  Exists(match: Predicate_1<T>): boolean;
724
- Find(match: Predicate_1<T>): T | undefined;
570
+ Find(match: Predicate_1<T>): T | null;
725
571
  FindAll(match: Predicate_1<T>): ImmutableList_1<T>;
726
572
  FindIndex(match: Predicate_1<T>): int;
727
573
  FindIndex(startIndex: int, match: Predicate_1<T>): int;
728
574
  FindIndex(startIndex: int, count: int, match: Predicate_1<T>): int;
729
- FindLast(match: Predicate_1<T>): T | undefined;
575
+ FindLast(match: Predicate_1<T>): T | null;
730
576
  FindLastIndex(match: Predicate_1<T>): int;
731
577
  FindLastIndex(startIndex: int, match: Predicate_1<T>): int;
732
578
  FindLastIndex(startIndex: int, count: int, match: Predicate_1<T>): int;
733
579
  ForEach(action: Action_1<T>): void;
734
580
  GetEnumerator(): ImmutableList_1_Enumerator<T>;
735
581
  GetRange(index: int, count: int): ImmutableList_1<T>;
736
- IndexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
582
+ IndexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T> | null): int;
737
583
  IndexOf(value: T): int;
738
584
  Insert(index: int, item: T): ImmutableList_1<T>;
739
585
  InsertRange(index: int, items: IEnumerable_1<T>): ImmutableList_1<T>;
740
586
  ItemRef(index: int): T;
741
- LastIndexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
587
+ LastIndexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T> | null): int;
742
588
  Remove(value: T): ImmutableList_1<T>;
743
- Remove(value: T, equalityComparer: IEqualityComparer_1<T>): ImmutableList_1<T>;
589
+ Remove(value: T, equalityComparer: IEqualityComparer_1<T> | null): ImmutableList_1<T>;
744
590
  RemoveAll(match: Predicate_1<T>): ImmutableList_1<T>;
745
591
  RemoveAt(index: int): ImmutableList_1<T>;
746
592
  RemoveRange(index: int, count: int): ImmutableList_1<T>;
747
593
  RemoveRange(items: IEnumerable_1<T>): ImmutableList_1<T>;
748
- RemoveRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T>): ImmutableList_1<T>;
594
+ RemoveRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T> | null): ImmutableList_1<T>;
749
595
  Replace(oldValue: T, newValue: T): ImmutableList_1<T>;
750
- Replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T>): ImmutableList_1<T>;
596
+ Replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T> | null): ImmutableList_1<T>;
751
597
  Reverse(): ImmutableList_1<T>;
752
598
  Reverse(index: int, count: int): ImmutableList_1<T>;
753
599
  SetItem(index: int, value: T): ImmutableList_1<T>;
754
600
  Sort(): ImmutableList_1<T>;
755
601
  Sort(comparison: Comparison_1<T>): ImmutableList_1<T>;
756
- Sort(comparer: IComparer_1<T>): ImmutableList_1<T>;
757
- Sort(index: int, count: int, comparer: IComparer_1<T>): ImmutableList_1<T>;
602
+ Sort(comparer: IComparer_1<T> | null): ImmutableList_1<T>;
603
+ Sort(index: int, count: int, comparer: IComparer_1<T> | null): ImmutableList_1<T>;
758
604
  ToBuilder(): ImmutableList_1_Builder<T>;
759
605
  TrueForAll(match: Predicate_1<T>): boolean;
760
606
  }
761
607
 
762
608
 
763
609
  export const ImmutableList_1: {
764
- readonly Empty: unknown;
610
+ readonly Empty: <T>() => ImmutableList_1<T>;
765
611
  };
766
612
 
767
613
 
@@ -779,7 +625,30 @@ export interface __ImmutableList_1$views<T> {
779
625
  export type ImmutableList_1<T> = ImmutableList_1$instance<T> & __ImmutableList_1$views<T> & { readonly [index: number]: T; };
780
626
 
781
627
 
782
- export interface ImmutableList_1_Builder$instance<T> {
628
+ export interface ImmutableList_1_Enumerator$instance<T> extends IEnumerator_1<T>, IEnumerator, IDisposable {
629
+ readonly __tsonic_type_System_Collections_Immutable_ImmutableList_1_Enumerator: never;
630
+
631
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
632
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
633
+ readonly __tsonic_iface_System_Collections_Immutable_ISecurePooledObjectUser: never;
634
+ readonly __tsonic_iface_System_Collections_Immutable_IStrongEnumerator_1: never;
635
+ readonly __tsonic_iface_System_IDisposable: never;
636
+
637
+ readonly Current: T;
638
+ Dispose(): void;
639
+ MoveNext(): boolean;
640
+ Reset(): void;
641
+ }
642
+
643
+
644
+ export const ImmutableList_1_Enumerator: {
645
+ new<T>(): ImmutableList_1_Enumerator<T>;
646
+ };
647
+
648
+
649
+ export type ImmutableList_1_Enumerator<T> = ImmutableList_1_Enumerator$instance<T>;
650
+
651
+ export interface ImmutableList_1_Builder$instance<T> extends IList_1<T>, ICollection_1<T>, IEnumerable_1<T>, IEnumerable, IList, ICollection, IReadOnlyList_1<T>, IReadOnlyCollection_1<T> {
783
652
  readonly __tsonic_type_System_Collections_Immutable_ImmutableList_1_Builder: never;
784
653
 
785
654
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -795,8 +664,8 @@ export interface ImmutableList_1_Builder$instance<T> {
795
664
  Add(item: T): void;
796
665
  AddRange(items: IEnumerable_1<T>): void;
797
666
  BinarySearch(item: T): int;
798
- BinarySearch(item: T, comparer: IComparer_1<T>): int;
799
- BinarySearch(index: int, count: int, item: T, comparer: IComparer_1<T>): int;
667
+ BinarySearch(item: T, comparer: IComparer_1<T> | null): int;
668
+ BinarySearch(index: int, count: int, item: T, comparer: IComparer_1<T> | null): int;
800
669
  Clear(): void;
801
670
  Contains(item: T): boolean;
802
671
  ConvertAll<TOutput>(converter: Func_2<T, TOutput>): ImmutableList_1<TOutput>;
@@ -804,12 +673,12 @@ export interface ImmutableList_1_Builder$instance<T> {
804
673
  CopyTo(array: T[], arrayIndex: int): void;
805
674
  CopyTo(index: int, array: T[], arrayIndex: int, count: int): void;
806
675
  Exists(match: Predicate_1<T>): boolean;
807
- Find(match: Predicate_1<T>): T | undefined;
676
+ Find(match: Predicate_1<T>): T | null;
808
677
  FindAll(match: Predicate_1<T>): ImmutableList_1<T>;
809
678
  FindIndex(match: Predicate_1<T>): int;
810
679
  FindIndex(startIndex: int, match: Predicate_1<T>): int;
811
680
  FindIndex(startIndex: int, count: int, match: Predicate_1<T>): int;
812
- FindLast(match: Predicate_1<T>): T | undefined;
681
+ FindLast(match: Predicate_1<T>): T | null;
813
682
  FindLastIndex(match: Predicate_1<T>): int;
814
683
  FindLastIndex(startIndex: int, match: Predicate_1<T>): int;
815
684
  FindLastIndex(startIndex: int, count: int, match: Predicate_1<T>): int;
@@ -819,29 +688,29 @@ export interface ImmutableList_1_Builder$instance<T> {
819
688
  IndexOf(item: T): int;
820
689
  IndexOf(item: T, index: int): int;
821
690
  IndexOf(item: T, index: int, count: int): int;
822
- IndexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
691
+ IndexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T> | null): int;
823
692
  Insert(index: int, item: T): void;
824
693
  InsertRange(index: int, items: IEnumerable_1<T>): void;
825
694
  ItemRef(index: int): T;
826
695
  LastIndexOf(item: T): int;
827
696
  LastIndexOf(item: T, startIndex: int): int;
828
697
  LastIndexOf(item: T, startIndex: int, count: int): int;
829
- LastIndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
698
+ LastIndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T> | null): int;
830
699
  Remove(item: T): boolean;
831
- Remove(item: T, equalityComparer: IEqualityComparer_1<T>): boolean;
700
+ Remove(item: T, equalityComparer: IEqualityComparer_1<T> | null): boolean;
832
701
  RemoveAll(match: Predicate_1<T>): int;
833
702
  RemoveAt(index: int): void;
834
703
  RemoveRange(index: int, count: int): void;
835
- RemoveRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T>): void;
704
+ RemoveRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T> | null): void;
836
705
  RemoveRange(items: IEnumerable_1<T>): void;
837
706
  Replace(oldValue: T, newValue: T): void;
838
- Replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T>): void;
707
+ Replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T> | null): void;
839
708
  Reverse(): void;
840
709
  Reverse(index: int, count: int): void;
841
710
  Sort(): void;
842
711
  Sort(comparison: Comparison_1<T>): void;
843
- Sort(comparer: IComparer_1<T>): void;
844
- Sort(index: int, count: int, comparer: IComparer_1<T>): void;
712
+ Sort(comparer: IComparer_1<T> | null): void;
713
+ Sort(index: int, count: int, comparer: IComparer_1<T> | null): void;
845
714
  ToImmutable(): ImmutableList_1<T>;
846
715
  TrueForAll(match: Predicate_1<T>): boolean;
847
716
  }
@@ -851,18 +720,7 @@ export const ImmutableList_1_Builder: {
851
720
  };
852
721
 
853
722
 
854
- export interface __ImmutableList_1_Builder$views<T> {
855
- As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<T>;
856
- As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<T>;
857
- As_IList_1(): System_Collections_Generic_Internal.IList_1$instance<T>;
858
- As_IReadOnlyCollection_1(): System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<T>;
859
- As_ICollection(): System_Collections_Internal.ICollection$instance;
860
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
861
- As_IList(): System_Collections_Internal.IList$instance;
862
- }
863
-
864
- export type ImmutableList_1_Builder<T> = ImmutableList_1_Builder$instance<T> & __ImmutableList_1_Builder$views<T> & { [index: number]: T; };
865
-
723
+ export type ImmutableList_1_Builder<T> = ImmutableList_1_Builder$instance<T> & { [index: number]: T; };
866
724
 
867
725
  export interface ImmutableQueue_1$instance<T> {
868
726
  readonly __tsonic_type_System_Collections_Immutable_ImmutableQueue_1: never;
@@ -883,7 +741,7 @@ export interface ImmutableQueue_1$instance<T> {
883
741
 
884
742
 
885
743
  export const ImmutableQueue_1: {
886
- readonly Empty: unknown;
744
+ readonly Empty: <T>() => ImmutableQueue_1<T>;
887
745
  };
888
746
 
889
747
 
@@ -896,6 +754,21 @@ export interface __ImmutableQueue_1$views<T> {
896
754
  export type ImmutableQueue_1<T> = ImmutableQueue_1$instance<T> & __ImmutableQueue_1$views<T>;
897
755
 
898
756
 
757
+ export interface ImmutableQueue_1_Enumerator$instance<T> {
758
+ readonly __tsonic_type_System_Collections_Immutable_ImmutableQueue_1_Enumerator: never;
759
+
760
+ readonly Current: T;
761
+ MoveNext(): boolean;
762
+ }
763
+
764
+
765
+ export const ImmutableQueue_1_Enumerator: {
766
+ new<T>(): ImmutableQueue_1_Enumerator<T>;
767
+ };
768
+
769
+
770
+ export type ImmutableQueue_1_Enumerator<T> = ImmutableQueue_1_Enumerator$instance<T>;
771
+
899
772
  export interface ImmutableSortedDictionary_2$instance<TKey, TValue> {
900
773
  readonly __tsonic_type_System_Collections_Immutable_ImmutableSortedDictionary_2: never;
901
774
 
@@ -931,13 +804,13 @@ export interface ImmutableSortedDictionary_2$instance<TKey, TValue> {
931
804
  TryGetKey(equalKey: TKey, actualKey: TKey): boolean;
932
805
  TryGetValue(key: TKey, value: TValue): boolean;
933
806
  ValueRef(key: TKey): TValue;
934
- WithComparers(keyComparer: IComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>): ImmutableSortedDictionary_2<TKey, TValue>;
935
- WithComparers(keyComparer: IComparer_1<TKey>): ImmutableSortedDictionary_2<TKey, TValue>;
807
+ WithComparers(keyComparer: IComparer_1<TKey> | null, valueComparer: IEqualityComparer_1<TValue> | null): ImmutableSortedDictionary_2<TKey, TValue>;
808
+ WithComparers(keyComparer: IComparer_1<TKey> | null): ImmutableSortedDictionary_2<TKey, TValue>;
936
809
  }
937
810
 
938
811
 
939
812
  export const ImmutableSortedDictionary_2: {
940
- readonly Empty: unknown;
813
+ readonly Empty: <TKey, TValue>() => ImmutableSortedDictionary_2<TKey, TValue>;
941
814
  };
942
815
 
943
816
 
@@ -956,7 +829,29 @@ export interface __ImmutableSortedDictionary_2$views<TKey, TValue> {
956
829
  export type ImmutableSortedDictionary_2<TKey, TValue> = ImmutableSortedDictionary_2$instance<TKey, TValue> & __ImmutableSortedDictionary_2$views<TKey, TValue>;
957
830
 
958
831
 
959
- export interface ImmutableSortedDictionary_2_Builder$instance<TKey, TValue> {
832
+ export interface ImmutableSortedDictionary_2_Enumerator$instance<TKey, TValue> extends IEnumerator_1<KeyValuePair_2<TKey, TValue>>, IEnumerator, IDisposable {
833
+ readonly __tsonic_type_System_Collections_Immutable_ImmutableSortedDictionary_2_Enumerator: never;
834
+
835
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
836
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
837
+ readonly __tsonic_iface_System_Collections_Immutable_ISecurePooledObjectUser: never;
838
+ readonly __tsonic_iface_System_IDisposable: never;
839
+
840
+ readonly Current: KeyValuePair_2<TKey, TValue>;
841
+ Dispose(): void;
842
+ MoveNext(): boolean;
843
+ Reset(): void;
844
+ }
845
+
846
+
847
+ export const ImmutableSortedDictionary_2_Enumerator: {
848
+ new<TKey, TValue>(): ImmutableSortedDictionary_2_Enumerator<TKey, TValue>;
849
+ };
850
+
851
+
852
+ export type ImmutableSortedDictionary_2_Enumerator<TKey, TValue> = ImmutableSortedDictionary_2_Enumerator$instance<TKey, TValue>;
853
+
854
+ export interface ImmutableSortedDictionary_2_Builder$instance<TKey, TValue> extends IDictionary_2<TKey, TValue>, ICollection_1<KeyValuePair_2<TKey, TValue>>, IEnumerable_1<KeyValuePair_2<TKey, TValue>>, IEnumerable, IReadOnlyDictionary_2<TKey, TValue>, IReadOnlyCollection_1<KeyValuePair_2<TKey, TValue>>, IDictionary, ICollection {
960
855
  readonly __tsonic_type_System_Collections_Immutable_ImmutableSortedDictionary_2_Builder: never;
961
856
 
962
857
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -982,7 +877,7 @@ export interface ImmutableSortedDictionary_2_Builder$instance<TKey, TValue> {
982
877
  ContainsKey(key: TKey): boolean;
983
878
  ContainsValue(value: TValue): boolean;
984
879
  GetEnumerator(): ImmutableSortedDictionary_2_Enumerator<TKey, TValue>;
985
- GetValueOrDefault(key: TKey): TValue | undefined;
880
+ GetValueOrDefault(key: TKey): TValue | null;
986
881
  GetValueOrDefault(key: TKey, defaultValue: TValue): TValue;
987
882
  Remove(key: TKey): boolean;
988
883
  Remove(item: KeyValuePair_2<TKey, TValue>): boolean;
@@ -998,19 +893,7 @@ export const ImmutableSortedDictionary_2_Builder: {
998
893
  };
999
894
 
1000
895
 
1001
- export interface __ImmutableSortedDictionary_2_Builder$views<TKey, TValue> {
1002
- As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<KeyValuePair_2<TKey, TValue>>;
1003
- As_IDictionary_2(): System_Collections_Generic_Internal.IDictionary_2$instance<TKey, TValue>;
1004
- As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<KeyValuePair_2<TKey, TValue>>;
1005
- As_IReadOnlyCollection_1(): System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<KeyValuePair_2<TKey, TValue>>;
1006
- As_IReadOnlyDictionary_2(): System_Collections_Generic_Internal.IReadOnlyDictionary_2$instance<TKey, TValue>;
1007
- As_ICollection(): System_Collections_Internal.ICollection$instance;
1008
- As_IDictionary(): System_Collections_Internal.IDictionary$instance;
1009
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
1010
- }
1011
-
1012
- export type ImmutableSortedDictionary_2_Builder<TKey, TValue> = ImmutableSortedDictionary_2_Builder$instance<TKey, TValue> & __ImmutableSortedDictionary_2_Builder$views<TKey, TValue>;
1013
-
896
+ export type ImmutableSortedDictionary_2_Builder<TKey, TValue> = ImmutableSortedDictionary_2_Builder$instance<TKey, TValue>;
1014
897
 
1015
898
  export interface ImmutableSortedSet_1$instance<T> {
1016
899
  readonly __tsonic_type_System_Collections_Immutable_ImmutableSortedSet_1: never;
@@ -1030,8 +913,8 @@ export interface ImmutableSortedSet_1$instance<T> {
1030
913
  readonly Count: int;
1031
914
  readonly IsEmpty: boolean;
1032
915
  readonly KeyComparer: IComparer_1<T>;
1033
- readonly Max: T | undefined;
1034
- readonly Min: T | undefined;
916
+ readonly Max: T | null;
917
+ readonly Min: T | null;
1035
918
  Add(value: T): ImmutableSortedSet_1<T>;
1036
919
  Clear(): ImmutableSortedSet_1<T>;
1037
920
  Contains(value: T): boolean;
@@ -1052,12 +935,12 @@ export interface ImmutableSortedSet_1$instance<T> {
1052
935
  ToBuilder(): ImmutableSortedSet_1_Builder<T>;
1053
936
  TryGetValue(equalValue: T, actualValue: T): boolean;
1054
937
  Union(other: IEnumerable_1<T>): ImmutableSortedSet_1<T>;
1055
- WithComparer(comparer: IComparer_1<T>): ImmutableSortedSet_1<T>;
938
+ WithComparer(comparer: IComparer_1<T> | null): ImmutableSortedSet_1<T>;
1056
939
  }
1057
940
 
1058
941
 
1059
942
  export const ImmutableSortedSet_1: {
1060
- readonly Empty: unknown;
943
+ readonly Empty: <T>() => ImmutableSortedSet_1<T>;
1061
944
  };
1062
945
 
1063
946
 
@@ -1077,7 +960,30 @@ export interface __ImmutableSortedSet_1$views<T> {
1077
960
  export type ImmutableSortedSet_1<T> = ImmutableSortedSet_1$instance<T> & __ImmutableSortedSet_1$views<T> & { readonly [index: number]: T; };
1078
961
 
1079
962
 
1080
- export interface ImmutableSortedSet_1_Builder$instance<T> {
963
+ export interface ImmutableSortedSet_1_Enumerator$instance<T> extends IEnumerator_1<T>, IEnumerator, IDisposable {
964
+ readonly __tsonic_type_System_Collections_Immutable_ImmutableSortedSet_1_Enumerator: never;
965
+
966
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
967
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
968
+ readonly __tsonic_iface_System_Collections_Immutable_ISecurePooledObjectUser: never;
969
+ readonly __tsonic_iface_System_Collections_Immutable_IStrongEnumerator_1: never;
970
+ readonly __tsonic_iface_System_IDisposable: never;
971
+
972
+ readonly Current: T;
973
+ Dispose(): void;
974
+ MoveNext(): boolean;
975
+ Reset(): void;
976
+ }
977
+
978
+
979
+ export const ImmutableSortedSet_1_Enumerator: {
980
+ new<T>(): ImmutableSortedSet_1_Enumerator<T>;
981
+ };
982
+
983
+
984
+ export type ImmutableSortedSet_1_Enumerator<T> = ImmutableSortedSet_1_Enumerator$instance<T>;
985
+
986
+ export interface ImmutableSortedSet_1_Builder$instance<T> extends IReadOnlyCollection_1<T>, IEnumerable_1<T>, IEnumerable, ISet_1<T>, ICollection_1<T>, ICollection {
1081
987
  readonly __tsonic_type_System_Collections_Immutable_ImmutableSortedSet_1_Builder: never;
1082
988
 
1083
989
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -1089,8 +995,8 @@ export interface ImmutableSortedSet_1_Builder$instance<T> {
1089
995
 
1090
996
  readonly Count: int;
1091
997
  KeyComparer: IComparer_1<T>;
1092
- readonly Max: T | undefined;
1093
- readonly Min: T | undefined;
998
+ readonly Max: T | null;
999
+ readonly Min: T | null;
1094
1000
  Add(item: T): boolean;
1095
1001
  Clear(): void;
1096
1002
  Contains(item: T): boolean;
@@ -1118,17 +1024,7 @@ export const ImmutableSortedSet_1_Builder: {
1118
1024
  };
1119
1025
 
1120
1026
 
1121
- export interface __ImmutableSortedSet_1_Builder$views<T> {
1122
- As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<T>;
1123
- As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<T>;
1124
- As_IReadOnlyCollection_1(): System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<T>;
1125
- As_ISet_1(): System_Collections_Generic_Internal.ISet_1$instance<T>;
1126
- As_ICollection(): System_Collections_Internal.ICollection$instance;
1127
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
1128
- }
1129
-
1130
- export type ImmutableSortedSet_1_Builder<T> = ImmutableSortedSet_1_Builder$instance<T> & __ImmutableSortedSet_1_Builder$views<T> & { readonly [index: number]: T; };
1131
-
1027
+ export type ImmutableSortedSet_1_Builder<T> = ImmutableSortedSet_1_Builder$instance<T> & { readonly [index: number]: T; };
1132
1028
 
1133
1029
  export interface ImmutableStack_1$instance<T> {
1134
1030
  readonly __tsonic_type_System_Collections_Immutable_ImmutableStack_1: never;
@@ -1149,7 +1045,7 @@ export interface ImmutableStack_1$instance<T> {
1149
1045
 
1150
1046
 
1151
1047
  export const ImmutableStack_1: {
1152
- readonly Empty: unknown;
1048
+ readonly Empty: <T>() => ImmutableStack_1<T>;
1153
1049
  };
1154
1050
 
1155
1051
 
@@ -1162,10 +1058,25 @@ export interface __ImmutableStack_1$views<T> {
1162
1058
  export type ImmutableStack_1<T> = ImmutableStack_1$instance<T> & __ImmutableStack_1$views<T>;
1163
1059
 
1164
1060
 
1061
+ export interface ImmutableStack_1_Enumerator$instance<T> {
1062
+ readonly __tsonic_type_System_Collections_Immutable_ImmutableStack_1_Enumerator: never;
1063
+
1064
+ readonly Current: T;
1065
+ MoveNext(): boolean;
1066
+ }
1067
+
1068
+
1069
+ export const ImmutableStack_1_Enumerator: {
1070
+ new<T>(): ImmutableStack_1_Enumerator<T>;
1071
+ };
1072
+
1073
+
1074
+ export type ImmutableStack_1_Enumerator<T> = ImmutableStack_1_Enumerator$instance<T>;
1075
+
1165
1076
  export abstract class ImmutableArray$instance {
1166
- static BinarySearch<T>(array: ImmutableArray_1<T>, index: int, length: int, value: T, comparer: IComparer_1<T>): int;
1077
+ static BinarySearch<T>(array: ImmutableArray_1<T>, index: int, length: int, value: T, comparer: IComparer_1<T> | null): int;
1167
1078
  static BinarySearch<T>(array: ImmutableArray_1<T>, index: int, length: int, value: T): int;
1168
- static BinarySearch<T>(array: ImmutableArray_1<T>, value: T, comparer: IComparer_1<T>): int;
1079
+ static BinarySearch<T>(array: ImmutableArray_1<T>, value: T, comparer: IComparer_1<T> | null): int;
1169
1080
  static BinarySearch<T>(array: ImmutableArray_1<T>, value: T): int;
1170
1081
  static Create<T>(): ImmutableArray_1<T>;
1171
1082
  static Create<T>(items: ImmutableArray_1<T>, start: int, length: int): ImmutableArray_1<T>;
@@ -1176,7 +1087,7 @@ export abstract class ImmutableArray$instance {
1176
1087
  static Create<T>(item1: T, item2: T): ImmutableArray_1<T>;
1177
1088
  static Create<T>(item: T): ImmutableArray_1<T>;
1178
1089
  static Create<T>(items: T[], start: int, length: int): ImmutableArray_1<T>;
1179
- static Create<T>(...items: T[]): ImmutableArray_1<T>;
1090
+ static Create<T>(...items: T[] | null): ImmutableArray_1<T>;
1180
1091
  static CreateBuilder<T>(): ImmutableArray_1_Builder<T>;
1181
1092
  static CreateBuilder<T>(initialCapacity: int): ImmutableArray_1_Builder<T>;
1182
1093
  static CreateRange<T>(items: IEnumerable_1<T>): ImmutableArray_1<T>;
@@ -1196,26 +1107,26 @@ export type ImmutableArray = ImmutableArray$instance;
1196
1107
  export abstract class ImmutableDictionary$instance {
1197
1108
  static Contains<TKey, TValue>(map: IImmutableDictionary_2<TKey, TValue>, key: TKey, value: TValue): boolean;
1198
1109
  static Create<TKey, TValue>(): ImmutableDictionary_2<TKey, TValue>;
1199
- static Create<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>): ImmutableDictionary_2<TKey, TValue>;
1200
- static Create<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey>): ImmutableDictionary_2<TKey, TValue>;
1110
+ static Create<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey> | null, valueComparer: IEqualityComparer_1<TValue> | null): ImmutableDictionary_2<TKey, TValue>;
1111
+ static Create<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey> | null): ImmutableDictionary_2<TKey, TValue>;
1201
1112
  static CreateBuilder<TKey, TValue>(): ImmutableDictionary_2_Builder<TKey, TValue>;
1202
- static CreateBuilder<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>): ImmutableDictionary_2_Builder<TKey, TValue>;
1203
- static CreateBuilder<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey>): ImmutableDictionary_2_Builder<TKey, TValue>;
1113
+ static CreateBuilder<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey> | null, valueComparer: IEqualityComparer_1<TValue> | null): ImmutableDictionary_2_Builder<TKey, TValue>;
1114
+ static CreateBuilder<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey> | null): ImmutableDictionary_2_Builder<TKey, TValue>;
1204
1115
  static CreateRange<TKey, TValue>(items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
1205
- static CreateRange<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey>, items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
1206
- static CreateRange<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>, items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
1207
- static CreateRangeWithOverwrite<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey>, items: ReadOnlySpan_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
1116
+ static CreateRange<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey> | null, items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
1117
+ static CreateRange<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey> | null, valueComparer: IEqualityComparer_1<TValue> | null, items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
1118
+ static CreateRangeWithOverwrite<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey> | null, items: ReadOnlySpan_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
1208
1119
  static CreateRangeWithOverwrite<TKey, TValue>(items: ReadOnlySpan_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
1209
1120
  static GetValueOrDefault<TKey, TValue>(dictionary: IImmutableDictionary_2<TKey, TValue>, key: TKey, defaultValue: TValue): TValue;
1210
- static GetValueOrDefault<TKey, TValue>(dictionary: IImmutableDictionary_2<TKey, TValue>, key: TKey): TValue | undefined;
1121
+ static GetValueOrDefault<TKey, TValue>(dictionary: IImmutableDictionary_2<TKey, TValue>, key: TKey): TValue | null;
1211
1122
  static ToImmutableDictionary<TKey, TValue>(builder: ImmutableDictionary_2_Builder<TKey, TValue>): ImmutableDictionary_2<TKey, TValue>;
1212
- static ToImmutableDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IEqualityComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>): ImmutableDictionary_2<TKey, TValue>;
1213
- static ToImmutableDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IEqualityComparer_1<TKey>): ImmutableDictionary_2<TKey, TValue>;
1123
+ static ToImmutableDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IEqualityComparer_1<TKey> | null, valueComparer: IEqualityComparer_1<TValue> | null): ImmutableDictionary_2<TKey, TValue>;
1124
+ static ToImmutableDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IEqualityComparer_1<TKey> | null): ImmutableDictionary_2<TKey, TValue>;
1214
1125
  static ToImmutableDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>): ImmutableDictionary_2<TKey, TValue>;
1215
- static ToImmutableDictionary<TSource, TKey>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, keyComparer: IEqualityComparer_1<TKey>): ImmutableDictionary_2<TKey, TSource>;
1126
+ static ToImmutableDictionary<TSource, TKey>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, keyComparer: IEqualityComparer_1<TKey> | null): ImmutableDictionary_2<TKey, TSource>;
1216
1127
  static ToImmutableDictionary<TSource, TKey>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>): ImmutableDictionary_2<TKey, TSource>;
1217
- static ToImmutableDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IEqualityComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>): ImmutableDictionary_2<TKey, TValue>;
1218
- static ToImmutableDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IEqualityComparer_1<TKey>): ImmutableDictionary_2<TKey, TValue>;
1128
+ static ToImmutableDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IEqualityComparer_1<TKey> | null, valueComparer: IEqualityComparer_1<TValue> | null): ImmutableDictionary_2<TKey, TValue>;
1129
+ static ToImmutableDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IEqualityComparer_1<TKey> | null): ImmutableDictionary_2<TKey, TValue>;
1219
1130
  static ToImmutableDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
1220
1131
  }
1221
1132
 
@@ -1224,19 +1135,19 @@ export type ImmutableDictionary = ImmutableDictionary$instance;
1224
1135
 
1225
1136
  export abstract class ImmutableHashSet$instance {
1226
1137
  static Create<T>(): ImmutableHashSet_1<T>;
1227
- static Create<T>(equalityComparer: IEqualityComparer_1<T>, items: ReadOnlySpan_1<T>): ImmutableHashSet_1<T>;
1228
- static Create<T>(equalityComparer: IEqualityComparer_1<T>, item: T): ImmutableHashSet_1<T>;
1229
- static Create<T>(equalityComparer: IEqualityComparer_1<T>, ...items: T[]): ImmutableHashSet_1<T>;
1230
- static Create<T>(equalityComparer: IEqualityComparer_1<T>): ImmutableHashSet_1<T>;
1138
+ static Create<T>(equalityComparer: IEqualityComparer_1<T> | null, items: ReadOnlySpan_1<T>): ImmutableHashSet_1<T>;
1139
+ static Create<T>(equalityComparer: IEqualityComparer_1<T> | null, item: T): ImmutableHashSet_1<T>;
1140
+ static Create<T>(equalityComparer: IEqualityComparer_1<T> | null, ...items: T[]): ImmutableHashSet_1<T>;
1141
+ static Create<T>(equalityComparer: IEqualityComparer_1<T> | null): ImmutableHashSet_1<T>;
1231
1142
  static Create<T>(items: ReadOnlySpan_1<T>): ImmutableHashSet_1<T>;
1232
1143
  static Create<T>(item: T): ImmutableHashSet_1<T>;
1233
1144
  static Create<T>(...items: T[]): ImmutableHashSet_1<T>;
1234
1145
  static CreateBuilder<T>(): ImmutableHashSet_1_Builder<T>;
1235
- static CreateBuilder<T>(equalityComparer: IEqualityComparer_1<T>): ImmutableHashSet_1_Builder<T>;
1146
+ static CreateBuilder<T>(equalityComparer: IEqualityComparer_1<T> | null): ImmutableHashSet_1_Builder<T>;
1236
1147
  static CreateRange<T>(items: IEnumerable_1<T>): ImmutableHashSet_1<T>;
1237
- static CreateRange<T>(equalityComparer: IEqualityComparer_1<T>, items: IEnumerable_1<T>): ImmutableHashSet_1<T>;
1148
+ static CreateRange<T>(equalityComparer: IEqualityComparer_1<T> | null, items: IEnumerable_1<T>): ImmutableHashSet_1<T>;
1238
1149
  static ToImmutableHashSet<TSource>(builder: ImmutableHashSet_1_Builder<TSource>): ImmutableHashSet_1<TSource>;
1239
- static ToImmutableHashSet<TSource>(source: IEnumerable_1<TSource>, equalityComparer: IEqualityComparer_1<TSource>): ImmutableHashSet_1<TSource>;
1150
+ static ToImmutableHashSet<TSource>(source: IEnumerable_1<TSource>, equalityComparer: IEqualityComparer_1<TSource> | null): ImmutableHashSet_1<TSource>;
1240
1151
  static ToImmutableHashSet<TSource>(source: IEnumerable_1<TSource>): ImmutableHashSet_1<TSource>;
1241
1152
  }
1242
1153
 
@@ -1275,11 +1186,11 @@ export abstract class ImmutableList$instance {
1275
1186
  static Create<T>(...items: T[]): ImmutableList_1<T>;
1276
1187
  static CreateBuilder<T>(): ImmutableList_1_Builder<T>;
1277
1188
  static CreateRange<T>(items: IEnumerable_1<T>): ImmutableList_1<T>;
1278
- static IndexOf<T>(list: IImmutableList_1<T>, item: T, equalityComparer: IEqualityComparer_1<T>): int;
1189
+ static IndexOf<T>(list: IImmutableList_1<T>, item: T, equalityComparer: IEqualityComparer_1<T> | null): int;
1279
1190
  static IndexOf<T>(list: IImmutableList_1<T>, item: T, startIndex: int, count: int): int;
1280
1191
  static IndexOf<T>(list: IImmutableList_1<T>, item: T, startIndex: int): int;
1281
1192
  static IndexOf<T>(list: IImmutableList_1<T>, item: T): int;
1282
- static LastIndexOf<T>(list: IImmutableList_1<T>, item: T, equalityComparer: IEqualityComparer_1<T>): int;
1193
+ static LastIndexOf<T>(list: IImmutableList_1<T>, item: T, equalityComparer: IEqualityComparer_1<T> | null): int;
1283
1194
  static LastIndexOf<T>(list: IImmutableList_1<T>, item: T, startIndex: int, count: int): int;
1284
1195
  static LastIndexOf<T>(list: IImmutableList_1<T>, item: T, startIndex: int): int;
1285
1196
  static LastIndexOf<T>(list: IImmutableList_1<T>, item: T): int;
@@ -1307,20 +1218,20 @@ export type ImmutableQueue = ImmutableQueue$instance;
1307
1218
 
1308
1219
  export abstract class ImmutableSortedDictionary$instance {
1309
1220
  static Create<TKey, TValue>(): ImmutableSortedDictionary_2<TKey, TValue>;
1310
- static Create<TKey, TValue>(keyComparer: IComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>): ImmutableSortedDictionary_2<TKey, TValue>;
1311
- static Create<TKey, TValue>(keyComparer: IComparer_1<TKey>): ImmutableSortedDictionary_2<TKey, TValue>;
1221
+ static Create<TKey, TValue>(keyComparer: IComparer_1<TKey> | null, valueComparer: IEqualityComparer_1<TValue> | null): ImmutableSortedDictionary_2<TKey, TValue>;
1222
+ static Create<TKey, TValue>(keyComparer: IComparer_1<TKey> | null): ImmutableSortedDictionary_2<TKey, TValue>;
1312
1223
  static CreateBuilder<TKey, TValue>(): ImmutableSortedDictionary_2_Builder<TKey, TValue>;
1313
- static CreateBuilder<TKey, TValue>(keyComparer: IComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>): ImmutableSortedDictionary_2_Builder<TKey, TValue>;
1314
- static CreateBuilder<TKey, TValue>(keyComparer: IComparer_1<TKey>): ImmutableSortedDictionary_2_Builder<TKey, TValue>;
1315
- static CreateRange<TKey, TValue>(keyComparer: IComparer_1<TKey>, items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableSortedDictionary_2<TKey, TValue>;
1316
- static CreateRange<TKey, TValue>(keyComparer: IComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>, items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableSortedDictionary_2<TKey, TValue>;
1224
+ static CreateBuilder<TKey, TValue>(keyComparer: IComparer_1<TKey> | null, valueComparer: IEqualityComparer_1<TValue> | null): ImmutableSortedDictionary_2_Builder<TKey, TValue>;
1225
+ static CreateBuilder<TKey, TValue>(keyComparer: IComparer_1<TKey> | null): ImmutableSortedDictionary_2_Builder<TKey, TValue>;
1226
+ static CreateRange<TKey, TValue>(keyComparer: IComparer_1<TKey> | null, items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableSortedDictionary_2<TKey, TValue>;
1227
+ static CreateRange<TKey, TValue>(keyComparer: IComparer_1<TKey> | null, valueComparer: IEqualityComparer_1<TValue> | null, items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableSortedDictionary_2<TKey, TValue>;
1317
1228
  static CreateRange<TKey, TValue>(items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableSortedDictionary_2<TKey, TValue>;
1318
1229
  static ToImmutableSortedDictionary<TKey, TValue>(builder: ImmutableSortedDictionary_2_Builder<TKey, TValue>): ImmutableSortedDictionary_2<TKey, TValue>;
1319
- static ToImmutableSortedDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>): ImmutableSortedDictionary_2<TKey, TValue>;
1320
- static ToImmutableSortedDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IComparer_1<TKey>): ImmutableSortedDictionary_2<TKey, TValue>;
1230
+ static ToImmutableSortedDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IComparer_1<TKey> | null, valueComparer: IEqualityComparer_1<TValue> | null): ImmutableSortedDictionary_2<TKey, TValue>;
1231
+ static ToImmutableSortedDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IComparer_1<TKey> | null): ImmutableSortedDictionary_2<TKey, TValue>;
1321
1232
  static ToImmutableSortedDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>): ImmutableSortedDictionary_2<TKey, TValue>;
1322
- static ToImmutableSortedDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>): ImmutableSortedDictionary_2<TKey, TValue>;
1323
- static ToImmutableSortedDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IComparer_1<TKey>): ImmutableSortedDictionary_2<TKey, TValue>;
1233
+ static ToImmutableSortedDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IComparer_1<TKey> | null, valueComparer: IEqualityComparer_1<TValue> | null): ImmutableSortedDictionary_2<TKey, TValue>;
1234
+ static ToImmutableSortedDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IComparer_1<TKey> | null): ImmutableSortedDictionary_2<TKey, TValue>;
1324
1235
  static ToImmutableSortedDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableSortedDictionary_2<TKey, TValue>;
1325
1236
  }
1326
1237
 
@@ -1329,19 +1240,19 @@ export type ImmutableSortedDictionary = ImmutableSortedDictionary$instance;
1329
1240
 
1330
1241
  export abstract class ImmutableSortedSet$instance {
1331
1242
  static Create<T>(): ImmutableSortedSet_1<T>;
1332
- static Create<T>(comparer: IComparer_1<T>, items: ReadOnlySpan_1<T>): ImmutableSortedSet_1<T>;
1333
- static Create<T>(comparer: IComparer_1<T>, item: T): ImmutableSortedSet_1<T>;
1334
- static Create<T>(comparer: IComparer_1<T>, ...items: T[]): ImmutableSortedSet_1<T>;
1335
- static Create<T>(comparer: IComparer_1<T>): ImmutableSortedSet_1<T>;
1243
+ static Create<T>(comparer: IComparer_1<T> | null, items: ReadOnlySpan_1<T>): ImmutableSortedSet_1<T>;
1244
+ static Create<T>(comparer: IComparer_1<T> | null, item: T): ImmutableSortedSet_1<T>;
1245
+ static Create<T>(comparer: IComparer_1<T> | null, ...items: T[]): ImmutableSortedSet_1<T>;
1246
+ static Create<T>(comparer: IComparer_1<T> | null): ImmutableSortedSet_1<T>;
1336
1247
  static Create<T>(items: ReadOnlySpan_1<T>): ImmutableSortedSet_1<T>;
1337
1248
  static Create<T>(item: T): ImmutableSortedSet_1<T>;
1338
1249
  static Create<T>(...items: T[]): ImmutableSortedSet_1<T>;
1339
1250
  static CreateBuilder<T>(): ImmutableSortedSet_1_Builder<T>;
1340
- static CreateBuilder<T>(comparer: IComparer_1<T>): ImmutableSortedSet_1_Builder<T>;
1341
- static CreateRange<T>(comparer: IComparer_1<T>, items: IEnumerable_1<T>): ImmutableSortedSet_1<T>;
1251
+ static CreateBuilder<T>(comparer: IComparer_1<T> | null): ImmutableSortedSet_1_Builder<T>;
1252
+ static CreateRange<T>(comparer: IComparer_1<T> | null, items: IEnumerable_1<T>): ImmutableSortedSet_1<T>;
1342
1253
  static CreateRange<T>(items: IEnumerable_1<T>): ImmutableSortedSet_1<T>;
1343
1254
  static ToImmutableSortedSet<TSource>(builder: ImmutableSortedSet_1_Builder<TSource>): ImmutableSortedSet_1<TSource>;
1344
- static ToImmutableSortedSet<TSource>(source: IEnumerable_1<TSource>, comparer: IComparer_1<TSource>): ImmutableSortedSet_1<TSource>;
1255
+ static ToImmutableSortedSet<TSource>(source: IEnumerable_1<TSource>, comparer: IComparer_1<TSource> | null): ImmutableSortedSet_1<TSource>;
1345
1256
  static ToImmutableSortedSet<TSource>(source: IEnumerable_1<TSource>): ImmutableSortedSet_1<TSource>;
1346
1257
  }
1347
1258