@tsonic/dotnet 0.8.0 → 0.8.2

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 (137) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +21 -21
  2. package/Microsoft.VisualBasic/internal/index.d.ts +24 -24
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +30 -30
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +16 -16
  5. package/Microsoft.Win32/internal/index.d.ts +12 -12
  6. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +19 -19
  7. package/System/bindings.json +114 -114
  8. package/System/internal/index.d.ts +1277 -1289
  9. package/System/internal/metadata.json +73 -73
  10. package/System.Buffers/internal/index.d.ts +13 -13
  11. package/System.CodeDom.Compiler/internal/index.d.ts +13 -13
  12. package/System.Collections/internal/index.d.ts +66 -68
  13. package/System.Collections.Concurrent/internal/index.d.ts +24 -24
  14. package/System.Collections.Frozen/bindings.json +20 -20
  15. package/System.Collections.Frozen/internal/index.d.ts +10 -10
  16. package/System.Collections.Frozen/internal/metadata.json +10 -10
  17. package/System.Collections.Generic/bindings.json +44 -20
  18. package/System.Collections.Generic/internal/index.d.ts +141 -133
  19. package/System.Collections.Generic/internal/metadata.json +26 -10
  20. package/System.Collections.Immutable/internal/index.d.ts +121 -121
  21. package/System.Collections.ObjectModel/internal/index.d.ts +23 -23
  22. package/System.Collections.Specialized/internal/index.d.ts +85 -87
  23. package/System.ComponentModel/internal/index.d.ts +595 -597
  24. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +105 -105
  25. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +9 -9
  26. package/System.ComponentModel.Design/internal/index.d.ts +90 -90
  27. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +37 -37
  28. package/System.Data/internal/index.d.ts +225 -225
  29. package/System.Data.Common/internal/index.d.ts +62 -62
  30. package/System.Data.SqlTypes/internal/index.d.ts +73 -73
  31. package/System.Diagnostics/internal/index.d.ts +343 -343
  32. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +50 -50
  33. package/System.Diagnostics.Contracts/internal/index.d.ts +20 -20
  34. package/System.Diagnostics.Metrics/internal/index.d.ts +46 -46
  35. package/System.Diagnostics.SymbolStore/internal/index.d.ts +9 -9
  36. package/System.Diagnostics.Tracing/internal/index.d.ts +44 -44
  37. package/System.Drawing/internal/index.d.ts +99 -99
  38. package/System.Dynamic/internal/index.d.ts +33 -33
  39. package/System.Formats.Asn1/internal/index.d.ts +12 -12
  40. package/System.Formats.Tar/internal/index.d.ts +17 -17
  41. package/System.Globalization/internal/index.d.ts +51 -51
  42. package/System.IO/internal/index.d.ts +172 -172
  43. package/System.IO.Compression/internal/index.d.ts +56 -56
  44. package/System.IO.Enumeration/internal/index.d.ts +6 -6
  45. package/System.IO.IsolatedStorage/internal/index.d.ts +17 -17
  46. package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -11
  47. package/System.IO.Pipelines/internal/index.d.ts +13 -13
  48. package/System.IO.Pipes/internal/index.d.ts +32 -32
  49. package/System.Linq/internal/index.d.ts +187 -187
  50. package/System.Linq.Expressions/internal/index.d.ts +203 -203
  51. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
  52. package/System.Net/internal/index.d.ts +218 -220
  53. package/System.Net.Cache/internal/index.d.ts +10 -10
  54. package/System.Net.Http/internal/index.d.ts +89 -89
  55. package/System.Net.Http.Headers/internal/index.d.ts +86 -86
  56. package/System.Net.Http.Json/internal/index.d.ts +59 -59
  57. package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
  58. package/System.Net.Mail/internal/index.d.ts +92 -92
  59. package/System.Net.Mime/internal/index.d.ts +6 -6
  60. package/System.Net.NetworkInformation/internal/index.d.ts +39 -39
  61. package/System.Net.Quic/internal/index.d.ts +13 -13
  62. package/System.Net.Security/internal/index.d.ts +70 -70
  63. package/System.Net.ServerSentEvents/internal/index.d.ts +3 -3
  64. package/System.Net.Sockets/internal/index.d.ts +94 -94
  65. package/System.Net.WebSockets/internal/index.d.ts +46 -46
  66. package/System.Numerics/bindings.json +384 -0
  67. package/System.Numerics/internal/index.d.ts +128 -130
  68. package/System.Numerics/internal/metadata.json +256 -0
  69. package/System.Reflection/internal/index.d.ts +271 -271
  70. package/System.Reflection.Emit/internal/index.d.ts +123 -123
  71. package/System.Reflection.Metadata/bindings.json +48 -0
  72. package/System.Reflection.Metadata/internal/index.d.ts +179 -179
  73. package/System.Reflection.Metadata/internal/metadata.json +32 -0
  74. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +40 -40
  75. package/System.Reflection.PortableExecutable/internal/index.d.ts +26 -26
  76. package/System.Resources/internal/index.d.ts +38 -38
  77. package/System.Runtime/internal/index.d.ts +9 -9
  78. package/System.Runtime.CompilerServices/internal/index.d.ts +168 -168
  79. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +2 -2
  80. package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -3
  81. package/System.Runtime.InteropServices/bindings.json +22 -22
  82. package/System.Runtime.InteropServices/internal/index.d.ts +184 -184
  83. package/System.Runtime.InteropServices/internal/metadata.json +13 -13
  84. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +30 -30
  85. package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -3
  86. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +50 -50
  87. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +63 -63
  88. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +1 -1
  89. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -4
  90. package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
  91. package/System.Runtime.Loader/internal/index.d.ts +9 -9
  92. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  93. package/System.Runtime.Serialization/internal/index.d.ts +113 -115
  94. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +19 -19
  95. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  96. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -5
  97. package/System.Runtime.Serialization.Json/internal/index.d.ts +28 -28
  98. package/System.Runtime.Versioning/internal/index.d.ts +22 -22
  99. package/System.Security/internal/index.d.ts +63 -63
  100. package/System.Security.AccessControl/internal/index.d.ts +84 -84
  101. package/System.Security.Authentication/internal/index.d.ts +6 -6
  102. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +13 -13
  103. package/System.Security.Claims/internal/index.d.ts +38 -40
  104. package/System.Security.Cryptography/internal/index.d.ts +378 -378
  105. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +172 -172
  106. package/System.Security.Permissions/internal/index.d.ts +1 -1
  107. package/System.Security.Policy/internal/index.d.ts +6 -6
  108. package/System.Security.Principal/internal/index.d.ts +29 -31
  109. package/System.Text/internal/index.d.ts +94 -94
  110. package/System.Text.Encodings.Web/internal/index.d.ts +3 -3
  111. package/System.Text.Json/internal/index.d.ts +103 -103
  112. package/System.Text.Json.Nodes/internal/index.d.ts +73 -73
  113. package/System.Text.Json.Schema/internal/index.d.ts +7 -7
  114. package/System.Text.Json.Serialization/internal/index.d.ts +34 -34
  115. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +57 -57
  116. package/System.Text.RegularExpressions/internal/index.d.ts +29 -29
  117. package/System.Text.Unicode/internal/index.d.ts +6 -6
  118. package/System.Threading/internal/index.d.ts +160 -160
  119. package/System.Threading.Channels/internal/index.d.ts +12 -12
  120. package/System.Threading.Tasks/internal/index.d.ts +125 -135
  121. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +54 -51
  122. package/System.Threading.Tasks.Sources/internal/index.d.ts +5 -5
  123. package/System.Timers/internal/index.d.ts +8 -8
  124. package/System.Transactions/internal/index.d.ts +51 -51
  125. package/System.Web/internal/index.d.ts +32 -32
  126. package/System.Windows.Input/internal/index.d.ts +2 -2
  127. package/System.Windows.Markup/internal/index.d.ts +2 -2
  128. package/System.Xml/internal/index.d.ts +281 -281
  129. package/System.Xml.Linq/internal/index.d.ts +76 -76
  130. package/System.Xml.Resolvers/internal/index.d.ts +8 -8
  131. package/System.Xml.Schema/internal/index.d.ts +173 -173
  132. package/System.Xml.Serialization/internal/index.d.ts +200 -200
  133. package/System.Xml.XPath/internal/index.d.ts +28 -28
  134. package/System.Xml.Xsl/internal/index.d.ts +53 -53
  135. package/System.Xml.Xsl.Runtime/internal/index.d.ts +72 -72
  136. package/__internal/extensions/index.d.ts +415 -414
  137. package/package.json +1 -1
@@ -29,14 +29,14 @@ export interface ICollection$instance extends IEnumerable$instance {}
29
29
  export type ICollection = ICollection$instance;
30
30
 
31
31
  export interface IComparer$instance {
32
- compare(x: unknown, y: unknown): int;
32
+ compare(x: unknown | undefined, y: unknown | undefined): int;
33
33
  }
34
34
 
35
35
 
36
36
  export type IComparer = IComparer$instance;
37
37
 
38
38
  export interface IDictionary$instance extends ICollection, IEnumerable {
39
- item: unknown;
39
+ item: unknown | undefined;
40
40
  readonly keys: ICollection;
41
41
  readonly values: ICollection;
42
42
  readonly isReadOnly: boolean;
@@ -44,7 +44,7 @@ export interface IDictionary$instance extends ICollection, IEnumerable {
44
44
  readonly count: int;
45
45
  readonly syncRoot: unknown;
46
46
  readonly isSynchronized: boolean;
47
- add(key: unknown, value: unknown): void;
47
+ add(key: unknown, value: unknown | undefined): void;
48
48
  clear(): void;
49
49
  contains(key: unknown): boolean;
50
50
  copyTo(array: ClrArray, index: int): void;
@@ -108,13 +108,13 @@ export interface IList$instance extends ICollection, IEnumerable {
108
108
  readonly count: int;
109
109
  readonly syncRoot: unknown;
110
110
  readonly isSynchronized: boolean;
111
- add(value: unknown): int;
111
+ add(value: unknown | undefined): int;
112
112
  clear(): void;
113
- contains(value: unknown): boolean;
113
+ contains(value: unknown | undefined): boolean;
114
114
  copyTo(array: ClrArray, index: int): void;
115
115
  getEnumerator(): IEnumerator;
116
- insert(index: int, value: unknown): void;
117
- remove(value: unknown): void;
116
+ insert(index: int, value: unknown | undefined): void;
117
+ remove(value: unknown | undefined): void;
118
118
  removeAt(index: int): void;
119
119
  }
120
120
 
@@ -122,14 +122,14 @@ export interface IList$instance extends ICollection, IEnumerable {
122
122
  export type IList = IList$instance;
123
123
 
124
124
  export interface IStructuralComparable$instance {
125
- compareTo(other: unknown, comparer: IComparer): int;
125
+ compareTo(other: unknown | undefined, comparer: IComparer): int;
126
126
  }
127
127
 
128
128
 
129
129
  export type IStructuralComparable = IStructuralComparable$instance;
130
130
 
131
131
  export interface IStructuralEquatable$instance {
132
- equals(other: unknown, comparer: IEqualityComparer): boolean;
132
+ equals(other: unknown | undefined, comparer: IEqualityComparer): boolean;
133
133
  getHashCode(comparer: IEqualityComparer): int;
134
134
  }
135
135
 
@@ -139,13 +139,13 @@ export type IStructuralEquatable = IStructuralEquatable$instance;
139
139
  export interface DictionaryEntry$instance {
140
140
  key: unknown;
141
141
  value: unknown;
142
- deconstruct(key: unknown, value: unknown): void;
142
+ deconstruct(key: unknown, value: unknown | undefined): void;
143
143
  toString(): string;
144
144
  }
145
145
 
146
146
 
147
147
  export const DictionaryEntry: {
148
- new(key: unknown, value: unknown): DictionaryEntry$instance;
148
+ new(key: unknown, value: unknown | undefined): DictionaryEntry;
149
149
  };
150
150
 
151
151
 
@@ -190,22 +190,22 @@ export interface ArrayList$instance {
190
190
  sort(): void;
191
191
  sort(comparer: IComparer): void;
192
192
  sort(index: int, count: int, comparer: IComparer): void;
193
- toArray(): unknown[];
193
+ toArray(): (unknown | undefined)[];
194
194
  toArray(type_: Type): ClrArray;
195
195
  trimToSize(): void;
196
196
  }
197
197
 
198
198
 
199
199
  export const ArrayList: {
200
- new(): ArrayList$instance;
201
- new(capacity: int): ArrayList$instance;
202
- new(c: ICollection): ArrayList$instance;
200
+ new(): ArrayList;
201
+ new(capacity: int): ArrayList;
202
+ new(c: ICollection): ArrayList;
203
203
  adapter(list: IList): ArrayList;
204
204
  fixedSize(list: ArrayList): ArrayList;
205
205
  fixedSize(list: IList): IList;
206
206
  readOnly(list: ArrayList): ArrayList;
207
207
  readOnly(list: IList): IList;
208
- repeat(value: unknown, count: int): ArrayList;
208
+ repeat(value: unknown | undefined, count: int): ArrayList;
209
209
  synchronized(list: ArrayList): ArrayList;
210
210
  synchronized(list: IList): IList;
211
211
  };
@@ -248,12 +248,12 @@ export interface BitArray$instance {
248
248
 
249
249
 
250
250
  export const BitArray: {
251
- new(length: int): BitArray$instance;
252
- new(length: int, defaultValue: boolean): BitArray$instance;
253
- new(bytes: byte[]): BitArray$instance;
254
- new(values: boolean[]): BitArray$instance;
255
- new(values: int[]): BitArray$instance;
256
- new(bits: BitArray): BitArray$instance;
251
+ new(length: int): BitArray;
252
+ new(length: int, defaultValue: boolean): BitArray;
253
+ new(bytes: byte[]): BitArray;
254
+ new(values: boolean[]): BitArray;
255
+ new(values: int[]): BitArray;
256
+ new(bits: BitArray): BitArray;
257
257
  };
258
258
 
259
259
 
@@ -275,8 +275,8 @@ export interface CaseInsensitiveComparer$instance {
275
275
 
276
276
 
277
277
  export const CaseInsensitiveComparer: {
278
- new(): CaseInsensitiveComparer$instance;
279
- new(culture: CultureInfo): CaseInsensitiveComparer$instance;
278
+ new(): CaseInsensitiveComparer;
279
+ new(culture: CultureInfo): CaseInsensitiveComparer;
280
280
  readonly default_: CaseInsensitiveComparer;
281
281
  readonly defaultInvariant: CaseInsensitiveComparer;
282
282
  };
@@ -286,8 +286,6 @@ export interface __CaseInsensitiveComparer$views {
286
286
  As_IComparer(): IComparer$instance;
287
287
  }
288
288
 
289
- export interface CaseInsensitiveComparer$instance extends IComparer$instance {}
290
-
291
289
  export type CaseInsensitiveComparer = CaseInsensitiveComparer$instance & __CaseInsensitiveComparer$views;
292
290
 
293
291
 
@@ -297,8 +295,8 @@ export interface CaseInsensitiveHashCodeProvider$instance {
297
295
 
298
296
 
299
297
  export const CaseInsensitiveHashCodeProvider: {
300
- new(): CaseInsensitiveHashCodeProvider$instance;
301
- new(culture: CultureInfo): CaseInsensitiveHashCodeProvider$instance;
298
+ new(): CaseInsensitiveHashCodeProvider;
299
+ new(culture: CultureInfo): CaseInsensitiveHashCodeProvider;
302
300
  readonly default_: CaseInsensitiveHashCodeProvider;
303
301
  readonly defaultInvariant: CaseInsensitiveHashCodeProvider;
304
302
  };
@@ -340,7 +338,7 @@ export interface Comparer$instance {
340
338
 
341
339
 
342
340
  export const Comparer: {
343
- new(culture: CultureInfo): Comparer$instance;
341
+ new(culture: CultureInfo): Comparer;
344
342
  readonly default_: Comparer;
345
343
  readonly defaultInvariant: Comparer;
346
344
  };
@@ -351,7 +349,7 @@ export interface __Comparer$views {
351
349
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
352
350
  }
353
351
 
354
- export interface Comparer$instance extends IComparer$instance, System_Runtime_Serialization_Internal.ISerializable$instance {}
352
+ export interface Comparer$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
355
353
 
356
354
  export type Comparer = Comparer$instance & __Comparer$views;
357
355
 
@@ -382,11 +380,11 @@ export interface Hashtable$instance {
382
380
  readonly isFixedSize: boolean;
383
381
  readonly isReadOnly: boolean;
384
382
  readonly isSynchronized: boolean;
385
- item: unknown;
383
+ item: unknown | undefined;
386
384
  readonly keys: ICollection;
387
385
  readonly syncRoot: unknown;
388
386
  readonly values: ICollection;
389
- add(key: unknown, value: unknown): void;
387
+ add(key: unknown, value: unknown | undefined): void;
390
388
  clear(): void;
391
389
  clone(): unknown;
392
390
  contains(key: unknown): boolean;
@@ -401,21 +399,21 @@ export interface Hashtable$instance {
401
399
 
402
400
 
403
401
  export const Hashtable: {
404
- new(): Hashtable$instance;
405
- new(capacity: int): Hashtable$instance;
406
- new(capacity: int, loadFactor: float): Hashtable$instance;
407
- new(capacity: int, loadFactor: float, equalityComparer: IEqualityComparer): Hashtable$instance;
408
- new(hcp: IHashCodeProvider, comparer: IComparer): Hashtable$instance;
409
- new(equalityComparer: IEqualityComparer): Hashtable$instance;
410
- new(capacity: int, hcp: IHashCodeProvider, comparer: IComparer): Hashtable$instance;
411
- new(capacity: int, equalityComparer: IEqualityComparer): Hashtable$instance;
412
- new(d: IDictionary): Hashtable$instance;
413
- new(d: IDictionary, loadFactor: float): Hashtable$instance;
414
- new(d: IDictionary, hcp: IHashCodeProvider, comparer: IComparer): Hashtable$instance;
415
- new(d: IDictionary, equalityComparer: IEqualityComparer): Hashtable$instance;
416
- new(capacity: int, loadFactor: float, hcp: IHashCodeProvider, comparer: IComparer): Hashtable$instance;
417
- new(d: IDictionary, loadFactor: float, hcp: IHashCodeProvider, comparer: IComparer): Hashtable$instance;
418
- new(d: IDictionary, loadFactor: float, equalityComparer: IEqualityComparer): Hashtable$instance;
402
+ new(): Hashtable;
403
+ new(capacity: int): Hashtable;
404
+ new(capacity: int, loadFactor: float): Hashtable;
405
+ new(capacity: int, loadFactor: float, equalityComparer: IEqualityComparer): Hashtable;
406
+ new(hcp: IHashCodeProvider, comparer: IComparer): Hashtable;
407
+ new(equalityComparer: IEqualityComparer): Hashtable;
408
+ new(capacity: int, hcp: IHashCodeProvider, comparer: IComparer): Hashtable;
409
+ new(capacity: int, equalityComparer: IEqualityComparer): Hashtable;
410
+ new(d: IDictionary): Hashtable;
411
+ new(d: IDictionary, loadFactor: float): Hashtable;
412
+ new(d: IDictionary, hcp: IHashCodeProvider, comparer: IComparer): Hashtable;
413
+ new(d: IDictionary, equalityComparer: IEqualityComparer | undefined): Hashtable;
414
+ new(capacity: int, loadFactor: float, hcp: IHashCodeProvider, comparer: IComparer): Hashtable;
415
+ new(d: IDictionary, loadFactor: float, hcp: IHashCodeProvider, comparer: IComparer): Hashtable;
416
+ new(d: IDictionary, loadFactor: float, equalityComparer: IEqualityComparer | undefined): Hashtable;
419
417
  synchronized(table: Hashtable): Hashtable;
420
418
  };
421
419
 
@@ -429,7 +427,7 @@ export interface __Hashtable$views {
429
427
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
430
428
  }
431
429
 
432
- export interface Hashtable$instance extends System_Internal.ICloneable$instance, System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {}
430
+ export interface Hashtable$instance extends System_Internal.ICloneable$instance, System_Runtime_Serialization_Internal.ISerializable$instance {}
433
431
 
434
432
  export type Hashtable = Hashtable$instance & __Hashtable$views;
435
433
 
@@ -439,11 +437,11 @@ export interface ListDictionaryInternal$instance {
439
437
  readonly isFixedSize: boolean;
440
438
  readonly isReadOnly: boolean;
441
439
  readonly isSynchronized: boolean;
442
- item: unknown;
440
+ item: unknown | undefined;
443
441
  readonly keys: ICollection;
444
442
  readonly syncRoot: unknown;
445
443
  readonly values: ICollection;
446
- add(key: unknown, value: unknown): void;
444
+ add(key: unknown, value: unknown | undefined): void;
447
445
  clear(): void;
448
446
  contains(key: unknown): boolean;
449
447
  copyTo(array: ClrArray, index: int): void;
@@ -453,7 +451,7 @@ export interface ListDictionaryInternal$instance {
453
451
 
454
452
 
455
453
  export const ListDictionaryInternal: {
456
- new(): ListDictionaryInternal$instance;
454
+ new(): ListDictionaryInternal;
457
455
  };
458
456
 
459
457
 
@@ -478,16 +476,16 @@ export interface Queue$instance {
478
476
  enqueue(obj: unknown): void;
479
477
  getEnumerator(): IEnumerator;
480
478
  peek(): unknown;
481
- toArray(): unknown[];
479
+ toArray(): (unknown | undefined)[];
482
480
  trimToSize(): void;
483
481
  }
484
482
 
485
483
 
486
484
  export const Queue: {
487
- new(): Queue$instance;
488
- new(capacity: int): Queue$instance;
489
- new(capacity: int, growFactor: float): Queue$instance;
490
- new(col: ICollection): Queue$instance;
485
+ new(): Queue;
486
+ new(capacity: int): Queue;
487
+ new(capacity: int, growFactor: float): Queue;
488
+ new(col: ICollection): Queue;
491
489
  synchronized(queue: Queue): Queue;
492
490
  };
493
491
 
@@ -527,11 +525,11 @@ export interface SortedList$instance {
527
525
  readonly isFixedSize: boolean;
528
526
  readonly isReadOnly: boolean;
529
527
  readonly isSynchronized: boolean;
530
- item: unknown;
528
+ item: unknown | undefined;
531
529
  readonly keys: ICollection;
532
530
  readonly syncRoot: unknown;
533
531
  readonly values: ICollection;
534
- add(key: unknown, value: unknown): void;
532
+ add(key: unknown, value: unknown | undefined): void;
535
533
  clear(): void;
536
534
  clone(): unknown;
537
535
  contains(key: unknown): boolean;
@@ -553,12 +551,12 @@ export interface SortedList$instance {
553
551
 
554
552
 
555
553
  export const SortedList: {
556
- new(): SortedList$instance;
557
- new(initialCapacity: int): SortedList$instance;
558
- new(comparer: IComparer): SortedList$instance;
559
- new(comparer: IComparer, capacity: int): SortedList$instance;
560
- new(d: IDictionary): SortedList$instance;
561
- new(d: IDictionary, comparer: IComparer): SortedList$instance;
554
+ new(): SortedList;
555
+ new(initialCapacity: int): SortedList;
556
+ new(comparer: IComparer): SortedList;
557
+ new(comparer: IComparer, capacity: int): SortedList;
558
+ new(d: IDictionary): SortedList;
559
+ new(d: IDictionary, comparer: IComparer | undefined): SortedList;
562
560
  synchronized(list: SortedList): SortedList;
563
561
  };
564
562
 
@@ -587,14 +585,14 @@ export interface Stack$instance {
587
585
  peek(): unknown;
588
586
  pop(): unknown;
589
587
  push(obj: unknown): void;
590
- toArray(): unknown[];
588
+ toArray(): (unknown | undefined)[];
591
589
  }
592
590
 
593
591
 
594
592
  export const Stack: {
595
- new(): Stack$instance;
596
- new(initialCapacity: int): Stack$instance;
597
- new(col: ICollection): Stack$instance;
593
+ new(): Stack;
594
+ new(initialCapacity: int): Stack;
595
+ new(col: ICollection): Stack;
598
596
  synchronized(stack: Stack): Stack;
599
597
  };
600
598
 
@@ -53,7 +53,7 @@ export interface ConcurrentDictionary_2_AlternateLookup_1$instance<TKey, TValue,
53
53
 
54
54
 
55
55
  export const ConcurrentDictionary_2_AlternateLookup_1: {
56
- new<TKey, TValue, TAlternateKey>(): ConcurrentDictionary_2_AlternateLookup_1$instance<TKey, TValue, TAlternateKey>;
56
+ new<TKey, TValue, TAlternateKey>(): ConcurrentDictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>;
57
57
  };
58
58
 
59
59
 
@@ -86,22 +86,22 @@ export interface BlockingCollection_1$instance<T> {
86
86
 
87
87
 
88
88
  export const BlockingCollection_1: {
89
- new<T>(): BlockingCollection_1$instance<T>;
90
- new<T>(boundedCapacity: int): BlockingCollection_1$instance<T>;
91
- new<T>(collection: IProducerConsumerCollection_1<T>, boundedCapacity: int): BlockingCollection_1$instance<T>;
92
- new<T>(collection: IProducerConsumerCollection_1<T>): BlockingCollection_1$instance<T>;
89
+ new<T>(): BlockingCollection_1<T>;
90
+ new<T>(boundedCapacity: int): BlockingCollection_1<T>;
91
+ new<T>(collection: IProducerConsumerCollection_1<T>, boundedCapacity: int): BlockingCollection_1<T>;
92
+ new<T>(collection: IProducerConsumerCollection_1<T>): BlockingCollection_1<T>;
93
93
  addToAny<T>(collections: BlockingCollection_1<T>[], item: T, cancellationToken: CancellationToken): int;
94
94
  addToAny<T>(collections: BlockingCollection_1<T>[], item: T): int;
95
- takeFromAny<T>(collections: BlockingCollection_1<T>[], item: T, cancellationToken: CancellationToken): int;
96
- takeFromAny<T>(collections: BlockingCollection_1<T>[], item: T): int;
95
+ takeFromAny<T>(collections: BlockingCollection_1<T>[], item: T | undefined, cancellationToken: CancellationToken): int;
96
+ takeFromAny<T>(collections: BlockingCollection_1<T>[], item: T | undefined): int;
97
97
  tryAddToAny<T>(collections: BlockingCollection_1<T>[], item: T, millisecondsTimeout: int, cancellationToken: CancellationToken): int;
98
98
  tryAddToAny<T>(collections: BlockingCollection_1<T>[], item: T, millisecondsTimeout: int): int;
99
99
  tryAddToAny<T>(collections: BlockingCollection_1<T>[], item: T, timeout: TimeSpan): int;
100
100
  tryAddToAny<T>(collections: BlockingCollection_1<T>[], item: T): int;
101
- tryTakeFromAny<T>(collections: BlockingCollection_1<T>[], item: T, millisecondsTimeout: int, cancellationToken: CancellationToken): int;
102
- tryTakeFromAny<T>(collections: BlockingCollection_1<T>[], item: T, millisecondsTimeout: int): int;
103
- tryTakeFromAny<T>(collections: BlockingCollection_1<T>[], item: T, timeout: TimeSpan): int;
104
- tryTakeFromAny<T>(collections: BlockingCollection_1<T>[], item: T): int;
101
+ tryTakeFromAny<T>(collections: BlockingCollection_1<T>[], item: T | undefined, millisecondsTimeout: int, cancellationToken: CancellationToken): int;
102
+ tryTakeFromAny<T>(collections: BlockingCollection_1<T>[], item: T | undefined, millisecondsTimeout: int): int;
103
+ tryTakeFromAny<T>(collections: BlockingCollection_1<T>[], item: T | undefined, timeout: TimeSpan): int;
104
+ tryTakeFromAny<T>(collections: BlockingCollection_1<T>[], item: T | undefined): int;
105
105
  };
106
106
 
107
107
 
@@ -132,8 +132,8 @@ export interface ConcurrentBag_1$instance<T> {
132
132
 
133
133
 
134
134
  export const ConcurrentBag_1: {
135
- new<T>(): ConcurrentBag_1$instance<T>;
136
- new<T>(collection: IEnumerable_1<T>): ConcurrentBag_1$instance<T>;
135
+ new<T>(): ConcurrentBag_1<T>;
136
+ new<T>(collection: IEnumerable_1<T>): ConcurrentBag_1<T>;
137
137
  };
138
138
 
139
139
 
@@ -176,13 +176,13 @@ export interface ConcurrentDictionary_2$instance<TKey, TValue> {
176
176
 
177
177
 
178
178
  export const ConcurrentDictionary_2: {
179
- new<TKey, TValue>(): ConcurrentDictionary_2$instance<TKey, TValue>;
180
- new<TKey, TValue>(concurrencyLevel: int, capacity: int): ConcurrentDictionary_2$instance<TKey, TValue>;
181
- new<TKey, TValue>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ConcurrentDictionary_2$instance<TKey, TValue>;
182
- new<TKey, TValue>(comparer: IEqualityComparer_1<TKey>): ConcurrentDictionary_2$instance<TKey, TValue>;
183
- new<TKey, TValue>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, comparer: IEqualityComparer_1<TKey>): ConcurrentDictionary_2$instance<TKey, TValue>;
184
- new<TKey, TValue>(concurrencyLevel: int, collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, comparer: IEqualityComparer_1<TKey>): ConcurrentDictionary_2$instance<TKey, TValue>;
185
- new<TKey, TValue>(concurrencyLevel: int, capacity: int, comparer: IEqualityComparer_1<TKey>): ConcurrentDictionary_2$instance<TKey, TValue>;
179
+ new<TKey, TValue>(): ConcurrentDictionary_2<TKey, TValue>;
180
+ new<TKey, TValue>(concurrencyLevel: int, capacity: int): ConcurrentDictionary_2<TKey, TValue>;
181
+ new<TKey, TValue>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ConcurrentDictionary_2<TKey, TValue>;
182
+ new<TKey, TValue>(comparer: IEqualityComparer_1<TKey> | undefined): ConcurrentDictionary_2<TKey, TValue>;
183
+ new<TKey, TValue>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, comparer: IEqualityComparer_1<TKey> | undefined): ConcurrentDictionary_2<TKey, TValue>;
184
+ new<TKey, TValue>(concurrencyLevel: int, collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, comparer: IEqualityComparer_1<TKey> | undefined): ConcurrentDictionary_2<TKey, TValue>;
185
+ new<TKey, TValue>(concurrencyLevel: int, capacity: int, comparer: IEqualityComparer_1<TKey> | undefined): ConcurrentDictionary_2<TKey, TValue>;
186
186
  };
187
187
 
188
188
 
@@ -214,8 +214,8 @@ export interface ConcurrentQueue_1$instance<T> {
214
214
 
215
215
 
216
216
  export const ConcurrentQueue_1: {
217
- new<T>(): ConcurrentQueue_1$instance<T>;
218
- new<T>(collection: IEnumerable_1<T>): ConcurrentQueue_1$instance<T>;
217
+ new<T>(): ConcurrentQueue_1<T>;
218
+ new<T>(collection: IEnumerable_1<T>): ConcurrentQueue_1<T>;
219
219
  };
220
220
 
221
221
 
@@ -248,8 +248,8 @@ export interface ConcurrentStack_1$instance<T> {
248
248
 
249
249
 
250
250
  export const ConcurrentStack_1: {
251
- new<T>(): ConcurrentStack_1$instance<T>;
252
- new<T>(collection: IEnumerable_1<T>): ConcurrentStack_1$instance<T>;
251
+ new<T>(): ConcurrentStack_1<T>;
252
+ new<T>(collection: IEnumerable_1<T>): ConcurrentStack_1<T>;
253
253
  };
254
254
 
255
255
 
@@ -2348,20 +2348,6 @@
2348
2348
  "declaringAssemblyName": "System.Private.CoreLib",
2349
2349
  "isExtensionMethod": false
2350
2350
  },
2351
- {
2352
- "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::CopyTo(T[],System.Int32):System.Void",
2353
- "clrName": "CopyTo",
2354
- "tsEmitName": "copyTo$view",
2355
- "metadataToken": 100704541,
2356
- "canonicalSignature": "(T[],System.Int32):System.Void",
2357
- "normalizedSignature": "CopyTo|(T[],System.Int32):System.Void|static=false",
2358
- "emitScope": "ViewOnly",
2359
- "arity": 0,
2360
- "parameterCount": 2,
2361
- "declaringClrType": "System.Collections.Generic.ICollection\u00601",
2362
- "declaringAssemblyName": "System.Private.CoreLib",
2363
- "isExtensionMethod": false
2364
- },
2365
2351
  {
2366
2352
  "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Contains(T):System.Boolean",
2367
2353
  "clrName": "Contains",
@@ -2376,6 +2362,20 @@
2376
2362
  "declaringAssemblyName": "System.Private.CoreLib",
2377
2363
  "isExtensionMethod": false
2378
2364
  },
2365
+ {
2366
+ "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::CopyTo(T[],System.Int32):System.Void",
2367
+ "clrName": "CopyTo",
2368
+ "tsEmitName": "copyTo$view",
2369
+ "metadataToken": 100704541,
2370
+ "canonicalSignature": "(T[],System.Int32):System.Void",
2371
+ "normalizedSignature": "CopyTo|(T[],System.Int32):System.Void|static=false",
2372
+ "emitScope": "ViewOnly",
2373
+ "arity": 0,
2374
+ "parameterCount": 2,
2375
+ "declaringClrType": "System.Collections.Generic.ICollection\u00601",
2376
+ "declaringAssemblyName": "System.Private.CoreLib",
2377
+ "isExtensionMethod": false
2378
+ },
2379
2379
  {
2380
2380
  "stableId": "System.Private.CoreLib:System.Collections.Generic.IReadOnlySet\u00601::Contains(T):System.Boolean",
2381
2381
  "clrName": "Contains",
@@ -2762,23 +2762,23 @@
2762
2762
  }
2763
2763
  },
2764
2764
  {
2765
- "tsName": "copyTo$view",
2765
+ "tsName": "contains$view",
2766
2766
  "isStatic": false,
2767
- "tsSignatureId": "CopyTo|(T[],System.Int32):System.Void|static=false",
2767
+ "tsSignatureId": "Contains|(T):System.Boolean|static=false",
2768
2768
  "target": {
2769
2769
  "declaringClrType": "System.Collections.Generic.ICollection\u00601",
2770
2770
  "declaringAssemblyName": "System.Private.CoreLib",
2771
- "metadataToken": 100704541
2771
+ "metadataToken": 100704540
2772
2772
  }
2773
2773
  },
2774
2774
  {
2775
- "tsName": "contains$view",
2775
+ "tsName": "copyTo$view",
2776
2776
  "isStatic": false,
2777
- "tsSignatureId": "Contains|(T):System.Boolean|static=false",
2777
+ "tsSignatureId": "CopyTo|(T[],System.Int32):System.Void|static=false",
2778
2778
  "target": {
2779
2779
  "declaringClrType": "System.Collections.Generic.ICollection\u00601",
2780
2780
  "declaringAssemblyName": "System.Private.CoreLib",
2781
- "metadataToken": 100704540
2781
+ "metadataToken": 100704541
2782
2782
  }
2783
2783
  },
2784
2784
  {
@@ -26,7 +26,7 @@ export interface FrozenDictionary_2_AlternateLookup_1$instance<TKey, TValue, TAl
26
26
 
27
27
 
28
28
  export const FrozenDictionary_2_AlternateLookup_1: {
29
- new<TKey, TValue, TAlternateKey>(): FrozenDictionary_2_AlternateLookup_1$instance<TKey, TValue, TAlternateKey>;
29
+ new<TKey, TValue, TAlternateKey>(): FrozenDictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>;
30
30
  };
31
31
 
32
32
 
@@ -40,7 +40,7 @@ export interface FrozenDictionary_2_Enumerator$instance<TKey, TValue> {
40
40
 
41
41
 
42
42
  export const FrozenDictionary_2_Enumerator: {
43
- new<TKey, TValue>(): FrozenDictionary_2_Enumerator$instance<TKey, TValue>;
43
+ new<TKey, TValue>(): FrozenDictionary_2_Enumerator<TKey, TValue>;
44
44
  };
45
45
 
46
46
 
@@ -60,7 +60,7 @@ export interface FrozenSet_1_AlternateLookup_1$instance<T, TAlternate> {
60
60
 
61
61
 
62
62
  export const FrozenSet_1_AlternateLookup_1: {
63
- new<T, TAlternate>(): FrozenSet_1_AlternateLookup_1$instance<T, TAlternate>;
63
+ new<T, TAlternate>(): FrozenSet_1_AlternateLookup_1<T, TAlternate>;
64
64
  };
65
65
 
66
66
 
@@ -74,7 +74,7 @@ export interface FrozenSet_1_Enumerator$instance<T> {
74
74
 
75
75
 
76
76
  export const FrozenSet_1_Enumerator: {
77
- new<T>(): FrozenSet_1_Enumerator$instance<T>;
77
+ new<T>(): FrozenSet_1_Enumerator<T>;
78
78
  };
79
79
 
80
80
 
@@ -161,20 +161,20 @@ export type FrozenSet_1<T> = FrozenSet_1$instance<T> & __FrozenSet_1$views<T>;
161
161
 
162
162
 
163
163
  export abstract class FrozenDictionary$instance {
164
- static create<TKey, TValue>(comparer: IEqualityComparer_1<TKey>, source: ReadOnlySpan_1<KeyValuePair_2<TKey, TValue>>): FrozenDictionary_2<TKey, TValue>;
164
+ static create<TKey, TValue>(comparer: IEqualityComparer_1<TKey> | undefined, source: ReadOnlySpan_1<KeyValuePair_2<TKey, TValue>>): FrozenDictionary_2<TKey, TValue>;
165
165
  static create<TKey, TValue>(source: ReadOnlySpan_1<KeyValuePair_2<TKey, TValue>>): FrozenDictionary_2<TKey, TValue>;
166
- static toFrozenDictionary<TSource, TKey, TElement>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TElement>, comparer?: IEqualityComparer_1<TKey>): FrozenDictionary_2<TKey, TElement>;
167
- static toFrozenDictionary<TSource, TKey>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, comparer?: IEqualityComparer_1<TKey>): FrozenDictionary_2<TKey, TSource>;
168
- static toFrozenDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, comparer?: IEqualityComparer_1<TKey>): FrozenDictionary_2<TKey, TValue>;
166
+ static toFrozenDictionary<TSource, TKey, TElement>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TElement>, comparer?: IEqualityComparer_1<TKey> | undefined): FrozenDictionary_2<TKey, TElement>;
167
+ static toFrozenDictionary<TSource, TKey>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, comparer?: IEqualityComparer_1<TKey> | undefined): FrozenDictionary_2<TKey, TSource>;
168
+ static toFrozenDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, comparer?: IEqualityComparer_1<TKey> | undefined): FrozenDictionary_2<TKey, TValue>;
169
169
  }
170
170
 
171
171
 
172
172
  export type FrozenDictionary = FrozenDictionary$instance;
173
173
 
174
174
  export abstract class FrozenSet$instance {
175
- static create<T>(equalityComparer: IEqualityComparer_1<T>, source: ReadOnlySpan_1<T>): FrozenSet_1<T>;
175
+ static create<T>(equalityComparer: IEqualityComparer_1<T> | undefined, source: ReadOnlySpan_1<T>): FrozenSet_1<T>;
176
176
  static create<T>(source: ReadOnlySpan_1<T>): FrozenSet_1<T>;
177
- static toFrozenSet<T>(source: IEnumerable_1<T>, comparer?: IEqualityComparer_1<T>): FrozenSet_1<T>;
177
+ static toFrozenSet<T>(source: IEnumerable_1<T>, comparer?: IEqualityComparer_1<T> | undefined): FrozenSet_1<T>;
178
178
  }
179
179
 
180
180
 
@@ -1581,10 +1581,10 @@
1581
1581
  "isExtensionMethod": false
1582
1582
  },
1583
1583
  {
1584
- "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::CopyTo(T[],System.Int32):System.Void",
1585
- "clrName": "CopyTo",
1586
- "tsEmitName": "copyTo$view",
1587
- "normalizedSignature": "CopyTo|(T[],System.Int32):System.Void|static=false",
1584
+ "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Contains(T):System.Boolean",
1585
+ "clrName": "Contains",
1586
+ "tsEmitName": "contains$view",
1587
+ "normalizedSignature": "Contains|(T):System.Boolean|static=false",
1588
1588
  "provenance": "ExplicitView",
1589
1589
  "emitScope": "ViewOnly",
1590
1590
  "isStatic": false,
@@ -1593,15 +1593,15 @@
1593
1593
  "isOverride": false,
1594
1594
  "isSealed": false,
1595
1595
  "arity": 0,
1596
- "parameterCount": 2,
1596
+ "parameterCount": 1,
1597
1597
  "sourceInterface": "System.Collections.Generic.ICollection\u00601",
1598
1598
  "isExtensionMethod": false
1599
1599
  },
1600
1600
  {
1601
- "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Contains(T):System.Boolean",
1602
- "clrName": "Contains",
1603
- "tsEmitName": "contains$view",
1604
- "normalizedSignature": "Contains|(T):System.Boolean|static=false",
1601
+ "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::CopyTo(T[],System.Int32):System.Void",
1602
+ "clrName": "CopyTo",
1603
+ "tsEmitName": "copyTo$view",
1604
+ "normalizedSignature": "CopyTo|(T[],System.Int32):System.Void|static=false",
1605
1605
  "provenance": "ExplicitView",
1606
1606
  "emitScope": "ViewOnly",
1607
1607
  "isStatic": false,
@@ -1610,7 +1610,7 @@
1610
1610
  "isOverride": false,
1611
1611
  "isSealed": false,
1612
1612
  "arity": 0,
1613
- "parameterCount": 1,
1613
+ "parameterCount": 2,
1614
1614
  "sourceInterface": "System.Collections.Generic.ICollection\u00601",
1615
1615
  "isExtensionMethod": false
1616
1616
  },