@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.Mail
3
3
  // Assembly: System.Net.Mail
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";
@@ -96,8 +94,8 @@ export interface AlternateView$instance extends AttachmentBase$instance {
96
94
 
97
95
  readonly __tsonic_iface_System_IDisposable: never;
98
96
 
99
- get BaseUri(): Uri | undefined;
100
- set BaseUri(value: Uri | undefined);
97
+ get BaseUri(): Uri | null;
98
+ set BaseUri(value: Uri | null);
101
99
  readonly LinkedResources: LinkedResourceCollection;
102
100
  Dispose(disposing: boolean): void;
103
101
  Dispose(): void;
@@ -106,13 +104,13 @@ export interface AlternateView$instance extends AttachmentBase$instance {
106
104
 
107
105
  export const AlternateView: {
108
106
  new(fileName: string): AlternateView;
109
- new(fileName: string, mediaType: string): AlternateView;
110
- new(fileName: string, contentType: ContentType): AlternateView;
107
+ new(fileName: string, mediaType: string | null): AlternateView;
108
+ new(fileName: string, contentType: ContentType | null): AlternateView;
111
109
  new(contentStream: Stream): AlternateView;
112
- new(contentStream: Stream, mediaType: string): AlternateView;
113
- new(contentStream: Stream, contentType: ContentType): AlternateView;
114
- CreateAlternateViewFromString(content: string, contentType: ContentType): AlternateView;
115
- CreateAlternateViewFromString(content: string, contentEncoding: Encoding, mediaType: string): AlternateView;
110
+ new(contentStream: Stream, mediaType: string | null): AlternateView;
111
+ new(contentStream: Stream, contentType: ContentType | null): AlternateView;
112
+ CreateAlternateViewFromString(content: string, contentType: ContentType | null): AlternateView;
113
+ CreateAlternateViewFromString(content: string, contentEncoding: Encoding | null, mediaType: string | null): AlternateView;
116
114
  CreateAlternateViewFromString(content: string): AlternateView;
117
115
  };
118
116
 
@@ -168,24 +166,24 @@ export interface Attachment$instance extends AttachmentBase$instance {
168
166
 
169
167
  readonly __tsonic_iface_System_IDisposable: never;
170
168
 
171
- readonly ContentDisposition: ContentDisposition | undefined;
172
- get Name(): string | undefined;
173
- set Name(value: string | undefined);
174
- get NameEncoding(): Encoding | undefined;
175
- set NameEncoding(value: Encoding | undefined);
169
+ readonly ContentDisposition: ContentDisposition | null;
170
+ get Name(): string | null;
171
+ set Name(value: string | null);
172
+ get NameEncoding(): Encoding | null;
173
+ set NameEncoding(value: Encoding | null);
176
174
  }
177
175
 
178
176
 
179
177
  export const Attachment: {
180
178
  new(fileName: string): Attachment;
181
- new(fileName: string, mediaType: string): Attachment;
179
+ new(fileName: string, mediaType: string | null): Attachment;
182
180
  new(fileName: string, contentType: ContentType): Attachment;
183
- new(contentStream: Stream, name: string): Attachment;
184
- new(contentStream: Stream, name: string, mediaType: string): Attachment;
181
+ new(contentStream: Stream, name: string | null): Attachment;
182
+ new(contentStream: Stream, name: string | null, mediaType: string | null): Attachment;
185
183
  new(contentStream: Stream, contentType: ContentType): Attachment;
186
184
  CreateAttachmentFromString(content: string, contentType: ContentType): Attachment;
187
- CreateAttachmentFromString(content: string, name: string, contentEncoding: Encoding, mediaType: string): Attachment;
188
- CreateAttachmentFromString(content: string, name: string): Attachment;
185
+ CreateAttachmentFromString(content: string, name: string | null, contentEncoding: Encoding | null, mediaType: string | null): Attachment;
186
+ CreateAttachmentFromString(content: string, name: string | null): Attachment;
189
187
  };
190
188
 
191
189
 
@@ -210,7 +208,7 @@ export interface AttachmentBase$instance {
210
208
  }
211
209
 
212
210
 
213
- export const AttachmentBase: (abstract new(fileName: string) => AttachmentBase) & (abstract new(fileName: string, mediaType: string) => AttachmentBase) & (abstract new(fileName: string, contentType: ContentType) => AttachmentBase) & (abstract new(contentStream: Stream) => AttachmentBase) & (abstract new(contentStream: Stream, mediaType: string) => AttachmentBase) & (abstract new(contentStream: Stream, contentType: ContentType) => AttachmentBase) & {
211
+ export const AttachmentBase: (abstract new(fileName: string) => AttachmentBase) & (abstract new(fileName: string, mediaType: string | null) => AttachmentBase) & (abstract new(fileName: string, contentType: ContentType | null) => AttachmentBase) & (abstract new(contentStream: Stream) => AttachmentBase) & (abstract new(contentStream: Stream, mediaType: string | null) => AttachmentBase) & (abstract new(contentStream: Stream, contentType: ContentType | null) => AttachmentBase) & {
214
212
  };
215
213
 
216
214
 
@@ -265,20 +263,20 @@ export interface LinkedResource$instance extends AttachmentBase$instance {
265
263
 
266
264
  readonly __tsonic_iface_System_IDisposable: never;
267
265
 
268
- get ContentLink(): Uri | undefined;
269
- set ContentLink(value: Uri | undefined);
266
+ get ContentLink(): Uri | null;
267
+ set ContentLink(value: Uri | null);
270
268
  }
271
269
 
272
270
 
273
271
  export const LinkedResource: {
274
272
  new(fileName: string): LinkedResource;
275
- new(fileName: string, mediaType: string): LinkedResource;
276
- new(fileName: string, contentType: ContentType): LinkedResource;
273
+ new(fileName: string, mediaType: string | null): LinkedResource;
274
+ new(fileName: string, contentType: ContentType | null): LinkedResource;
277
275
  new(contentStream: Stream): LinkedResource;
278
- new(contentStream: Stream, mediaType: string): LinkedResource;
279
- new(contentStream: Stream, contentType: ContentType): LinkedResource;
280
- CreateLinkedResourceFromString(content: string, contentType: ContentType): LinkedResource;
281
- CreateLinkedResourceFromString(content: string, contentEncoding: Encoding, mediaType: string): LinkedResource;
276
+ new(contentStream: Stream, mediaType: string | null): LinkedResource;
277
+ new(contentStream: Stream, contentType: ContentType | null): LinkedResource;
278
+ CreateLinkedResourceFromString(content: string, contentType: ContentType | null): LinkedResource;
279
+ CreateLinkedResourceFromString(content: string, contentEncoding: Encoding | null, mediaType: string | null): LinkedResource;
282
280
  CreateLinkedResourceFromString(content: string): LinkedResource;
283
281
  };
284
282
 
@@ -336,7 +334,7 @@ export interface MailAddress$instance {
336
334
  readonly DisplayName: string;
337
335
  readonly Host: string;
338
336
  readonly User: string;
339
- Equals(value: unknown): boolean;
337
+ Equals(value: unknown | null): boolean;
340
338
  GetHashCode(): int;
341
339
  ToString(): string;
342
340
  }
@@ -344,11 +342,11 @@ export interface MailAddress$instance {
344
342
 
345
343
  export const MailAddress: {
346
344
  new(address: string): MailAddress;
347
- new(address: string, displayName: string): MailAddress;
348
- new(address: string, displayName: string, displayNameEncoding: Encoding): MailAddress;
349
- TryCreate(address: string, result: MailAddress): boolean;
350
- TryCreate(address: string, displayName: string, result: MailAddress): boolean;
351
- TryCreate(address: string, displayName: string, displayNameEncoding: Encoding, result: MailAddress): boolean;
345
+ new(address: string, displayName: string | null): MailAddress;
346
+ new(address: string, displayName: string | null, displayNameEncoding: Encoding | null): MailAddress;
347
+ TryCreate(address: string | null, result: MailAddress | null): boolean;
348
+ TryCreate(address: string | null, displayName: string | null, result: MailAddress | null): boolean;
349
+ TryCreate(address: string | null, displayName: string | null, displayNameEncoding: Encoding | null, result: MailAddress | null): boolean;
352
350
  };
353
351
 
354
352
 
@@ -401,26 +399,26 @@ export interface MailMessage$instance {
401
399
  readonly Attachments: AttachmentCollection;
402
400
  readonly Bcc: MailAddressCollection;
403
401
  Body: string;
404
- get BodyEncoding(): Encoding | undefined;
405
- set BodyEncoding(value: Encoding | undefined);
402
+ get BodyEncoding(): Encoding | null;
403
+ set BodyEncoding(value: Encoding | null);
406
404
  BodyTransferEncoding: TransferEncoding;
407
405
  readonly CC: MailAddressCollection;
408
406
  DeliveryNotificationOptions: DeliveryNotificationOptions;
409
- get From(): MailAddress | undefined;
410
- set From(value: MailAddress | undefined);
407
+ get From(): MailAddress | null;
408
+ set From(value: MailAddress | null);
411
409
  readonly Headers: NameValueCollection;
412
- get HeadersEncoding(): Encoding | undefined;
413
- set HeadersEncoding(value: Encoding | undefined);
410
+ get HeadersEncoding(): Encoding | null;
411
+ set HeadersEncoding(value: Encoding | null);
414
412
  IsBodyHtml: boolean;
415
413
  Priority: MailPriority;
416
- get ReplyTo(): MailAddress | undefined;
417
- set ReplyTo(value: MailAddress | undefined);
414
+ get ReplyTo(): MailAddress | null;
415
+ set ReplyTo(value: MailAddress | null);
418
416
  readonly ReplyToList: MailAddressCollection;
419
- get Sender(): MailAddress | undefined;
420
- set Sender(value: MailAddress | undefined);
417
+ get Sender(): MailAddress | null;
418
+ set Sender(value: MailAddress | null);
421
419
  Subject: string;
422
- get SubjectEncoding(): Encoding | undefined;
423
- set SubjectEncoding(value: Encoding | undefined);
420
+ get SubjectEncoding(): Encoding | null;
421
+ set SubjectEncoding(value: Encoding | null);
424
422
  readonly To: MailAddressCollection;
425
423
  Dispose(): void;
426
424
  Dispose(disposing: boolean): void;
@@ -430,7 +428,7 @@ export interface MailMessage$instance {
430
428
  export const MailMessage: {
431
429
  new(): MailMessage;
432
430
  new(from: string, to: string): MailMessage;
433
- new(from: string, to: string, subject: string, body: string): MailMessage;
431
+ new(from: string, to: string, subject: string | null, body: string | null): MailMessage;
434
432
  new(from: MailAddress, to: MailAddress): MailMessage;
435
433
  };
436
434
 
@@ -448,39 +446,39 @@ export interface SmtpClient$instance {
448
446
  readonly __tsonic_iface_System_IDisposable: never;
449
447
 
450
448
  readonly ClientCertificates: X509CertificateCollection;
451
- get Credentials(): ICredentialsByHost | undefined;
452
- set Credentials(value: ICredentialsByHost | undefined);
449
+ get Credentials(): ICredentialsByHost | null;
450
+ set Credentials(value: ICredentialsByHost | null);
453
451
  DeliveryFormat: SmtpDeliveryFormat;
454
452
  DeliveryMethod: SmtpDeliveryMethod;
455
453
  EnableSsl: boolean;
456
- get Host(): string | undefined;
457
- set Host(value: string | undefined);
458
- get PickupDirectoryLocation(): string | undefined;
459
- set PickupDirectoryLocation(value: string | undefined);
454
+ get Host(): string | null;
455
+ set Host(value: string | null);
456
+ get PickupDirectoryLocation(): string | null;
457
+ set PickupDirectoryLocation(value: string | null);
460
458
  Port: int;
461
459
  readonly ServicePoint: ServicePoint;
462
- get TargetName(): string | undefined;
463
- set TargetName(value: string | undefined);
460
+ get TargetName(): string | null;
461
+ set TargetName(value: string | null);
464
462
  Timeout: int;
465
463
  UseDefaultCredentials: boolean;
466
464
  Dispose(): void;
467
465
  Dispose(disposing: boolean): void;
468
- Send(from: string, recipients: string, subject: string, body: string): void;
466
+ Send(from: string, recipients: string, subject: string | null, body: string | null): void;
469
467
  Send(message: MailMessage): void;
470
- SendAsync(from: string, recipients: string, subject: string, body: string, userToken: unknown): void;
471
- SendAsync(message: MailMessage, userToken: unknown): void;
468
+ SendAsync(from: string, recipients: string, subject: string | null, body: string | null, userToken: unknown | null): void;
469
+ SendAsync(message: MailMessage, userToken: unknown | null): void;
472
470
  SendAsyncCancel(): void;
473
- SendMailAsync(from: string, recipients: string, subject: string, body: string): Task;
471
+ SendMailAsync(from: string, recipients: string, subject: string | null, body: string | null): Task;
474
472
  SendMailAsync(message: MailMessage): Task;
475
- SendMailAsync(from: string, recipients: string, subject: string, body: string, cancellationToken: CancellationToken): Task;
473
+ SendMailAsync(from: string, recipients: string, subject: string | null, body: string | null, cancellationToken: CancellationToken): Task;
476
474
  SendMailAsync(message: MailMessage, cancellationToken: CancellationToken): Task;
477
475
  }
478
476
 
479
477
 
480
478
  export const SmtpClient: {
481
479
  new(): SmtpClient;
482
- new(host: string): SmtpClient;
483
- new(host: string, port: int): SmtpClient;
480
+ new(host: string | null): SmtpClient;
481
+ new(host: string | null, port: int): SmtpClient;
484
482
  };
485
483
 
486
484
 
@@ -491,7 +489,7 @@ export interface __SmtpClient$views {
491
489
  export type SmtpClient = SmtpClient$instance & __SmtpClient$views;
492
490
 
493
491
 
494
- export interface SmtpException$instance extends Exception {
492
+ export interface SmtpException$instance extends Exception, System_Runtime_Serialization_Internal.ISerializable$instance {
495
493
  readonly __tsonic_type_System_Net_Mail_SmtpException: never;
496
494
 
497
495
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
@@ -503,10 +501,10 @@ export interface SmtpException$instance extends Exception {
503
501
 
504
502
  export const SmtpException: {
505
503
  new(statusCode: SmtpStatusCode): SmtpException;
506
- new(statusCode: SmtpStatusCode, message: string): SmtpException;
504
+ new(statusCode: SmtpStatusCode, message: string | null): SmtpException;
507
505
  new(): SmtpException;
508
- new(message: string): SmtpException;
509
- new(message: string, innerException: Exception): SmtpException;
506
+ new(message: string | null): SmtpException;
507
+ new(message: string | null, innerException: Exception | null): SmtpException;
510
508
  };
511
509
 
512
510
 
@@ -517,23 +515,23 @@ export interface __SmtpException$views {
517
515
  export type SmtpException = SmtpException$instance & __SmtpException$views;
518
516
 
519
517
 
520
- export interface SmtpFailedRecipientException$instance extends SmtpException$instance {
518
+ export interface SmtpFailedRecipientException$instance extends SmtpException$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
521
519
  readonly __tsonic_type_System_Net_Mail_SmtpFailedRecipientException: never;
522
520
 
523
521
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
524
522
 
525
- readonly FailedRecipient: string | undefined;
523
+ readonly FailedRecipient: string | null;
526
524
  GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
527
525
  }
528
526
 
529
527
 
530
528
  export const SmtpFailedRecipientException: {
531
529
  new(): SmtpFailedRecipientException;
532
- new(message: string): SmtpFailedRecipientException;
533
- new(message: string, innerException: Exception): SmtpFailedRecipientException;
534
- new(statusCode: SmtpStatusCode, failedRecipient: string): SmtpFailedRecipientException;
535
- new(statusCode: SmtpStatusCode, failedRecipient: string, serverResponse: string): SmtpFailedRecipientException;
536
- new(message: string, failedRecipient: string, innerException: Exception): SmtpFailedRecipientException;
530
+ new(message: string | null): SmtpFailedRecipientException;
531
+ new(message: string | null, innerException: Exception | null): SmtpFailedRecipientException;
532
+ new(statusCode: SmtpStatusCode, failedRecipient: string | null): SmtpFailedRecipientException;
533
+ new(statusCode: SmtpStatusCode, failedRecipient: string | null, serverResponse: string | null): SmtpFailedRecipientException;
534
+ new(message: string | null, failedRecipient: string | null, innerException: Exception | null): SmtpFailedRecipientException;
537
535
  };
538
536
 
539
537
 
@@ -544,7 +542,7 @@ export interface __SmtpFailedRecipientException$views {
544
542
  export type SmtpFailedRecipientException = SmtpFailedRecipientException$instance & __SmtpFailedRecipientException$views;
545
543
 
546
544
 
547
- export interface SmtpFailedRecipientsException$instance extends SmtpFailedRecipientException$instance {
545
+ export interface SmtpFailedRecipientsException$instance extends SmtpFailedRecipientException$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
548
546
  readonly __tsonic_type_System_Net_Mail_SmtpFailedRecipientsException: never;
549
547
 
550
548
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
@@ -556,9 +554,9 @@ export interface SmtpFailedRecipientsException$instance extends SmtpFailedRecipi
556
554
 
557
555
  export const SmtpFailedRecipientsException: {
558
556
  new(): SmtpFailedRecipientsException;
559
- new(message: string): SmtpFailedRecipientsException;
560
- new(message: string, innerException: Exception): SmtpFailedRecipientsException;
561
- new(message: string, innerExceptions: SmtpFailedRecipientException[]): SmtpFailedRecipientsException;
557
+ new(message: string | null): SmtpFailedRecipientsException;
558
+ new(message: string | null, innerException: Exception | null): SmtpFailedRecipientsException;
559
+ new(message: string | null, innerExceptions: SmtpFailedRecipientException[]): SmtpFailedRecipientsException;
562
560
  };
563
561
 
564
562
 
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.Net.Mail/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ 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';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { ICollection_1, IEnumerable_1, IEnumerator_1, IList_1, IReadOnlyCollection_1, IReadOnlyList_1 } from './System.Collections.Generic/internal/index.js';
10
14
  import type { Collection_1 } from './System.Collections.ObjectModel/internal/index.js';
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.Net.Mime
3
3
  // Assembly: System.Net.Mail
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
 
8
9
  // Import types from other namespaces
9
10
  import type { StringDictionary } from "../../System.Collections.Specialized/internal/index.js";
@@ -24,14 +25,14 @@ export interface ContentDisposition$instance {
24
25
 
25
26
  CreationDate: DateTime;
26
27
  DispositionType: string;
27
- get FileName(): string | undefined;
28
- set FileName(value: string | undefined);
28
+ get FileName(): string | null;
29
+ set FileName(value: string | null);
29
30
  Inline: boolean;
30
31
  ModificationDate: DateTime;
31
32
  readonly Parameters: StringDictionary;
32
33
  ReadDate: DateTime;
33
34
  Size: long;
34
- Equals(rparam: unknown): boolean;
35
+ Equals(rparam: unknown | null): boolean;
35
36
  GetHashCode(): int;
36
37
  ToString(): string;
37
38
  }
@@ -48,14 +49,14 @@ export type ContentDisposition = ContentDisposition$instance;
48
49
  export interface ContentType$instance {
49
50
  readonly __tsonic_type_System_Net_Mime_ContentType: never;
50
51
 
51
- get Boundary(): string | undefined;
52
- set Boundary(value: string | undefined);
53
- get CharSet(): string | undefined;
54
- set CharSet(value: string | undefined);
52
+ get Boundary(): string | null;
53
+ set Boundary(value: string | null);
54
+ get CharSet(): string | null;
55
+ set CharSet(value: string | null);
55
56
  MediaType: string;
56
57
  Name: string;
57
58
  readonly Parameters: StringDictionary;
58
- Equals(rparam: unknown): boolean;
59
+ Equals(rparam: unknown | null): boolean;
59
60
  GetHashCode(): int;
60
61
  ToString(): string;
61
62
  }
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.Net.Mime/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ 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';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { StringDictionary } from './System.Collections.Specialized/internal/index.js';
10
14
  import type { Boolean as ClrBoolean, DateTime, Enum, IComparable, IConvertible, IFormatProvider, IFormattable, Int32, Int64, ISpanFormattable, Object as ClrObject, String as ClrString, Type, TypeCode, Void } from './System/internal/index.js';