@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,11 +2,9 @@
2
2
  // Namespace: System.Net.Http
3
3
  // Assembly: System.Net.Http
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 * as System_Collections_Generic_Internal from "../../System.Collections.Generic/internal/index.js";
@@ -72,10 +70,10 @@ export enum HttpVersionPolicy {
72
70
  }
73
71
 
74
72
 
75
- export type HeaderEncodingSelector_1<TContext> = (headerName: string, context: TContext) => Encoding | undefined;
73
+ export type HeaderEncodingSelector_1<TContext extends unknown> = (headerName: string, context: TContext) => Encoding | null;
76
74
 
77
75
 
78
- export interface HttpRequestOptionsKey_1$instance<TValue> {
76
+ export interface HttpRequestOptionsKey_1$instance<TValue extends unknown> {
79
77
  readonly __tsonic_type_System_Net_Http_HttpRequestOptionsKey_1: never;
80
78
 
81
79
  readonly Key: string;
@@ -83,11 +81,11 @@ export interface HttpRequestOptionsKey_1$instance<TValue> {
83
81
 
84
82
 
85
83
  export const HttpRequestOptionsKey_1: {
86
- new<TValue>(key: string): HttpRequestOptionsKey_1<TValue>;
84
+ new<TValue extends unknown>(key: string): HttpRequestOptionsKey_1<TValue>;
87
85
  };
88
86
 
89
87
 
90
- export type HttpRequestOptionsKey_1<TValue> = HttpRequestOptionsKey_1$instance<TValue>;
88
+ export type HttpRequestOptionsKey_1<TValue extends unknown> = HttpRequestOptionsKey_1$instance<TValue>;
91
89
 
92
90
  export interface ByteArrayContent$instance extends HttpContent$instance {
93
91
  readonly __tsonic_type_System_Net_Http_ByteArrayContent: never;
@@ -97,9 +95,9 @@ export interface ByteArrayContent$instance extends HttpContent$instance {
97
95
  CreateContentReadStream(cancellationToken: CancellationToken): Stream;
98
96
  CreateContentReadStreamAsync(): Task_1<Stream>;
99
97
  CreateContentReadStreamAsync(cancellationToken: CancellationToken): Task_1<Stream>;
100
- SerializeToStream(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): void;
101
- SerializeToStreamAsync(stream: Stream, context: TransportContext): Task;
102
- SerializeToStreamAsync(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): Task;
98
+ SerializeToStream(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): void;
99
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null): Task;
100
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): Task;
103
101
  TryComputeLength(length: long): boolean;
104
102
  }
105
103
 
@@ -122,8 +120,8 @@ export interface DelegatingHandler$instance extends HttpMessageHandler$instance
122
120
 
123
121
  readonly __tsonic_iface_System_IDisposable: never;
124
122
 
125
- get InnerHandler(): HttpMessageHandler | undefined;
126
- set InnerHandler(value: HttpMessageHandler | undefined);
123
+ get InnerHandler(): HttpMessageHandler | null;
124
+ set InnerHandler(value: HttpMessageHandler | null);
127
125
  Dispose(disposing: boolean): void;
128
126
  Dispose(): void;
129
127
  Send(request: HttpRequestMessage, cancellationToken: CancellationToken): HttpResponseMessage;
@@ -147,8 +145,8 @@ export interface FormUrlEncodedContent$instance extends ByteArrayContent$instanc
147
145
 
148
146
  readonly __tsonic_iface_System_IDisposable: never;
149
147
 
150
- SerializeToStreamAsync(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): Task;
151
- SerializeToStreamAsync(stream: Stream, context: TransportContext): Task;
148
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): Task;
149
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null): Task;
152
150
  }
153
151
 
154
152
 
@@ -169,52 +167,52 @@ export interface HttpClient$instance extends HttpMessageInvoker$instance {
169
167
 
170
168
  readonly __tsonic_iface_System_IDisposable: never;
171
169
 
172
- get BaseAddress(): Uri | undefined;
173
- set BaseAddress(value: Uri | undefined);
170
+ get BaseAddress(): Uri | null;
171
+ set BaseAddress(value: Uri | null);
174
172
  readonly DefaultRequestHeaders: HttpRequestHeaders;
175
173
  DefaultRequestVersion: Version;
176
174
  DefaultVersionPolicy: HttpVersionPolicy;
177
175
  MaxResponseContentBufferSize: long;
178
176
  Timeout: TimeSpan;
179
177
  CancelPendingRequests(): void;
180
- DeleteAsync(requestUri: string): Task_1<HttpResponseMessage>;
181
- DeleteAsync(requestUri: Uri): Task_1<HttpResponseMessage>;
182
- DeleteAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
183
- DeleteAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
178
+ DeleteAsync(requestUri: string | null): Task_1<HttpResponseMessage>;
179
+ DeleteAsync(requestUri: Uri | null): Task_1<HttpResponseMessage>;
180
+ DeleteAsync(requestUri: string | null, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
181
+ DeleteAsync(requestUri: Uri | null, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
184
182
  Dispose(disposing: boolean): void;
185
183
  Dispose(): void;
186
- GetAsync(requestUri: string): Task_1<HttpResponseMessage>;
187
- GetAsync(requestUri: Uri): Task_1<HttpResponseMessage>;
188
- GetAsync(requestUri: string, completionOption: HttpCompletionOption): Task_1<HttpResponseMessage>;
189
- GetAsync(requestUri: Uri, completionOption: HttpCompletionOption): Task_1<HttpResponseMessage>;
190
- GetAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
191
- GetAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
192
- GetAsync(requestUri: string, completionOption: HttpCompletionOption, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
193
- GetAsync(requestUri: Uri, completionOption: HttpCompletionOption, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
194
- GetByteArrayAsync(requestUri: string): Task_1<byte[]>;
195
- GetByteArrayAsync(requestUri: Uri): Task_1<byte[]>;
196
- GetByteArrayAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<byte[]>;
197
- GetByteArrayAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<byte[]>;
198
- GetStreamAsync(requestUri: string): Task_1<Stream>;
199
- GetStreamAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<Stream>;
200
- GetStreamAsync(requestUri: Uri): Task_1<Stream>;
201
- GetStreamAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<Stream>;
202
- GetStringAsync(requestUri: string): Task_1<System_Internal.String>;
203
- GetStringAsync(requestUri: Uri): Task_1<System_Internal.String>;
204
- GetStringAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
205
- GetStringAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
206
- PatchAsync(requestUri: string, content: HttpContent): Task_1<HttpResponseMessage>;
207
- PatchAsync(requestUri: Uri, content: HttpContent): Task_1<HttpResponseMessage>;
208
- PatchAsync(requestUri: string, content: HttpContent, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
209
- PatchAsync(requestUri: Uri, content: HttpContent, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
210
- PostAsync(requestUri: string, content: HttpContent): Task_1<HttpResponseMessage>;
211
- PostAsync(requestUri: Uri, content: HttpContent): Task_1<HttpResponseMessage>;
212
- PostAsync(requestUri: string, content: HttpContent, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
213
- PostAsync(requestUri: Uri, content: HttpContent, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
214
- PutAsync(requestUri: string, content: HttpContent): Task_1<HttpResponseMessage>;
215
- PutAsync(requestUri: Uri, content: HttpContent): Task_1<HttpResponseMessage>;
216
- PutAsync(requestUri: string, content: HttpContent, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
217
- PutAsync(requestUri: Uri, content: HttpContent, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
184
+ GetAsync(requestUri: string | null): Task_1<HttpResponseMessage>;
185
+ GetAsync(requestUri: Uri | null): Task_1<HttpResponseMessage>;
186
+ GetAsync(requestUri: string | null, completionOption: HttpCompletionOption): Task_1<HttpResponseMessage>;
187
+ GetAsync(requestUri: Uri | null, completionOption: HttpCompletionOption): Task_1<HttpResponseMessage>;
188
+ GetAsync(requestUri: string | null, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
189
+ GetAsync(requestUri: Uri | null, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
190
+ GetAsync(requestUri: string | null, completionOption: HttpCompletionOption, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
191
+ GetAsync(requestUri: Uri | null, completionOption: HttpCompletionOption, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
192
+ GetByteArrayAsync(requestUri: string | null): Task_1<byte[]>;
193
+ GetByteArrayAsync(requestUri: Uri | null): Task_1<byte[]>;
194
+ GetByteArrayAsync(requestUri: string | null, cancellationToken: CancellationToken): Task_1<byte[]>;
195
+ GetByteArrayAsync(requestUri: Uri | null, cancellationToken: CancellationToken): Task_1<byte[]>;
196
+ GetStreamAsync(requestUri: string | null): Task_1<Stream>;
197
+ GetStreamAsync(requestUri: string | null, cancellationToken: CancellationToken): Task_1<Stream>;
198
+ GetStreamAsync(requestUri: Uri | null): Task_1<Stream>;
199
+ GetStreamAsync(requestUri: Uri | null, cancellationToken: CancellationToken): Task_1<Stream>;
200
+ GetStringAsync(requestUri: string | null): Task_1<System_Internal.String>;
201
+ GetStringAsync(requestUri: Uri | null): Task_1<System_Internal.String>;
202
+ GetStringAsync(requestUri: string | null, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
203
+ GetStringAsync(requestUri: Uri | null, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
204
+ PatchAsync(requestUri: string | null, content: HttpContent | null): Task_1<HttpResponseMessage>;
205
+ PatchAsync(requestUri: Uri | null, content: HttpContent | null): Task_1<HttpResponseMessage>;
206
+ PatchAsync(requestUri: string | null, content: HttpContent | null, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
207
+ PatchAsync(requestUri: Uri | null, content: HttpContent | null, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
208
+ PostAsync(requestUri: string | null, content: HttpContent | null): Task_1<HttpResponseMessage>;
209
+ PostAsync(requestUri: Uri | null, content: HttpContent | null): Task_1<HttpResponseMessage>;
210
+ PostAsync(requestUri: string | null, content: HttpContent | null, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
211
+ PostAsync(requestUri: Uri | null, content: HttpContent | null, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
212
+ PutAsync(requestUri: string | null, content: HttpContent | null): Task_1<HttpResponseMessage>;
213
+ PutAsync(requestUri: Uri | null, content: HttpContent | null): Task_1<HttpResponseMessage>;
214
+ PutAsync(requestUri: string | null, content: HttpContent | null, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
215
+ PutAsync(requestUri: Uri | null, content: HttpContent | null, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
218
216
  Send(request: HttpRequestMessage): HttpResponseMessage;
219
217
  Send(request: HttpRequestMessage, completionOption: HttpCompletionOption): HttpResponseMessage;
220
218
  Send(request: HttpRequestMessage, cancellationToken: CancellationToken): HttpResponseMessage;
@@ -252,22 +250,22 @@ export interface HttpClientHandler$instance extends HttpMessageHandler$instance
252
250
  ClientCertificateOptions: ClientCertificateOption;
253
251
  readonly ClientCertificates: X509CertificateCollection;
254
252
  CookieContainer: CookieContainer;
255
- get Credentials(): ICredentials | undefined;
256
- set Credentials(value: ICredentials | undefined);
257
- get DefaultProxyCredentials(): ICredentials | undefined;
258
- set DefaultProxyCredentials(value: ICredentials | undefined);
253
+ get Credentials(): ICredentials | null;
254
+ set Credentials(value: ICredentials | null);
255
+ get DefaultProxyCredentials(): ICredentials | null;
256
+ set DefaultProxyCredentials(value: ICredentials | null);
259
257
  MaxAutomaticRedirections: int;
260
258
  MaxConnectionsPerServer: int;
261
259
  MaxRequestContentBufferSize: long;
262
260
  MaxResponseHeadersLength: int;
263
- get MeterFactory(): IMeterFactory | undefined;
264
- set MeterFactory(value: IMeterFactory | undefined);
261
+ get MeterFactory(): IMeterFactory | null;
262
+ set MeterFactory(value: IMeterFactory | null);
265
263
  PreAuthenticate: boolean;
266
- readonly Properties: IDictionary_2<System_Internal.String, unknown | undefined>;
267
- get Proxy(): IWebProxy | undefined;
268
- set Proxy(value: IWebProxy | undefined);
269
- get ServerCertificateCustomValidationCallback(): Func_5<HttpRequestMessage, X509Certificate2 | undefined, X509Chain | undefined, SslPolicyErrors, System_Internal.Boolean> | undefined;
270
- set ServerCertificateCustomValidationCallback(value: Func_5<HttpRequestMessage, X509Certificate2 | undefined, X509Chain | undefined, SslPolicyErrors, System_Internal.Boolean> | undefined);
264
+ readonly Properties: IDictionary_2<System_Internal.String, unknown | null>;
265
+ get Proxy(): IWebProxy | null;
266
+ set Proxy(value: IWebProxy | null);
267
+ get ServerCertificateCustomValidationCallback(): Func_5<HttpRequestMessage, X509Certificate2 | null, X509Chain | null, SslPolicyErrors, System_Internal.Boolean> | null;
268
+ set ServerCertificateCustomValidationCallback(value: Func_5<HttpRequestMessage, X509Certificate2 | null, X509Chain | null, SslPolicyErrors, System_Internal.Boolean> | null);
271
269
  SslProtocols: SslProtocols;
272
270
  readonly SupportsAutomaticDecompression: boolean;
273
271
  readonly SupportsProxy: boolean;
@@ -284,7 +282,7 @@ export interface HttpClientHandler$instance extends HttpMessageHandler$instance
284
282
 
285
283
  export const HttpClientHandler: {
286
284
  new(): HttpClientHandler;
287
- readonly DangerousAcceptAnyServerCertificateValidator: Func_5<HttpRequestMessage, X509Certificate2 | undefined, X509Chain | undefined, SslPolicyErrors, System_Internal.Boolean>;
285
+ readonly DangerousAcceptAnyServerCertificateValidator: Func_5<HttpRequestMessage, X509Certificate2 | null, X509Chain | null, SslPolicyErrors, System_Internal.Boolean>;
288
286
  };
289
287
 
290
288
 
@@ -301,11 +299,11 @@ export interface HttpContent$instance {
301
299
  readonly __tsonic_iface_System_IDisposable: never;
302
300
 
303
301
  readonly Headers: HttpContentHeaders;
304
- CopyTo(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): void;
302
+ CopyTo(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): void;
305
303
  CopyToAsync(stream: Stream): Task;
306
304
  CopyToAsync(stream: Stream, cancellationToken: CancellationToken): Task;
307
- CopyToAsync(stream: Stream, context: TransportContext): Task;
308
- CopyToAsync(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): Task;
305
+ CopyToAsync(stream: Stream, context: TransportContext | null): Task;
306
+ CopyToAsync(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): Task;
309
307
  CreateContentReadStream(cancellationToken: CancellationToken): Stream;
310
308
  CreateContentReadStreamAsync(): Task_1<Stream>;
311
309
  CreateContentReadStreamAsync(cancellationToken: CancellationToken): Task_1<Stream>;
@@ -323,9 +321,9 @@ export interface HttpContent$instance {
323
321
  ReadAsStreamAsync(cancellationToken: CancellationToken): Task_1<Stream>;
324
322
  ReadAsStringAsync(): Task_1<System_Internal.String>;
325
323
  ReadAsStringAsync(cancellationToken: CancellationToken): Task_1<System_Internal.String>;
326
- SerializeToStream(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): void;
327
- SerializeToStreamAsync(stream: Stream, context: TransportContext): Task;
328
- SerializeToStreamAsync(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): Task;
324
+ SerializeToStream(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): void;
325
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null): Task;
326
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): Task;
329
327
  TryComputeLength(length: long): boolean;
330
328
  }
331
329
 
@@ -352,7 +350,7 @@ export interface HttpIOException$instance extends IOException, System_Runtime_Se
352
350
 
353
351
 
354
352
  export const HttpIOException: {
355
- new(httpRequestError: HttpRequestError, message: string, innerException: Exception): HttpIOException;
353
+ new(httpRequestError: HttpRequestError, message: string | null, innerException: Exception | null): HttpIOException;
356
354
  };
357
355
 
358
356
 
@@ -417,8 +415,8 @@ export interface HttpMethod$instance {
417
415
  readonly __tsonic_iface_System_IEquatable_1: never;
418
416
 
419
417
  readonly Method: string;
420
- Equals(other: HttpMethod): boolean;
421
- Equals(obj: unknown): boolean;
418
+ Equals(other: HttpMethod | null): boolean;
419
+ Equals(obj: unknown | null): boolean;
422
420
  GetHashCode(): int;
423
421
  ToString(): string;
424
422
  }
@@ -460,7 +458,7 @@ export interface HttpProtocolException$instance extends HttpIOException$instance
460
458
 
461
459
 
462
460
  export const HttpProtocolException: {
463
- new(errorCode: long, message: string, innerException: Exception): HttpProtocolException;
461
+ new(errorCode: long, message: string, innerException: Exception | null): HttpProtocolException;
464
462
  };
465
463
 
466
464
 
@@ -483,10 +481,10 @@ export interface HttpRequestException$instance extends Exception, System_Runtime
483
481
 
484
482
  export const HttpRequestException: {
485
483
  new(): HttpRequestException;
486
- new(message: string): HttpRequestException;
487
- new(message: string, inner: Exception): HttpRequestException;
488
- new(message: string, inner: Exception, statusCode: Nullable_1<HttpStatusCode>): HttpRequestException;
489
- new(httpRequestError: HttpRequestError, message: string, inner: Exception, statusCode: Nullable_1<HttpStatusCode>): HttpRequestException;
484
+ new(message: string | null): HttpRequestException;
485
+ new(message: string | null, inner: Exception | null): HttpRequestException;
486
+ new(message: string | null, inner: Exception | null, statusCode: Nullable_1<HttpStatusCode>): HttpRequestException;
487
+ new(httpRequestError: HttpRequestError, message: string | null, inner: Exception | null, statusCode: Nullable_1<HttpStatusCode>): HttpRequestException;
490
488
  };
491
489
 
492
490
 
@@ -502,14 +500,14 @@ export interface HttpRequestMessage$instance {
502
500
 
503
501
  readonly __tsonic_iface_System_IDisposable: never;
504
502
 
505
- get Content(): HttpContent | undefined;
506
- set Content(value: HttpContent | undefined);
503
+ get Content(): HttpContent | null;
504
+ set Content(value: HttpContent | null);
507
505
  readonly Headers: HttpRequestHeaders;
508
506
  Method: HttpMethod;
509
507
  readonly Options: HttpRequestOptions;
510
- readonly Properties: IDictionary_2<System_Internal.String, unknown | undefined>;
511
- get RequestUri(): Uri | undefined;
512
- set RequestUri(value: Uri | undefined);
508
+ readonly Properties: IDictionary_2<System_Internal.String, unknown | null>;
509
+ get RequestUri(): Uri | null;
510
+ set RequestUri(value: Uri | null);
513
511
  Version: Version;
514
512
  VersionPolicy: HttpVersionPolicy;
515
513
  Dispose(disposing: boolean): void;
@@ -520,8 +518,8 @@ export interface HttpRequestMessage$instance {
520
518
 
521
519
  export const HttpRequestMessage: {
522
520
  new(): HttpRequestMessage;
523
- new(method: HttpMethod, requestUri: Uri): HttpRequestMessage;
524
- new(method: HttpMethod, requestUri: string): HttpRequestMessage;
521
+ new(method: HttpMethod, requestUri: Uri | null): HttpRequestMessage;
522
+ new(method: HttpMethod, requestUri: string | null): HttpRequestMessage;
525
523
  };
526
524
 
527
525
 
@@ -542,8 +540,8 @@ export interface HttpRequestOptions$instance {
542
540
  readonly __tsonic_iface_System_Collections_Generic_IReadOnlyDictionary_2: never;
543
541
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
544
542
 
545
- Set<TValue>(key: HttpRequestOptionsKey_1<TValue>, value: TValue): void;
546
- TryGetValue<TValue>(key: HttpRequestOptionsKey_1<TValue>, value: TValue): boolean;
543
+ Set<TValue extends unknown>(key: HttpRequestOptionsKey_1<TValue>, value: TValue): void;
544
+ TryGetValue<TValue extends unknown>(key: HttpRequestOptionsKey_1<TValue>, value: TValue): boolean;
547
545
  }
548
546
 
549
547
 
@@ -572,10 +570,10 @@ export interface HttpResponseMessage$instance {
572
570
  Content: HttpContent;
573
571
  readonly Headers: HttpResponseHeaders;
574
572
  readonly IsSuccessStatusCode: boolean;
575
- get ReasonPhrase(): string | undefined;
576
- set ReasonPhrase(value: string | undefined);
577
- get RequestMessage(): HttpRequestMessage | undefined;
578
- set RequestMessage(value: HttpRequestMessage | undefined);
573
+ get ReasonPhrase(): string | null;
574
+ set ReasonPhrase(value: string | null);
575
+ get RequestMessage(): HttpRequestMessage | null;
576
+ set RequestMessage(value: HttpRequestMessage | null);
579
577
  StatusCode: HttpStatusCode;
580
578
  readonly TrailingHeaders: HttpResponseHeaders;
581
579
  Version: Version;
@@ -629,8 +627,8 @@ export interface MultipartContent$instance extends HttpContent$instance {
629
627
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
630
628
  readonly __tsonic_iface_System_IDisposable: never;
631
629
 
632
- get HeaderEncodingSelector(): HeaderEncodingSelector_1<HttpContent> | undefined;
633
- set HeaderEncodingSelector(value: HeaderEncodingSelector_1<HttpContent> | undefined);
630
+ get HeaderEncodingSelector(): HeaderEncodingSelector_1<HttpContent> | null;
631
+ set HeaderEncodingSelector(value: HeaderEncodingSelector_1<HttpContent> | null);
634
632
  Add(content: HttpContent): void;
635
633
  CreateContentReadStream(cancellationToken: CancellationToken): Stream;
636
634
  CreateContentReadStreamAsync(): Task_1<Stream>;
@@ -638,9 +636,9 @@ export interface MultipartContent$instance extends HttpContent$instance {
638
636
  Dispose(disposing: boolean): void;
639
637
  Dispose(): void;
640
638
  GetEnumerator(): IEnumerator_1<HttpContent>;
641
- SerializeToStream(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): void;
642
- SerializeToStreamAsync(stream: Stream, context: TransportContext): Task;
643
- SerializeToStreamAsync(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): Task;
639
+ SerializeToStream(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): void;
640
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null): Task;
641
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): Task;
644
642
  TryComputeLength(length: long): boolean;
645
643
  }
646
644
 
@@ -671,8 +669,8 @@ export interface MultipartFormDataContent$instance extends MultipartContent$inst
671
669
  Add(content: HttpContent): void;
672
670
  Add(content: HttpContent, name: string): void;
673
671
  Add(content: HttpContent, name: string, fileName: string): void;
674
- SerializeToStreamAsync(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): Task;
675
- SerializeToStreamAsync(stream: Stream, context: TransportContext): Task;
672
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): Task;
673
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null): Task;
676
674
  }
677
675
 
678
676
 
@@ -699,9 +697,9 @@ export interface ReadOnlyMemoryContent$instance extends HttpContent$instance {
699
697
  CreateContentReadStream(cancellationToken: CancellationToken): Stream;
700
698
  CreateContentReadStreamAsync(): Task_1<Stream>;
701
699
  CreateContentReadStreamAsync(cancellationToken: CancellationToken): Task_1<Stream>;
702
- SerializeToStream(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): void;
703
- SerializeToStreamAsync(stream: Stream, context: TransportContext): Task;
704
- SerializeToStreamAsync(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): Task;
700
+ SerializeToStream(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): void;
701
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null): Task;
702
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): Task;
705
703
  TryComputeLength(length: long): boolean;
706
704
  }
707
705
 
@@ -737,18 +735,18 @@ export interface SocketsHttpHandler$instance extends HttpMessageHandler$instance
737
735
 
738
736
  readonly __tsonic_iface_System_IDisposable: never;
739
737
 
740
- get ActivityHeadersPropagator(): DistributedContextPropagator | undefined;
741
- set ActivityHeadersPropagator(value: DistributedContextPropagator | undefined);
738
+ get ActivityHeadersPropagator(): DistributedContextPropagator | null;
739
+ set ActivityHeadersPropagator(value: DistributedContextPropagator | null);
742
740
  AllowAutoRedirect: boolean;
743
741
  AutomaticDecompression: DecompressionMethods;
744
- get ConnectCallback(): Func_3<SocketsHttpConnectionContext | undefined, CancellationToken, ValueTask_1<Stream>> | undefined;
745
- set ConnectCallback(value: Func_3<SocketsHttpConnectionContext | undefined, CancellationToken, ValueTask_1<Stream>> | undefined);
742
+ get ConnectCallback(): Func_3<SocketsHttpConnectionContext | null, CancellationToken, ValueTask_1<Stream>> | null;
743
+ set ConnectCallback(value: Func_3<SocketsHttpConnectionContext | null, CancellationToken, ValueTask_1<Stream>> | null);
746
744
  ConnectTimeout: TimeSpan;
747
745
  CookieContainer: CookieContainer;
748
- get Credentials(): ICredentials | undefined;
749
- set Credentials(value: ICredentials | undefined);
750
- get DefaultProxyCredentials(): ICredentials | undefined;
751
- set DefaultProxyCredentials(value: ICredentials | undefined);
746
+ get Credentials(): ICredentials | null;
747
+ set Credentials(value: ICredentials | null);
748
+ get DefaultProxyCredentials(): ICredentials | null;
749
+ set DefaultProxyCredentials(value: ICredentials | null);
752
750
  EnableMultipleHttp2Connections: boolean;
753
751
  EnableMultipleHttp3Connections: boolean;
754
752
  Expect100ContinueTimeout: TimeSpan;
@@ -760,21 +758,21 @@ export interface SocketsHttpHandler$instance extends HttpMessageHandler$instance
760
758
  MaxConnectionsPerServer: int;
761
759
  MaxResponseDrainSize: int;
762
760
  MaxResponseHeadersLength: int;
763
- get MeterFactory(): IMeterFactory | undefined;
764
- set MeterFactory(value: IMeterFactory | undefined);
765
- get PlaintextStreamFilter(): Func_3<SocketsHttpPlaintextStreamFilterContext | undefined, CancellationToken, ValueTask_1<Stream>> | undefined;
766
- set PlaintextStreamFilter(value: Func_3<SocketsHttpPlaintextStreamFilterContext | undefined, CancellationToken, ValueTask_1<Stream>> | undefined);
761
+ get MeterFactory(): IMeterFactory | null;
762
+ set MeterFactory(value: IMeterFactory | null);
763
+ get PlaintextStreamFilter(): Func_3<SocketsHttpPlaintextStreamFilterContext | null, CancellationToken, ValueTask_1<Stream>> | null;
764
+ set PlaintextStreamFilter(value: Func_3<SocketsHttpPlaintextStreamFilterContext | null, CancellationToken, ValueTask_1<Stream>> | null);
767
765
  PooledConnectionIdleTimeout: TimeSpan;
768
766
  PooledConnectionLifetime: TimeSpan;
769
767
  PreAuthenticate: boolean;
770
- readonly Properties: IDictionary_2<System_Internal.String, unknown | undefined>;
771
- get Proxy(): IWebProxy | undefined;
772
- set Proxy(value: IWebProxy | undefined);
773
- get RequestHeaderEncodingSelector(): HeaderEncodingSelector_1<HttpRequestMessage> | undefined;
774
- set RequestHeaderEncodingSelector(value: HeaderEncodingSelector_1<HttpRequestMessage> | undefined);
768
+ readonly Properties: IDictionary_2<System_Internal.String, unknown | null>;
769
+ get Proxy(): IWebProxy | null;
770
+ set Proxy(value: IWebProxy | null);
771
+ get RequestHeaderEncodingSelector(): HeaderEncodingSelector_1<HttpRequestMessage> | null;
772
+ set RequestHeaderEncodingSelector(value: HeaderEncodingSelector_1<HttpRequestMessage> | null);
775
773
  ResponseDrainTimeout: TimeSpan;
776
- get ResponseHeaderEncodingSelector(): HeaderEncodingSelector_1<HttpRequestMessage> | undefined;
777
- set ResponseHeaderEncodingSelector(value: HeaderEncodingSelector_1<HttpRequestMessage> | undefined);
774
+ get ResponseHeaderEncodingSelector(): HeaderEncodingSelector_1<HttpRequestMessage> | null;
775
+ set ResponseHeaderEncodingSelector(value: HeaderEncodingSelector_1<HttpRequestMessage> | null);
778
776
  SslOptions: SslClientAuthenticationOptions;
779
777
  UseCookies: boolean;
780
778
  UseProxy: boolean;
@@ -823,9 +821,9 @@ export interface StreamContent$instance extends HttpContent$instance {
823
821
  CreateContentReadStreamAsync(cancellationToken: CancellationToken): Task_1<Stream>;
824
822
  Dispose(disposing: boolean): void;
825
823
  Dispose(): void;
826
- SerializeToStream(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): void;
827
- SerializeToStreamAsync(stream: Stream, context: TransportContext): Task;
828
- SerializeToStreamAsync(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): Task;
824
+ SerializeToStream(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): void;
825
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null): Task;
826
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): Task;
829
827
  TryComputeLength(length: long): boolean;
830
828
  }
831
829
 
@@ -848,17 +846,17 @@ export interface StringContent$instance extends ByteArrayContent$instance {
848
846
 
849
847
  readonly __tsonic_iface_System_IDisposable: never;
850
848
 
851
- SerializeToStreamAsync(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): Task;
852
- SerializeToStreamAsync(stream: Stream, context: TransportContext): Task;
849
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null, cancellationToken: CancellationToken): Task;
850
+ SerializeToStreamAsync(stream: Stream, context: TransportContext | null): Task;
853
851
  }
854
852
 
855
853
 
856
854
  export const StringContent: {
857
855
  new(content: string): StringContent;
858
- new(content: string, mediaType: MediaTypeHeaderValue): StringContent;
859
- new(content: string, encoding: Encoding): StringContent;
860
- new(content: string, encoding: Encoding, mediaType: string): StringContent;
861
- new(content: string, encoding: Encoding, mediaType: MediaTypeHeaderValue): StringContent;
856
+ new(content: string, mediaType: MediaTypeHeaderValue | null): StringContent;
857
+ new(content: string, encoding: Encoding | null): StringContent;
858
+ new(content: string, encoding: Encoding | null, mediaType: string | null): StringContent;
859
+ new(content: string, encoding: Encoding | null, mediaType: MediaTypeHeaderValue | null): StringContent;
862
860
  };
863
861
 
864
862