@tsonic/dotnet 10.0.40 → 10.0.42

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 (341) hide show
  1. package/Internal/bindings.json +5 -5
  2. package/Internal/internal/index.d.ts +4 -3
  3. package/Internal.d.ts +4 -0
  4. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
  5. package/Microsoft.CSharp.RuntimeBinder.d.ts +4 -0
  6. package/Microsoft.VisualBasic/bindings.json +13 -13
  7. package/Microsoft.VisualBasic/internal/index.d.ts +5 -7
  8. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +3 -5
  9. package/Microsoft.VisualBasic.CompilerServices.d.ts +4 -0
  10. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -3
  11. package/Microsoft.VisualBasic.FileIO.d.ts +4 -0
  12. package/Microsoft.VisualBasic.d.ts +4 -0
  13. package/Microsoft.Win32/internal/index.d.ts +19 -18
  14. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
  15. package/Microsoft.Win32.SafeHandles.d.ts +4 -0
  16. package/Microsoft.Win32.d.ts +4 -0
  17. package/README.md +83 -104
  18. package/System/bindings.json +1858 -2297
  19. package/System/internal/index.d.ts +1972 -2010
  20. package/System.Buffers/bindings.json +12 -3
  21. package/System.Buffers/internal/index.d.ts +56 -58
  22. package/System.Buffers.Binary/internal/index.d.ts +2 -4
  23. package/System.Buffers.Binary.d.ts +4 -0
  24. package/System.Buffers.Text/internal/index.d.ts +2 -4
  25. package/System.Buffers.Text.d.ts +4 -0
  26. package/System.Buffers.d.ts +10 -6
  27. package/System.CodeDom.Compiler/internal/index.d.ts +31 -30
  28. package/System.CodeDom.Compiler.d.ts +4 -0
  29. package/System.Collections/bindings.json +300 -300
  30. package/System.Collections/internal/index.d.ts +90 -92
  31. package/System.Collections.Concurrent/bindings.json +311 -311
  32. package/System.Collections.Concurrent/internal/index.d.ts +83 -85
  33. package/System.Collections.Concurrent.d.ts +7 -3
  34. package/System.Collections.Frozen/bindings.json +490 -648
  35. package/System.Collections.Frozen/internal/index.d.ts +95 -109
  36. package/System.Collections.Frozen.d.ts +18 -2
  37. package/System.Collections.Generic/bindings.json +9628 -14043
  38. package/System.Collections.Generic/internal/index.d.ts +632 -827
  39. package/System.Collections.Generic.d.ts +20 -16
  40. package/System.Collections.Immutable/bindings.json +6134 -9214
  41. package/System.Collections.Immutable/internal/index.d.ts +414 -502
  42. package/System.Collections.Immutable.d.ts +58 -17
  43. package/System.Collections.ObjectModel/bindings.json +328 -850
  44. package/System.Collections.ObjectModel/internal/index.d.ts +42 -62
  45. package/System.Collections.ObjectModel.d.ts +6 -2
  46. package/System.Collections.Specialized/bindings.json +79 -202
  47. package/System.Collections.Specialized/internal/index.d.ts +72 -85
  48. package/System.Collections.Specialized.d.ts +4 -0
  49. package/System.Collections.d.ts +4 -0
  50. package/System.ComponentModel/bindings.json +271 -210
  51. package/System.ComponentModel/internal/index.d.ts +562 -547
  52. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +126 -125
  53. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
  54. package/System.ComponentModel.DataAnnotations.Schema.d.ts +4 -0
  55. package/System.ComponentModel.DataAnnotations.d.ts +4 -0
  56. package/System.ComponentModel.Design/bindings.json +40 -310
  57. package/System.ComponentModel.Design/internal/index.d.ts +85 -93
  58. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +42 -41
  59. package/System.ComponentModel.Design.Serialization.d.ts +4 -0
  60. package/System.ComponentModel.Design.d.ts +4 -0
  61. package/System.ComponentModel.d.ts +5 -0
  62. package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
  63. package/System.Configuration.Assemblies.d.ts +4 -0
  64. package/System.Data/bindings.json +128 -125
  65. package/System.Data/internal/index.d.ts +341 -340
  66. package/System.Data.Common/bindings.json +68 -68
  67. package/System.Data.Common/internal/index.d.ts +135 -136
  68. package/System.Data.Common.d.ts +4 -0
  69. package/System.Data.SqlTypes/internal/index.d.ts +55 -54
  70. package/System.Data.SqlTypes.d.ts +4 -0
  71. package/System.Data.d.ts +8 -4
  72. package/System.Diagnostics/bindings.json +6324 -6509
  73. package/System.Diagnostics/internal/index.d.ts +435 -437
  74. package/System.Diagnostics.CodeAnalysis/bindings.json +121 -121
  75. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
  76. package/System.Diagnostics.CodeAnalysis.d.ts +4 -0
  77. package/System.Diagnostics.Contracts/bindings.json +62 -62
  78. package/System.Diagnostics.Contracts/internal/index.d.ts +23 -25
  79. package/System.Diagnostics.Contracts.d.ts +4 -0
  80. package/System.Diagnostics.Metrics/internal/index.d.ts +82 -84
  81. package/System.Diagnostics.Metrics.d.ts +7 -3
  82. package/System.Diagnostics.SymbolStore/bindings.json +2 -2
  83. package/System.Diagnostics.SymbolStore/internal/index.d.ts +11 -10
  84. package/System.Diagnostics.SymbolStore.d.ts +4 -0
  85. package/System.Diagnostics.Tracing/bindings.json +291 -231
  86. package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
  87. package/System.Diagnostics.Tracing.d.ts +6 -1
  88. package/System.Diagnostics.d.ts +5 -1
  89. package/System.Drawing/internal/index.d.ts +76 -75
  90. package/System.Drawing.d.ts +4 -0
  91. package/System.Dynamic/bindings.json +13 -13
  92. package/System.Dynamic/internal/index.d.ts +35 -36
  93. package/System.Dynamic.d.ts +4 -0
  94. package/System.Formats.Asn1/bindings.json +48 -69
  95. package/System.Formats.Asn1/internal/index.d.ts +30 -37
  96. package/System.Formats.Asn1.d.ts +4 -0
  97. package/System.Formats.Tar/internal/index.d.ts +8 -7
  98. package/System.Formats.Tar.d.ts +4 -0
  99. package/System.Globalization/bindings.json +3 -3
  100. package/System.Globalization/internal/index.d.ts +35 -37
  101. package/System.Globalization.d.ts +4 -0
  102. package/System.IO/bindings.json +957 -957
  103. package/System.IO/internal/index.d.ts +183 -185
  104. package/System.IO.Compression/internal/index.d.ts +33 -35
  105. package/System.IO.Compression.d.ts +4 -0
  106. package/System.IO.Enumeration/bindings.json +402 -402
  107. package/System.IO.Enumeration/internal/index.d.ts +21 -23
  108. package/System.IO.Enumeration.d.ts +4 -0
  109. package/System.IO.IsolatedStorage/internal/index.d.ts +16 -15
  110. package/System.IO.IsolatedStorage.d.ts +4 -0
  111. package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
  112. package/System.IO.MemoryMappedFiles.d.ts +4 -0
  113. package/System.IO.Pipelines/internal/index.d.ts +15 -17
  114. package/System.IO.Pipelines.d.ts +4 -0
  115. package/System.IO.Pipes/internal/index.d.ts +8 -7
  116. package/System.IO.Pipes.d.ts +4 -0
  117. package/System.IO.d.ts +4 -0
  118. package/System.Linq/bindings.json +22 -22
  119. package/System.Linq/internal/index.d.ts +705 -705
  120. package/System.Linq.Expressions/internal/index.d.ts +219 -195
  121. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
  122. package/System.Linq.Expressions.Interpreter.d.ts +4 -0
  123. package/System.Linq.Expressions.d.ts +6 -2
  124. package/System.Linq.d.ts +18 -14
  125. package/System.Net/bindings.json +131 -131
  126. package/System.Net/internal/index.d.ts +276 -278
  127. package/System.Net.Cache/internal/index.d.ts +3 -2
  128. package/System.Net.Cache.d.ts +4 -0
  129. package/System.Net.Http/bindings.json +22 -22
  130. package/System.Net.Http/internal/index.d.ts +128 -130
  131. package/System.Net.Http.Headers/bindings.json +36 -200
  132. package/System.Net.Http.Headers/internal/index.d.ts +114 -128
  133. package/System.Net.Http.Headers.d.ts +4 -0
  134. package/System.Net.Http.Json/internal/index.d.ts +67 -69
  135. package/System.Net.Http.Json.d.ts +4 -0
  136. package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
  137. package/System.Net.Http.Metrics.d.ts +4 -0
  138. package/System.Net.Http.d.ts +5 -1
  139. package/System.Net.Mail/bindings.json +96 -96
  140. package/System.Net.Mail/internal/index.d.ts +78 -80
  141. package/System.Net.Mail.d.ts +4 -0
  142. package/System.Net.Mime/internal/index.d.ts +11 -10
  143. package/System.Net.Mime.d.ts +4 -0
  144. package/System.Net.NetworkInformation/bindings.json +40 -40
  145. package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
  146. package/System.Net.NetworkInformation.d.ts +4 -0
  147. package/System.Net.Quic/internal/index.d.ts +11 -10
  148. package/System.Net.Quic.d.ts +4 -0
  149. package/System.Net.Security/internal/index.d.ts +90 -92
  150. package/System.Net.Security.d.ts +4 -0
  151. package/System.Net.ServerSentEvents/internal/index.d.ts +13 -12
  152. package/System.Net.ServerSentEvents.d.ts +7 -3
  153. package/System.Net.Sockets/internal/index.d.ts +91 -93
  154. package/System.Net.Sockets.d.ts +4 -0
  155. package/System.Net.WebSockets/bindings.json +101 -101
  156. package/System.Net.WebSockets/internal/index.d.ts +49 -48
  157. package/System.Net.WebSockets.d.ts +4 -0
  158. package/System.Net.d.ts +4 -0
  159. package/System.Numerics/bindings.json +547 -119
  160. package/System.Numerics/internal/index.d.ts +302 -304
  161. package/System.Numerics.d.ts +38 -34
  162. package/System.Reflection/bindings.json +870 -870
  163. package/System.Reflection/internal/index.d.ts +257 -259
  164. package/System.Reflection.Emit/bindings.json +754 -754
  165. package/System.Reflection.Emit/internal/index.d.ts +114 -114
  166. package/System.Reflection.Emit.d.ts +4 -0
  167. package/System.Reflection.Metadata/bindings.json +535 -3018
  168. package/System.Reflection.Metadata/internal/index.d.ts +188 -369
  169. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +16 -18
  170. package/System.Reflection.Metadata.Ecma335.d.ts +4 -0
  171. package/System.Reflection.Metadata.d.ts +9 -5
  172. package/System.Reflection.PortableExecutable/bindings.json +58 -0
  173. package/System.Reflection.PortableExecutable/internal/index.d.ts +25 -12
  174. package/System.Reflection.PortableExecutable.d.ts +5 -0
  175. package/System.Reflection.d.ts +4 -0
  176. package/System.Resources/bindings.json +3 -3
  177. package/System.Resources/internal/index.d.ts +33 -35
  178. package/System.Resources.d.ts +4 -0
  179. package/System.Runtime/bindings.json +9 -9
  180. package/System.Runtime/internal/index.d.ts +11 -10
  181. package/System.Runtime.CompilerServices/bindings.json +962 -1160
  182. package/System.Runtime.CompilerServices/internal/index.d.ts +280 -304
  183. package/System.Runtime.CompilerServices.d.ts +30 -16
  184. package/System.Runtime.ConstrainedExecution/bindings.json +9 -9
  185. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
  186. package/System.Runtime.ConstrainedExecution.d.ts +4 -0
  187. package/System.Runtime.ExceptionServices/bindings.json +9 -9
  188. package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -2
  189. package/System.Runtime.ExceptionServices.d.ts +4 -0
  190. package/System.Runtime.InteropServices/bindings.json +666 -666
  191. package/System.Runtime.InteropServices/internal/index.d.ts +250 -252
  192. package/System.Runtime.InteropServices.ComTypes/bindings.json +349 -349
  193. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +22 -24
  194. package/System.Runtime.InteropServices.ComTypes.d.ts +4 -0
  195. package/System.Runtime.InteropServices.Java/bindings.json +12 -12
  196. package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -5
  197. package/System.Runtime.InteropServices.Java.d.ts +4 -0
  198. package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
  199. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +70 -72
  200. package/System.Runtime.InteropServices.JavaScript.d.ts +14 -28
  201. package/System.Runtime.InteropServices.Marshalling/bindings.json +2422 -2422
  202. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +317 -319
  203. package/System.Runtime.InteropServices.Marshalling.d.ts +4 -0
  204. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +151 -151
  205. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +16 -18
  206. package/System.Runtime.InteropServices.ObjectiveC.d.ts +4 -0
  207. package/System.Runtime.InteropServices.Swift/bindings.json +4 -4
  208. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +5 -7
  209. package/System.Runtime.InteropServices.Swift.d.ts +6 -2
  210. package/System.Runtime.InteropServices.d.ts +6 -2
  211. package/System.Runtime.Intrinsics/bindings.json +64 -16
  212. package/System.Runtime.Intrinsics/internal/index.d.ts +515 -517
  213. package/System.Runtime.Intrinsics.Arm/bindings.json +31 -31
  214. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
  215. package/System.Runtime.Intrinsics.Arm.d.ts +4 -0
  216. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
  217. package/System.Runtime.Intrinsics.Wasm.d.ts +4 -0
  218. package/System.Runtime.Intrinsics.X86/bindings.json +38 -38
  219. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
  220. package/System.Runtime.Intrinsics.X86.d.ts +4 -0
  221. package/System.Runtime.Intrinsics.d.ts +12 -8
  222. package/System.Runtime.Loader/bindings.json +48 -69
  223. package/System.Runtime.Loader/internal/index.d.ts +30 -34
  224. package/System.Runtime.Loader.d.ts +4 -0
  225. package/System.Runtime.Remoting/internal/index.d.ts +5 -4
  226. package/System.Runtime.Remoting.d.ts +4 -0
  227. package/System.Runtime.Serialization/bindings.json +13 -13
  228. package/System.Runtime.Serialization/internal/index.d.ts +124 -126
  229. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +28 -30
  230. package/System.Runtime.Serialization.DataContracts.d.ts +4 -0
  231. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
  232. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +8 -7
  233. package/System.Runtime.Serialization.Formatters.Binary.d.ts +4 -0
  234. package/System.Runtime.Serialization.Formatters.d.ts +4 -0
  235. package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
  236. package/System.Runtime.Serialization.Json.d.ts +4 -0
  237. package/System.Runtime.Serialization.d.ts +4 -0
  238. package/System.Runtime.Versioning/bindings.json +13 -13
  239. package/System.Runtime.Versioning/internal/index.d.ts +20 -19
  240. package/System.Runtime.Versioning.d.ts +4 -0
  241. package/System.Runtime.d.ts +4 -0
  242. package/System.Security/bindings.json +5 -5
  243. package/System.Security/internal/index.d.ts +64 -66
  244. package/System.Security.AccessControl/bindings.json +137 -33
  245. package/System.Security.AccessControl/internal/index.d.ts +62 -61
  246. package/System.Security.AccessControl.d.ts +13 -8
  247. package/System.Security.Authentication/internal/index.d.ts +7 -6
  248. package/System.Security.Authentication.ExtendedProtection/bindings.json +5 -5
  249. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
  250. package/System.Security.Authentication.ExtendedProtection.d.ts +4 -0
  251. package/System.Security.Authentication.d.ts +4 -0
  252. package/System.Security.Claims/internal/index.d.ts +45 -44
  253. package/System.Security.Claims.d.ts +4 -0
  254. package/System.Security.Cryptography/bindings.json +509 -509
  255. package/System.Security.Cryptography/internal/index.d.ts +268 -269
  256. package/System.Security.Cryptography.X509Certificates/bindings.json +312 -374
  257. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +96 -103
  258. package/System.Security.Cryptography.X509Certificates.d.ts +4 -0
  259. package/System.Security.Cryptography.d.ts +4 -0
  260. package/System.Security.Permissions/internal/index.d.ts +5 -4
  261. package/System.Security.Permissions.d.ts +4 -0
  262. package/System.Security.Policy/bindings.json +5 -5
  263. package/System.Security.Policy/internal/index.d.ts +9 -8
  264. package/System.Security.Policy.d.ts +4 -0
  265. package/System.Security.Principal/bindings.json +8 -8
  266. package/System.Security.Principal/internal/index.d.ts +30 -29
  267. package/System.Security.Principal.d.ts +4 -0
  268. package/System.Security.d.ts +4 -0
  269. package/System.Text/bindings.json +1577 -1577
  270. package/System.Text/internal/index.d.ts +121 -123
  271. package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
  272. package/System.Text.Encodings.Web.d.ts +4 -0
  273. package/System.Text.Json/bindings.json +0 -290
  274. package/System.Text.Json/internal/index.d.ts +143 -161
  275. package/System.Text.Json.Nodes/bindings.json +27 -27
  276. package/System.Text.Json.Nodes/internal/index.d.ts +63 -65
  277. package/System.Text.Json.Nodes.d.ts +4 -0
  278. package/System.Text.Json.Schema/internal/index.d.ts +9 -8
  279. package/System.Text.Json.Schema.d.ts +4 -0
  280. package/System.Text.Json.Serialization/internal/index.d.ts +37 -39
  281. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +120 -119
  282. package/System.Text.Json.Serialization.Metadata.d.ts +6 -2
  283. package/System.Text.Json.Serialization.d.ts +10 -6
  284. package/System.Text.Json.d.ts +4 -0
  285. package/System.Text.RegularExpressions/bindings.json +414 -578
  286. package/System.Text.RegularExpressions/internal/index.d.ts +48 -62
  287. package/System.Text.RegularExpressions.d.ts +4 -0
  288. package/System.Text.Unicode/bindings.json +508 -508
  289. package/System.Text.Unicode/internal/index.d.ts +29 -31
  290. package/System.Text.Unicode.d.ts +4 -0
  291. package/System.Text.d.ts +4 -0
  292. package/System.Threading/bindings.json +61 -61
  293. package/System.Threading/internal/index.d.ts +156 -158
  294. package/System.Threading.Channels/internal/index.d.ts +31 -33
  295. package/System.Threading.Channels.d.ts +8 -4
  296. package/System.Threading.Tasks/bindings.json +142 -39
  297. package/System.Threading.Tasks/internal/index.d.ts +250 -247
  298. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +121 -122
  299. package/System.Threading.Tasks.Dataflow.d.ts +18 -14
  300. package/System.Threading.Tasks.Sources/bindings.json +9 -9
  301. package/System.Threading.Tasks.Sources/internal/index.d.ts +11 -10
  302. package/System.Threading.Tasks.Sources.d.ts +6 -2
  303. package/System.Threading.Tasks.d.ts +12 -8
  304. package/System.Threading.d.ts +4 -0
  305. package/System.Timers/internal/index.d.ts +8 -7
  306. package/System.Timers.d.ts +4 -0
  307. package/System.Transactions/internal/index.d.ts +31 -30
  308. package/System.Transactions.d.ts +4 -0
  309. package/System.Web/internal/index.d.ts +32 -31
  310. package/System.Web.d.ts +4 -0
  311. package/System.Windows.Input/internal/index.d.ts +5 -4
  312. package/System.Windows.Input.d.ts +4 -0
  313. package/System.Windows.Markup/internal/index.d.ts +3 -2
  314. package/System.Windows.Markup.d.ts +4 -0
  315. package/System.Xml/bindings.json +27 -27
  316. package/System.Xml/internal/index.d.ts +376 -378
  317. package/System.Xml.Linq/bindings.json +6 -6
  318. package/System.Xml.Linq/internal/index.d.ts +101 -100
  319. package/System.Xml.Linq.d.ts +4 -0
  320. package/System.Xml.Resolvers/internal/index.d.ts +10 -9
  321. package/System.Xml.Resolvers.d.ts +4 -0
  322. package/System.Xml.Schema/bindings.json +100 -100
  323. package/System.Xml.Schema/internal/index.d.ts +231 -230
  324. package/System.Xml.Schema.d.ts +4 -0
  325. package/System.Xml.Serialization/bindings.json +250 -57
  326. package/System.Xml.Serialization/internal/index.d.ts +274 -242
  327. package/System.Xml.Serialization.d.ts +6 -0
  328. package/System.Xml.XPath/bindings.json +1 -1
  329. package/System.Xml.XPath/internal/index.d.ts +37 -36
  330. package/System.Xml.XPath.d.ts +4 -0
  331. package/System.Xml.Xsl/bindings.json +1 -1
  332. package/System.Xml.Xsl/internal/index.d.ts +50 -49
  333. package/System.Xml.Xsl.Runtime/bindings.json +74 -71
  334. package/System.Xml.Xsl.Runtime/internal/index.d.ts +38 -40
  335. package/System.Xml.Xsl.Runtime.d.ts +4 -0
  336. package/System.Xml.Xsl.d.ts +4 -0
  337. package/System.Xml.d.ts +4 -0
  338. package/System.d.ts +126 -122
  339. package/__internal/extensions/index.d.ts +1335 -1338
  340. package/families.json +63 -7
  341. package/package.json +2 -2
@@ -2,16 +2,14 @@
2
2
  // Namespace: System.Collections.Generic
3
3
  // Assembly: System.Collections, System.Private.CoreLib
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 { 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 type { ReadOnlyCollection_1, ReadOnlyDictionary_2, ReadOnlySet_1 } from "../../System.Collections.ObjectModel/internal/index.js";
13
11
  import * as System_Collections_Internal from "../../System.Collections/internal/index.js";
14
- import type { DictionaryEntry, ICollection, IComparer, IDictionary, IDictionaryEnumerator, IEnumerable, IEnumerator, IEqualityComparer, IList } from "../../System.Collections/internal/index.js";
12
+ import type { ICollection, IComparer, IDictionary, IDictionaryEnumerator, IEnumerable, IEnumerator, IEqualityComparer, IList } from "../../System.Collections/internal/index.js";
15
13
  import type { MethodBase } from "../../System.Reflection/internal/index.js";
16
14
  import * as System_Runtime_Serialization_Internal from "../../System.Runtime.Serialization/internal/index.js";
17
15
  import type { IDeserializationCallback, ISerializable, SerializationInfo, StreamingContext } from "../../System.Runtime.Serialization/internal/index.js";
@@ -20,7 +18,7 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
20
18
  import * as System_Internal from "../../System/internal/index.js";
21
19
  import type { Action_1, Array as ClrArray, Boolean as ClrBoolean, Byte, Comparison_1, Converter_2, Enum, Exception, Func_2, Func_3, IAsyncDisposable, IComparable_1, IDisposable, IEquatable_1, Int32, Nullable_1, Object as ClrObject, Predicate_1, ReadOnlySpan_1, Span_1, String as ClrString, SystemException, Type, ValueTuple_2, ValueType, Void } from "../../System/internal/index.js";
22
20
 
23
- export interface IAlternateEqualityComparer_2$instance<TAlternate, T> {
21
+ export interface IAlternateEqualityComparer_2$instance<TAlternate extends unknown, T extends unknown> {
24
22
  readonly __tsonic_iface_System_Collections_Generic_IAlternateEqualityComparer_2: never;
25
23
 
26
24
  Create(alternate: TAlternate): T;
@@ -29,18 +27,18 @@ export interface IAlternateEqualityComparer_2$instance<TAlternate, T> {
29
27
  }
30
28
 
31
29
 
32
- export type IAlternateEqualityComparer_2<TAlternate, T> = IAlternateEqualityComparer_2$instance<TAlternate, T>;
30
+ export type IAlternateEqualityComparer_2<TAlternate extends unknown, T extends unknown> = IAlternateEqualityComparer_2$instance<TAlternate, T>;
33
31
 
34
- export interface IAsyncEnumerable_1$instance<T> {
32
+ export interface IAsyncEnumerable_1$instance<T extends unknown> {
35
33
  readonly __tsonic_iface_System_Collections_Generic_IAsyncEnumerable_1: never;
36
34
 
37
35
  GetAsyncEnumerator(cancellationToken?: CancellationToken): IAsyncEnumerator_1<T>;
38
36
  }
39
37
 
40
38
 
41
- export type IAsyncEnumerable_1<T> = IAsyncEnumerable_1$instance<T>;
39
+ export type IAsyncEnumerable_1<T extends unknown> = IAsyncEnumerable_1$instance<T>;
42
40
 
43
- export interface IAsyncEnumerator_1$instance<T> extends IAsyncDisposable {
41
+ export interface IAsyncEnumerator_1$instance<T extends unknown> extends IAsyncDisposable {
44
42
  readonly __tsonic_iface_System_Collections_Generic_IAsyncEnumerator_1: never;
45
43
 
46
44
  readonly Current: T;
@@ -49,11 +47,11 @@ export interface IAsyncEnumerator_1$instance<T> extends IAsyncDisposable {
49
47
  }
50
48
 
51
49
 
52
- export interface IAsyncEnumerator_1$instance<T> extends System_Internal.IAsyncDisposable$instance {}
50
+ export interface IAsyncEnumerator_1$instance<T extends unknown> extends System_Internal.IAsyncDisposable$instance {}
53
51
 
54
- export type IAsyncEnumerator_1<T> = IAsyncEnumerator_1$instance<T>;
52
+ export type IAsyncEnumerator_1<T extends unknown> = IAsyncEnumerator_1$instance<T>;
55
53
 
56
- export interface ICollection_1$instance<T> extends IEnumerable_1<T>, IEnumerable {
54
+ export interface ICollection_1$instance<T extends unknown> extends IEnumerable_1<T>, IEnumerable {
57
55
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
58
56
 
59
57
  readonly Count: int;
@@ -68,18 +66,18 @@ export interface ICollection_1$instance<T> extends IEnumerable_1<T>, IEnumerable
68
66
  }
69
67
 
70
68
 
71
- export type ICollection_1<T> = ICollection_1$instance<T>;
69
+ export type ICollection_1<T extends unknown> = ICollection_1$instance<T>;
72
70
 
73
- export interface IComparer_1$instance<T> {
71
+ export interface IComparer_1$instance<T extends unknown> {
74
72
  readonly __tsonic_iface_System_Collections_Generic_IComparer_1: never;
75
73
 
76
- Compare(x: T, y: T): int;
74
+ Compare(x: T | null, y: T | null): int;
77
75
  }
78
76
 
79
77
 
80
- export type IComparer_1<T> = IComparer_1$instance<T>;
78
+ export type IComparer_1<T extends unknown> = IComparer_1$instance<T>;
81
79
 
82
- export interface IDictionary_2$instance<TKey, TValue> extends ICollection_1<KeyValuePair_2<TKey, TValue>>, IEnumerable_1<KeyValuePair_2<TKey, TValue>>, IEnumerable {
80
+ export interface IDictionary_2$instance<TKey extends unknown, TValue extends unknown> extends ICollection_1<KeyValuePair_2<TKey, TValue>>, IEnumerable_1<KeyValuePair_2<TKey, TValue>>, IEnumerable {
83
81
  readonly __tsonic_iface_System_Collections_Generic_IDictionary_2: never;
84
82
 
85
83
  Item: TValue;
@@ -100,9 +98,9 @@ export interface IDictionary_2$instance<TKey, TValue> extends ICollection_1<KeyV
100
98
  }
101
99
 
102
100
 
103
- export type IDictionary_2<TKey, TValue> = IDictionary_2$instance<TKey, TValue>;
101
+ export type IDictionary_2<TKey extends unknown, TValue extends unknown> = IDictionary_2$instance<TKey, TValue>;
104
102
 
105
- export interface IEnumerable_1$instance<T> extends IEnumerable {
103
+ export interface IEnumerable_1$instance<T extends unknown> extends IEnumerable {
106
104
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
107
105
 
108
106
  GetEnumerator(): IEnumerator_1<T>;
@@ -110,9 +108,9 @@ export interface IEnumerable_1$instance<T> extends IEnumerable {
110
108
  }
111
109
 
112
110
 
113
- export type IEnumerable_1<T> = IEnumerable_1$instance<T>;
111
+ export type IEnumerable_1<T extends unknown> = IEnumerable_1$instance<T>;
114
112
 
115
- export interface IEnumerator_1$instance<T> extends IDisposable, IEnumerator {
113
+ export interface IEnumerator_1$instance<T extends unknown> extends IDisposable, IEnumerator {
116
114
  readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
117
115
 
118
116
  readonly Current: T;
@@ -122,21 +120,21 @@ export interface IEnumerator_1$instance<T> extends IDisposable, IEnumerator {
122
120
  }
123
121
 
124
122
 
125
- export interface IEnumerator_1$instance<T> extends System_Internal.IDisposable$instance {}
123
+ export interface IEnumerator_1$instance<T extends unknown> extends System_Internal.IDisposable$instance {}
126
124
 
127
- export type IEnumerator_1<T> = IEnumerator_1$instance<T>;
125
+ export type IEnumerator_1<T extends unknown> = IEnumerator_1$instance<T>;
128
126
 
129
- export interface IEqualityComparer_1$instance<T> {
127
+ export interface IEqualityComparer_1$instance<T extends unknown> {
130
128
  readonly __tsonic_iface_System_Collections_Generic_IEqualityComparer_1: never;
131
129
 
132
- Equals(x: T, y: T): boolean;
130
+ Equals(x: T | null, y: T | null): boolean;
133
131
  GetHashCode(obj: T): int;
134
132
  }
135
133
 
136
134
 
137
- export type IEqualityComparer_1<T> = IEqualityComparer_1$instance<T>;
135
+ export type IEqualityComparer_1<T extends unknown> = IEqualityComparer_1$instance<T>;
138
136
 
139
- export interface IList_1$instance<T> extends ICollection_1<T>, IEnumerable_1<T>, IEnumerable {
137
+ export interface IList_1$instance<T extends unknown> extends ICollection_1<T>, IEnumerable_1<T>, IEnumerable {
140
138
  readonly __tsonic_iface_System_Collections_Generic_IList_1: never;
141
139
 
142
140
  readonly Count: int;
@@ -154,9 +152,9 @@ export interface IList_1$instance<T> extends ICollection_1<T>, IEnumerable_1<T>,
154
152
  }
155
153
 
156
154
 
157
- export type IList_1<T> = IList_1$instance<T> & { [index: number]: T; };
155
+ export type IList_1<T extends unknown> = IList_1$instance<T> & { [index: number]: T; };
158
156
 
159
- export interface IReadOnlyCollection_1$instance<T> extends IEnumerable_1<T>, IEnumerable {
157
+ export interface IReadOnlyCollection_1$instance<T extends unknown> extends IEnumerable_1<T>, IEnumerable {
160
158
  readonly __tsonic_iface_System_Collections_Generic_IReadOnlyCollection_1: never;
161
159
 
162
160
  readonly Count: int;
@@ -166,9 +164,9 @@ export interface IReadOnlyCollection_1$instance<T> extends IEnumerable_1<T>, IEn
166
164
  }
167
165
 
168
166
 
169
- export type IReadOnlyCollection_1<T> = IReadOnlyCollection_1$instance<T>;
167
+ export type IReadOnlyCollection_1<T extends unknown> = IReadOnlyCollection_1$instance<T>;
170
168
 
171
- export interface IReadOnlyDictionary_2$instance<TKey, TValue> extends IReadOnlyCollection_1<KeyValuePair_2<TKey, TValue>>, IEnumerable_1<KeyValuePair_2<TKey, TValue>>, IEnumerable {
169
+ export interface IReadOnlyDictionary_2$instance<TKey extends unknown, TValue extends unknown> extends IReadOnlyCollection_1<KeyValuePair_2<TKey, TValue>>, IEnumerable_1<KeyValuePair_2<TKey, TValue>>, IEnumerable {
172
170
  readonly __tsonic_iface_System_Collections_Generic_IReadOnlyDictionary_2: never;
173
171
 
174
172
  readonly Item: TValue;
@@ -183,9 +181,9 @@ export interface IReadOnlyDictionary_2$instance<TKey, TValue> extends IReadOnlyC
183
181
  }
184
182
 
185
183
 
186
- export type IReadOnlyDictionary_2<TKey, TValue> = IReadOnlyDictionary_2$instance<TKey, TValue>;
184
+ export type IReadOnlyDictionary_2<TKey extends unknown, TValue extends unknown> = IReadOnlyDictionary_2$instance<TKey, TValue>;
187
185
 
188
- export interface IReadOnlyList_1$instance<T> extends IReadOnlyCollection_1<T>, IEnumerable_1<T>, IEnumerable {
186
+ export interface IReadOnlyList_1$instance<T extends unknown> extends IReadOnlyCollection_1<T>, IEnumerable_1<T>, IEnumerable {
189
187
  readonly __tsonic_iface_System_Collections_Generic_IReadOnlyList_1: never;
190
188
 
191
189
  readonly Count: int;
@@ -195,9 +193,9 @@ export interface IReadOnlyList_1$instance<T> extends IReadOnlyCollection_1<T>, I
195
193
  }
196
194
 
197
195
 
198
- export type IReadOnlyList_1<T> = IReadOnlyList_1$instance<T> & { readonly [index: number]: T; };
196
+ export type IReadOnlyList_1<T extends unknown> = IReadOnlyList_1$instance<T> & { readonly [index: number]: T; };
199
197
 
200
- export interface IReadOnlySet_1$instance<T> extends IReadOnlyCollection_1<T>, IEnumerable_1<T>, IEnumerable {
198
+ export interface IReadOnlySet_1$instance<T extends unknown> extends IReadOnlyCollection_1<T>, IEnumerable_1<T>, IEnumerable {
201
199
  readonly __tsonic_iface_System_Collections_Generic_IReadOnlySet_1: never;
202
200
 
203
201
  readonly Count: int;
@@ -209,9 +207,9 @@ export interface IReadOnlySet_1$instance<T> extends IReadOnlyCollection_1<T>, IE
209
207
  }
210
208
 
211
209
 
212
- export type IReadOnlySet_1<T> = IReadOnlySet_1$instance<T>;
210
+ export type IReadOnlySet_1<T extends unknown> = IReadOnlySet_1$instance<T>;
213
211
 
214
- export interface ISet_1$instance<T> extends ICollection_1<T>, IEnumerable_1<T>, IEnumerable {
212
+ export interface ISet_1$instance<T extends unknown> extends ICollection_1<T>, IEnumerable_1<T>, IEnumerable {
215
213
  readonly __tsonic_iface_System_Collections_Generic_ISet_1: never;
216
214
 
217
215
  readonly Count: int;
@@ -219,168 +217,19 @@ export interface ISet_1$instance<T> extends ICollection_1<T>, IEnumerable_1<T>,
219
217
  Add(item: T): void;
220
218
  Add(item: T): boolean;
221
219
  Clear(): void;
220
+ Contains(item: T): boolean;
222
221
  CopyTo(array: T[], arrayIndex: int): void;
223
222
  GetEnumerator(): IEnumerator_1<T>;
224
223
  GetEnumerator(): IEnumerator;
225
224
  IsSubsetOf(other: IEnumerable_1<T>): boolean;
226
225
  UnionWith(other: IEnumerable_1<T>): void;
227
- Contains(item: T): boolean;
228
226
  GetEnumerator2(): IEnumerator;
229
227
  }
230
228
 
231
229
 
232
- export type ISet_1<T> = ISet_1$instance<T>;
233
-
234
- export interface Dictionary_2_AlternateLookup_1$instance<TKey, TValue, TAlternateKey> {
235
- readonly __tsonic_type_System_Collections_Generic_Dictionary_2_AlternateLookup_1: never;
236
-
237
- readonly Dictionary: Dictionary_2<TKey, TValue>;
238
- Item: TValue;
239
- ContainsKey(key: TAlternateKey): boolean;
240
- Remove(key: TAlternateKey): boolean;
241
- Remove(key: TAlternateKey, actualKey: TKey, value: TValue): boolean;
242
- TryAdd(key: TAlternateKey, value: TValue): boolean;
243
- TryGetValue(key: TAlternateKey, value: TValue): boolean;
244
- TryGetValue(key: TAlternateKey, actualKey: TKey, value: TValue): boolean;
245
- }
246
-
247
-
248
- export const Dictionary_2_AlternateLookup_1: {
249
- new<TKey, TValue, TAlternateKey>(): Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>;
250
- };
251
-
252
-
253
- export type Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey> = Dictionary_2_AlternateLookup_1$instance<TKey, TValue, TAlternateKey>;
254
-
255
- export interface Dictionary_2_Enumerator$instance<TKey, TValue> extends IDisposable {
256
- readonly __tsonic_type_System_Collections_Generic_Dictionary_2_Enumerator: never;
257
-
258
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
259
- readonly __tsonic_iface_System_Collections_IDictionaryEnumerator: never;
260
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
261
- readonly __tsonic_iface_System_IDisposable: never;
262
-
263
- readonly Current: KeyValuePair_2<TKey, TValue>;
264
- Dispose(): void;
265
- MoveNext(): boolean;
266
- Reset(): void;
267
- }
268
-
269
-
270
- export const Dictionary_2_Enumerator: {
271
- new<TKey, TValue>(): Dictionary_2_Enumerator<TKey, TValue>;
272
- };
273
-
274
-
275
- export interface __Dictionary_2_Enumerator$views<TKey, TValue> {
276
- As_IEnumerator_1(): IEnumerator_1$instance<KeyValuePair_2<TKey, TValue>>;
277
- As_IDictionaryEnumerator(): System_Collections_Internal.IDictionaryEnumerator$instance;
278
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
279
- }
280
-
281
- export type Dictionary_2_Enumerator<TKey, TValue> = Dictionary_2_Enumerator$instance<TKey, TValue> & __Dictionary_2_Enumerator$views<TKey, TValue>;
282
-
283
-
284
- export interface Dictionary_2_KeyCollection_Enumerator$instance<TKey, TValue> extends IDisposable {
285
- readonly __tsonic_type_System_Collections_Generic_Dictionary_2_KeyCollection_Enumerator: never;
286
-
287
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
288
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
289
- readonly __tsonic_iface_System_IDisposable: never;
290
-
291
- readonly Current: TKey;
292
- Dispose(): void;
293
- MoveNext(): boolean;
294
- Reset(): void;
295
- }
296
-
297
-
298
- export const Dictionary_2_KeyCollection_Enumerator: {
299
- new<TKey, TValue>(): Dictionary_2_KeyCollection_Enumerator<TKey, TValue>;
300
- };
301
-
302
-
303
- export interface __Dictionary_2_KeyCollection_Enumerator$views<TKey, TValue> {
304
- As_IEnumerator_1(): IEnumerator_1$instance<TKey>;
305
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
306
- }
307
-
308
- export type Dictionary_2_KeyCollection_Enumerator<TKey, TValue> = Dictionary_2_KeyCollection_Enumerator$instance<TKey, TValue> & __Dictionary_2_KeyCollection_Enumerator$views<TKey, TValue>;
309
-
310
-
311
- export interface Dictionary_2_ValueCollection_Enumerator$instance<TKey, TValue> extends IDisposable {
312
- readonly __tsonic_type_System_Collections_Generic_Dictionary_2_ValueCollection_Enumerator: never;
313
-
314
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
315
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
316
- readonly __tsonic_iface_System_IDisposable: never;
317
-
318
- readonly Current: TValue;
319
- Dispose(): void;
320
- MoveNext(): boolean;
321
- Reset(): void;
322
- }
323
-
324
-
325
- export const Dictionary_2_ValueCollection_Enumerator: {
326
- new<TKey, TValue>(): Dictionary_2_ValueCollection_Enumerator<TKey, TValue>;
327
- };
328
-
329
-
330
- export interface __Dictionary_2_ValueCollection_Enumerator$views<TKey, TValue> {
331
- As_IEnumerator_1(): IEnumerator_1$instance<TValue>;
332
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
333
- }
334
-
335
- export type Dictionary_2_ValueCollection_Enumerator<TKey, TValue> = Dictionary_2_ValueCollection_Enumerator$instance<TKey, TValue> & __Dictionary_2_ValueCollection_Enumerator$views<TKey, TValue>;
336
-
337
-
338
- export interface HashSet_1_AlternateLookup_1$instance<T, TAlternate> {
339
- readonly __tsonic_type_System_Collections_Generic_HashSet_1_AlternateLookup_1: never;
340
-
341
- readonly Set: HashSet_1<T>;
342
- Add(item: TAlternate): boolean;
343
- Contains(item: TAlternate): boolean;
344
- Remove(item: TAlternate): boolean;
345
- TryGetValue(equalValue: TAlternate, actualValue: T): boolean;
346
- }
347
-
348
-
349
- export const HashSet_1_AlternateLookup_1: {
350
- new<T, TAlternate>(): HashSet_1_AlternateLookup_1<T, TAlternate>;
351
- };
352
-
353
-
354
- export type HashSet_1_AlternateLookup_1<T, TAlternate> = HashSet_1_AlternateLookup_1$instance<T, TAlternate>;
355
-
356
- export interface HashSet_1_Enumerator$instance<T> extends IDisposable {
357
- readonly __tsonic_type_System_Collections_Generic_HashSet_1_Enumerator: never;
358
-
359
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
360
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
361
- readonly __tsonic_iface_System_IDisposable: never;
362
-
363
- readonly Current: T;
364
- Dispose(): void;
365
- MoveNext(): boolean;
366
- Reset(): void;
367
- }
368
-
369
-
370
- export const HashSet_1_Enumerator: {
371
- new<T>(): HashSet_1_Enumerator<T>;
372
- };
373
-
374
-
375
- export interface __HashSet_1_Enumerator$views<T> {
376
- As_IEnumerator_1(): IEnumerator_1$instance<T>;
377
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
378
- }
379
-
380
- export type HashSet_1_Enumerator<T> = HashSet_1_Enumerator$instance<T> & __HashSet_1_Enumerator$views<T>;
381
-
230
+ export type ISet_1<T extends unknown> = ISet_1$instance<T>;
382
231
 
383
- export interface KeyValuePair_2$instance<TKey, TValue> {
232
+ export interface KeyValuePair_2$instance<TKey extends unknown, TValue extends unknown> {
384
233
  readonly __tsonic_type_System_Collections_Generic_KeyValuePair_2: never;
385
234
 
386
235
  readonly Key: TKey;
@@ -391,344 +240,11 @@ export interface KeyValuePair_2$instance<TKey, TValue> {
391
240
 
392
241
 
393
242
  export const KeyValuePair_2: {
394
- new<TKey, TValue>(key: TKey, value: TValue): KeyValuePair_2<TKey, TValue>;
395
- };
396
-
397
-
398
- export type KeyValuePair_2<TKey, TValue> = KeyValuePair_2$instance<TKey, TValue>;
399
-
400
- export interface LinkedList_1_Enumerator$instance<T> extends IDisposable, System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
401
- readonly __tsonic_type_System_Collections_Generic_LinkedList_1_Enumerator: never;
402
-
403
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
404
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
405
- readonly __tsonic_iface_System_IDisposable: never;
406
- readonly __tsonic_iface_System_Runtime_Serialization_IDeserializationCallback: never;
407
- readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
408
-
409
- readonly Current: T;
410
- Dispose(): void;
411
- MoveNext(): boolean;
412
- Reset(): void;
413
- }
414
-
415
-
416
- export const LinkedList_1_Enumerator: {
417
- new<T>(): LinkedList_1_Enumerator<T>;
418
- };
419
-
420
-
421
- export interface __LinkedList_1_Enumerator$views<T> {
422
- As_IEnumerator_1(): IEnumerator_1$instance<T>;
423
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
424
- As_IDeserializationCallback(): System_Runtime_Serialization_Internal.IDeserializationCallback$instance;
425
- As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
426
- }
427
-
428
- export type LinkedList_1_Enumerator<T> = LinkedList_1_Enumerator$instance<T> & __LinkedList_1_Enumerator$views<T>;
429
-
430
-
431
- export interface List_1_Enumerator$instance<T> extends IDisposable {
432
- readonly __tsonic_type_System_Collections_Generic_List_1_Enumerator: never;
433
-
434
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
435
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
436
- readonly __tsonic_iface_System_IDisposable: never;
437
-
438
- readonly Current: T;
439
- Dispose(): void;
440
- MoveNext(): boolean;
441
- Reset(): void;
442
- }
443
-
444
-
445
- export const List_1_Enumerator: {
446
- new<T>(): List_1_Enumerator<T>;
447
- };
448
-
449
-
450
- export interface __List_1_Enumerator$views<T> {
451
- As_IEnumerator_1(): IEnumerator_1$instance<T>;
452
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
453
- }
454
-
455
- export type List_1_Enumerator<T> = List_1_Enumerator$instance<T> & __List_1_Enumerator$views<T>;
456
-
457
-
458
- export interface OrderedDictionary_2_Enumerator$instance<TKey, TValue> {
459
- readonly __tsonic_type_System_Collections_Generic_OrderedDictionary_2_Enumerator: never;
460
-
461
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
462
- readonly __tsonic_iface_System_Collections_IDictionaryEnumerator: never;
463
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
464
- readonly __tsonic_iface_System_IDisposable: never;
465
-
466
- Current: KeyValuePair_2<TKey, TValue>;
467
- MoveNext(): boolean;
468
- Reset(): void;
469
- }
470
-
471
-
472
- export const OrderedDictionary_2_Enumerator: {
473
- new<TKey, TValue>(): OrderedDictionary_2_Enumerator<TKey, TValue>;
474
- };
475
-
476
-
477
- export interface __OrderedDictionary_2_Enumerator$views<TKey, TValue> {
478
- As_IEnumerator_1(): IEnumerator_1$instance<KeyValuePair_2<TKey, TValue>>;
479
- As_IDictionaryEnumerator(): System_Collections_Internal.IDictionaryEnumerator$instance;
480
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
481
- }
482
-
483
- export type OrderedDictionary_2_Enumerator<TKey, TValue> = OrderedDictionary_2_Enumerator$instance<TKey, TValue> & __OrderedDictionary_2_Enumerator$views<TKey, TValue>;
484
-
485
-
486
- export interface OrderedDictionary_2_KeyCollection_Enumerator$instance<TKey, TValue> {
487
- readonly __tsonic_type_System_Collections_Generic_OrderedDictionary_2_KeyCollection_Enumerator: never;
488
-
489
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
490
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
491
- readonly __tsonic_iface_System_IDisposable: never;
492
-
493
- readonly Current: TKey;
494
- MoveNext(): boolean;
495
- Reset(): void;
496
- }
497
-
498
-
499
- export const OrderedDictionary_2_KeyCollection_Enumerator: {
500
- new<TKey, TValue>(): OrderedDictionary_2_KeyCollection_Enumerator<TKey, TValue>;
501
- };
502
-
503
-
504
- export interface __OrderedDictionary_2_KeyCollection_Enumerator$views<TKey, TValue> {
505
- As_IEnumerator_1(): IEnumerator_1$instance<TKey>;
506
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
507
- }
508
-
509
- export type OrderedDictionary_2_KeyCollection_Enumerator<TKey, TValue> = OrderedDictionary_2_KeyCollection_Enumerator$instance<TKey, TValue> & __OrderedDictionary_2_KeyCollection_Enumerator$views<TKey, TValue>;
510
-
511
-
512
- export interface OrderedDictionary_2_ValueCollection_Enumerator$instance<TKey, TValue> {
513
- readonly __tsonic_type_System_Collections_Generic_OrderedDictionary_2_ValueCollection_Enumerator: never;
514
-
515
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
516
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
517
- readonly __tsonic_iface_System_IDisposable: never;
518
-
519
- readonly Current: TValue;
520
- MoveNext(): boolean;
521
- Reset(): void;
522
- }
523
-
524
-
525
- export const OrderedDictionary_2_ValueCollection_Enumerator: {
526
- new<TKey, TValue>(): OrderedDictionary_2_ValueCollection_Enumerator<TKey, TValue>;
243
+ new<TKey extends unknown, TValue extends unknown>(key: TKey, value: TValue): KeyValuePair_2<TKey, TValue>;
527
244
  };
528
245
 
529
246
 
530
- export interface __OrderedDictionary_2_ValueCollection_Enumerator$views<TKey, TValue> {
531
- As_IEnumerator_1(): IEnumerator_1$instance<TValue>;
532
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
533
- }
534
-
535
- export type OrderedDictionary_2_ValueCollection_Enumerator<TKey, TValue> = OrderedDictionary_2_ValueCollection_Enumerator$instance<TKey, TValue> & __OrderedDictionary_2_ValueCollection_Enumerator$views<TKey, TValue>;
536
-
537
-
538
- export interface PriorityQueue_2_UnorderedItemsCollection_Enumerator$instance<TElement, TPriority> extends IDisposable {
539
- readonly __tsonic_type_System_Collections_Generic_PriorityQueue_2_UnorderedItemsCollection_Enumerator: never;
540
-
541
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
542
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
543
- readonly __tsonic_iface_System_IDisposable: never;
544
-
545
- readonly Current: ValueTuple_2<TElement, TPriority>;
546
- Dispose(): void;
547
- MoveNext(): boolean;
548
- Reset(): void;
549
- }
550
-
551
-
552
- export const PriorityQueue_2_UnorderedItemsCollection_Enumerator: {
553
- new<TElement, TPriority>(): PriorityQueue_2_UnorderedItemsCollection_Enumerator<TElement, TPriority>;
554
- };
555
-
556
-
557
- export interface __PriorityQueue_2_UnorderedItemsCollection_Enumerator$views<TElement, TPriority> {
558
- As_IEnumerator_1(): IEnumerator_1$instance<ValueTuple_2<TElement, TPriority>>;
559
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
560
- }
561
-
562
- export type PriorityQueue_2_UnorderedItemsCollection_Enumerator<TElement, TPriority> = PriorityQueue_2_UnorderedItemsCollection_Enumerator$instance<TElement, TPriority> & __PriorityQueue_2_UnorderedItemsCollection_Enumerator$views<TElement, TPriority>;
563
-
564
-
565
- export interface Queue_1_Enumerator$instance<T> extends IDisposable {
566
- readonly __tsonic_type_System_Collections_Generic_Queue_1_Enumerator: never;
567
-
568
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
569
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
570
- readonly __tsonic_iface_System_IDisposable: never;
571
-
572
- readonly Current: T;
573
- Dispose(): void;
574
- MoveNext(): boolean;
575
- Reset(): void;
576
- }
577
-
578
-
579
- export const Queue_1_Enumerator: {
580
- new<T>(): Queue_1_Enumerator<T>;
581
- };
582
-
583
-
584
- export interface __Queue_1_Enumerator$views<T> {
585
- As_IEnumerator_1(): IEnumerator_1$instance<T>;
586
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
587
- }
588
-
589
- export type Queue_1_Enumerator<T> = Queue_1_Enumerator$instance<T> & __Queue_1_Enumerator$views<T>;
590
-
591
-
592
- export interface SortedDictionary_2_Enumerator$instance<TKey, TValue> extends IDisposable {
593
- readonly __tsonic_type_System_Collections_Generic_SortedDictionary_2_Enumerator: never;
594
-
595
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
596
- readonly __tsonic_iface_System_Collections_IDictionaryEnumerator: never;
597
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
598
- readonly __tsonic_iface_System_IDisposable: never;
599
-
600
- readonly Current: KeyValuePair_2<TKey, TValue>;
601
- Dispose(): void;
602
- MoveNext(): boolean;
603
- Reset(): void;
604
- }
605
-
606
-
607
- export const SortedDictionary_2_Enumerator: {
608
- new<TKey, TValue>(): SortedDictionary_2_Enumerator<TKey, TValue>;
609
- };
610
-
611
-
612
- export interface __SortedDictionary_2_Enumerator$views<TKey, TValue> {
613
- As_IEnumerator_1(): IEnumerator_1$instance<KeyValuePair_2<TKey, TValue>>;
614
- As_IDictionaryEnumerator(): System_Collections_Internal.IDictionaryEnumerator$instance;
615
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
616
- }
617
-
618
- export type SortedDictionary_2_Enumerator<TKey, TValue> = SortedDictionary_2_Enumerator$instance<TKey, TValue> & __SortedDictionary_2_Enumerator$views<TKey, TValue>;
619
-
620
-
621
- export interface SortedDictionary_2_KeyCollection_Enumerator$instance<TKey, TValue> extends IDisposable {
622
- readonly __tsonic_type_System_Collections_Generic_SortedDictionary_2_KeyCollection_Enumerator: never;
623
-
624
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
625
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
626
- readonly __tsonic_iface_System_IDisposable: never;
627
-
628
- readonly Current: TKey;
629
- Dispose(): void;
630
- MoveNext(): boolean;
631
- Reset(): void;
632
- }
633
-
634
-
635
- export const SortedDictionary_2_KeyCollection_Enumerator: {
636
- new<TKey, TValue>(): SortedDictionary_2_KeyCollection_Enumerator<TKey, TValue>;
637
- };
638
-
639
-
640
- export interface __SortedDictionary_2_KeyCollection_Enumerator$views<TKey, TValue> {
641
- As_IEnumerator_1(): IEnumerator_1$instance<TKey>;
642
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
643
- }
644
-
645
- export type SortedDictionary_2_KeyCollection_Enumerator<TKey, TValue> = SortedDictionary_2_KeyCollection_Enumerator$instance<TKey, TValue> & __SortedDictionary_2_KeyCollection_Enumerator$views<TKey, TValue>;
646
-
647
-
648
- export interface SortedDictionary_2_ValueCollection_Enumerator$instance<TKey, TValue> extends IDisposable {
649
- readonly __tsonic_type_System_Collections_Generic_SortedDictionary_2_ValueCollection_Enumerator: never;
650
-
651
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
652
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
653
- readonly __tsonic_iface_System_IDisposable: never;
654
-
655
- readonly Current: TValue;
656
- Dispose(): void;
657
- MoveNext(): boolean;
658
- Reset(): void;
659
- }
660
-
661
-
662
- export const SortedDictionary_2_ValueCollection_Enumerator: {
663
- new<TKey, TValue>(): SortedDictionary_2_ValueCollection_Enumerator<TKey, TValue>;
664
- };
665
-
666
-
667
- export interface __SortedDictionary_2_ValueCollection_Enumerator$views<TKey, TValue> {
668
- As_IEnumerator_1(): IEnumerator_1$instance<TValue>;
669
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
670
- }
671
-
672
- export type SortedDictionary_2_ValueCollection_Enumerator<TKey, TValue> = SortedDictionary_2_ValueCollection_Enumerator$instance<TKey, TValue> & __SortedDictionary_2_ValueCollection_Enumerator$views<TKey, TValue>;
673
-
674
-
675
- export interface SortedSet_1_Enumerator$instance<T> extends IDisposable, System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
676
- readonly __tsonic_type_System_Collections_Generic_SortedSet_1_Enumerator: never;
677
-
678
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
679
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
680
- readonly __tsonic_iface_System_IDisposable: never;
681
- readonly __tsonic_iface_System_Runtime_Serialization_IDeserializationCallback: never;
682
- readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
683
-
684
- readonly Current: T;
685
- Dispose(): void;
686
- MoveNext(): boolean;
687
- Reset(): void;
688
- }
689
-
690
-
691
- export const SortedSet_1_Enumerator: {
692
- new<T>(): SortedSet_1_Enumerator<T>;
693
- };
694
-
695
-
696
- export interface __SortedSet_1_Enumerator$views<T> {
697
- As_IEnumerator_1(): IEnumerator_1$instance<T>;
698
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
699
- As_IDeserializationCallback(): System_Runtime_Serialization_Internal.IDeserializationCallback$instance;
700
- As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
701
- }
702
-
703
- export type SortedSet_1_Enumerator<T> = SortedSet_1_Enumerator$instance<T> & __SortedSet_1_Enumerator$views<T>;
704
-
705
-
706
- export interface Stack_1_Enumerator$instance<T> extends IDisposable {
707
- readonly __tsonic_type_System_Collections_Generic_Stack_1_Enumerator: never;
708
-
709
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
710
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
711
- readonly __tsonic_iface_System_IDisposable: never;
712
-
713
- readonly Current: T;
714
- Dispose(): void;
715
- MoveNext(): boolean;
716
- Reset(): void;
717
- }
718
-
719
-
720
- export const Stack_1_Enumerator: {
721
- new<T>(): Stack_1_Enumerator<T>;
722
- };
723
-
724
-
725
- export interface __Stack_1_Enumerator$views<T> {
726
- As_IEnumerator_1(): IEnumerator_1$instance<T>;
727
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
728
- }
729
-
730
- export type Stack_1_Enumerator<T> = Stack_1_Enumerator$instance<T> & __Stack_1_Enumerator$views<T>;
731
-
247
+ export type KeyValuePair_2<TKey extends unknown, TValue extends unknown> = KeyValuePair_2$instance<TKey, TValue>;
732
248
 
733
249
  export interface ByteEqualityComparer$instance extends EqualityComparer_1$instance<System_Internal.Byte> {
734
250
  readonly __tsonic_type_System_Collections_Generic_ByteEqualityComparer: never;
@@ -737,7 +253,7 @@ export interface ByteEqualityComparer$instance extends EqualityComparer_1$instan
737
253
  readonly __tsonic_iface_System_Collections_IEqualityComparer: never;
738
254
 
739
255
  Equals(x: byte, y: byte): boolean;
740
- Equals(obj: unknown): boolean;
256
+ Equals(obj: unknown | null): boolean;
741
257
  GetHashCode(b: byte): int;
742
258
  GetHashCode(): int;
743
259
  }
@@ -756,31 +272,31 @@ export interface __ByteEqualityComparer$views {
756
272
  export type ByteEqualityComparer = ByteEqualityComparer$instance & __ByteEqualityComparer$views;
757
273
 
758
274
 
759
- export interface Comparer_1$instance<T> extends IComparer_1$instance<T> {
275
+ export interface Comparer_1$instance<T extends unknown> {
760
276
  readonly __tsonic_type_System_Collections_Generic_Comparer_1: never;
761
277
 
762
278
  readonly __tsonic_iface_System_Collections_Generic_IComparer_1: never;
763
279
  readonly __tsonic_iface_System_Collections_IComparer: never;
764
280
 
765
- Compare(x: T, y: T): int;
281
+ Compare(x: T | null, y: T | null): int;
766
282
  }
767
283
 
768
284
 
769
- export const Comparer_1: (abstract new<T>() => Comparer_1<T>) & {
770
- readonly Default: unknown;
771
- Create<T>(comparison: Comparison_1<T>): Comparer_1<T>;
285
+ export const Comparer_1: (abstract new<T extends unknown>() => Comparer_1<T>) & {
286
+ readonly Default: <T extends unknown>() => Comparer_1<T>;
287
+ Create<T extends unknown>(comparison: Comparison_1<T>): Comparer_1<T>;
772
288
  };
773
289
 
774
290
 
775
- export interface __Comparer_1$views<T> {
291
+ export interface __Comparer_1$views<T extends unknown> {
776
292
  As_IComparer_1(): IComparer_1$instance<T>;
777
293
  As_IComparer(): System_Collections_Internal.IComparer$instance;
778
294
  }
779
295
 
780
- export type Comparer_1<T> = Comparer_1$instance<T> & __Comparer_1$views<T>;
296
+ export type Comparer_1<T extends unknown> = Comparer_1$instance<T> & __Comparer_1$views<T>;
781
297
 
782
298
 
783
- export interface Dictionary_2$instance<TKey, TValue> extends System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
299
+ export interface Dictionary_2$instance<TKey extends unknown, TValue extends unknown> extends System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
784
300
  readonly __tsonic_type_System_Collections_Generic_Dictionary_2: never;
785
301
 
786
302
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -805,33 +321,33 @@ export interface Dictionary_2$instance<TKey, TValue> extends System_Runtime_Seri
805
321
  ContainsKey(key: TKey): boolean;
806
322
  ContainsValue(value: TValue): boolean;
807
323
  EnsureCapacity(capacity: int): int;
808
- GetAlternateLookup<TAlternateKey>(): Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>;
324
+ GetAlternateLookup<TAlternateKey extends unknown>(): Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>;
809
325
  GetEnumerator(): Dictionary_2_Enumerator<TKey, TValue>;
810
326
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
811
- OnDeserialization(sender: unknown): void;
327
+ OnDeserialization(sender: unknown | null): void;
812
328
  Remove(key: TKey): boolean;
813
329
  Remove(key: TKey, value: TValue): boolean;
814
330
  TrimExcess(): void;
815
331
  TrimExcess(capacity: int): void;
816
332
  TryAdd(key: TKey, value: TValue): boolean;
817
- TryGetAlternateLookup<TAlternateKey>(lookup: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>): boolean;
333
+ TryGetAlternateLookup<TAlternateKey extends unknown>(lookup: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>): boolean;
818
334
  TryGetValue(key: TKey, value: TValue): boolean;
819
335
  }
820
336
 
821
337
 
822
338
  export const Dictionary_2: {
823
- new<TKey, TValue>(): Dictionary_2<TKey, TValue>;
824
- new<TKey, TValue>(capacity: int): Dictionary_2<TKey, TValue>;
825
- new<TKey, TValue>(comparer: IEqualityComparer_1<TKey>): Dictionary_2<TKey, TValue>;
826
- new<TKey, TValue>(capacity: int, comparer: IEqualityComparer_1<TKey>): Dictionary_2<TKey, TValue>;
827
- new<TKey, TValue>(dictionary: IDictionary_2<TKey, TValue>): Dictionary_2<TKey, TValue>;
828
- new<TKey, TValue>(dictionary: IDictionary_2<TKey, TValue>, comparer: IEqualityComparer_1<TKey>): Dictionary_2<TKey, TValue>;
829
- new<TKey, TValue>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): Dictionary_2<TKey, TValue>;
830
- new<TKey, TValue>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, comparer: IEqualityComparer_1<TKey>): Dictionary_2<TKey, TValue>;
339
+ new<TKey extends unknown, TValue extends unknown>(): Dictionary_2<TKey, TValue>;
340
+ new<TKey extends unknown, TValue extends unknown>(capacity: int): Dictionary_2<TKey, TValue>;
341
+ new<TKey extends unknown, TValue extends unknown>(comparer: IEqualityComparer_1<TKey> | null): Dictionary_2<TKey, TValue>;
342
+ new<TKey extends unknown, TValue extends unknown>(capacity: int, comparer: IEqualityComparer_1<TKey> | null): Dictionary_2<TKey, TValue>;
343
+ new<TKey extends unknown, TValue extends unknown>(dictionary: IDictionary_2<TKey, TValue>): Dictionary_2<TKey, TValue>;
344
+ new<TKey extends unknown, TValue extends unknown>(dictionary: IDictionary_2<TKey, TValue>, comparer: IEqualityComparer_1<TKey> | null): Dictionary_2<TKey, TValue>;
345
+ new<TKey extends unknown, TValue extends unknown>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): Dictionary_2<TKey, TValue>;
346
+ new<TKey extends unknown, TValue extends unknown>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, comparer: IEqualityComparer_1<TKey> | null): Dictionary_2<TKey, TValue>;
831
347
  };
832
348
 
833
349
 
834
- export interface __Dictionary_2$views<TKey, TValue> {
350
+ export interface __Dictionary_2$views<TKey extends unknown, TValue extends unknown> {
835
351
  As_ICollection_1(): ICollection_1$instance<KeyValuePair_2<TKey, TValue>>;
836
352
  As_IDictionary_2(): IDictionary_2$instance<TKey, TValue>;
837
353
  As_IEnumerable_1(): IEnumerable_1$instance<KeyValuePair_2<TKey, TValue>>;
@@ -844,10 +360,53 @@ export interface __Dictionary_2$views<TKey, TValue> {
844
360
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
845
361
  }
846
362
 
847
- export type Dictionary_2<TKey, TValue> = Dictionary_2$instance<TKey, TValue> & __Dictionary_2$views<TKey, TValue>;
363
+ export type Dictionary_2<TKey extends unknown, TValue extends unknown> = Dictionary_2$instance<TKey, TValue> & __Dictionary_2$views<TKey, TValue>;
364
+
365
+
366
+ export interface Dictionary_2_AlternateLookup_1$instance<TKey extends unknown, TValue extends unknown, TAlternateKey extends unknown> {
367
+ readonly __tsonic_type_System_Collections_Generic_Dictionary_2_AlternateLookup_1: never;
368
+
369
+ readonly Dictionary: Dictionary_2<TKey, TValue>;
370
+ Item: TValue;
371
+ ContainsKey(key: TAlternateKey): boolean;
372
+ Remove(key: TAlternateKey): boolean;
373
+ Remove(key: TAlternateKey, actualKey: TKey, value: TValue): boolean;
374
+ TryAdd(key: TAlternateKey, value: TValue): boolean;
375
+ TryGetValue(key: TAlternateKey, value: TValue): boolean;
376
+ TryGetValue(key: TAlternateKey, actualKey: TKey, value: TValue): boolean;
377
+ }
378
+
379
+
380
+ export const Dictionary_2_AlternateLookup_1: {
381
+ new<TKey extends unknown, TValue extends unknown, TAlternateKey extends unknown>(): Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>;
382
+ };
383
+
384
+
385
+ export type Dictionary_2_AlternateLookup_1<TKey extends unknown, TValue extends unknown, TAlternateKey extends unknown> = Dictionary_2_AlternateLookup_1$instance<TKey, TValue, TAlternateKey>;
386
+
387
+ export interface Dictionary_2_Enumerator$instance<TKey extends unknown, TValue extends unknown> extends IEnumerator_1<KeyValuePair_2<TKey, TValue>> {
388
+ readonly __tsonic_type_System_Collections_Generic_Dictionary_2_Enumerator: never;
389
+
390
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
391
+ readonly __tsonic_iface_System_Collections_IDictionaryEnumerator: never;
392
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
393
+ readonly __tsonic_iface_System_IDisposable: never;
394
+
395
+ readonly Current: KeyValuePair_2<TKey, TValue>;
396
+ Dispose(): void;
397
+ MoveNext(): boolean;
398
+ Reset(): void;
399
+ }
400
+
848
401
 
402
+ export const Dictionary_2_Enumerator: {
403
+ new<TKey extends unknown, TValue extends unknown>(): Dictionary_2_Enumerator<TKey, TValue>;
404
+ };
405
+
406
+
407
+ export type Dictionary_2_Enumerator<TKey extends unknown, TValue extends unknown> = Dictionary_2_Enumerator$instance<TKey, TValue>;
849
408
 
850
- export interface Dictionary_2_KeyCollection$instance<TKey, TValue> {
409
+ export interface Dictionary_2_KeyCollection$instance<TKey extends unknown, TValue extends unknown> {
851
410
  readonly __tsonic_type_System_Collections_Generic_Dictionary_2_KeyCollection: never;
852
411
 
853
412
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -864,22 +423,34 @@ export interface Dictionary_2_KeyCollection$instance<TKey, TValue> {
864
423
 
865
424
 
866
425
  export const Dictionary_2_KeyCollection: {
867
- new<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>): Dictionary_2_KeyCollection<TKey, TValue>;
426
+ new<TKey extends unknown, TValue extends unknown>(dictionary: Dictionary_2<TKey, TValue>): Dictionary_2_KeyCollection<TKey, TValue>;
868
427
  };
869
428
 
870
429
 
871
- export interface __Dictionary_2_KeyCollection$views<TKey, TValue> {
872
- As_ICollection_1(): ICollection_1$instance<TKey>;
873
- As_IEnumerable_1(): IEnumerable_1$instance<TKey>;
874
- As_IReadOnlyCollection_1(): IReadOnlyCollection_1$instance<TKey>;
875
- As_ICollection(): System_Collections_Internal.ICollection$instance;
876
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
430
+ export type Dictionary_2_KeyCollection<TKey extends unknown, TValue extends unknown> = Dictionary_2_KeyCollection$instance<TKey, TValue>;
431
+
432
+ export interface Dictionary_2_KeyCollection_Enumerator$instance<TKey extends unknown, TValue extends unknown> extends IEnumerator_1<TKey> {
433
+ readonly __tsonic_type_System_Collections_Generic_Dictionary_2_KeyCollection_Enumerator: never;
434
+
435
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
436
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
437
+ readonly __tsonic_iface_System_IDisposable: never;
438
+
439
+ readonly Current: TKey;
440
+ Dispose(): void;
441
+ MoveNext(): boolean;
442
+ Reset(): void;
877
443
  }
878
444
 
879
- export type Dictionary_2_KeyCollection<TKey, TValue> = Dictionary_2_KeyCollection$instance<TKey, TValue> & __Dictionary_2_KeyCollection$views<TKey, TValue>;
880
445
 
446
+ export const Dictionary_2_KeyCollection_Enumerator: {
447
+ new<TKey extends unknown, TValue extends unknown>(): Dictionary_2_KeyCollection_Enumerator<TKey, TValue>;
448
+ };
881
449
 
882
- export interface Dictionary_2_ValueCollection$instance<TKey, TValue> {
450
+
451
+ export type Dictionary_2_KeyCollection_Enumerator<TKey extends unknown, TValue extends unknown> = Dictionary_2_KeyCollection_Enumerator$instance<TKey, TValue>;
452
+
453
+ export interface Dictionary_2_ValueCollection$instance<TKey extends unknown, TValue extends unknown> {
883
454
  readonly __tsonic_type_System_Collections_Generic_Dictionary_2_ValueCollection: never;
884
455
 
885
456
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -895,22 +466,34 @@ export interface Dictionary_2_ValueCollection$instance<TKey, TValue> {
895
466
 
896
467
 
897
468
  export const Dictionary_2_ValueCollection: {
898
- new<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>): Dictionary_2_ValueCollection<TKey, TValue>;
469
+ new<TKey extends unknown, TValue extends unknown>(dictionary: Dictionary_2<TKey, TValue>): Dictionary_2_ValueCollection<TKey, TValue>;
899
470
  };
900
471
 
901
472
 
902
- export interface __Dictionary_2_ValueCollection$views<TKey, TValue> {
903
- As_ICollection_1(): ICollection_1$instance<TValue>;
904
- As_IEnumerable_1(): IEnumerable_1$instance<TValue>;
905
- As_IReadOnlyCollection_1(): IReadOnlyCollection_1$instance<TValue>;
906
- As_ICollection(): System_Collections_Internal.ICollection$instance;
907
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
473
+ export type Dictionary_2_ValueCollection<TKey extends unknown, TValue extends unknown> = Dictionary_2_ValueCollection$instance<TKey, TValue>;
474
+
475
+ export interface Dictionary_2_ValueCollection_Enumerator$instance<TKey extends unknown, TValue extends unknown> extends IEnumerator_1<TValue> {
476
+ readonly __tsonic_type_System_Collections_Generic_Dictionary_2_ValueCollection_Enumerator: never;
477
+
478
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
479
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
480
+ readonly __tsonic_iface_System_IDisposable: never;
481
+
482
+ readonly Current: TValue;
483
+ Dispose(): void;
484
+ MoveNext(): boolean;
485
+ Reset(): void;
908
486
  }
909
487
 
910
- export type Dictionary_2_ValueCollection<TKey, TValue> = Dictionary_2_ValueCollection$instance<TKey, TValue> & __Dictionary_2_ValueCollection$views<TKey, TValue>;
488
+
489
+ export const Dictionary_2_ValueCollection_Enumerator: {
490
+ new<TKey extends unknown, TValue extends unknown>(): Dictionary_2_ValueCollection_Enumerator<TKey, TValue>;
491
+ };
911
492
 
912
493
 
913
- export interface EnumEqualityComparer_1$instance<T extends number> extends EqualityComparer_1$instance<T>, System_Runtime_Serialization_Internal.ISerializable$instance {
494
+ export type Dictionary_2_ValueCollection_Enumerator<TKey extends unknown, TValue extends unknown> = Dictionary_2_ValueCollection_Enumerator$instance<TKey, TValue>;
495
+
496
+ export interface EnumEqualityComparer_1$instance<T extends NonNullable<unknown> & number> extends EqualityComparer_1$instance<T>, System_Runtime_Serialization_Internal.ISerializable$instance {
914
497
  readonly __tsonic_type_System_Collections_Generic_EnumEqualityComparer_1: never;
915
498
 
916
499
  readonly __tsonic_iface_System_Collections_Generic_IEqualityComparer_1: never;
@@ -918,7 +501,7 @@ export interface EnumEqualityComparer_1$instance<T extends number> extends Equal
918
501
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
919
502
 
920
503
  Equals(x: T, y: T): boolean;
921
- Equals(obj: unknown): boolean;
504
+ Equals(obj: unknown | null): boolean;
922
505
  GetHashCode(obj: T): int;
923
506
  GetHashCode(): int;
924
507
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
@@ -926,98 +509,98 @@ export interface EnumEqualityComparer_1$instance<T extends number> extends Equal
926
509
 
927
510
 
928
511
  export const EnumEqualityComparer_1: {
929
- new<T extends number>(): EnumEqualityComparer_1<T>;
512
+ new<T extends NonNullable<unknown> & number>(): EnumEqualityComparer_1<T>;
930
513
  };
931
514
 
932
515
 
933
- export interface __EnumEqualityComparer_1$views<T extends number & unknown> {
516
+ export interface __EnumEqualityComparer_1$views<T extends NonNullable<unknown> & number> {
934
517
  As_IEqualityComparer_1(): IEqualityComparer_1$instance<T>;
935
518
  As_IEqualityComparer(): System_Collections_Internal.IEqualityComparer$instance;
936
519
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
937
520
  }
938
521
 
939
- export type EnumEqualityComparer_1<T extends number> = EnumEqualityComparer_1$instance<T> & __EnumEqualityComparer_1$views<T>;
522
+ export type EnumEqualityComparer_1<T extends NonNullable<unknown> & number> = EnumEqualityComparer_1$instance<T> & __EnumEqualityComparer_1$views<T>;
940
523
 
941
524
 
942
- export interface EqualityComparer_1$instance<T> {
525
+ export interface EqualityComparer_1$instance<T extends unknown> {
943
526
  readonly __tsonic_type_System_Collections_Generic_EqualityComparer_1: never;
944
527
 
945
528
  readonly __tsonic_iface_System_Collections_Generic_IEqualityComparer_1: never;
946
529
  readonly __tsonic_iface_System_Collections_IEqualityComparer: never;
947
530
 
948
- Equals(x: T, y: T): boolean;
949
- Equals(obj: unknown): boolean;
531
+ Equals(x: T | null, y: T | null): boolean;
532
+ Equals(obj: unknown | null): boolean;
950
533
  GetHashCode(obj: T): int;
951
534
  GetHashCode(): int;
952
535
  }
953
536
 
954
537
 
955
- export const EqualityComparer_1: (abstract new<T>() => EqualityComparer_1<T>) & {
956
- readonly Default: unknown;
957
- Create<T>(equals: Func_3<T, T, System_Internal.Boolean>, getHashCode?: Func_2<T, System_Internal.Int32>): EqualityComparer_1<T>;
538
+ export const EqualityComparer_1: (abstract new<T extends unknown>() => EqualityComparer_1<T>) & {
539
+ readonly Default: <T extends unknown>() => EqualityComparer_1<T>;
540
+ Create<T extends unknown>(equals: Func_3<T | null, T | null, System_Internal.Boolean>, getHashCode?: Func_2<T, System_Internal.Int32> | null): EqualityComparer_1<T>;
958
541
  };
959
542
 
960
543
 
961
- export interface __EqualityComparer_1$views<T> {
544
+ export interface __EqualityComparer_1$views<T extends unknown> {
962
545
  As_IEqualityComparer_1(): IEqualityComparer_1$instance<T>;
963
546
  As_IEqualityComparer(): System_Collections_Internal.IEqualityComparer$instance;
964
547
  }
965
548
 
966
- export type EqualityComparer_1<T> = EqualityComparer_1$instance<T> & __EqualityComparer_1$views<T>;
549
+ export type EqualityComparer_1<T extends unknown> = EqualityComparer_1$instance<T> & __EqualityComparer_1$views<T>;
967
550
 
968
551
 
969
- export interface GenericComparer_1$instance<T extends (IComparable_1<T> | number | string | boolean)> extends Comparer_1$instance<T> {
552
+ export interface GenericComparer_1$instance<T extends unknown & (IComparable_1<T> | number | string | boolean)> extends Comparer_1$instance<T> {
970
553
  readonly __tsonic_type_System_Collections_Generic_GenericComparer_1: never;
971
554
 
972
555
  readonly __tsonic_iface_System_Collections_Generic_IComparer_1: never;
973
556
  readonly __tsonic_iface_System_Collections_IComparer: never;
974
557
 
975
- Compare(x: T, y: T): int;
976
- Equals(obj: unknown): boolean;
558
+ Compare(x: T | null, y: T | null): int;
559
+ Equals(obj: unknown | null): boolean;
977
560
  GetHashCode(): int;
978
561
  }
979
562
 
980
563
 
981
564
  export const GenericComparer_1: {
982
- new<T extends (IComparable_1<T> | number | string | boolean)>(): GenericComparer_1<T>;
565
+ new<T extends unknown & (IComparable_1<T> | number | string | boolean)>(): GenericComparer_1<T>;
983
566
  };
984
567
 
985
568
 
986
- export interface __GenericComparer_1$views<T extends (IComparable_1<T> | number | string | boolean)> {
569
+ export interface __GenericComparer_1$views<T extends unknown & (IComparable_1<T> | number | string | boolean)> {
987
570
  As_IComparer_1(): IComparer_1$instance<T>;
988
571
  As_IComparer(): System_Collections_Internal.IComparer$instance;
989
572
  }
990
573
 
991
- export type GenericComparer_1<T extends (IComparable_1<T> | number | string | boolean)> = GenericComparer_1$instance<T> & __GenericComparer_1$views<T>;
574
+ export type GenericComparer_1<T extends unknown & (IComparable_1<T> | number | string | boolean)> = GenericComparer_1$instance<T> & __GenericComparer_1$views<T>;
992
575
 
993
576
 
994
- export interface GenericEqualityComparer_1$instance<T extends (IEquatable_1<T> | number | string | boolean)> extends EqualityComparer_1$instance<T> {
577
+ export interface GenericEqualityComparer_1$instance<T extends unknown & (IEquatable_1<T> | number | string | boolean)> extends EqualityComparer_1$instance<T> {
995
578
  readonly __tsonic_type_System_Collections_Generic_GenericEqualityComparer_1: never;
996
579
 
997
580
  readonly __tsonic_iface_System_Collections_Generic_IEqualityComparer_1: never;
998
581
  readonly __tsonic_iface_System_Collections_IEqualityComparer: never;
999
582
 
1000
- Equals(x: T, y: T): boolean;
1001
- Equals(obj: unknown): boolean;
583
+ Equals(x: T | null, y: T | null): boolean;
584
+ Equals(obj: unknown | null): boolean;
1002
585
  GetHashCode(obj: T): int;
1003
586
  GetHashCode(): int;
1004
587
  }
1005
588
 
1006
589
 
1007
590
  export const GenericEqualityComparer_1: {
1008
- new<T extends (IEquatable_1<T> | number | string | boolean)>(): GenericEqualityComparer_1<T>;
591
+ new<T extends unknown & (IEquatable_1<T> | number | string | boolean)>(): GenericEqualityComparer_1<T>;
1009
592
  };
1010
593
 
1011
594
 
1012
- export interface __GenericEqualityComparer_1$views<T extends (IEquatable_1<T> | number | string | boolean)> {
595
+ export interface __GenericEqualityComparer_1$views<T extends unknown & (IEquatable_1<T> | number | string | boolean)> {
1013
596
  As_IEqualityComparer_1(): IEqualityComparer_1$instance<T>;
1014
597
  As_IEqualityComparer(): System_Collections_Internal.IEqualityComparer$instance;
1015
598
  }
1016
599
 
1017
- export type GenericEqualityComparer_1<T extends (IEquatable_1<T> | number | string | boolean)> = GenericEqualityComparer_1$instance<T> & __GenericEqualityComparer_1$views<T>;
600
+ export type GenericEqualityComparer_1<T extends unknown & (IEquatable_1<T> | number | string | boolean)> = GenericEqualityComparer_1$instance<T> & __GenericEqualityComparer_1$views<T>;
1018
601
 
1019
602
 
1020
- export interface HashSet_1$instance<T> extends System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
603
+ export interface HashSet_1$instance<T extends unknown> extends System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
1021
604
  readonly __tsonic_type_System_Collections_Generic_HashSet_1: never;
1022
605
 
1023
606
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -1040,7 +623,7 @@ export interface HashSet_1$instance<T> extends System_Runtime_Serialization_Inte
1040
623
  CopyTo(array: T[], arrayIndex: int, count: int): void;
1041
624
  EnsureCapacity(capacity: int): int;
1042
625
  ExceptWith(other: IEnumerable_1<T>): void;
1043
- GetAlternateLookup<TAlternate>(): HashSet_1_AlternateLookup_1<T, TAlternate>;
626
+ GetAlternateLookup<TAlternate extends unknown>(): HashSet_1_AlternateLookup_1<T, TAlternate>;
1044
627
  GetEnumerator(): HashSet_1_Enumerator<T>;
1045
628
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
1046
629
  IntersectWith(other: IEnumerable_1<T>): void;
@@ -1048,7 +631,7 @@ export interface HashSet_1$instance<T> extends System_Runtime_Serialization_Inte
1048
631
  IsProperSupersetOf(other: IEnumerable_1<T>): boolean;
1049
632
  IsSubsetOf(other: IEnumerable_1<T>): boolean;
1050
633
  IsSupersetOf(other: IEnumerable_1<T>): boolean;
1051
- OnDeserialization(sender: unknown): void;
634
+ OnDeserialization(sender: unknown | null): void;
1052
635
  Overlaps(other: IEnumerable_1<T>): boolean;
1053
636
  Remove(item: T): boolean;
1054
637
  RemoveWhere(match: Predicate_1<T>): int;
@@ -1056,36 +639,75 @@ export interface HashSet_1$instance<T> extends System_Runtime_Serialization_Inte
1056
639
  SymmetricExceptWith(other: IEnumerable_1<T>): void;
1057
640
  TrimExcess(): void;
1058
641
  TrimExcess(capacity: int): void;
1059
- TryGetAlternateLookup<TAlternate>(lookup: HashSet_1_AlternateLookup_1<T, TAlternate>): boolean;
642
+ TryGetAlternateLookup<TAlternate extends unknown>(lookup: HashSet_1_AlternateLookup_1<T, TAlternate>): boolean;
1060
643
  TryGetValue(equalValue: T, actualValue: T): boolean;
1061
644
  UnionWith(other: IEnumerable_1<T>): void;
1062
645
  }
1063
646
 
1064
647
 
1065
- export const HashSet_1: {
1066
- new<T>(): HashSet_1<T>;
1067
- new<T>(comparer: IEqualityComparer_1<T>): HashSet_1<T>;
1068
- new<T>(capacity: int): HashSet_1<T>;
1069
- new<T>(collection: IEnumerable_1<T>): HashSet_1<T>;
1070
- new<T>(collection: IEnumerable_1<T>, comparer: IEqualityComparer_1<T>): HashSet_1<T>;
1071
- new<T>(capacity: int, comparer: IEqualityComparer_1<T>): HashSet_1<T>;
1072
- CreateSetComparer<T>(): IEqualityComparer_1<HashSet_1<T>>;
648
+ export const HashSet_1: {
649
+ new<T extends unknown>(): HashSet_1<T>;
650
+ new<T extends unknown>(comparer: IEqualityComparer_1<T> | null): HashSet_1<T>;
651
+ new<T extends unknown>(capacity: int): HashSet_1<T>;
652
+ new<T extends unknown>(collection: IEnumerable_1<T>): HashSet_1<T>;
653
+ new<T extends unknown>(collection: IEnumerable_1<T>, comparer: IEqualityComparer_1<T> | null): HashSet_1<T>;
654
+ new<T extends unknown>(capacity: int, comparer: IEqualityComparer_1<T> | null): HashSet_1<T>;
655
+ CreateSetComparer<T extends unknown>(): IEqualityComparer_1<HashSet_1<T>>;
656
+ };
657
+
658
+
659
+ export interface __HashSet_1$views<T extends unknown> {
660
+ As_ICollection_1(): ICollection_1$instance<T>;
661
+ As_IEnumerable_1(): IEnumerable_1$instance<T>;
662
+ As_IReadOnlyCollection_1(): IReadOnlyCollection_1$instance<T>;
663
+ As_IReadOnlySet_1(): IReadOnlySet_1$instance<T>;
664
+ As_ISet_1(): ISet_1$instance<T>;
665
+ As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
666
+ As_IDeserializationCallback(): System_Runtime_Serialization_Internal.IDeserializationCallback$instance;
667
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
668
+ }
669
+
670
+ export type HashSet_1<T extends unknown> = HashSet_1$instance<T> & __HashSet_1$views<T>;
671
+
672
+
673
+ export interface HashSet_1_AlternateLookup_1$instance<T extends unknown, TAlternate extends unknown> {
674
+ readonly __tsonic_type_System_Collections_Generic_HashSet_1_AlternateLookup_1: never;
675
+
676
+ readonly Set: HashSet_1<T>;
677
+ Add(item: TAlternate): boolean;
678
+ Contains(item: TAlternate): boolean;
679
+ Remove(item: TAlternate): boolean;
680
+ TryGetValue(equalValue: TAlternate, actualValue: T): boolean;
681
+ }
682
+
683
+
684
+ export const HashSet_1_AlternateLookup_1: {
685
+ new<T extends unknown, TAlternate extends unknown>(): HashSet_1_AlternateLookup_1<T, TAlternate>;
1073
686
  };
1074
687
 
1075
688
 
1076
- export interface __HashSet_1$views<T> {
1077
- As_ICollection_1(): ICollection_1$instance<T>;
1078
- As_IEnumerable_1(): IEnumerable_1$instance<T>;
1079
- As_IReadOnlyCollection_1(): IReadOnlyCollection_1$instance<T>;
1080
- As_IReadOnlySet_1(): IReadOnlySet_1$instance<T>;
1081
- As_ISet_1(): ISet_1$instance<T>;
1082
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
1083
- As_IDeserializationCallback(): System_Runtime_Serialization_Internal.IDeserializationCallback$instance;
1084
- As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
689
+ export type HashSet_1_AlternateLookup_1<T extends unknown, TAlternate extends unknown> = HashSet_1_AlternateLookup_1$instance<T, TAlternate>;
690
+
691
+ export interface HashSet_1_Enumerator$instance<T extends unknown> extends IEnumerator_1<T> {
692
+ readonly __tsonic_type_System_Collections_Generic_HashSet_1_Enumerator: never;
693
+
694
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
695
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
696
+ readonly __tsonic_iface_System_IDisposable: never;
697
+
698
+ readonly Current: T;
699
+ Dispose(): void;
700
+ MoveNext(): boolean;
701
+ Reset(): void;
1085
702
  }
1086
703
 
1087
- export type HashSet_1<T> = HashSet_1$instance<T> & __HashSet_1$views<T>;
1088
704
 
705
+ export const HashSet_1_Enumerator: {
706
+ new<T extends unknown>(): HashSet_1_Enumerator<T>;
707
+ };
708
+
709
+
710
+ export type HashSet_1_Enumerator<T extends unknown> = HashSet_1_Enumerator$instance<T>;
1089
711
 
1090
712
  export interface KeyNotFoundException$instance extends SystemException, System_Runtime_Serialization_Internal.ISerializable$instance {
1091
713
  readonly __tsonic_type_System_Collections_Generic_KeyNotFoundException: never;
@@ -1097,8 +719,8 @@ export interface KeyNotFoundException$instance extends SystemException, System_R
1097
719
 
1098
720
  export const KeyNotFoundException: {
1099
721
  new(): KeyNotFoundException;
1100
- new(message: string): KeyNotFoundException;
1101
- new(message: string, innerException: Exception): KeyNotFoundException;
722
+ new(message: string | null): KeyNotFoundException;
723
+ new(message: string | null, innerException: Exception | null): KeyNotFoundException;
1102
724
  };
1103
725
 
1104
726
 
@@ -1109,7 +731,7 @@ export interface __KeyNotFoundException$views {
1109
731
  export type KeyNotFoundException = KeyNotFoundException$instance & __KeyNotFoundException$views;
1110
732
 
1111
733
 
1112
- export interface LinkedList_1$instance<T> extends System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
734
+ export interface LinkedList_1$instance<T extends unknown> extends System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
1113
735
  readonly __tsonic_type_System_Collections_Generic_LinkedList_1: never;
1114
736
 
1115
737
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -1121,8 +743,8 @@ export interface LinkedList_1$instance<T> extends System_Runtime_Serialization_I
1121
743
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
1122
744
 
1123
745
  readonly Count: int;
1124
- readonly First: LinkedListNode_1<T> | undefined;
1125
- readonly Last: LinkedListNode_1<T> | undefined;
746
+ readonly First: LinkedListNode_1<T> | null;
747
+ readonly Last: LinkedListNode_1<T> | null;
1126
748
  AddAfter(node: LinkedListNode_1<T>, value: T): LinkedListNode_1<T>;
1127
749
  AddAfter(node: LinkedListNode_1<T>, newNode: LinkedListNode_1<T>): void;
1128
750
  AddBefore(node: LinkedListNode_1<T>, value: T): LinkedListNode_1<T>;
@@ -1134,11 +756,11 @@ export interface LinkedList_1$instance<T> extends System_Runtime_Serialization_I
1134
756
  Clear(): void;
1135
757
  Contains(value: T): boolean;
1136
758
  CopyTo(array: T[], index: int): void;
1137
- Find(value: T): LinkedListNode_1<T> | undefined;
1138
- FindLast(value: T): LinkedListNode_1<T> | undefined;
759
+ Find(value: T): LinkedListNode_1<T> | null;
760
+ FindLast(value: T): LinkedListNode_1<T> | null;
1139
761
  GetEnumerator(): LinkedList_1_Enumerator<T>;
1140
762
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
1141
- OnDeserialization(sender: unknown): void;
763
+ OnDeserialization(sender: unknown | null): void;
1142
764
  Remove(value: T): boolean;
1143
765
  Remove(node: LinkedListNode_1<T>): void;
1144
766
  RemoveFirst(): void;
@@ -1147,12 +769,12 @@ export interface LinkedList_1$instance<T> extends System_Runtime_Serialization_I
1147
769
 
1148
770
 
1149
771
  export const LinkedList_1: {
1150
- new<T>(): LinkedList_1<T>;
1151
- new<T>(collection: IEnumerable_1<T>): LinkedList_1<T>;
772
+ new<T extends unknown>(): LinkedList_1<T>;
773
+ new<T extends unknown>(collection: IEnumerable_1<T>): LinkedList_1<T>;
1152
774
  };
1153
775
 
1154
776
 
1155
- export interface __LinkedList_1$views<T> {
777
+ export interface __LinkedList_1$views<T extends unknown> {
1156
778
  As_ICollection_1(): ICollection_1$instance<T>;
1157
779
  As_IEnumerable_1(): IEnumerable_1$instance<T>;
1158
780
  As_IReadOnlyCollection_1(): IReadOnlyCollection_1$instance<T>;
@@ -1162,28 +784,51 @@ export interface __LinkedList_1$views<T> {
1162
784
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1163
785
  }
1164
786
 
1165
- export type LinkedList_1<T> = LinkedList_1$instance<T> & __LinkedList_1$views<T>;
787
+ export type LinkedList_1<T extends unknown> = LinkedList_1$instance<T> & __LinkedList_1$views<T>;
788
+
789
+
790
+ export interface LinkedList_1_Enumerator$instance<T extends unknown> extends IEnumerator_1<T>, IDeserializationCallback, ISerializable {
791
+ readonly __tsonic_type_System_Collections_Generic_LinkedList_1_Enumerator: never;
792
+
793
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
794
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
795
+ readonly __tsonic_iface_System_IDisposable: never;
796
+ readonly __tsonic_iface_System_Runtime_Serialization_IDeserializationCallback: never;
797
+ readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
798
+
799
+ readonly Current: T;
800
+ Dispose(): void;
801
+ MoveNext(): boolean;
802
+ Reset(): void;
803
+ }
804
+
805
+
806
+ export const LinkedList_1_Enumerator: {
807
+ new<T extends unknown>(): LinkedList_1_Enumerator<T>;
808
+ };
809
+
1166
810
 
811
+ export type LinkedList_1_Enumerator<T extends unknown> = LinkedList_1_Enumerator$instance<T>;
1167
812
 
1168
- export interface LinkedListNode_1$instance<T> {
813
+ export interface LinkedListNode_1$instance<T extends unknown> {
1169
814
  readonly __tsonic_type_System_Collections_Generic_LinkedListNode_1: never;
1170
815
 
1171
- readonly List: LinkedList_1<T> | undefined;
1172
- readonly Next: LinkedListNode_1<T> | undefined;
1173
- readonly Previous: LinkedListNode_1<T> | undefined;
816
+ readonly List: LinkedList_1<T> | null;
817
+ readonly Next: LinkedListNode_1<T> | null;
818
+ readonly Previous: LinkedListNode_1<T> | null;
1174
819
  Value: T;
1175
820
  readonly ValueRef: T;
1176
821
  }
1177
822
 
1178
823
 
1179
824
  export const LinkedListNode_1: {
1180
- new<T>(value: T): LinkedListNode_1<T>;
825
+ new<T extends unknown>(value: T): LinkedListNode_1<T>;
1181
826
  };
1182
827
 
1183
828
 
1184
- export type LinkedListNode_1<T> = LinkedListNode_1$instance<T>;
829
+ export type LinkedListNode_1<T extends unknown> = LinkedListNode_1$instance<T>;
1185
830
 
1186
- export interface List_1$instance<T> {
831
+ export interface List_1$instance<T extends unknown> {
1187
832
  readonly __tsonic_type_System_Collections_Generic_List_1: never;
1188
833
 
1189
834
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -1200,23 +845,23 @@ export interface List_1$instance<T> {
1200
845
  Add(item: T): void;
1201
846
  AddRange(collection: IEnumerable_1<T>): void;
1202
847
  AsReadOnly(): ReadOnlyCollection_1<T>;
1203
- BinarySearch(index: int, count: int, item: T, comparer: IComparer_1<T>): int;
848
+ BinarySearch(index: int, count: int, item: T, comparer: IComparer_1<T> | null): int;
1204
849
  BinarySearch(item: T): int;
1205
- BinarySearch(item: T, comparer: IComparer_1<T>): int;
850
+ BinarySearch(item: T, comparer: IComparer_1<T> | null): int;
1206
851
  Clear(): void;
1207
852
  Contains(item: T): boolean;
1208
- ConvertAll<TOutput>(converter: Converter_2<T, TOutput>): List_1<TOutput>;
853
+ ConvertAll<TOutput extends unknown>(converter: Converter_2<T, TOutput>): List_1<TOutput>;
1209
854
  CopyTo(array: T[]): void;
1210
855
  CopyTo(index: int, array: T[], arrayIndex: int, count: int): void;
1211
856
  CopyTo(array: T[], arrayIndex: int): void;
1212
857
  EnsureCapacity(capacity: int): int;
1213
858
  Exists(match: Predicate_1<T>): boolean;
1214
- Find(match: Predicate_1<T>): T | undefined;
859
+ Find(match: Predicate_1<T>): T | null;
1215
860
  FindAll(match: Predicate_1<T>): List_1<T>;
1216
861
  FindIndex(match: Predicate_1<T>): int;
1217
862
  FindIndex(startIndex: int, match: Predicate_1<T>): int;
1218
863
  FindIndex(startIndex: int, count: int, match: Predicate_1<T>): int;
1219
- FindLast(match: Predicate_1<T>): T | undefined;
864
+ FindLast(match: Predicate_1<T>): T | null;
1220
865
  FindLastIndex(match: Predicate_1<T>): int;
1221
866
  FindLastIndex(startIndex: int, match: Predicate_1<T>): int;
1222
867
  FindLastIndex(startIndex: int, count: int, match: Predicate_1<T>): int;
@@ -1239,8 +884,8 @@ export interface List_1$instance<T> {
1239
884
  Reverse(index: int, count: int): void;
1240
885
  Slice(start: int, length: int): List_1<T>;
1241
886
  Sort(): void;
1242
- Sort(comparer: IComparer_1<T>): void;
1243
- Sort(index: int, count: int, comparer: IComparer_1<T>): void;
887
+ Sort(comparer: IComparer_1<T> | null): void;
888
+ Sort(index: int, count: int, comparer: IComparer_1<T> | null): void;
1244
889
  Sort(comparison: Comparison_1<T>): void;
1245
890
  ToArray(): T[];
1246
891
  TrimExcess(): void;
@@ -1249,13 +894,13 @@ export interface List_1$instance<T> {
1249
894
 
1250
895
 
1251
896
  export const List_1: {
1252
- new<T>(): List_1<T>;
1253
- new<T>(capacity: int): List_1<T>;
1254
- new<T>(collection: IEnumerable_1<T>): List_1<T>;
897
+ new<T extends unknown>(): List_1<T>;
898
+ new<T extends unknown>(capacity: int): List_1<T>;
899
+ new<T extends unknown>(collection: IEnumerable_1<T>): List_1<T>;
1255
900
  };
1256
901
 
1257
902
 
1258
- export interface __List_1$views<T> {
903
+ export interface __List_1$views<T extends unknown> {
1259
904
  As_ICollection_1(): ICollection_1$instance<T>;
1260
905
  As_IEnumerable_1(): IEnumerable_1$instance<T>;
1261
906
  As_IList_1(): IList_1$instance<T>;
@@ -1265,25 +910,46 @@ export interface __List_1$views<T> {
1265
910
  As_IList(): System_Collections_Internal.IList$instance;
1266
911
  }
1267
912
 
1268
- export type List_1<T> = List_1$instance<T> & __List_1$views<T> & { [index: number]: T; };
913
+ export type List_1<T extends unknown> = List_1$instance<T> & __List_1$views<T> & { [index: number]: T; };
914
+
915
+
916
+ export interface List_1_Enumerator$instance<T extends unknown> extends IEnumerator_1<T> {
917
+ readonly __tsonic_type_System_Collections_Generic_List_1_Enumerator: never;
918
+
919
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
920
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
921
+ readonly __tsonic_iface_System_IDisposable: never;
922
+
923
+ readonly Current: T;
924
+ Dispose(): void;
925
+ MoveNext(): boolean;
926
+ Reset(): void;
927
+ }
928
+
929
+
930
+ export const List_1_Enumerator: {
931
+ new<T extends unknown>(): List_1_Enumerator<T>;
932
+ };
1269
933
 
1270
934
 
935
+ export type List_1_Enumerator<T extends unknown> = List_1_Enumerator$instance<T>;
936
+
1271
937
  export interface NonRandomizedStringEqualityComparer$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {
1272
938
  readonly __tsonic_type_System_Collections_Generic_NonRandomizedStringEqualityComparer: never;
1273
939
 
1274
940
  readonly __tsonic_iface_System_Collections_Generic_IEqualityComparer_1: never;
1275
941
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
1276
942
 
1277
- Equals(x: string, y: string): boolean;
1278
- Equals(obj: unknown): boolean;
1279
- GetHashCode(obj: string): int;
943
+ Equals(x: string | null, y: string | null): boolean;
944
+ Equals(obj: unknown | null): boolean;
945
+ GetHashCode(obj: string | null): int;
1280
946
  GetHashCode(): int;
1281
- GetUnderlyingEqualityComparer(): IEqualityComparer_1<string | undefined>;
947
+ GetUnderlyingEqualityComparer(): IEqualityComparer_1<string | null>;
1282
948
  }
1283
949
 
1284
950
 
1285
951
  export const NonRandomizedStringEqualityComparer: (abstract new(information: SerializationInfo, context: StreamingContext) => NonRandomizedStringEqualityComparer) & {
1286
- GetStringComparer(comparer: unknown): IEqualityComparer_1<System_Internal.String> | undefined;
952
+ GetStringComparer(comparer: unknown): IEqualityComparer_1<System_Internal.String> | null;
1287
953
  };
1288
954
 
1289
955
 
@@ -1295,7 +961,7 @@ export interface __NonRandomizedStringEqualityComparer$views {
1295
961
  export type NonRandomizedStringEqualityComparer = NonRandomizedStringEqualityComparer$instance & __NonRandomizedStringEqualityComparer$views;
1296
962
 
1297
963
 
1298
- export interface NullableComparer_1$instance<T extends unknown> extends Comparer_1$instance<Nullable_1<T>>, System_Runtime_Serialization_Internal.ISerializable$instance {
964
+ export interface NullableComparer_1$instance<T extends NonNullable<unknown>> extends Comparer_1$instance<Nullable_1<T>>, IComparer_1$instance<Nullable_1<T>>, System_Runtime_Serialization_Internal.ISerializable$instance {
1299
965
  readonly __tsonic_type_System_Collections_Generic_NullableComparer_1: never;
1300
966
 
1301
967
  readonly __tsonic_iface_System_Collections_Generic_IComparer_1: never;
@@ -1303,27 +969,27 @@ export interface NullableComparer_1$instance<T extends unknown> extends Comparer
1303
969
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
1304
970
 
1305
971
  Compare(x: Nullable_1<T>, y: Nullable_1<T>): int;
1306
- Equals(obj: unknown): boolean;
972
+ Equals(obj: unknown | null): boolean;
1307
973
  GetHashCode(): int;
1308
974
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
1309
975
  }
1310
976
 
1311
977
 
1312
978
  export const NullableComparer_1: {
1313
- new<T extends unknown>(): NullableComparer_1<T>;
979
+ new<T extends NonNullable<unknown>>(): NullableComparer_1<T>;
1314
980
  };
1315
981
 
1316
982
 
1317
- export interface __NullableComparer_1$views<T extends unknown> {
983
+ export interface __NullableComparer_1$views<T extends NonNullable<unknown>> {
1318
984
  As_IComparer_1(): IComparer_1$instance<Nullable_1<T>>;
1319
985
  As_IComparer(): System_Collections_Internal.IComparer$instance;
1320
986
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1321
987
  }
1322
988
 
1323
- export type NullableComparer_1<T> = NullableComparer_1$instance<T> & __NullableComparer_1$views<T>;
989
+ export type NullableComparer_1<T extends NonNullable<unknown>> = NullableComparer_1$instance<T> & __NullableComparer_1$views<T>;
1324
990
 
1325
991
 
1326
- export interface NullableEqualityComparer_1$instance<T extends unknown> extends EqualityComparer_1$instance<Nullable_1<T>>, System_Runtime_Serialization_Internal.ISerializable$instance {
992
+ export interface NullableEqualityComparer_1$instance<T extends NonNullable<unknown>> extends EqualityComparer_1$instance<Nullable_1<T>>, System_Runtime_Serialization_Internal.ISerializable$instance {
1327
993
  readonly __tsonic_type_System_Collections_Generic_NullableEqualityComparer_1: never;
1328
994
 
1329
995
  readonly __tsonic_iface_System_Collections_Generic_IEqualityComparer_1: never;
@@ -1331,7 +997,7 @@ export interface NullableEqualityComparer_1$instance<T extends unknown> extends
1331
997
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
1332
998
 
1333
999
  Equals(x: Nullable_1<T>, y: Nullable_1<T>): boolean;
1334
- Equals(obj: unknown): boolean;
1000
+ Equals(obj: unknown | null): boolean;
1335
1001
  GetHashCode(obj: Nullable_1<T>): int;
1336
1002
  GetHashCode(): int;
1337
1003
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
@@ -1339,71 +1005,71 @@ export interface NullableEqualityComparer_1$instance<T extends unknown> extends
1339
1005
 
1340
1006
 
1341
1007
  export const NullableEqualityComparer_1: {
1342
- new<T extends unknown>(): NullableEqualityComparer_1<T>;
1008
+ new<T extends NonNullable<unknown>>(): NullableEqualityComparer_1<T>;
1343
1009
  };
1344
1010
 
1345
1011
 
1346
- export interface __NullableEqualityComparer_1$views<T extends unknown> {
1012
+ export interface __NullableEqualityComparer_1$views<T extends NonNullable<unknown>> {
1347
1013
  As_IEqualityComparer_1(): IEqualityComparer_1$instance<Nullable_1<T>>;
1348
1014
  As_IEqualityComparer(): System_Collections_Internal.IEqualityComparer$instance;
1349
1015
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1350
1016
  }
1351
1017
 
1352
- export type NullableEqualityComparer_1<T> = NullableEqualityComparer_1$instance<T> & __NullableEqualityComparer_1$views<T>;
1018
+ export type NullableEqualityComparer_1<T extends NonNullable<unknown>> = NullableEqualityComparer_1$instance<T> & __NullableEqualityComparer_1$views<T>;
1353
1019
 
1354
1020
 
1355
- export interface ObjectComparer_1$instance<T> extends Comparer_1$instance<T> {
1021
+ export interface ObjectComparer_1$instance<T extends unknown> extends Comparer_1$instance<T> {
1356
1022
  readonly __tsonic_type_System_Collections_Generic_ObjectComparer_1: never;
1357
1023
 
1358
1024
  readonly __tsonic_iface_System_Collections_Generic_IComparer_1: never;
1359
1025
  readonly __tsonic_iface_System_Collections_IComparer: never;
1360
1026
 
1361
- Compare(x: T, y: T): int;
1362
- Equals(obj: unknown): boolean;
1027
+ Compare(x: T | null, y: T | null): int;
1028
+ Equals(obj: unknown | null): boolean;
1363
1029
  GetHashCode(): int;
1364
1030
  }
1365
1031
 
1366
1032
 
1367
1033
  export const ObjectComparer_1: {
1368
- new<T>(): ObjectComparer_1<T>;
1034
+ new<T extends unknown>(): ObjectComparer_1<T>;
1369
1035
  };
1370
1036
 
1371
1037
 
1372
- export interface __ObjectComparer_1$views<T> {
1038
+ export interface __ObjectComparer_1$views<T extends unknown> {
1373
1039
  As_IComparer_1(): IComparer_1$instance<T>;
1374
1040
  As_IComparer(): System_Collections_Internal.IComparer$instance;
1375
1041
  }
1376
1042
 
1377
- export type ObjectComparer_1<T> = ObjectComparer_1$instance<T> & __ObjectComparer_1$views<T>;
1043
+ export type ObjectComparer_1<T extends unknown> = ObjectComparer_1$instance<T> & __ObjectComparer_1$views<T>;
1378
1044
 
1379
1045
 
1380
- export interface ObjectEqualityComparer_1$instance<T> extends EqualityComparer_1$instance<T> {
1046
+ export interface ObjectEqualityComparer_1$instance<T extends unknown> extends EqualityComparer_1$instance<T> {
1381
1047
  readonly __tsonic_type_System_Collections_Generic_ObjectEqualityComparer_1: never;
1382
1048
 
1383
1049
  readonly __tsonic_iface_System_Collections_Generic_IEqualityComparer_1: never;
1384
1050
  readonly __tsonic_iface_System_Collections_IEqualityComparer: never;
1385
1051
 
1386
- Equals(x: T, y: T): boolean;
1387
- Equals(obj: unknown): boolean;
1052
+ Equals(x: T | null, y: T | null): boolean;
1053
+ Equals(obj: unknown | null): boolean;
1388
1054
  GetHashCode(obj: T): int;
1389
1055
  GetHashCode(): int;
1390
1056
  }
1391
1057
 
1392
1058
 
1393
1059
  export const ObjectEqualityComparer_1: {
1394
- new<T>(): ObjectEqualityComparer_1<T>;
1060
+ new<T extends unknown>(): ObjectEqualityComparer_1<T>;
1395
1061
  };
1396
1062
 
1397
1063
 
1398
- export interface __ObjectEqualityComparer_1$views<T> {
1064
+ export interface __ObjectEqualityComparer_1$views<T extends unknown> {
1399
1065
  As_IEqualityComparer_1(): IEqualityComparer_1$instance<T>;
1400
1066
  As_IEqualityComparer(): System_Collections_Internal.IEqualityComparer$instance;
1401
1067
  }
1402
1068
 
1403
- export type ObjectEqualityComparer_1<T> = ObjectEqualityComparer_1$instance<T> & __ObjectEqualityComparer_1$views<T>;
1069
+ export type ObjectEqualityComparer_1<T extends unknown> = ObjectEqualityComparer_1$instance<T> & __ObjectEqualityComparer_1$views<T>;
1404
1070
 
1405
1071
 
1406
- export interface OrderedDictionary_2$instance<TKey, TValue> {
1072
+ export interface OrderedDictionary_2$instance<TKey extends unknown, TValue extends unknown> {
1407
1073
  readonly __tsonic_type_System_Collections_Generic_OrderedDictionary_2: never;
1408
1074
 
1409
1075
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -1448,18 +1114,18 @@ export interface OrderedDictionary_2$instance<TKey, TValue> {
1448
1114
 
1449
1115
 
1450
1116
  export const OrderedDictionary_2: {
1451
- new<TKey, TValue>(): OrderedDictionary_2<TKey, TValue>;
1452
- new<TKey, TValue>(capacity: int): OrderedDictionary_2<TKey, TValue>;
1453
- new<TKey, TValue>(comparer: IEqualityComparer_1<TKey>): OrderedDictionary_2<TKey, TValue>;
1454
- new<TKey, TValue>(capacity: int, comparer: IEqualityComparer_1<TKey>): OrderedDictionary_2<TKey, TValue>;
1455
- new<TKey, TValue>(dictionary: IDictionary_2<TKey, TValue>): OrderedDictionary_2<TKey, TValue>;
1456
- new<TKey, TValue>(dictionary: IDictionary_2<TKey, TValue>, comparer: IEqualityComparer_1<TKey>): OrderedDictionary_2<TKey, TValue>;
1457
- new<TKey, TValue>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): OrderedDictionary_2<TKey, TValue>;
1458
- new<TKey, TValue>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, comparer: IEqualityComparer_1<TKey>): OrderedDictionary_2<TKey, TValue>;
1117
+ new<TKey extends unknown, TValue extends unknown>(): OrderedDictionary_2<TKey, TValue>;
1118
+ new<TKey extends unknown, TValue extends unknown>(capacity: int): OrderedDictionary_2<TKey, TValue>;
1119
+ new<TKey extends unknown, TValue extends unknown>(comparer: IEqualityComparer_1<TKey> | null): OrderedDictionary_2<TKey, TValue>;
1120
+ new<TKey extends unknown, TValue extends unknown>(capacity: int, comparer: IEqualityComparer_1<TKey> | null): OrderedDictionary_2<TKey, TValue>;
1121
+ new<TKey extends unknown, TValue extends unknown>(dictionary: IDictionary_2<TKey, TValue>): OrderedDictionary_2<TKey, TValue>;
1122
+ new<TKey extends unknown, TValue extends unknown>(dictionary: IDictionary_2<TKey, TValue>, comparer: IEqualityComparer_1<TKey> | null): OrderedDictionary_2<TKey, TValue>;
1123
+ new<TKey extends unknown, TValue extends unknown>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): OrderedDictionary_2<TKey, TValue>;
1124
+ new<TKey extends unknown, TValue extends unknown>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, comparer: IEqualityComparer_1<TKey> | null): OrderedDictionary_2<TKey, TValue>;
1459
1125
  };
1460
1126
 
1461
1127
 
1462
- export interface __OrderedDictionary_2$views<TKey, TValue> {
1128
+ export interface __OrderedDictionary_2$views<TKey extends unknown, TValue extends unknown> {
1463
1129
  As_ICollection_1(): ICollection_1$instance<KeyValuePair_2<TKey, TValue>>;
1464
1130
  As_IDictionary_2(): IDictionary_2$instance<TKey, TValue>;
1465
1131
  As_IEnumerable_1(): IEnumerable_1$instance<KeyValuePair_2<TKey, TValue>>;
@@ -1472,10 +1138,31 @@ export interface __OrderedDictionary_2$views<TKey, TValue> {
1472
1138
  As_IList(): System_Collections_Internal.IList$instance;
1473
1139
  }
1474
1140
 
1475
- export type OrderedDictionary_2<TKey, TValue> = OrderedDictionary_2$instance<TKey, TValue> & __OrderedDictionary_2$views<TKey, TValue>;
1141
+ export type OrderedDictionary_2<TKey extends unknown, TValue extends unknown> = OrderedDictionary_2$instance<TKey, TValue> & __OrderedDictionary_2$views<TKey, TValue>;
1476
1142
 
1477
1143
 
1478
- export interface OrderedDictionary_2_KeyCollection$instance<TKey, TValue> {
1144
+ export interface OrderedDictionary_2_Enumerator$instance<TKey extends unknown, TValue extends unknown> {
1145
+ readonly __tsonic_type_System_Collections_Generic_OrderedDictionary_2_Enumerator: never;
1146
+
1147
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
1148
+ readonly __tsonic_iface_System_Collections_IDictionaryEnumerator: never;
1149
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
1150
+ readonly __tsonic_iface_System_IDisposable: never;
1151
+
1152
+ Current: KeyValuePair_2<TKey, TValue>;
1153
+ MoveNext(): boolean;
1154
+ Reset(): void;
1155
+ }
1156
+
1157
+
1158
+ export const OrderedDictionary_2_Enumerator: {
1159
+ new<TKey extends unknown, TValue extends unknown>(): OrderedDictionary_2_Enumerator<TKey, TValue>;
1160
+ };
1161
+
1162
+
1163
+ export type OrderedDictionary_2_Enumerator<TKey extends unknown, TValue extends unknown> = OrderedDictionary_2_Enumerator$instance<TKey, TValue>;
1164
+
1165
+ export interface OrderedDictionary_2_KeyCollection$instance<TKey extends unknown, TValue extends unknown> {
1479
1166
  readonly __tsonic_type_System_Collections_Generic_OrderedDictionary_2_KeyCollection: never;
1480
1167
 
1481
1168
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -1498,20 +1185,29 @@ export const OrderedDictionary_2_KeyCollection: {
1498
1185
  };
1499
1186
 
1500
1187
 
1501
- export interface __OrderedDictionary_2_KeyCollection$views<TKey, TValue> {
1502
- As_ICollection_1(): ICollection_1$instance<TKey>;
1503
- As_IEnumerable_1(): IEnumerable_1$instance<TKey>;
1504
- As_IList_1(): IList_1$instance<TKey>;
1505
- As_IReadOnlyCollection_1(): IReadOnlyCollection_1$instance<TKey>;
1506
- As_ICollection(): System_Collections_Internal.ICollection$instance;
1507
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
1508
- As_IList(): System_Collections_Internal.IList$instance;
1188
+ export type OrderedDictionary_2_KeyCollection<TKey extends unknown, TValue extends unknown> = OrderedDictionary_2_KeyCollection$instance<TKey, TValue>;
1189
+
1190
+ export interface OrderedDictionary_2_KeyCollection_Enumerator$instance<TKey extends unknown, TValue extends unknown> extends IEnumerator_1<TKey> {
1191
+ readonly __tsonic_type_System_Collections_Generic_OrderedDictionary_2_KeyCollection_Enumerator: never;
1192
+
1193
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
1194
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
1195
+ readonly __tsonic_iface_System_IDisposable: never;
1196
+
1197
+ readonly Current: TKey;
1198
+ MoveNext(): boolean;
1199
+ Reset(): void;
1509
1200
  }
1510
1201
 
1511
- export type OrderedDictionary_2_KeyCollection<TKey, TValue> = OrderedDictionary_2_KeyCollection$instance<TKey, TValue> & __OrderedDictionary_2_KeyCollection$views<TKey, TValue>;
1202
+
1203
+ export const OrderedDictionary_2_KeyCollection_Enumerator: {
1204
+ new<TKey extends unknown, TValue extends unknown>(): OrderedDictionary_2_KeyCollection_Enumerator<TKey, TValue>;
1205
+ };
1512
1206
 
1513
1207
 
1514
- export interface OrderedDictionary_2_ValueCollection$instance<TKey, TValue> {
1208
+ export type OrderedDictionary_2_KeyCollection_Enumerator<TKey extends unknown, TValue extends unknown> = OrderedDictionary_2_KeyCollection_Enumerator$instance<TKey, TValue>;
1209
+
1210
+ export interface OrderedDictionary_2_ValueCollection$instance<TKey extends unknown, TValue extends unknown> {
1515
1211
  readonly __tsonic_type_System_Collections_Generic_OrderedDictionary_2_ValueCollection: never;
1516
1212
 
1517
1213
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -1533,20 +1229,29 @@ export const OrderedDictionary_2_ValueCollection: {
1533
1229
  };
1534
1230
 
1535
1231
 
1536
- export interface __OrderedDictionary_2_ValueCollection$views<TKey, TValue> {
1537
- As_ICollection_1(): ICollection_1$instance<TValue>;
1538
- As_IEnumerable_1(): IEnumerable_1$instance<TValue>;
1539
- As_IList_1(): IList_1$instance<TValue>;
1540
- As_IReadOnlyCollection_1(): IReadOnlyCollection_1$instance<TValue>;
1541
- As_ICollection(): System_Collections_Internal.ICollection$instance;
1542
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
1543
- As_IList(): System_Collections_Internal.IList$instance;
1232
+ export type OrderedDictionary_2_ValueCollection<TKey extends unknown, TValue extends unknown> = OrderedDictionary_2_ValueCollection$instance<TKey, TValue>;
1233
+
1234
+ export interface OrderedDictionary_2_ValueCollection_Enumerator$instance<TKey extends unknown, TValue extends unknown> extends IEnumerator_1<TValue> {
1235
+ readonly __tsonic_type_System_Collections_Generic_OrderedDictionary_2_ValueCollection_Enumerator: never;
1236
+
1237
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
1238
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
1239
+ readonly __tsonic_iface_System_IDisposable: never;
1240
+
1241
+ readonly Current: TValue;
1242
+ MoveNext(): boolean;
1243
+ Reset(): void;
1544
1244
  }
1545
1245
 
1546
- export type OrderedDictionary_2_ValueCollection<TKey, TValue> = OrderedDictionary_2_ValueCollection$instance<TKey, TValue> & __OrderedDictionary_2_ValueCollection$views<TKey, TValue>;
1547
1246
 
1247
+ export const OrderedDictionary_2_ValueCollection_Enumerator: {
1248
+ new<TKey extends unknown, TValue extends unknown>(): OrderedDictionary_2_ValueCollection_Enumerator<TKey, TValue>;
1249
+ };
1250
+
1251
+
1252
+ export type OrderedDictionary_2_ValueCollection_Enumerator<TKey extends unknown, TValue extends unknown> = OrderedDictionary_2_ValueCollection_Enumerator$instance<TKey, TValue>;
1548
1253
 
1549
- export interface PriorityQueue_2$instance<TElement, TPriority> {
1254
+ export interface PriorityQueue_2$instance<TElement extends unknown, TPriority extends unknown> {
1550
1255
  readonly __tsonic_type_System_Collections_Generic_PriorityQueue_2: never;
1551
1256
 
1552
1257
  readonly Capacity: int;
@@ -1562,7 +1267,7 @@ export interface PriorityQueue_2$instance<TElement, TPriority> {
1562
1267
  EnqueueRange(elements: IEnumerable_1<TElement>, priority: TPriority): void;
1563
1268
  EnsureCapacity(capacity: int): int;
1564
1269
  Peek(): TElement;
1565
- Remove(element: TElement, removedElement: TElement, priority: TPriority, equalityComparer?: IEqualityComparer_1<TElement>): boolean;
1270
+ Remove(element: TElement, removedElement: TElement, priority: TPriority, equalityComparer?: IEqualityComparer_1<TElement> | null): boolean;
1566
1271
  TrimExcess(): void;
1567
1272
  TryDequeue(element: TElement, priority: TPriority): boolean;
1568
1273
  TryPeek(element: TElement, priority: TPriority): boolean;
@@ -1570,18 +1275,18 @@ export interface PriorityQueue_2$instance<TElement, TPriority> {
1570
1275
 
1571
1276
 
1572
1277
  export const PriorityQueue_2: {
1573
- new<TElement, TPriority>(): PriorityQueue_2<TElement, TPriority>;
1574
- new<TElement, TPriority>(initialCapacity: int): PriorityQueue_2<TElement, TPriority>;
1575
- new<TElement, TPriority>(comparer: IComparer_1<TPriority>): PriorityQueue_2<TElement, TPriority>;
1576
- new<TElement, TPriority>(initialCapacity: int, comparer: IComparer_1<TPriority>): PriorityQueue_2<TElement, TPriority>;
1577
- new<TElement, TPriority>(items: IEnumerable_1<ValueTuple_2<TElement, TPriority>>): PriorityQueue_2<TElement, TPriority>;
1578
- new<TElement, TPriority>(items: IEnumerable_1<ValueTuple_2<TElement, TPriority>>, comparer: IComparer_1<TPriority>): PriorityQueue_2<TElement, TPriority>;
1278
+ new<TElement extends unknown, TPriority extends unknown>(): PriorityQueue_2<TElement, TPriority>;
1279
+ new<TElement extends unknown, TPriority extends unknown>(initialCapacity: int): PriorityQueue_2<TElement, TPriority>;
1280
+ new<TElement extends unknown, TPriority extends unknown>(comparer: IComparer_1<TPriority> | null): PriorityQueue_2<TElement, TPriority>;
1281
+ new<TElement extends unknown, TPriority extends unknown>(initialCapacity: int, comparer: IComparer_1<TPriority> | null): PriorityQueue_2<TElement, TPriority>;
1282
+ new<TElement extends unknown, TPriority extends unknown>(items: IEnumerable_1<ValueTuple_2<TElement, TPriority>>): PriorityQueue_2<TElement, TPriority>;
1283
+ new<TElement extends unknown, TPriority extends unknown>(items: IEnumerable_1<ValueTuple_2<TElement, TPriority>>, comparer: IComparer_1<TPriority> | null): PriorityQueue_2<TElement, TPriority>;
1579
1284
  };
1580
1285
 
1581
1286
 
1582
- export type PriorityQueue_2<TElement, TPriority> = PriorityQueue_2$instance<TElement, TPriority>;
1287
+ export type PriorityQueue_2<TElement extends unknown, TPriority extends unknown> = PriorityQueue_2$instance<TElement, TPriority>;
1583
1288
 
1584
- export interface PriorityQueue_2_UnorderedItemsCollection$instance<TElement, TPriority> {
1289
+ export interface PriorityQueue_2_UnorderedItemsCollection$instance<TElement extends unknown, TPriority extends unknown> {
1585
1290
  readonly __tsonic_type_System_Collections_Generic_PriorityQueue_2_UnorderedItemsCollection: never;
1586
1291
 
1587
1292
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
@@ -1598,17 +1303,30 @@ export const PriorityQueue_2_UnorderedItemsCollection: {
1598
1303
  };
1599
1304
 
1600
1305
 
1601
- export interface __PriorityQueue_2_UnorderedItemsCollection$views<TElement, TPriority> {
1602
- As_IEnumerable_1(): IEnumerable_1$instance<ValueTuple_2<TElement, TPriority>>;
1603
- As_IReadOnlyCollection_1(): IReadOnlyCollection_1$instance<ValueTuple_2<TElement, TPriority>>;
1604
- As_ICollection(): System_Collections_Internal.ICollection$instance;
1605
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
1306
+ export type PriorityQueue_2_UnorderedItemsCollection<TElement extends unknown, TPriority extends unknown> = PriorityQueue_2_UnorderedItemsCollection$instance<TElement, TPriority>;
1307
+
1308
+ export interface PriorityQueue_2_UnorderedItemsCollection_Enumerator$instance<TElement extends unknown, TPriority extends unknown> extends IEnumerator_1<ValueTuple_2<TElement, TPriority>> {
1309
+ readonly __tsonic_type_System_Collections_Generic_PriorityQueue_2_UnorderedItemsCollection_Enumerator: never;
1310
+
1311
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
1312
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
1313
+ readonly __tsonic_iface_System_IDisposable: never;
1314
+
1315
+ readonly Current: ValueTuple_2<TElement, TPriority>;
1316
+ Dispose(): void;
1317
+ MoveNext(): boolean;
1318
+ Reset(): void;
1606
1319
  }
1607
1320
 
1608
- export type PriorityQueue_2_UnorderedItemsCollection<TElement, TPriority> = PriorityQueue_2_UnorderedItemsCollection$instance<TElement, TPriority> & __PriorityQueue_2_UnorderedItemsCollection$views<TElement, TPriority>;
1609
1321
 
1322
+ export const PriorityQueue_2_UnorderedItemsCollection_Enumerator: {
1323
+ new<TElement extends unknown, TPriority extends unknown>(): PriorityQueue_2_UnorderedItemsCollection_Enumerator<TElement, TPriority>;
1324
+ };
1325
+
1326
+
1327
+ export type PriorityQueue_2_UnorderedItemsCollection_Enumerator<TElement extends unknown, TPriority extends unknown> = PriorityQueue_2_UnorderedItemsCollection_Enumerator$instance<TElement, TPriority>;
1610
1328
 
1611
- export interface Queue_1$instance<T> {
1329
+ export interface Queue_1$instance<T extends unknown> {
1612
1330
  readonly __tsonic_type_System_Collections_Generic_Queue_1: never;
1613
1331
 
1614
1332
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
@@ -1635,31 +1353,52 @@ export interface Queue_1$instance<T> {
1635
1353
 
1636
1354
 
1637
1355
  export const Queue_1: {
1638
- new<T>(): Queue_1<T>;
1639
- new<T>(capacity: int): Queue_1<T>;
1640
- new<T>(collection: IEnumerable_1<T>): Queue_1<T>;
1356
+ new<T extends unknown>(): Queue_1<T>;
1357
+ new<T extends unknown>(capacity: int): Queue_1<T>;
1358
+ new<T extends unknown>(collection: IEnumerable_1<T>): Queue_1<T>;
1641
1359
  };
1642
1360
 
1643
1361
 
1644
- export interface __Queue_1$views<T> {
1362
+ export interface __Queue_1$views<T extends unknown> {
1645
1363
  As_IEnumerable_1(): IEnumerable_1$instance<T>;
1646
1364
  As_IReadOnlyCollection_1(): IReadOnlyCollection_1$instance<T>;
1647
1365
  As_ICollection(): System_Collections_Internal.ICollection$instance;
1648
1366
  As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
1649
1367
  }
1650
1368
 
1651
- export type Queue_1<T> = Queue_1$instance<T> & __Queue_1$views<T>;
1369
+ export type Queue_1<T extends unknown> = Queue_1$instance<T> & __Queue_1$views<T>;
1370
+
1371
+
1372
+ export interface Queue_1_Enumerator$instance<T extends unknown> extends IEnumerator_1<T> {
1373
+ readonly __tsonic_type_System_Collections_Generic_Queue_1_Enumerator: never;
1374
+
1375
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
1376
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
1377
+ readonly __tsonic_iface_System_IDisposable: never;
1378
+
1379
+ readonly Current: T;
1380
+ Dispose(): void;
1381
+ MoveNext(): boolean;
1382
+ Reset(): void;
1383
+ }
1384
+
1385
+
1386
+ export const Queue_1_Enumerator: {
1387
+ new<T extends unknown>(): Queue_1_Enumerator<T>;
1388
+ };
1652
1389
 
1653
1390
 
1391
+ export type Queue_1_Enumerator<T extends unknown> = Queue_1_Enumerator$instance<T>;
1392
+
1654
1393
  export interface ReferenceEqualityComparer$instance {
1655
1394
  readonly __tsonic_type_System_Collections_Generic_ReferenceEqualityComparer: never;
1656
1395
 
1657
1396
  readonly __tsonic_iface_System_Collections_Generic_IEqualityComparer_1: never;
1658
1397
  readonly __tsonic_iface_System_Collections_IEqualityComparer: never;
1659
1398
 
1660
- Equals(x: unknown, y: unknown): boolean;
1661
- Equals(obj: unknown): boolean;
1662
- GetHashCode(obj: unknown): int;
1399
+ Equals(x: unknown | null, y: unknown | null): boolean;
1400
+ Equals(obj: unknown | null): boolean;
1401
+ GetHashCode(obj: unknown | null): int;
1663
1402
  GetHashCode(): int;
1664
1403
  }
1665
1404
 
@@ -1677,7 +1416,7 @@ export interface __ReferenceEqualityComparer$views {
1677
1416
  export type ReferenceEqualityComparer = ReferenceEqualityComparer$instance & __ReferenceEqualityComparer$views;
1678
1417
 
1679
1418
 
1680
- export interface SortedDictionary_2$instance<TKey, TValue> {
1419
+ export interface SortedDictionary_2$instance<TKey extends unknown, TValue extends unknown> {
1681
1420
  readonly __tsonic_type_System_Collections_Generic_SortedDictionary_2: never;
1682
1421
 
1683
1422
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -1706,14 +1445,14 @@ export interface SortedDictionary_2$instance<TKey, TValue> {
1706
1445
 
1707
1446
 
1708
1447
  export const SortedDictionary_2: {
1709
- new<TKey, TValue>(): SortedDictionary_2<TKey, TValue>;
1710
- new<TKey, TValue>(dictionary: IDictionary_2<TKey, TValue>): SortedDictionary_2<TKey, TValue>;
1711
- new<TKey, TValue>(dictionary: IDictionary_2<TKey, TValue>, comparer: IComparer_1<TKey>): SortedDictionary_2<TKey, TValue>;
1712
- new<TKey, TValue>(comparer: IComparer_1<TKey>): SortedDictionary_2<TKey, TValue>;
1448
+ new<TKey extends unknown, TValue extends unknown>(): SortedDictionary_2<TKey, TValue>;
1449
+ new<TKey extends unknown, TValue extends unknown>(dictionary: IDictionary_2<TKey, TValue>): SortedDictionary_2<TKey, TValue>;
1450
+ new<TKey extends unknown, TValue extends unknown>(dictionary: IDictionary_2<TKey, TValue>, comparer: IComparer_1<TKey> | null): SortedDictionary_2<TKey, TValue>;
1451
+ new<TKey extends unknown, TValue extends unknown>(comparer: IComparer_1<TKey> | null): SortedDictionary_2<TKey, TValue>;
1713
1452
  };
1714
1453
 
1715
1454
 
1716
- export interface __SortedDictionary_2$views<TKey, TValue> {
1455
+ export interface __SortedDictionary_2$views<TKey extends unknown, TValue extends unknown> {
1717
1456
  As_ICollection_1(): ICollection_1$instance<KeyValuePair_2<TKey, TValue>>;
1718
1457
  As_IDictionary_2(): IDictionary_2$instance<TKey, TValue>;
1719
1458
  As_IEnumerable_1(): IEnumerable_1$instance<KeyValuePair_2<TKey, TValue>>;
@@ -1724,10 +1463,32 @@ export interface __SortedDictionary_2$views<TKey, TValue> {
1724
1463
  As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
1725
1464
  }
1726
1465
 
1727
- export type SortedDictionary_2<TKey, TValue> = SortedDictionary_2$instance<TKey, TValue> & __SortedDictionary_2$views<TKey, TValue>;
1466
+ export type SortedDictionary_2<TKey extends unknown, TValue extends unknown> = SortedDictionary_2$instance<TKey, TValue> & __SortedDictionary_2$views<TKey, TValue>;
1467
+
1468
+
1469
+ export interface SortedDictionary_2_Enumerator$instance<TKey extends unknown, TValue extends unknown> extends IEnumerator_1<KeyValuePair_2<TKey, TValue>> {
1470
+ readonly __tsonic_type_System_Collections_Generic_SortedDictionary_2_Enumerator: never;
1471
+
1472
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
1473
+ readonly __tsonic_iface_System_Collections_IDictionaryEnumerator: never;
1474
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
1475
+ readonly __tsonic_iface_System_IDisposable: never;
1476
+
1477
+ readonly Current: KeyValuePair_2<TKey, TValue>;
1478
+ Dispose(): void;
1479
+ MoveNext(): boolean;
1480
+ Reset(): void;
1481
+ }
1482
+
1483
+
1484
+ export const SortedDictionary_2_Enumerator: {
1485
+ new<TKey extends unknown, TValue extends unknown>(): SortedDictionary_2_Enumerator<TKey, TValue>;
1486
+ };
1487
+
1728
1488
 
1489
+ export type SortedDictionary_2_Enumerator<TKey extends unknown, TValue extends unknown> = SortedDictionary_2_Enumerator$instance<TKey, TValue>;
1729
1490
 
1730
- export interface SortedDictionary_2_KeyCollection$instance<TKey, TValue> {
1491
+ export interface SortedDictionary_2_KeyCollection$instance<TKey extends unknown, TValue extends unknown> {
1731
1492
  readonly __tsonic_type_System_Collections_Generic_SortedDictionary_2_KeyCollection: never;
1732
1493
 
1733
1494
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -1744,47 +1505,53 @@ export interface SortedDictionary_2_KeyCollection$instance<TKey, TValue> {
1744
1505
 
1745
1506
 
1746
1507
  export const SortedDictionary_2_KeyCollection: {
1747
- new<TKey, TValue>(dictionary: SortedDictionary_2<TKey, TValue>): SortedDictionary_2_KeyCollection<TKey, TValue>;
1508
+ new<TKey extends unknown, TValue extends unknown>(dictionary: SortedDictionary_2<TKey, TValue>): SortedDictionary_2_KeyCollection<TKey, TValue>;
1748
1509
  };
1749
1510
 
1750
1511
 
1751
- export interface __SortedDictionary_2_KeyCollection$views<TKey, TValue> {
1752
- As_ICollection_1(): ICollection_1$instance<TKey>;
1753
- As_IEnumerable_1(): IEnumerable_1$instance<TKey>;
1754
- As_IReadOnlyCollection_1(): IReadOnlyCollection_1$instance<TKey>;
1755
- As_ICollection(): System_Collections_Internal.ICollection$instance;
1756
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
1512
+ export type SortedDictionary_2_KeyCollection<TKey extends unknown, TValue extends unknown> = SortedDictionary_2_KeyCollection$instance<TKey, TValue>;
1513
+
1514
+ export interface SortedDictionary_2_KeyCollection_Enumerator$instance<TKey extends unknown, TValue extends unknown> extends IEnumerator_1<TKey> {
1515
+ readonly __tsonic_type_System_Collections_Generic_SortedDictionary_2_KeyCollection_Enumerator: never;
1516
+
1517
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
1518
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
1519
+ readonly __tsonic_iface_System_IDisposable: never;
1520
+
1521
+ readonly Current: TKey;
1522
+ Dispose(): void;
1523
+ MoveNext(): boolean;
1524
+ Reset(): void;
1757
1525
  }
1758
1526
 
1759
- export type SortedDictionary_2_KeyCollection<TKey, TValue> = SortedDictionary_2_KeyCollection$instance<TKey, TValue> & __SortedDictionary_2_KeyCollection$views<TKey, TValue>;
1527
+
1528
+ export const SortedDictionary_2_KeyCollection_Enumerator: {
1529
+ new<TKey extends unknown, TValue extends unknown>(): SortedDictionary_2_KeyCollection_Enumerator<TKey, TValue>;
1530
+ };
1760
1531
 
1761
1532
 
1762
- export interface SortedDictionary_2_KeyValuePairComparer$instance<TKey, TValue> extends Comparer_1$instance<KeyValuePair_2<TKey, TValue>> {
1533
+ export type SortedDictionary_2_KeyCollection_Enumerator<TKey extends unknown, TValue extends unknown> = SortedDictionary_2_KeyCollection_Enumerator$instance<TKey, TValue>;
1534
+
1535
+ export interface SortedDictionary_2_KeyValuePairComparer$instance<TKey extends unknown, TValue extends unknown> extends Comparer_1$instance<KeyValuePair_2<TKey, TValue>>, IComparer_1<KeyValuePair_2<TKey, TValue>> {
1763
1536
  readonly __tsonic_type_System_Collections_Generic_SortedDictionary_2_KeyValuePairComparer: never;
1764
1537
 
1765
1538
  readonly __tsonic_iface_System_Collections_Generic_IComparer_1: never;
1766
1539
  readonly __tsonic_iface_System_Collections_IComparer: never;
1767
1540
 
1768
1541
  Compare(x: KeyValuePair_2<TKey, TValue>, y: KeyValuePair_2<TKey, TValue>): int;
1769
- Equals(obj: unknown): boolean;
1542
+ Equals(obj: unknown | null): boolean;
1770
1543
  GetHashCode(): int;
1771
1544
  }
1772
1545
 
1773
1546
 
1774
1547
  export const SortedDictionary_2_KeyValuePairComparer: {
1775
- new<TKey, TValue>(keyComparer: IComparer_1<TKey>): SortedDictionary_2_KeyValuePairComparer<TKey, TValue>;
1548
+ new<TKey extends unknown, TValue extends unknown>(keyComparer: IComparer_1<TKey> | null): SortedDictionary_2_KeyValuePairComparer<TKey, TValue>;
1776
1549
  };
1777
1550
 
1778
1551
 
1779
- export interface __SortedDictionary_2_KeyValuePairComparer$views<TKey, TValue> {
1780
- As_IComparer_1(): IComparer_1$instance<KeyValuePair_2<TKey, TValue>>;
1781
- As_IComparer(): System_Collections_Internal.IComparer$instance;
1782
- }
1783
-
1784
- export type SortedDictionary_2_KeyValuePairComparer<TKey, TValue> = SortedDictionary_2_KeyValuePairComparer$instance<TKey, TValue> & __SortedDictionary_2_KeyValuePairComparer$views<TKey, TValue>;
1552
+ export type SortedDictionary_2_KeyValuePairComparer<TKey extends unknown, TValue extends unknown> = SortedDictionary_2_KeyValuePairComparer$instance<TKey, TValue>;
1785
1553
 
1786
-
1787
- export interface SortedDictionary_2_ValueCollection$instance<TKey, TValue> {
1554
+ export interface SortedDictionary_2_ValueCollection$instance<TKey extends unknown, TValue extends unknown> {
1788
1555
  readonly __tsonic_type_System_Collections_Generic_SortedDictionary_2_ValueCollection: never;
1789
1556
 
1790
1557
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -1800,22 +1567,34 @@ export interface SortedDictionary_2_ValueCollection$instance<TKey, TValue> {
1800
1567
 
1801
1568
 
1802
1569
  export const SortedDictionary_2_ValueCollection: {
1803
- new<TKey, TValue>(dictionary: SortedDictionary_2<TKey, TValue>): SortedDictionary_2_ValueCollection<TKey, TValue>;
1570
+ new<TKey extends unknown, TValue extends unknown>(dictionary: SortedDictionary_2<TKey, TValue>): SortedDictionary_2_ValueCollection<TKey, TValue>;
1804
1571
  };
1805
1572
 
1806
1573
 
1807
- export interface __SortedDictionary_2_ValueCollection$views<TKey, TValue> {
1808
- As_ICollection_1(): ICollection_1$instance<TValue>;
1809
- As_IEnumerable_1(): IEnumerable_1$instance<TValue>;
1810
- As_IReadOnlyCollection_1(): IReadOnlyCollection_1$instance<TValue>;
1811
- As_ICollection(): System_Collections_Internal.ICollection$instance;
1812
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
1574
+ export type SortedDictionary_2_ValueCollection<TKey extends unknown, TValue extends unknown> = SortedDictionary_2_ValueCollection$instance<TKey, TValue>;
1575
+
1576
+ export interface SortedDictionary_2_ValueCollection_Enumerator$instance<TKey extends unknown, TValue extends unknown> extends IEnumerator_1<TValue> {
1577
+ readonly __tsonic_type_System_Collections_Generic_SortedDictionary_2_ValueCollection_Enumerator: never;
1578
+
1579
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
1580
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
1581
+ readonly __tsonic_iface_System_IDisposable: never;
1582
+
1583
+ readonly Current: TValue;
1584
+ Dispose(): void;
1585
+ MoveNext(): boolean;
1586
+ Reset(): void;
1813
1587
  }
1814
1588
 
1815
- export type SortedDictionary_2_ValueCollection<TKey, TValue> = SortedDictionary_2_ValueCollection$instance<TKey, TValue> & __SortedDictionary_2_ValueCollection$views<TKey, TValue>;
1816
1589
 
1590
+ export const SortedDictionary_2_ValueCollection_Enumerator: {
1591
+ new<TKey extends unknown, TValue extends unknown>(): SortedDictionary_2_ValueCollection_Enumerator<TKey, TValue>;
1592
+ };
1593
+
1594
+
1595
+ export type SortedDictionary_2_ValueCollection_Enumerator<TKey extends unknown, TValue extends unknown> = SortedDictionary_2_ValueCollection_Enumerator$instance<TKey, TValue>;
1817
1596
 
1818
- export interface SortedList_2$instance<TKey, TValue> {
1597
+ export interface SortedList_2$instance<TKey extends unknown, TValue extends unknown> {
1819
1598
  readonly __tsonic_type_System_Collections_Generic_SortedList_2: never;
1820
1599
 
1821
1600
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -1851,16 +1630,16 @@ export interface SortedList_2$instance<TKey, TValue> {
1851
1630
 
1852
1631
 
1853
1632
  export const SortedList_2: {
1854
- new<TKey, TValue>(): SortedList_2<TKey, TValue>;
1855
- new<TKey, TValue>(capacity: int): SortedList_2<TKey, TValue>;
1856
- new<TKey, TValue>(comparer: IComparer_1<TKey>): SortedList_2<TKey, TValue>;
1857
- new<TKey, TValue>(capacity: int, comparer: IComparer_1<TKey>): SortedList_2<TKey, TValue>;
1858
- new<TKey, TValue>(dictionary: IDictionary_2<TKey, TValue>): SortedList_2<TKey, TValue>;
1859
- new<TKey, TValue>(dictionary: IDictionary_2<TKey, TValue>, comparer: IComparer_1<TKey>): SortedList_2<TKey, TValue>;
1633
+ new<TKey extends unknown, TValue extends unknown>(): SortedList_2<TKey, TValue>;
1634
+ new<TKey extends unknown, TValue extends unknown>(capacity: int): SortedList_2<TKey, TValue>;
1635
+ new<TKey extends unknown, TValue extends unknown>(comparer: IComparer_1<TKey> | null): SortedList_2<TKey, TValue>;
1636
+ new<TKey extends unknown, TValue extends unknown>(capacity: int, comparer: IComparer_1<TKey> | null): SortedList_2<TKey, TValue>;
1637
+ new<TKey extends unknown, TValue extends unknown>(dictionary: IDictionary_2<TKey, TValue>): SortedList_2<TKey, TValue>;
1638
+ new<TKey extends unknown, TValue extends unknown>(dictionary: IDictionary_2<TKey, TValue>, comparer: IComparer_1<TKey> | null): SortedList_2<TKey, TValue>;
1860
1639
  };
1861
1640
 
1862
1641
 
1863
- export interface __SortedList_2$views<TKey, TValue> {
1642
+ export interface __SortedList_2$views<TKey extends unknown, TValue extends unknown> {
1864
1643
  As_ICollection_1(): ICollection_1$instance<KeyValuePair_2<TKey, TValue>>;
1865
1644
  As_IDictionary_2(): IDictionary_2$instance<TKey, TValue>;
1866
1645
  As_IEnumerable_1(): IEnumerable_1$instance<KeyValuePair_2<TKey, TValue>>;
@@ -1871,10 +1650,10 @@ export interface __SortedList_2$views<TKey, TValue> {
1871
1650
  As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
1872
1651
  }
1873
1652
 
1874
- export type SortedList_2<TKey, TValue> = SortedList_2$instance<TKey, TValue> & __SortedList_2$views<TKey, TValue>;
1653
+ export type SortedList_2<TKey extends unknown, TValue extends unknown> = SortedList_2$instance<TKey, TValue> & __SortedList_2$views<TKey, TValue>;
1875
1654
 
1876
1655
 
1877
- export interface SortedList_2_KeyList$instance<TKey, TValue> {
1656
+ export interface SortedList_2_KeyList$instance<TKey extends unknown, TValue extends unknown> {
1878
1657
  readonly __tsonic_type_System_Collections_Generic_SortedList_2_KeyList: never;
1879
1658
 
1880
1659
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -1901,18 +1680,9 @@ export const SortedList_2_KeyList: {
1901
1680
  };
1902
1681
 
1903
1682
 
1904
- export interface __SortedList_2_KeyList$views<TKey, TValue> {
1905
- As_ICollection_1(): ICollection_1$instance<TKey>;
1906
- As_IEnumerable_1(): IEnumerable_1$instance<TKey>;
1907
- As_IList_1(): IList_1$instance<TKey>;
1908
- As_ICollection(): System_Collections_Internal.ICollection$instance;
1909
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
1910
- }
1911
-
1912
- export type SortedList_2_KeyList<TKey, TValue> = SortedList_2_KeyList$instance<TKey, TValue> & __SortedList_2_KeyList$views<TKey, TValue> & { [index: number]: TKey; };
1683
+ export type SortedList_2_KeyList<TKey extends unknown, TValue extends unknown> = SortedList_2_KeyList$instance<TKey, TValue> & { [index: number]: TKey; };
1913
1684
 
1914
-
1915
- export interface SortedList_2_ValueList$instance<TKey, TValue> {
1685
+ export interface SortedList_2_ValueList$instance<TKey extends unknown, TValue extends unknown> {
1916
1686
  readonly __tsonic_type_System_Collections_Generic_SortedList_2_ValueList: never;
1917
1687
 
1918
1688
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -1939,18 +1709,9 @@ export const SortedList_2_ValueList: {
1939
1709
  };
1940
1710
 
1941
1711
 
1942
- export interface __SortedList_2_ValueList$views<TKey, TValue> {
1943
- As_ICollection_1(): ICollection_1$instance<TValue>;
1944
- As_IEnumerable_1(): IEnumerable_1$instance<TValue>;
1945
- As_IList_1(): IList_1$instance<TValue>;
1946
- As_ICollection(): System_Collections_Internal.ICollection$instance;
1947
- As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
1948
- }
1949
-
1950
- export type SortedList_2_ValueList<TKey, TValue> = SortedList_2_ValueList$instance<TKey, TValue> & __SortedList_2_ValueList$views<TKey, TValue> & { [index: number]: TValue; };
1951
-
1712
+ export type SortedList_2_ValueList<TKey extends unknown, TValue extends unknown> = SortedList_2_ValueList$instance<TKey, TValue> & { [index: number]: TValue; };
1952
1713
 
1953
- export interface SortedSet_1$instance<T> extends System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
1714
+ export interface SortedSet_1$instance<T extends unknown> extends System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
1954
1715
  readonly __tsonic_type_System_Collections_Generic_SortedSet_1: never;
1955
1716
 
1956
1717
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -1965,8 +1726,8 @@ export interface SortedSet_1$instance<T> extends System_Runtime_Serialization_In
1965
1726
 
1966
1727
  readonly Comparer: IComparer_1<T>;
1967
1728
  readonly Count: int;
1968
- readonly Max: T | undefined;
1969
- readonly Min: T | undefined;
1729
+ readonly Max: T | null;
1730
+ readonly Min: T | null;
1970
1731
  Add(item: T): boolean;
1971
1732
  Clear(): void;
1972
1733
  Contains(item: T): boolean;
@@ -1976,13 +1737,13 @@ export interface SortedSet_1$instance<T> extends System_Runtime_Serialization_In
1976
1737
  ExceptWith(other: IEnumerable_1<T>): void;
1977
1738
  GetEnumerator(): SortedSet_1_Enumerator<T>;
1978
1739
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
1979
- GetViewBetween(lowerValue: T, upperValue: T): SortedSet_1<T>;
1740
+ GetViewBetween(lowerValue: T | null, upperValue: T | null): SortedSet_1<T>;
1980
1741
  IntersectWith(other: IEnumerable_1<T>): void;
1981
1742
  IsProperSubsetOf(other: IEnumerable_1<T>): boolean;
1982
1743
  IsProperSupersetOf(other: IEnumerable_1<T>): boolean;
1983
1744
  IsSubsetOf(other: IEnumerable_1<T>): boolean;
1984
1745
  IsSupersetOf(other: IEnumerable_1<T>): boolean;
1985
- OnDeserialization(sender: unknown): void;
1746
+ OnDeserialization(sender: unknown | null): void;
1986
1747
  Overlaps(other: IEnumerable_1<T>): boolean;
1987
1748
  Remove(item: T): boolean;
1988
1749
  RemoveWhere(match: Predicate_1<T>): int;
@@ -1995,16 +1756,16 @@ export interface SortedSet_1$instance<T> extends System_Runtime_Serialization_In
1995
1756
 
1996
1757
 
1997
1758
  export const SortedSet_1: {
1998
- new<T>(): SortedSet_1<T>;
1999
- new<T>(comparer: IComparer_1<T>): SortedSet_1<T>;
2000
- new<T>(collection: IEnumerable_1<T>): SortedSet_1<T>;
2001
- new<T>(collection: IEnumerable_1<T>, comparer: IComparer_1<T>): SortedSet_1<T>;
2002
- CreateSetComparer<T>(): IEqualityComparer_1<SortedSet_1<T>>;
2003
- CreateSetComparer<T>(memberEqualityComparer: IEqualityComparer_1<T>): IEqualityComparer_1<SortedSet_1<T>>;
1759
+ new<T extends unknown>(): SortedSet_1<T>;
1760
+ new<T extends unknown>(comparer: IComparer_1<T> | null): SortedSet_1<T>;
1761
+ new<T extends unknown>(collection: IEnumerable_1<T>): SortedSet_1<T>;
1762
+ new<T extends unknown>(collection: IEnumerable_1<T>, comparer: IComparer_1<T> | null): SortedSet_1<T>;
1763
+ CreateSetComparer<T extends unknown>(): IEqualityComparer_1<SortedSet_1<T>>;
1764
+ CreateSetComparer<T extends unknown>(memberEqualityComparer: IEqualityComparer_1<T> | null): IEqualityComparer_1<SortedSet_1<T>>;
2004
1765
  };
2005
1766
 
2006
1767
 
2007
- export interface __SortedSet_1$views<T> {
1768
+ export interface __SortedSet_1$views<T extends unknown> {
2008
1769
  As_ICollection_1(): ICollection_1$instance<T>;
2009
1770
  As_IEnumerable_1(): IEnumerable_1$instance<T>;
2010
1771
  As_IReadOnlyCollection_1(): IReadOnlyCollection_1$instance<T>;
@@ -2016,10 +1777,33 @@ export interface __SortedSet_1$views<T> {
2016
1777
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
2017
1778
  }
2018
1779
 
2019
- export type SortedSet_1<T> = SortedSet_1$instance<T> & __SortedSet_1$views<T>;
1780
+ export type SortedSet_1<T extends unknown> = SortedSet_1$instance<T> & __SortedSet_1$views<T>;
1781
+
1782
+
1783
+ export interface SortedSet_1_Enumerator$instance<T extends unknown> extends IEnumerator_1<T>, IDeserializationCallback, ISerializable {
1784
+ readonly __tsonic_type_System_Collections_Generic_SortedSet_1_Enumerator: never;
1785
+
1786
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
1787
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
1788
+ readonly __tsonic_iface_System_IDisposable: never;
1789
+ readonly __tsonic_iface_System_Runtime_Serialization_IDeserializationCallback: never;
1790
+ readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
1791
+
1792
+ readonly Current: T;
1793
+ Dispose(): void;
1794
+ MoveNext(): boolean;
1795
+ Reset(): void;
1796
+ }
1797
+
1798
+
1799
+ export const SortedSet_1_Enumerator: {
1800
+ new<T extends unknown>(): SortedSet_1_Enumerator<T>;
1801
+ };
1802
+
2020
1803
 
1804
+ export type SortedSet_1_Enumerator<T extends unknown> = SortedSet_1_Enumerator$instance<T>;
2021
1805
 
2022
- export interface Stack_1$instance<T> {
1806
+ export interface Stack_1$instance<T extends unknown> {
2023
1807
  readonly __tsonic_type_System_Collections_Generic_Stack_1: never;
2024
1808
 
2025
1809
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
@@ -2046,23 +1830,44 @@ export interface Stack_1$instance<T> {
2046
1830
 
2047
1831
 
2048
1832
  export const Stack_1: {
2049
- new<T>(): Stack_1<T>;
2050
- new<T>(capacity: int): Stack_1<T>;
2051
- new<T>(collection: IEnumerable_1<T>): Stack_1<T>;
1833
+ new<T extends unknown>(): Stack_1<T>;
1834
+ new<T extends unknown>(capacity: int): Stack_1<T>;
1835
+ new<T extends unknown>(collection: IEnumerable_1<T>): Stack_1<T>;
2052
1836
  };
2053
1837
 
2054
1838
 
2055
- export interface __Stack_1$views<T> {
1839
+ export interface __Stack_1$views<T extends unknown> {
2056
1840
  As_IEnumerable_1(): IEnumerable_1$instance<T>;
2057
1841
  As_IReadOnlyCollection_1(): IReadOnlyCollection_1$instance<T>;
2058
1842
  As_ICollection(): System_Collections_Internal.ICollection$instance;
2059
1843
  As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
2060
1844
  }
2061
1845
 
2062
- export type Stack_1<T> = Stack_1$instance<T> & __Stack_1$views<T>;
1846
+ export type Stack_1<T extends unknown> = Stack_1$instance<T> & __Stack_1$views<T>;
1847
+
1848
+
1849
+ export interface Stack_1_Enumerator$instance<T extends unknown> extends IEnumerator_1<T> {
1850
+ readonly __tsonic_type_System_Collections_Generic_Stack_1_Enumerator: never;
1851
+
1852
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
1853
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
1854
+ readonly __tsonic_iface_System_IDisposable: never;
1855
+
1856
+ readonly Current: T;
1857
+ Dispose(): void;
1858
+ MoveNext(): boolean;
1859
+ Reset(): void;
1860
+ }
1861
+
1862
+
1863
+ export const Stack_1_Enumerator: {
1864
+ new<T extends unknown>(): Stack_1_Enumerator<T>;
1865
+ };
1866
+
2063
1867
 
1868
+ export type Stack_1_Enumerator<T extends unknown> = Stack_1_Enumerator$instance<T>;
2064
1869
 
2065
- export interface TreeSet_1$instance<T> extends SortedSet_1$instance<T>, System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
1870
+ export interface TreeSet_1$instance<T extends unknown> extends SortedSet_1$instance<T>, System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
2066
1871
  readonly __tsonic_type_System_Collections_Generic_TreeSet_1: never;
2067
1872
 
2068
1873
  readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
@@ -2079,12 +1884,12 @@ export interface TreeSet_1$instance<T> extends SortedSet_1$instance<T>, System_R
2079
1884
 
2080
1885
 
2081
1886
  export const TreeSet_1: {
2082
- new<T>(): TreeSet_1<T>;
2083
- new<T>(comparer: IComparer_1<T>): TreeSet_1<T>;
1887
+ new<T extends unknown>(): TreeSet_1<T>;
1888
+ new<T extends unknown>(comparer: IComparer_1<T> | null): TreeSet_1<T>;
2084
1889
  };
2085
1890
 
2086
1891
 
2087
- export interface __TreeSet_1$views<T> {
1892
+ export interface __TreeSet_1$views<T extends unknown> {
2088
1893
  As_ICollection_1(): ICollection_1$instance<T>;
2089
1894
  As_IEnumerable_1(): IEnumerable_1$instance<T>;
2090
1895
  As_IReadOnlyCollection_1(): IReadOnlyCollection_1$instance<T>;
@@ -2096,27 +1901,27 @@ export interface __TreeSet_1$views<T> {
2096
1901
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
2097
1902
  }
2098
1903
 
2099
- export type TreeSet_1<T> = TreeSet_1$instance<T> & __TreeSet_1$views<T>;
1904
+ export type TreeSet_1<T extends unknown> = TreeSet_1$instance<T> & __TreeSet_1$views<T>;
2100
1905
 
2101
1906
 
2102
1907
  export abstract class CollectionExtensions$instance {
2103
- static AddRange<T>(list: List_1<T>, source: ReadOnlySpan_1<T>): void;
2104
- static AsReadOnly<TKey, TValue>(dictionary: IDictionary_2<TKey, TValue>): ReadOnlyDictionary_2<TKey, TValue>;
2105
- static AsReadOnly<T>(list: IList_1<T>): ReadOnlyCollection_1<T>;
2106
- static AsReadOnly<T>(set: ISet_1<T>): ReadOnlySet_1<T>;
2107
- static CopyTo<T>(list: List_1<T>, destination: Span_1<T>): void;
2108
- static GetValueOrDefault<TKey, TValue>(dictionary: IReadOnlyDictionary_2<TKey, TValue>, key: TKey, defaultValue: TValue): TValue;
2109
- static GetValueOrDefault<TKey, TValue>(dictionary: IReadOnlyDictionary_2<TKey, TValue>, key: TKey): TValue | undefined;
2110
- static InsertRange<T>(list: List_1<T>, index: int, source: ReadOnlySpan_1<T>): void;
2111
- static Remove<TKey, TValue>(dictionary: IDictionary_2<TKey, TValue>, key: TKey, value: TValue): boolean;
2112
- static TryAdd<TKey, TValue>(dictionary: IDictionary_2<TKey, TValue>, key: TKey, value: TValue): boolean;
1908
+ static AddRange<T extends unknown>(list: List_1<T>, source: ReadOnlySpan_1<T>): void;
1909
+ static AsReadOnly<TKey extends unknown, TValue extends unknown>(dictionary: IDictionary_2<TKey, TValue>): ReadOnlyDictionary_2<TKey, TValue>;
1910
+ static AsReadOnly<T extends unknown>(list: IList_1<T>): ReadOnlyCollection_1<T>;
1911
+ static AsReadOnly<T extends unknown>(set: ISet_1<T>): ReadOnlySet_1<T>;
1912
+ static CopyTo<T extends unknown>(list: List_1<T>, destination: Span_1<T>): void;
1913
+ static GetValueOrDefault<TKey extends unknown, TValue extends unknown>(dictionary: IReadOnlyDictionary_2<TKey, TValue>, key: TKey, defaultValue: TValue): TValue;
1914
+ static GetValueOrDefault<TKey extends unknown, TValue extends unknown>(dictionary: IReadOnlyDictionary_2<TKey, TValue>, key: TKey): TValue | null;
1915
+ static InsertRange<T extends unknown>(list: List_1<T>, index: int, source: ReadOnlySpan_1<T>): void;
1916
+ static Remove<TKey extends unknown, TValue extends unknown>(dictionary: IDictionary_2<TKey, TValue>, key: TKey, value: TValue): boolean;
1917
+ static TryAdd<TKey extends unknown, TValue extends unknown>(dictionary: IDictionary_2<TKey, TValue>, key: TKey, value: TValue): boolean;
2113
1918
  }
2114
1919
 
2115
1920
 
2116
1921
  export type CollectionExtensions = CollectionExtensions$instance;
2117
1922
 
2118
1923
  export abstract class KeyValuePair$instance {
2119
- static Create<TKey, TValue>(key: TKey, value: TValue): KeyValuePair_2<TKey, TValue>;
1924
+ static Create<TKey extends unknown, TValue extends unknown>(key: TKey, value: TValue): KeyValuePair_2<TKey, TValue>;
2120
1925
  }
2121
1926
 
2122
1927