@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.Diagnostics
3
3
  // Assembly: System.Diagnostics.DiagnosticSource, System.Diagnostics.FileVersionInfo, System.Diagnostics.Process, System.Diagnostics.TextWriterTraceListener, System.Diagnostics.TraceSource, System.Private.CoreLib
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import type { SafeProcessHandle } from "../../Microsoft.Win32.SafeHandles/internal/index.js";
@@ -66,15 +64,6 @@ export enum ActivityTraceFlags {
66
64
  }
67
65
 
68
66
 
69
- export enum DebuggableAttribute_DebuggingModes {
70
- None = 0,
71
- Default = 1,
72
- DisableOptimizations = 256,
73
- IgnoreSymbolStoreSequencePoints = 2,
74
- EnableEditAndContinue = 4
75
- }
76
-
77
-
78
67
  export enum DebuggerBrowsableState {
79
68
  Never = 0,
80
69
  Collapsed = 2,
@@ -190,41 +179,19 @@ export enum TraceOptions {
190
179
  export type DataReceivedEventHandler = (sender: unknown, e: DataReceivedEventArgs) => void;
191
180
 
192
181
 
193
- export type DistributedContextPropagator_PropagatorGetterCallback = (carrier: unknown, fieldName: string, fieldValue: string, fieldValues: IEnumerable_1<System_Internal.String>) => void;
194
-
195
-
196
- export type DistributedContextPropagator_PropagatorSetterCallback = (carrier: unknown, fieldName: string, fieldValue: string) => void;
197
-
198
-
199
182
  export type ExceptionRecorder = (activity: Activity, exception: Exception, tags: TagList) => void;
200
183
 
201
184
 
202
- export type SampleActivity_1<T> = (options: ActivityCreationOptions_1<T>) => ActivitySamplingResult;
203
-
204
-
205
- export interface Activity_Enumerator_1$instance<T> {
206
- readonly __tsonic_type_System_Diagnostics_Activity_Enumerator_1: never;
185
+ export type SampleActivity_1<T extends unknown> = (options: ActivityCreationOptions_1<T>) => ActivitySamplingResult;
207
186
 
208
- readonly Current: T;
209
- GetEnumerator(): Activity_Enumerator_1<T>;
210
- MoveNext(): boolean;
211
- }
212
-
213
-
214
- export const Activity_Enumerator_1: {
215
- new<T>(): Activity_Enumerator_1<T>;
216
- };
217
-
218
-
219
- export type Activity_Enumerator_1<T> = Activity_Enumerator_1$instance<T>;
220
187
 
221
188
  export interface ActivityChangedEventArgs$instance {
222
189
  readonly __tsonic_type_System_Diagnostics_ActivityChangedEventArgs: never;
223
190
 
224
- get Current(): Activity | undefined;
225
- set Current(value: Activity | undefined);
226
- get Previous(): Activity | undefined;
227
- set Previous(value: Activity | undefined);
191
+ get Current(): Activity | null;
192
+ set Current(value: Activity | null);
193
+ get Previous(): Activity | null;
194
+ set Previous(value: Activity | null);
228
195
  }
229
196
 
230
197
 
@@ -244,18 +211,18 @@ export interface ActivityContext$instance {
244
211
  readonly SpanId: ActivitySpanId;
245
212
  readonly TraceFlags: ActivityTraceFlags;
246
213
  readonly TraceId: ActivityTraceId;
247
- readonly TraceState: string | undefined;
214
+ readonly TraceState: string | null;
248
215
  Equals(value: ActivityContext): boolean;
249
- Equals(obj: unknown): boolean;
216
+ Equals(obj: unknown | null): boolean;
250
217
  GetHashCode(): int;
251
218
  }
252
219
 
253
220
 
254
221
  export const ActivityContext: {
255
- new(traceId: ActivityTraceId, spanId: ActivitySpanId, traceFlags: ActivityTraceFlags, traceState: string, isRemote: boolean): ActivityContext;
256
- Parse(traceParent: string, traceState: string): ActivityContext;
257
- TryParse(traceParent: string, traceState: string, isRemote: boolean, context: ActivityContext): boolean;
258
- TryParse(traceParent: string, traceState: string, context: ActivityContext): boolean;
222
+ new(traceId: ActivityTraceId, spanId: ActivitySpanId, traceFlags: ActivityTraceFlags, traceState: string | null, isRemote: boolean): ActivityContext;
223
+ Parse(traceParent: string, traceState: string | null): ActivityContext;
224
+ TryParse(traceParent: string | null, traceState: string | null, isRemote: boolean, context: ActivityContext): boolean;
225
+ TryParse(traceParent: string | null, traceState: string | null, context: ActivityContext): boolean;
259
226
  };
260
227
 
261
228
 
@@ -269,28 +236,28 @@ export interface __ActivityContext$views {
269
236
  export type ActivityContext = ActivityContext$instance & __ActivityContext$views;
270
237
 
271
238
 
272
- export interface ActivityCreationOptions_1$instance<T> {
239
+ export interface ActivityCreationOptions_1$instance<T extends unknown> {
273
240
  readonly __tsonic_type_System_Diagnostics_ActivityCreationOptions_1: never;
274
241
 
275
242
  readonly Kind: ActivityKind;
276
- readonly Links: IEnumerable_1<ActivityLink> | undefined;
243
+ readonly Links: IEnumerable_1<ActivityLink> | null;
277
244
  readonly Name: string;
278
245
  readonly Parent: T;
279
246
  readonly SamplingTags: ActivityTagsCollection;
280
247
  readonly Source: ActivitySource;
281
- readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined;
248
+ readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null;
282
249
  readonly TraceId: ActivityTraceId;
283
- get TraceState(): string | undefined;
284
- set TraceState(value: string | undefined);
250
+ get TraceState(): string | null;
251
+ set TraceState(value: string | null);
285
252
  }
286
253
 
287
254
 
288
255
  export const ActivityCreationOptions_1: {
289
- new<T>(): ActivityCreationOptions_1<T>;
256
+ new<T extends unknown>(): ActivityCreationOptions_1<T>;
290
257
  };
291
258
 
292
259
 
293
- export type ActivityCreationOptions_1<T> = ActivityCreationOptions_1$instance<T>;
260
+ export type ActivityCreationOptions_1<T extends unknown> = ActivityCreationOptions_1$instance<T>;
294
261
 
295
262
  export interface ActivityEvent$instance {
296
263
  readonly __tsonic_type_System_Diagnostics_ActivityEvent: never;
@@ -304,7 +271,7 @@ export interface ActivityEvent$instance {
304
271
 
305
272
  export const ActivityEvent: {
306
273
  new(name: string): ActivityEvent;
307
- new(name: string, timestamp: DateTimeOffset, tags: ActivityTagsCollection): ActivityEvent;
274
+ new(name: string, timestamp: DateTimeOffset, tags: ActivityTagsCollection | null): ActivityEvent;
308
275
  };
309
276
 
310
277
 
@@ -316,16 +283,16 @@ export interface ActivityLink$instance {
316
283
  readonly __tsonic_iface_System_IEquatable_1: never;
317
284
 
318
285
  readonly Context: ActivityContext;
319
- readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined;
286
+ readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null;
320
287
  EnumerateTagObjects(): Activity_Enumerator_1<KeyValuePair_2<System_Internal.String, unknown>>;
321
- Equals(obj: unknown): boolean;
288
+ Equals(obj: unknown | null): boolean;
322
289
  Equals(value: ActivityLink): boolean;
323
290
  GetHashCode(): int;
324
291
  }
325
292
 
326
293
 
327
294
  export const ActivityLink: {
328
- new(context: ActivityContext, tags: ActivityTagsCollection): ActivityLink;
295
+ new(context: ActivityContext, tags: ActivityTagsCollection | null): ActivityLink;
329
296
  };
330
297
 
331
298
 
@@ -346,7 +313,7 @@ export interface ActivitySpanId$instance {
346
313
 
347
314
  CopyTo(destination: Span_1<System_Internal.Byte>): void;
348
315
  Equals(spanId: ActivitySpanId): boolean;
349
- Equals(obj: unknown): boolean;
316
+ Equals(obj: unknown | null): boolean;
350
317
  GetHashCode(): int;
351
318
  ToHexString(): string;
352
319
  ToString(): string;
@@ -372,33 +339,6 @@ export interface __ActivitySpanId$views {
372
339
  export type ActivitySpanId = ActivitySpanId$instance & __ActivitySpanId$views;
373
340
 
374
341
 
375
- export interface ActivityTagsCollection_Enumerator$instance extends IDisposable {
376
- readonly __tsonic_type_System_Diagnostics_ActivityTagsCollection_Enumerator: never;
377
-
378
- readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
379
- readonly __tsonic_iface_System_Collections_IEnumerator: never;
380
- readonly __tsonic_iface_System_IDisposable: never;
381
-
382
- readonly Current: KeyValuePair_2<System_Internal.String, unknown>;
383
- Dispose(): void;
384
- MoveNext(): boolean;
385
- Reset(): void;
386
- }
387
-
388
-
389
- export const ActivityTagsCollection_Enumerator: {
390
- new(): ActivityTagsCollection_Enumerator;
391
- };
392
-
393
-
394
- export interface __ActivityTagsCollection_Enumerator$views {
395
- As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<KeyValuePair_2<System_Internal.String, unknown>>;
396
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
397
- }
398
-
399
- export type ActivityTagsCollection_Enumerator = ActivityTagsCollection_Enumerator$instance & __ActivityTagsCollection_Enumerator$views;
400
-
401
-
402
342
  export interface ActivityTraceId$instance {
403
343
  readonly __tsonic_type_System_Diagnostics_ActivityTraceId: never;
404
344
 
@@ -406,7 +346,7 @@ export interface ActivityTraceId$instance {
406
346
 
407
347
  CopyTo(destination: Span_1<System_Internal.Byte>): void;
408
348
  Equals(traceId: ActivityTraceId): boolean;
409
- Equals(obj: unknown): boolean;
349
+ Equals(obj: unknown | null): boolean;
410
350
  GetHashCode(): int;
411
351
  ToHexString(): string;
412
352
  ToString(): string;
@@ -432,52 +372,6 @@ export interface __ActivityTraceId$views {
432
372
  export type ActivityTraceId = ActivityTraceId$instance & __ActivityTraceId$views;
433
373
 
434
374
 
435
- export interface Debug_AssertInterpolatedStringHandler$instance {
436
- readonly __tsonic_type_System_Diagnostics_Debug_AssertInterpolatedStringHandler: never;
437
-
438
- AppendFormatted<T>(value: T): void;
439
- AppendFormatted<T>(value: T, format: string): void;
440
- AppendFormatted<T>(value: T, alignment: int): void;
441
- AppendFormatted<T>(value: T, alignment: int, format: string): void;
442
- AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): void;
443
- AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string): void;
444
- AppendFormatted(value: string): void;
445
- AppendFormatted(value: string, alignment?: int, format?: string): void;
446
- AppendFormatted(value: unknown, alignment?: int, format?: string): void;
447
- AppendLiteral(value: string): void;
448
- }
449
-
450
-
451
- export const Debug_AssertInterpolatedStringHandler: {
452
- new(literalLength: int, formattedCount: int, condition: boolean, shouldAppend: boolean): Debug_AssertInterpolatedStringHandler;
453
- };
454
-
455
-
456
- export type Debug_AssertInterpolatedStringHandler = Debug_AssertInterpolatedStringHandler$instance;
457
-
458
- export interface Debug_WriteIfInterpolatedStringHandler$instance {
459
- readonly __tsonic_type_System_Diagnostics_Debug_WriteIfInterpolatedStringHandler: never;
460
-
461
- AppendFormatted<T>(value: T): void;
462
- AppendFormatted<T>(value: T, format: string): void;
463
- AppendFormatted<T>(value: T, alignment: int): void;
464
- AppendFormatted<T>(value: T, alignment: int, format: string): void;
465
- AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): void;
466
- AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string): void;
467
- AppendFormatted(value: string): void;
468
- AppendFormatted(value: string, alignment?: int, format?: string): void;
469
- AppendFormatted(value: unknown, alignment?: int, format?: string): void;
470
- AppendLiteral(value: string): void;
471
- }
472
-
473
-
474
- export const Debug_WriteIfInterpolatedStringHandler: {
475
- new(literalLength: int, formattedCount: int, condition: boolean, shouldAppend: boolean): Debug_WriteIfInterpolatedStringHandler;
476
- };
477
-
478
-
479
- export type Debug_WriteIfInterpolatedStringHandler = Debug_WriteIfInterpolatedStringHandler$instance;
480
-
481
375
  export interface TagList$instance {
482
376
  readonly __tsonic_type_System_Diagnostics_TagList: never;
483
377
 
@@ -490,7 +384,7 @@ export interface TagList$instance {
490
384
 
491
385
  readonly Count: int;
492
386
  readonly IsReadOnly: boolean;
493
- Add(key: string, value: unknown): void;
387
+ Add(key: string, value: unknown | null): void;
494
388
  Add(tag: KeyValuePair_2<System_Internal.String, unknown>): void;
495
389
  Clear(): void;
496
390
  Contains(item: KeyValuePair_2<System_Internal.String, unknown>): boolean;
@@ -520,7 +414,7 @@ export interface __TagList$views {
520
414
  export type TagList = TagList$instance & __TagList$views & { [index: number]: KeyValuePair_2<System_Internal.String, unknown>; };
521
415
 
522
416
 
523
- export interface TagList_Enumerator$instance extends IDisposable {
417
+ export interface TagList_Enumerator$instance extends IEnumerator_1<KeyValuePair_2<System_Internal.String, unknown>> {
524
418
  readonly __tsonic_type_System_Diagnostics_TagList_Enumerator: never;
525
419
 
526
420
  readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
@@ -539,13 +433,7 @@ export const TagList_Enumerator: {
539
433
  };
540
434
 
541
435
 
542
- export interface __TagList_Enumerator$views {
543
- As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<KeyValuePair_2<System_Internal.String, unknown>>;
544
- As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
545
- }
546
-
547
- export type TagList_Enumerator = TagList_Enumerator$instance & __TagList_Enumerator$views;
548
-
436
+ export type TagList_Enumerator = TagList_Enumerator$instance;
549
437
 
550
438
  export interface Activity$instance {
551
439
  readonly __tsonic_type_System_Diagnostics_Activity: never;
@@ -559,52 +447,52 @@ export interface Activity$instance {
559
447
  Duration: TimeSpan;
560
448
  readonly Events: IEnumerable_1<ActivityEvent>;
561
449
  HasRemoteParent: boolean;
562
- readonly Id: string | undefined;
450
+ readonly Id: string | null;
563
451
  IdFormat: ActivityIdFormat;
564
452
  IsAllDataRequested: boolean;
565
453
  IsStopped: boolean;
566
454
  Kind: ActivityKind;
567
455
  readonly Links: IEnumerable_1<ActivityLink>;
568
456
  readonly OperationName: string;
569
- get Parent(): Activity | undefined;
570
- set Parent(value: Activity | undefined);
571
- readonly ParentId: string | undefined;
457
+ get Parent(): Activity | null;
458
+ set Parent(value: Activity | null);
459
+ readonly ParentId: string | null;
572
460
  readonly ParentSpanId: ActivitySpanId;
573
461
  readonly Recorded: boolean;
574
- readonly RootId: string | undefined;
462
+ readonly RootId: string | null;
575
463
  Source: ActivitySource;
576
464
  readonly SpanId: ActivitySpanId;
577
465
  StartTimeUtc: DateTime;
578
466
  readonly Status: ActivityStatusCode;
579
- readonly StatusDescription: string | undefined;
467
+ readonly StatusDescription: string | null;
580
468
  readonly TagObjects: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>;
581
469
  readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>>;
582
470
  readonly TraceId: ActivityTraceId;
583
- get TraceStateString(): string | undefined;
584
- set TraceStateString(value: string | undefined);
585
- AddBaggage(key: string, value: string): Activity;
471
+ get TraceStateString(): string | null;
472
+ set TraceStateString(value: string | null);
473
+ AddBaggage(key: string, value: string | null): Activity;
586
474
  AddEvent(e: ActivityEvent): Activity;
587
475
  AddException(exception: Exception, tags?: TagList, timestamp?: DateTimeOffset): Activity;
588
476
  AddLink(link: ActivityLink): Activity;
589
- AddTag(key: string, value: string): Activity;
590
- AddTag(key: string, value: unknown): Activity;
477
+ AddTag(key: string, value: string | null): Activity;
478
+ AddTag(key: string, value: unknown | null): Activity;
591
479
  Dispose(): void;
592
480
  Dispose(disposing: boolean): void;
593
481
  EnumerateEvents(): Activity_Enumerator_1<ActivityEvent>;
594
482
  EnumerateLinks(): Activity_Enumerator_1<ActivityLink>;
595
483
  EnumerateTagObjects(): Activity_Enumerator_1<KeyValuePair_2<System_Internal.String, unknown>>;
596
- GetBaggageItem(key: string): string | undefined;
597
- GetCustomProperty(propertyName: string): unknown | undefined;
598
- GetTagItem(key: string): unknown | undefined;
599
- SetBaggage(key: string, value: string): Activity;
600
- SetCustomProperty(propertyName: string, propertyValue: unknown): void;
484
+ GetBaggageItem(key: string): string | null;
485
+ GetCustomProperty(propertyName: string): unknown | null;
486
+ GetTagItem(key: string): unknown | null;
487
+ SetBaggage(key: string, value: string | null): Activity;
488
+ SetCustomProperty(propertyName: string, propertyValue: unknown | null): void;
601
489
  SetEndTime(endTimeUtc: DateTime): Activity;
602
490
  SetIdFormat(format: ActivityIdFormat): Activity;
603
491
  SetParentId(parentId: string): Activity;
604
492
  SetParentId(traceId: ActivityTraceId, spanId: ActivitySpanId, activityTraceFlags?: ActivityTraceFlags): Activity;
605
493
  SetStartTime(startTimeUtc: DateTime): Activity;
606
- SetStatus(code: ActivityStatusCode, description?: string): Activity;
607
- SetTag(key: string, value: unknown): Activity;
494
+ SetStatus(code: ActivityStatusCode, description?: string | null): Activity;
495
+ SetTag(key: string, value: unknown | null): Activity;
608
496
  Start(): Activity;
609
497
  Stop(): void;
610
498
  }
@@ -613,10 +501,10 @@ export interface Activity$instance {
613
501
  export const Activity: {
614
502
  new(operationName: string): Activity;
615
503
  ForceDefaultIdFormat: boolean;
616
- get Current(): Activity | undefined;
617
- set Current(value: Activity | undefined);
618
- get TraceIdGenerator(): Func_1<ActivityTraceId> | undefined;
619
- set TraceIdGenerator(value: Func_1<ActivityTraceId> | undefined);
504
+ get Current(): Activity | null;
505
+ set Current(value: Activity | null);
506
+ get TraceIdGenerator(): Func_1<ActivityTraceId> | null;
507
+ set TraceIdGenerator(value: Func_1<ActivityTraceId> | null);
620
508
  DefaultIdFormat: ActivityIdFormat;
621
509
  };
622
510
 
@@ -628,23 +516,39 @@ export interface __Activity$views {
628
516
  export type Activity = Activity$instance & __Activity$views;
629
517
 
630
518
 
519
+ export interface Activity_Enumerator_1$instance<T extends unknown> {
520
+ readonly __tsonic_type_System_Diagnostics_Activity_Enumerator_1: never;
521
+
522
+ readonly Current: T;
523
+ GetEnumerator(): Activity_Enumerator_1<T>;
524
+ MoveNext(): boolean;
525
+ }
526
+
527
+
528
+ export const Activity_Enumerator_1: {
529
+ new<T extends unknown>(): Activity_Enumerator_1<T>;
530
+ };
531
+
532
+
533
+ export type Activity_Enumerator_1<T extends unknown> = Activity_Enumerator_1$instance<T>;
534
+
631
535
  export interface ActivityListener$instance extends System_Internal.IDisposable$instance {
632
536
  readonly __tsonic_type_System_Diagnostics_ActivityListener: never;
633
537
 
634
538
  readonly __tsonic_iface_System_IDisposable: never;
635
539
 
636
- get ActivityStarted(): Action_1<Activity> | undefined;
637
- set ActivityStarted(value: Action_1<Activity> | undefined);
638
- get ActivityStopped(): Action_1<Activity> | undefined;
639
- set ActivityStopped(value: Action_1<Activity> | undefined);
640
- get ExceptionRecorder(): ExceptionRecorder | undefined;
641
- set ExceptionRecorder(value: ExceptionRecorder | undefined);
642
- get Sample(): SampleActivity_1<ActivityContext> | undefined;
643
- set Sample(value: SampleActivity_1<ActivityContext> | undefined);
644
- get SampleUsingParentId(): SampleActivity_1<System_Internal.String> | undefined;
645
- set SampleUsingParentId(value: SampleActivity_1<System_Internal.String> | undefined);
646
- get ShouldListenTo(): Func_2<ActivitySource, System_Internal.Boolean> | undefined;
647
- set ShouldListenTo(value: Func_2<ActivitySource, System_Internal.Boolean> | undefined);
540
+ get ActivityStarted(): Action_1<Activity> | null;
541
+ set ActivityStarted(value: Action_1<Activity> | null);
542
+ get ActivityStopped(): Action_1<Activity> | null;
543
+ set ActivityStopped(value: Action_1<Activity> | null);
544
+ get ExceptionRecorder(): ExceptionRecorder | null;
545
+ set ExceptionRecorder(value: ExceptionRecorder | null);
546
+ get Sample(): SampleActivity_1<ActivityContext> | null;
547
+ set Sample(value: SampleActivity_1<ActivityContext> | null);
548
+ get SampleUsingParentId(): SampleActivity_1<System_Internal.String> | null;
549
+ set SampleUsingParentId(value: SampleActivity_1<System_Internal.String> | null);
550
+ get ShouldListenTo(): Func_2<ActivitySource, System_Internal.Boolean> | null;
551
+ set ShouldListenTo(value: Func_2<ActivitySource, System_Internal.Boolean> | null);
648
552
  Dispose(): void;
649
553
  }
650
554
 
@@ -667,25 +571,25 @@ export interface ActivitySource$instance extends System_Internal.IDisposable$ins
667
571
  readonly __tsonic_iface_System_IDisposable: never;
668
572
 
669
573
  readonly Name: string;
670
- readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined;
671
- readonly TelemetrySchemaUrl: string | undefined;
672
- readonly Version: string | undefined;
673
- CreateActivity(name: string, kind: ActivityKind): Activity | undefined;
674
- CreateActivity(name: string, kind: ActivityKind, parentContext: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>, links?: IEnumerable_1<ActivityLink>, idFormat?: ActivityIdFormat): Activity | undefined;
675
- CreateActivity(name: string, kind: ActivityKind, parentId: string, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>, links?: IEnumerable_1<ActivityLink>, idFormat?: ActivityIdFormat): Activity | undefined;
574
+ readonly Tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null;
575
+ readonly TelemetrySchemaUrl: string | null;
576
+ readonly Version: string | null;
577
+ CreateActivity(name: string, kind: ActivityKind): Activity | null;
578
+ CreateActivity(name: string, kind: ActivityKind, parentContext: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null, links?: IEnumerable_1<ActivityLink> | null, idFormat?: ActivityIdFormat): Activity | null;
579
+ CreateActivity(name: string, kind: ActivityKind, parentId: string | null, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null, links?: IEnumerable_1<ActivityLink> | null, idFormat?: ActivityIdFormat): Activity | null;
676
580
  Dispose(): void;
677
581
  HasListeners(): boolean;
678
- StartActivity(name?: string, kind?: ActivityKind): Activity | undefined;
679
- StartActivity(name: string, kind: ActivityKind, parentContext: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>, links?: IEnumerable_1<ActivityLink>, startTime?: DateTimeOffset): Activity | undefined;
680
- StartActivity(name: string, kind: ActivityKind, parentId: string, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>, links?: IEnumerable_1<ActivityLink>, startTime?: DateTimeOffset): Activity | undefined;
681
- StartActivity(kind: ActivityKind, parentContext?: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>, links?: IEnumerable_1<ActivityLink>, startTime?: DateTimeOffset, name?: string): Activity | undefined;
582
+ StartActivity(name?: string, kind?: ActivityKind): Activity | null;
583
+ StartActivity(name: string, kind: ActivityKind, parentContext: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null, links?: IEnumerable_1<ActivityLink> | null, startTime?: DateTimeOffset): Activity | null;
584
+ StartActivity(name: string, kind: ActivityKind, parentId: string | null, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null, links?: IEnumerable_1<ActivityLink> | null, startTime?: DateTimeOffset): Activity | null;
585
+ StartActivity(kind: ActivityKind, parentContext?: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null, links?: IEnumerable_1<ActivityLink> | null, startTime?: DateTimeOffset, name?: string): Activity | null;
682
586
  }
683
587
 
684
588
 
685
589
  export const ActivitySource: {
686
590
  new(name: string): ActivitySource;
687
- new(name: string, version: string): ActivitySource;
688
- new(name: string, version: string, tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>): ActivitySource;
591
+ new(name: string, version: string | null): ActivitySource;
592
+ new(name: string, version: string | null, tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null): ActivitySource;
689
593
  new(options: ActivitySourceOptions): ActivitySource;
690
594
  AddActivityListener(listener: ActivityListener): void;
691
595
  };
@@ -702,12 +606,12 @@ export interface ActivitySourceOptions$instance {
702
606
  readonly __tsonic_type_System_Diagnostics_ActivitySourceOptions: never;
703
607
 
704
608
  Name: string;
705
- get Tags(): IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined;
706
- set Tags(value: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined);
707
- get TelemetrySchemaUrl(): string | undefined;
708
- set TelemetrySchemaUrl(value: string | undefined);
709
- get Version(): string | undefined;
710
- set Version(value: string | undefined);
609
+ get Tags(): IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null;
610
+ set Tags(value: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null);
611
+ get TelemetrySchemaUrl(): string | null;
612
+ set TelemetrySchemaUrl(value: string | null);
613
+ get Version(): string | null;
614
+ set Version(value: string | null);
711
615
  }
712
616
 
713
617
 
@@ -729,8 +633,8 @@ export interface ActivityTagsCollection$instance {
729
633
  readonly Count: int;
730
634
  readonly IsReadOnly: boolean;
731
635
  readonly Keys: ICollection_1<System_Internal.String>;
732
- readonly Values: ICollection_1<unknown | undefined>;
733
- Add(key: string, value: unknown): void;
636
+ readonly Values: ICollection_1<unknown | null>;
637
+ Add(key: string, value: unknown | null): void;
734
638
  Add(item: KeyValuePair_2<System_Internal.String, unknown>): void;
735
639
  Clear(): void;
736
640
  Contains(item: KeyValuePair_2<System_Internal.String, unknown>): boolean;
@@ -739,7 +643,7 @@ export interface ActivityTagsCollection$instance {
739
643
  GetEnumerator(): ActivityTagsCollection_Enumerator;
740
644
  Remove(key: string): boolean;
741
645
  Remove(item: KeyValuePair_2<System_Internal.String, unknown>): boolean;
742
- TryGetValue(key: string, value: unknown): boolean;
646
+ TryGetValue(key: string, value: unknown | null): boolean;
743
647
  }
744
648
 
745
649
 
@@ -756,8 +660,29 @@ export interface __ActivityTagsCollection$views {
756
660
  As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
757
661
  }
758
662
 
759
- export type ActivityTagsCollection = ActivityTagsCollection$instance & __ActivityTagsCollection$views & { [key: string]: unknown | undefined; };
663
+ export type ActivityTagsCollection = ActivityTagsCollection$instance & __ActivityTagsCollection$views & { [key: string]: unknown | null; };
664
+
760
665
 
666
+ export interface ActivityTagsCollection_Enumerator$instance extends IEnumerator_1<KeyValuePair_2<System_Internal.String, unknown>> {
667
+ readonly __tsonic_type_System_Diagnostics_ActivityTagsCollection_Enumerator: never;
668
+
669
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
670
+ readonly __tsonic_iface_System_Collections_IEnumerator: never;
671
+ readonly __tsonic_iface_System_IDisposable: never;
672
+
673
+ readonly Current: KeyValuePair_2<System_Internal.String, unknown>;
674
+ Dispose(): void;
675
+ MoveNext(): boolean;
676
+ Reset(): void;
677
+ }
678
+
679
+
680
+ export const ActivityTagsCollection_Enumerator: {
681
+ new(): ActivityTagsCollection_Enumerator;
682
+ };
683
+
684
+
685
+ export type ActivityTagsCollection_Enumerator = ActivityTagsCollection_Enumerator$instance;
761
686
 
762
687
  export interface BooleanSwitch$instance extends Switch {
763
688
  readonly __tsonic_type_System_Diagnostics_BooleanSwitch: never;
@@ -768,8 +693,8 @@ export interface BooleanSwitch$instance extends Switch {
768
693
 
769
694
 
770
695
  export const BooleanSwitch: {
771
- new(displayName: string, description: string): BooleanSwitch;
772
- new(displayName: string, description: string, defaultSwitchValue: string): BooleanSwitch;
696
+ new(displayName: string, description: string | null): BooleanSwitch;
697
+ new(displayName: string, description: string | null, defaultSwitchValue: string): BooleanSwitch;
773
698
  };
774
699
 
775
700
 
@@ -831,7 +756,7 @@ export type CorrelationManager = CorrelationManager$instance;
831
756
  export interface DataReceivedEventArgs$instance extends EventArgs {
832
757
  readonly __tsonic_type_System_Diagnostics_DataReceivedEventArgs: never;
833
758
 
834
- readonly Data: string | undefined;
759
+ readonly Data: string | null;
835
760
  }
836
761
 
837
762
 
@@ -858,6 +783,15 @@ export const DebuggableAttribute: {
858
783
 
859
784
  export type DebuggableAttribute = DebuggableAttribute$instance;
860
785
 
786
+ export enum DebuggableAttribute_DebuggingModes {
787
+ None = 0,
788
+ Default = 1,
789
+ DisableOptimizations = 256,
790
+ IgnoreSymbolStoreSequencePoints = 2,
791
+ EnableEditAndContinue = 4
792
+ }
793
+
794
+
861
795
  export interface DebuggerBrowsableAttribute$instance extends Attribute {
862
796
  readonly __tsonic_type_System_Diagnostics_DebuggerBrowsableAttribute: never;
863
797
 
@@ -888,20 +822,20 @@ export type DebuggerDisableUserUnhandledExceptionsAttribute = DebuggerDisableUse
888
822
  export interface DebuggerDisplayAttribute$instance extends Attribute {
889
823
  readonly __tsonic_type_System_Diagnostics_DebuggerDisplayAttribute: never;
890
824
 
891
- get Name(): string | undefined;
892
- set Name(value: string | undefined);
893
- get Target(): Type | undefined;
894
- set Target(value: Type | undefined);
895
- get TargetTypeName(): string | undefined;
896
- set TargetTypeName(value: string | undefined);
897
- get Type(): string | undefined;
898
- set Type(value: string | undefined);
825
+ get Name(): string | null;
826
+ set Name(value: string | null);
827
+ get Target(): Type | null;
828
+ set Target(value: Type | null);
829
+ get TargetTypeName(): string | null;
830
+ set TargetTypeName(value: string | null);
831
+ get Type(): string | null;
832
+ set Type(value: string | null);
899
833
  readonly Value: string;
900
834
  }
901
835
 
902
836
 
903
837
  export const DebuggerDisplayAttribute: {
904
- new(value: string): DebuggerDisplayAttribute;
838
+ new(value: string | null): DebuggerDisplayAttribute;
905
839
  };
906
840
 
907
841
 
@@ -963,10 +897,10 @@ export interface DebuggerTypeProxyAttribute$instance extends Attribute {
963
897
  readonly __tsonic_type_System_Diagnostics_DebuggerTypeProxyAttribute: never;
964
898
 
965
899
  readonly ProxyTypeName: string;
966
- get Target(): Type | undefined;
967
- set Target(value: Type | undefined);
968
- get TargetTypeName(): string | undefined;
969
- set TargetTypeName(value: string | undefined);
900
+ get Target(): Type | null;
901
+ set Target(value: Type | null);
902
+ get TargetTypeName(): string | null;
903
+ set TargetTypeName(value: string | null);
970
904
  }
971
905
 
972
906
 
@@ -981,24 +915,24 @@ export type DebuggerTypeProxyAttribute = DebuggerTypeProxyAttribute$instance;
981
915
  export interface DebuggerVisualizerAttribute$instance extends Attribute {
982
916
  readonly __tsonic_type_System_Diagnostics_DebuggerVisualizerAttribute: never;
983
917
 
984
- get Description(): string | undefined;
985
- set Description(value: string | undefined);
986
- get Target(): Type | undefined;
987
- set Target(value: Type | undefined);
988
- get TargetTypeName(): string | undefined;
989
- set TargetTypeName(value: string | undefined);
990
- readonly VisualizerObjectSourceTypeName: string | undefined;
918
+ get Description(): string | null;
919
+ set Description(value: string | null);
920
+ get Target(): Type | null;
921
+ set Target(value: Type | null);
922
+ get TargetTypeName(): string | null;
923
+ set TargetTypeName(value: string | null);
924
+ readonly VisualizerObjectSourceTypeName: string | null;
991
925
  readonly VisualizerTypeName: string;
992
926
  }
993
927
 
994
928
 
995
929
  export const DebuggerVisualizerAttribute: {
996
930
  new(visualizerTypeName: string): DebuggerVisualizerAttribute;
997
- new(visualizerTypeName: string, visualizerObjectSourceTypeName: string): DebuggerVisualizerAttribute;
931
+ new(visualizerTypeName: string, visualizerObjectSourceTypeName: string | null): DebuggerVisualizerAttribute;
998
932
  new(visualizerTypeName: string, visualizerObjectSource: Type): DebuggerVisualizerAttribute;
999
933
  new(visualizer: Type): DebuggerVisualizerAttribute;
1000
934
  new(visualizer: Type, visualizerObjectSource: Type): DebuggerVisualizerAttribute;
1001
- new(visualizer: Type, visualizerObjectSourceTypeName: string): DebuggerVisualizerAttribute;
935
+ new(visualizer: Type, visualizerObjectSourceTypeName: string | null): DebuggerVisualizerAttribute;
1002
936
  };
1003
937
 
1004
938
 
@@ -1007,17 +941,17 @@ export type DebuggerVisualizerAttribute = DebuggerVisualizerAttribute$instance;
1007
941
  export interface DebugProvider$instance {
1008
942
  readonly __tsonic_type_System_Diagnostics_DebugProvider: never;
1009
943
 
1010
- Fail(message: string, detailMessage: string): void;
944
+ Fail(message: string | null, detailMessage: string | null): void;
1011
945
  OnIndentLevelChanged(indentLevel: int): void;
1012
946
  OnIndentSizeChanged(indentSize: int): void;
1013
- Write(message: string): void;
1014
- WriteLine(message: string): void;
947
+ Write(message: string | null): void;
948
+ WriteLine(message: string | null): void;
1015
949
  }
1016
950
 
1017
951
 
1018
952
  export const DebugProvider: {
1019
953
  new(): DebugProvider;
1020
- FailCore(stackTrace: string, message: string, detailMessage: string, errorSource: string): void;
954
+ FailCore(stackTrace: string, message: string | null, detailMessage: string | null, errorSource: string): void;
1021
955
  WriteCore(message: string): void;
1022
956
  };
1023
957
 
@@ -1030,18 +964,18 @@ export interface DefaultTraceListener$instance extends TraceListener$instance {
1030
964
  readonly __tsonic_iface_System_IDisposable: never;
1031
965
 
1032
966
  AssertUiEnabled: boolean;
1033
- get LogFileName(): string | undefined;
1034
- set LogFileName(value: string | undefined);
1035
- Fail(message: string): void;
1036
- Fail(message: string, detailMessage: string): void;
1037
- Write(message: string): void;
1038
- Write(o: unknown): void;
1039
- Write(message: string, category: string): void;
1040
- Write(o: unknown, category: string): void;
1041
- WriteLine(message: string): void;
1042
- WriteLine(o: unknown): void;
1043
- WriteLine(message: string, category: string): void;
1044
- WriteLine(o: unknown, category: string): void;
967
+ get LogFileName(): string | null;
968
+ set LogFileName(value: string | null);
969
+ Fail(message: string | null): void;
970
+ Fail(message: string | null, detailMessage: string | null): void;
971
+ Write(message: string | null): void;
972
+ Write(o: unknown | null): void;
973
+ Write(message: string | null, category: string | null): void;
974
+ Write(o: unknown | null, category: string | null): void;
975
+ WriteLine(message: string | null): void;
976
+ WriteLine(o: unknown | null): void;
977
+ WriteLine(message: string | null, category: string | null): void;
978
+ WriteLine(o: unknown | null, category: string | null): void;
1045
979
  }
1046
980
 
1047
981
 
@@ -1064,21 +998,23 @@ export interface DelimitedListTraceListener$instance extends TextWriterTraceList
1064
998
 
1065
999
  Delimiter: string;
1066
1000
  GetSupportedAttributes(): string[];
1067
- TraceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, data: unknown): void;
1068
- TraceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, ...data: unknown[]): void;
1069
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, format: string, ...args: unknown[]): void;
1070
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, message: string): void;
1071
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int): void;
1001
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, data: unknown | null): void;
1002
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, ...data: (unknown | null)[]): void;
1003
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, data: (unknown | null)[] | null): void;
1004
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, format: string | null, ...args: (unknown | null)[]): void;
1005
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, format: string | null, args: (unknown | null)[] | null): void;
1006
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, message: string | null): void;
1007
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int): void;
1072
1008
  }
1073
1009
 
1074
1010
 
1075
1011
  export const DelimitedListTraceListener: {
1076
1012
  new(stream: Stream): DelimitedListTraceListener;
1077
- new(stream: Stream, name: string): DelimitedListTraceListener;
1013
+ new(stream: Stream, name: string | null): DelimitedListTraceListener;
1078
1014
  new(writer: TextWriter): DelimitedListTraceListener;
1079
- new(writer: TextWriter, name: string): DelimitedListTraceListener;
1080
- new(fileName: string): DelimitedListTraceListener;
1081
- new(fileName: string, name: string): DelimitedListTraceListener;
1015
+ new(writer: TextWriter, name: string | null): DelimitedListTraceListener;
1016
+ new(fileName: string | null): DelimitedListTraceListener;
1017
+ new(fileName: string | null, name: string | null): DelimitedListTraceListener;
1082
1018
  };
1083
1019
 
1084
1020
 
@@ -1099,16 +1035,16 @@ export interface DiagnosticListener$instance extends DiagnosticSource, System_In
1099
1035
  Dispose(): void;
1100
1036
  IsEnabled(): boolean;
1101
1037
  IsEnabled(name: string): boolean;
1102
- IsEnabled(name: string, arg1: unknown, arg2?: unknown): boolean;
1103
- OnActivityExport(activity: Activity, payload: unknown): void;
1104
- OnActivityImport(activity: Activity, payload: unknown): void;
1105
- Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Func_4<System_Internal.String, unknown, unknown, System_Internal.Boolean>, onActivityImport?: Action_2<Activity, unknown>, onActivityExport?: Action_2<Activity, unknown>): IDisposable;
1106
- Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Predicate_1<System_Internal.String>): IDisposable;
1107
- Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Func_4<System_Internal.String, unknown, unknown, System_Internal.Boolean>): IDisposable;
1038
+ IsEnabled(name: string, arg1: unknown | null, arg2?: unknown | null): boolean;
1039
+ OnActivityExport(activity: Activity, payload: unknown | null): void;
1040
+ OnActivityImport(activity: Activity, payload: unknown | null): void;
1041
+ Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Func_4<System_Internal.String, unknown | null, unknown | null, System_Internal.Boolean> | null, onActivityImport?: Action_2<Activity, unknown | null> | null, onActivityExport?: Action_2<Activity, unknown | null> | null): IDisposable;
1042
+ Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Predicate_1<System_Internal.String> | null): IDisposable;
1043
+ Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Func_4<System_Internal.String, unknown | null, unknown | null, System_Internal.Boolean> | null): IDisposable;
1108
1044
  Subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>): IDisposable;
1109
1045
  ToString(): string;
1110
- Write(name: string, value: unknown): void;
1111
- Write<T>(name: string, value: T): void;
1046
+ Write(name: string, value: unknown | null): void;
1047
+ Write<T extends unknown>(name: string, value: T): void;
1112
1048
  }
1113
1049
 
1114
1050
 
@@ -1129,15 +1065,15 @@ export type DiagnosticListener = DiagnosticListener$instance & __DiagnosticListe
1129
1065
  export interface DiagnosticMethodInfo$instance {
1130
1066
  readonly __tsonic_type_System_Diagnostics_DiagnosticMethodInfo: never;
1131
1067
 
1132
- readonly DeclaringAssemblyName: string | undefined;
1133
- readonly DeclaringTypeName: string | undefined;
1068
+ readonly DeclaringAssemblyName: string | null;
1069
+ readonly DeclaringTypeName: string | null;
1134
1070
  readonly Name: string;
1135
1071
  }
1136
1072
 
1137
1073
 
1138
1074
  export const DiagnosticMethodInfo: {
1139
- Create(delegate: Function): DiagnosticMethodInfo | undefined;
1140
- Create(frame: StackFrame): DiagnosticMethodInfo | undefined;
1075
+ Create(delegate: Function): DiagnosticMethodInfo | null;
1076
+ Create(frame: StackFrame): DiagnosticMethodInfo | null;
1141
1077
  };
1142
1078
 
1143
1079
 
@@ -1147,15 +1083,15 @@ export interface DiagnosticSource$instance {
1147
1083
  readonly __tsonic_type_System_Diagnostics_DiagnosticSource: never;
1148
1084
 
1149
1085
  IsEnabled(name: string): boolean;
1150
- IsEnabled(name: string, arg1: unknown, arg2?: unknown): boolean;
1151
- OnActivityExport(activity: Activity, payload: unknown): void;
1152
- OnActivityImport(activity: Activity, payload: unknown): void;
1153
- StartActivity(activity: Activity, args: unknown): Activity;
1154
- StartActivity<T>(activity: Activity, args: T): Activity;
1155
- StopActivity(activity: Activity, args: unknown): void;
1156
- StopActivity<T>(activity: Activity, args: T): void;
1157
- Write(name: string, value: unknown): void;
1158
- Write<T>(name: string, value: T): void;
1086
+ IsEnabled(name: string, arg1: unknown | null, arg2?: unknown | null): boolean;
1087
+ OnActivityExport(activity: Activity, payload: unknown | null): void;
1088
+ OnActivityImport(activity: Activity, payload: unknown | null): void;
1089
+ StartActivity(activity: Activity, args: unknown | null): Activity;
1090
+ StartActivity<T extends unknown>(activity: Activity, args: T): Activity;
1091
+ StopActivity(activity: Activity, args: unknown | null): void;
1092
+ StopActivity<T extends unknown>(activity: Activity, args: T): void;
1093
+ Write(name: string, value: unknown | null): void;
1094
+ Write<T extends unknown>(name: string, value: T): void;
1159
1095
  }
1160
1096
 
1161
1097
 
@@ -1169,9 +1105,9 @@ export interface DistributedContextPropagator$instance {
1169
1105
  readonly __tsonic_type_System_Diagnostics_DistributedContextPropagator: never;
1170
1106
 
1171
1107
  readonly Fields: IReadOnlyCollection_1<System_Internal.String>;
1172
- ExtractBaggage(carrier: unknown, getter: DistributedContextPropagator_PropagatorGetterCallback): IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>> | undefined;
1173
- ExtractTraceIdAndState(carrier: unknown, getter: DistributedContextPropagator_PropagatorGetterCallback, traceId: string, traceState: string): void;
1174
- Inject(activity: Activity, carrier: unknown, setter: DistributedContextPropagator_PropagatorSetterCallback): void;
1108
+ ExtractBaggage(carrier: unknown | null, getter: DistributedContextPropagator_PropagatorGetterCallback | null): IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>> | null;
1109
+ ExtractTraceIdAndState(carrier: unknown | null, getter: DistributedContextPropagator_PropagatorGetterCallback | null, traceId: string | null, traceState: string | null): void;
1110
+ Inject(activity: Activity | null, carrier: unknown | null, setter: DistributedContextPropagator_PropagatorSetterCallback | null): void;
1175
1111
  }
1176
1112
 
1177
1113
 
@@ -1187,11 +1123,17 @@ export const DistributedContextPropagator: (abstract new() => DistributedContext
1187
1123
 
1188
1124
  export type DistributedContextPropagator = DistributedContextPropagator$instance;
1189
1125
 
1126
+ export type DistributedContextPropagator_PropagatorGetterCallback = (carrier: unknown | null, fieldName: string, fieldValue: string | null, fieldValues: IEnumerable_1<System_Internal.String> | null) => void;
1127
+
1128
+
1129
+ export type DistributedContextPropagator_PropagatorSetterCallback = (carrier: unknown | null, fieldName: string, fieldValue: string) => void;
1130
+
1131
+
1190
1132
  export interface EventTypeFilter$instance extends TraceFilter {
1191
1133
  readonly __tsonic_type_System_Diagnostics_EventTypeFilter: never;
1192
1134
 
1193
1135
  EventType: SourceLevels;
1194
- ShouldTrace(cache: TraceEventCache, source: string, eventType: TraceEventType, id: int, formatOrMessage: string, args: unknown[], data1: unknown, data: unknown[]): boolean;
1136
+ ShouldTrace(cache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, formatOrMessage: string | null, args: (unknown | null)[] | null, data1: unknown | null, data: (unknown | null)[] | null): boolean;
1195
1137
  }
1196
1138
 
1197
1139
 
@@ -1205,33 +1147,33 @@ export type EventTypeFilter = EventTypeFilter$instance;
1205
1147
  export interface FileVersionInfo$instance {
1206
1148
  readonly __tsonic_type_System_Diagnostics_FileVersionInfo: never;
1207
1149
 
1208
- readonly Comments: string | undefined;
1209
- readonly CompanyName: string | undefined;
1150
+ readonly Comments: string | null;
1151
+ readonly CompanyName: string | null;
1210
1152
  readonly FileBuildPart: int;
1211
- readonly FileDescription: string | undefined;
1153
+ readonly FileDescription: string | null;
1212
1154
  readonly FileMajorPart: int;
1213
1155
  readonly FileMinorPart: int;
1214
1156
  readonly FileName: string;
1215
1157
  readonly FilePrivatePart: int;
1216
- readonly FileVersion: string | undefined;
1217
- readonly InternalName: string | undefined;
1158
+ readonly FileVersion: string | null;
1159
+ readonly InternalName: string | null;
1218
1160
  readonly IsDebug: boolean;
1219
1161
  readonly IsPatched: boolean;
1220
1162
  readonly IsPreRelease: boolean;
1221
1163
  readonly IsPrivateBuild: boolean;
1222
1164
  readonly IsSpecialBuild: boolean;
1223
- readonly Language: string | undefined;
1224
- readonly LegalCopyright: string | undefined;
1225
- readonly LegalTrademarks: string | undefined;
1226
- readonly OriginalFilename: string | undefined;
1227
- readonly PrivateBuild: string | undefined;
1165
+ readonly Language: string | null;
1166
+ readonly LegalCopyright: string | null;
1167
+ readonly LegalTrademarks: string | null;
1168
+ readonly OriginalFilename: string | null;
1169
+ readonly PrivateBuild: string | null;
1228
1170
  readonly ProductBuildPart: int;
1229
1171
  readonly ProductMajorPart: int;
1230
1172
  readonly ProductMinorPart: int;
1231
- readonly ProductName: string | undefined;
1173
+ readonly ProductName: string | null;
1232
1174
  readonly ProductPrivatePart: int;
1233
- readonly ProductVersion: string | undefined;
1234
- readonly SpecialBuild: string | undefined;
1175
+ readonly ProductVersion: string | null;
1176
+ readonly SpecialBuild: string | null;
1235
1177
  ToString(): string;
1236
1178
  }
1237
1179
 
@@ -1301,7 +1243,7 @@ export interface Process$instance extends Component {
1301
1243
  readonly HasExited: boolean;
1302
1244
  readonly Id: int;
1303
1245
  readonly MachineName: string;
1304
- readonly MainModule: ProcessModule | undefined;
1246
+ readonly MainModule: ProcessModule | null;
1305
1247
  readonly MainWindowHandle: nint;
1306
1248
  readonly MainWindowTitle: string;
1307
1249
  MaxWorkingSet: nint;
@@ -1334,8 +1276,8 @@ export interface Process$instance extends Component {
1334
1276
  readonly StandardOutput: StreamReader;
1335
1277
  StartInfo: ProcessStartInfo;
1336
1278
  readonly StartTime: DateTime;
1337
- get SynchronizingObject(): ISynchronizeInvoke | undefined;
1338
- set SynchronizingObject(value: ISynchronizeInvoke | undefined);
1279
+ get SynchronizingObject(): ISynchronizeInvoke | null;
1280
+ set SynchronizingObject(value: ISynchronizeInvoke | null);
1339
1281
  readonly Threads: ProcessThreadCollection;
1340
1282
  readonly TotalProcessorTime: TimeSpan;
1341
1283
  readonly UserProcessorTime: TimeSpan;
@@ -1374,10 +1316,10 @@ export const Process: {
1374
1316
  GetProcessById(processId: int): Process;
1375
1317
  GetProcesses(): Process[];
1376
1318
  GetProcesses(machineName: string): Process[];
1377
- GetProcessesByName(processName: string, machineName: string): Process[];
1378
- GetProcessesByName(processName: string): Process[];
1319
+ GetProcessesByName(processName: string | null, machineName: string): Process[];
1320
+ GetProcessesByName(processName: string | null): Process[];
1379
1321
  LeaveDebugMode(): void;
1380
- Start(startInfo: ProcessStartInfo): Process | undefined;
1322
+ Start(startInfo: ProcessStartInfo): Process | null;
1381
1323
  Start(fileName: string, arguments: IEnumerable_1<System_Internal.String>): Process;
1382
1324
  Start(fileName: string, userName: string, password: SecureString, domain: string): Process;
1383
1325
  Start(fileName: string, arguments: string, userName: string, password: SecureString, domain: string): Process;
@@ -1455,25 +1397,25 @@ export interface ProcessStartInfo$instance {
1455
1397
  CreateNewProcessGroup: boolean;
1456
1398
  CreateNoWindow: boolean;
1457
1399
  Domain: string;
1458
- readonly Environment: IDictionary_2<System_Internal.String, string | undefined>;
1400
+ readonly Environment: IDictionary_2<System_Internal.String, string | null>;
1459
1401
  readonly EnvironmentVariables: StringDictionary;
1460
1402
  ErrorDialog: boolean;
1461
1403
  ErrorDialogParentHandle: nint;
1462
1404
  FileName: string;
1463
1405
  LoadUserProfile: boolean;
1464
- get Password(): SecureString | undefined;
1465
- set Password(value: SecureString | undefined);
1466
- get PasswordInClearText(): string | undefined;
1467
- set PasswordInClearText(value: string | undefined);
1406
+ get Password(): SecureString | null;
1407
+ set Password(value: SecureString | null);
1408
+ get PasswordInClearText(): string | null;
1409
+ set PasswordInClearText(value: string | null);
1468
1410
  RedirectStandardError: boolean;
1469
1411
  RedirectStandardInput: boolean;
1470
1412
  RedirectStandardOutput: boolean;
1471
- get StandardErrorEncoding(): Encoding | undefined;
1472
- set StandardErrorEncoding(value: Encoding | undefined);
1473
- get StandardInputEncoding(): Encoding | undefined;
1474
- set StandardInputEncoding(value: Encoding | undefined);
1475
- get StandardOutputEncoding(): Encoding | undefined;
1476
- set StandardOutputEncoding(value: Encoding | undefined);
1413
+ get StandardErrorEncoding(): Encoding | null;
1414
+ set StandardErrorEncoding(value: Encoding | null);
1415
+ get StandardInputEncoding(): Encoding | null;
1416
+ set StandardInputEncoding(value: Encoding | null);
1417
+ get StandardOutputEncoding(): Encoding | null;
1418
+ set StandardOutputEncoding(value: Encoding | null);
1477
1419
  UseCredentialsForNetworkingOnly: boolean;
1478
1420
  UserName: string;
1479
1421
  UseShellExecute: boolean;
@@ -1562,7 +1504,7 @@ export interface SourceFilter$instance extends TraceFilter {
1562
1504
  readonly __tsonic_type_System_Diagnostics_SourceFilter: never;
1563
1505
 
1564
1506
  Source: string;
1565
- ShouldTrace(cache: TraceEventCache, source: string, eventType: TraceEventType, id: int, formatOrMessage: string, args: unknown[], data1: unknown, data: unknown[]): boolean;
1507
+ ShouldTrace(cache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, formatOrMessage: string | null, args: (unknown | null)[] | null, data1: unknown | null, data: (unknown | null)[] | null): boolean;
1566
1508
  }
1567
1509
 
1568
1510
 
@@ -1595,9 +1537,9 @@ export interface StackFrame$instance {
1595
1537
 
1596
1538
  GetFileColumnNumber(): int;
1597
1539
  GetFileLineNumber(): int;
1598
- GetFileName(): string | undefined;
1540
+ GetFileName(): string | null;
1599
1541
  GetILOffset(): int;
1600
- GetMethod(): MethodBase | undefined;
1542
+ GetMethod(): MethodBase | null;
1601
1543
  GetNativeOffset(): int;
1602
1544
  ToString(): string;
1603
1545
  }
@@ -1608,8 +1550,8 @@ export const StackFrame: {
1608
1550
  new(needFileInfo: boolean): StackFrame;
1609
1551
  new(skipFrames: int): StackFrame;
1610
1552
  new(skipFrames: int, needFileInfo: boolean): StackFrame;
1611
- new(fileName: string, lineNumber: int): StackFrame;
1612
- new(fileName: string, lineNumber: int, colNumber: int): StackFrame;
1553
+ new(fileName: string | null, lineNumber: int): StackFrame;
1554
+ new(fileName: string | null, lineNumber: int, colNumber: int): StackFrame;
1613
1555
  readonly OFFSET_UNKNOWN: int;
1614
1556
  };
1615
1557
 
@@ -1620,7 +1562,7 @@ export interface StackTrace$instance {
1620
1562
  readonly __tsonic_type_System_Diagnostics_StackTrace: never;
1621
1563
 
1622
1564
  readonly FrameCount: int;
1623
- GetFrame(index: int): StackFrame | undefined;
1565
+ GetFrame(index: int): StackFrame | null;
1624
1566
  GetFrames(): StackFrame[];
1625
1567
  ToString(): string;
1626
1568
  }
@@ -1692,14 +1634,14 @@ export interface Switch$instance {
1692
1634
  readonly Description: string;
1693
1635
  readonly DisplayName: string;
1694
1636
  Value: string;
1695
- GetSupportedAttributes(): string[] | undefined;
1637
+ GetSupportedAttributes(): string[] | null;
1696
1638
  OnSwitchSettingChanged(): void;
1697
1639
  OnValueChanged(): void;
1698
1640
  Refresh(): void;
1699
1641
  }
1700
1642
 
1701
1643
 
1702
- export const Switch: (abstract new(displayName: string, description: string) => Switch) & (abstract new(displayName: string, description: string, defaultSwitchValue: string) => Switch) & {
1644
+ export const Switch: (abstract new(displayName: string, description: string | null) => Switch) & (abstract new(displayName: string, description: string | null, defaultSwitchValue: string) => Switch) & {
1703
1645
  };
1704
1646
 
1705
1647
 
@@ -1708,8 +1650,8 @@ export type Switch = Switch$instance;
1708
1650
  export interface SwitchAttribute$instance extends Attribute {
1709
1651
  readonly __tsonic_type_System_Diagnostics_SwitchAttribute: never;
1710
1652
 
1711
- get SwitchDescription(): string | undefined;
1712
- set SwitchDescription(value: string | undefined);
1653
+ get SwitchDescription(): string | null;
1654
+ set SwitchDescription(value: string | null);
1713
1655
  SwitchName: string;
1714
1656
  SwitchType: Type;
1715
1657
  }
@@ -1742,31 +1684,31 @@ export interface TextWriterTraceListener$instance extends TraceListener$instance
1742
1684
 
1743
1685
  readonly __tsonic_iface_System_IDisposable: never;
1744
1686
 
1745
- get Writer(): TextWriter | undefined;
1746
- set Writer(value: TextWriter | undefined);
1687
+ get Writer(): TextWriter | null;
1688
+ set Writer(value: TextWriter | null);
1747
1689
  Close(): void;
1748
1690
  Dispose(disposing: boolean): void;
1749
1691
  Dispose(): void;
1750
1692
  Flush(): void;
1751
- Write(message: string): void;
1752
- Write(o: unknown): void;
1753
- Write(message: string, category: string): void;
1754
- Write(o: unknown, category: string): void;
1755
- WriteLine(message: string): void;
1756
- WriteLine(o: unknown): void;
1757
- WriteLine(message: string, category: string): void;
1758
- WriteLine(o: unknown, category: string): void;
1693
+ Write(message: string | null): void;
1694
+ Write(o: unknown | null): void;
1695
+ Write(message: string | null, category: string | null): void;
1696
+ Write(o: unknown | null, category: string | null): void;
1697
+ WriteLine(message: string | null): void;
1698
+ WriteLine(o: unknown | null): void;
1699
+ WriteLine(message: string | null, category: string | null): void;
1700
+ WriteLine(o: unknown | null, category: string | null): void;
1759
1701
  }
1760
1702
 
1761
1703
 
1762
1704
  export const TextWriterTraceListener: {
1763
1705
  new(): TextWriterTraceListener;
1764
1706
  new(stream: Stream): TextWriterTraceListener;
1765
- new(stream: Stream, name: string): TextWriterTraceListener;
1707
+ new(stream: Stream, name: string | null): TextWriterTraceListener;
1766
1708
  new(writer: TextWriter): TextWriterTraceListener;
1767
- new(writer: TextWriter, name: string): TextWriterTraceListener;
1768
- new(fileName: string): TextWriterTraceListener;
1769
- new(fileName: string, name: string): TextWriterTraceListener;
1709
+ new(writer: TextWriter, name: string | null): TextWriterTraceListener;
1710
+ new(fileName: string | null): TextWriterTraceListener;
1711
+ new(fileName: string | null, name: string | null): TextWriterTraceListener;
1770
1712
  };
1771
1713
 
1772
1714
 
@@ -1790,38 +1732,41 @@ export const Trace: {
1790
1732
  UseGlobalLock: boolean;
1791
1733
  IndentLevel: int;
1792
1734
  IndentSize: int;
1793
- Assert(condition: boolean, message: string, detailMessage: string): void;
1794
- Assert(condition: boolean, message?: string): void;
1735
+ Assert(condition: boolean, message: string | null, detailMessage: string | null): void;
1736
+ Assert(condition: boolean, message?: string | null): void;
1795
1737
  Assert(condition: boolean): void;
1796
1738
  Close(): void;
1797
- Fail(message: string, detailMessage: string): void;
1798
- Fail(message: string): void;
1739
+ Fail(message: string | null, detailMessage: string | null): void;
1740
+ Fail(message: string | null): void;
1799
1741
  Flush(): void;
1800
1742
  Indent(): void;
1801
1743
  Refresh(): void;
1802
- TraceError(format: string, ...args: unknown[]): void;
1803
- TraceError(message: string): void;
1804
- TraceInformation(format: string, ...args: unknown[]): void;
1805
- TraceInformation(message: string): void;
1806
- TraceWarning(format: string, ...args: unknown[]): void;
1807
- TraceWarning(message: string): void;
1744
+ TraceError(format: string, ...args: (unknown | null)[]): void;
1745
+ TraceError(format: string, args: (unknown | null)[] | null): void;
1746
+ TraceError(message: string | null): void;
1747
+ TraceInformation(format: string, ...args: (unknown | null)[]): void;
1748
+ TraceInformation(format: string, args: (unknown | null)[] | null): void;
1749
+ TraceInformation(message: string | null): void;
1750
+ TraceWarning(format: string, ...args: (unknown | null)[]): void;
1751
+ TraceWarning(format: string, args: (unknown | null)[] | null): void;
1752
+ TraceWarning(message: string | null): void;
1808
1753
  Unindent(): void;
1809
- Write(value: unknown, category: string): void;
1810
- Write(value: unknown): void;
1811
- Write(message: string, category: string): void;
1812
- Write(message: string): void;
1813
- WriteIf(condition: boolean, value: unknown, category: string): void;
1814
- WriteIf(condition: boolean, value: unknown): void;
1815
- WriteIf(condition: boolean, message: string, category: string): void;
1816
- WriteIf(condition: boolean, message: string): void;
1817
- WriteLine(value: unknown, category: string): void;
1818
- WriteLine(value: unknown): void;
1819
- WriteLine(message: string, category: string): void;
1820
- WriteLine(message: string): void;
1821
- WriteLineIf(condition: boolean, value: unknown, category: string): void;
1822
- WriteLineIf(condition: boolean, value: unknown): void;
1823
- WriteLineIf(condition: boolean, message: string, category: string): void;
1824
- WriteLineIf(condition: boolean, message: string): void;
1754
+ Write(value: unknown | null, category: string | null): void;
1755
+ Write(value: unknown | null): void;
1756
+ Write(message: string | null, category: string | null): void;
1757
+ Write(message: string | null): void;
1758
+ WriteIf(condition: boolean, value: unknown | null, category: string | null): void;
1759
+ WriteIf(condition: boolean, value: unknown | null): void;
1760
+ WriteIf(condition: boolean, message: string | null, category: string | null): void;
1761
+ WriteIf(condition: boolean, message: string | null): void;
1762
+ WriteLine(value: unknown | null, category: string | null): void;
1763
+ WriteLine(value: unknown | null): void;
1764
+ WriteLine(message: string | null, category: string | null): void;
1765
+ WriteLine(message: string | null): void;
1766
+ WriteLineIf(condition: boolean, value: unknown | null, category: string | null): void;
1767
+ WriteLineIf(condition: boolean, value: unknown | null): void;
1768
+ WriteLineIf(condition: boolean, message: string | null, category: string | null): void;
1769
+ WriteLineIf(condition: boolean, message: string | null): void;
1825
1770
  };
1826
1771
 
1827
1772
 
@@ -1849,7 +1794,7 @@ export type TraceEventCache = TraceEventCache$instance;
1849
1794
  export interface TraceFilter$instance {
1850
1795
  readonly __tsonic_type_System_Diagnostics_TraceFilter: never;
1851
1796
 
1852
- ShouldTrace(cache: TraceEventCache, source: string, eventType: TraceEventType, id: int, formatOrMessage: string, args: unknown[], data1: unknown, data: unknown[]): boolean;
1797
+ ShouldTrace(cache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, formatOrMessage: string | null, args: (unknown | null)[] | null, data1: unknown | null, data: (unknown | null)[] | null): boolean;
1853
1798
  }
1854
1799
 
1855
1800
 
@@ -1865,8 +1810,8 @@ export interface TraceListener$instance extends MarshalByRefObject {
1865
1810
  readonly __tsonic_iface_System_IDisposable: never;
1866
1811
 
1867
1812
  readonly Attributes: StringDictionary;
1868
- get Filter(): TraceFilter | undefined;
1869
- set Filter(value: TraceFilter | undefined);
1813
+ get Filter(): TraceFilter | null;
1814
+ set Filter(value: TraceFilter | null);
1870
1815
  IndentLevel: int;
1871
1816
  IndentSize: int;
1872
1817
  readonly IsThreadSafe: boolean;
@@ -1875,29 +1820,31 @@ export interface TraceListener$instance extends MarshalByRefObject {
1875
1820
  Close(): void;
1876
1821
  Dispose(): void;
1877
1822
  Dispose(disposing: boolean): void;
1878
- Fail(message: string): void;
1879
- Fail(message: string, detailMessage: string): void;
1823
+ Fail(message: string | null): void;
1824
+ Fail(message: string | null, detailMessage: string | null): void;
1880
1825
  Flush(): void;
1881
- GetSupportedAttributes(): string[] | undefined;
1882
- TraceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, data: unknown): void;
1883
- TraceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, ...data: unknown[]): void;
1884
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int): void;
1885
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, message: string): void;
1886
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, format: string, ...args: unknown[]): void;
1887
- TraceTransfer(eventCache: TraceEventCache, source: string, id: int, message: string, relatedActivityId: Guid): void;
1888
- Write(message: string): void;
1889
- Write(o: unknown): void;
1890
- Write(message: string, category: string): void;
1891
- Write(o: unknown, category: string): void;
1826
+ GetSupportedAttributes(): string[] | null;
1827
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, data: unknown | null): void;
1828
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, ...data: (unknown | null)[]): void;
1829
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, data: (unknown | null)[] | null): void;
1830
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int): void;
1831
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, message: string | null): void;
1832
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, format: string | null, ...args: (unknown | null)[]): void;
1833
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, format: string | null, args: (unknown | null)[] | null): void;
1834
+ TraceTransfer(eventCache: TraceEventCache | null, source: string, id: int, message: string | null, relatedActivityId: Guid): void;
1835
+ Write(message: string | null): void;
1836
+ Write(o: unknown | null): void;
1837
+ Write(message: string | null, category: string | null): void;
1838
+ Write(o: unknown | null, category: string | null): void;
1892
1839
  WriteIndent(): void;
1893
- WriteLine(message: string): void;
1894
- WriteLine(o: unknown): void;
1895
- WriteLine(message: string, category: string): void;
1896
- WriteLine(o: unknown, category: string): void;
1840
+ WriteLine(message: string | null): void;
1841
+ WriteLine(o: unknown | null): void;
1842
+ WriteLine(message: string | null, category: string | null): void;
1843
+ WriteLine(o: unknown | null, category: string | null): void;
1897
1844
  }
1898
1845
 
1899
1846
 
1900
- export const TraceListener: (abstract new() => TraceListener) & (abstract new(name: string) => TraceListener) & {
1847
+ export const TraceListener: (abstract new() => TraceListener) & (abstract new(name: string | null) => TraceListener) & {
1901
1848
  };
1902
1849
 
1903
1850
 
@@ -1920,14 +1867,14 @@ export interface TraceListenerCollection$instance {
1920
1867
  AddRange(value: TraceListener[]): void;
1921
1868
  AddRange(value: TraceListenerCollection): void;
1922
1869
  Clear(): void;
1923
- Contains(listener: TraceListener): boolean;
1870
+ Contains(listener: TraceListener | null): boolean;
1924
1871
  CopyTo(listeners: TraceListener[], index: int): void;
1925
1872
  get_Item(i: int): TraceListener;
1926
- get_Item(name: string): TraceListener | undefined;
1873
+ get_Item(name: string): TraceListener | null;
1927
1874
  GetEnumerator(): IEnumerator;
1928
- IndexOf(listener: TraceListener): int;
1875
+ IndexOf(listener: TraceListener | null): int;
1929
1876
  Insert(index: int, listener: TraceListener): void;
1930
- Remove(listener: TraceListener): void;
1877
+ Remove(listener: TraceListener | null): void;
1931
1878
  Remove(name: string): void;
1932
1879
  RemoveAt(index: int): void;
1933
1880
  set_Item(i: int, value: TraceListener): void;
@@ -1957,15 +1904,18 @@ export interface TraceSource$instance {
1957
1904
  Switch: SourceSwitch;
1958
1905
  Close(): void;
1959
1906
  Flush(): void;
1960
- GetSupportedAttributes(): string[] | undefined;
1961
- TraceData(eventType: TraceEventType, id: int, data: unknown): void;
1962
- TraceData(eventType: TraceEventType, id: int, ...data: unknown[]): void;
1907
+ GetSupportedAttributes(): string[] | null;
1908
+ TraceData(eventType: TraceEventType, id: int, data: unknown | null): void;
1909
+ TraceData(eventType: TraceEventType, id: int, ...data: (unknown | null)[]): void;
1910
+ TraceData(eventType: TraceEventType, id: int, data: (unknown | null)[] | null): void;
1963
1911
  TraceEvent(eventType: TraceEventType, id: int): void;
1964
- TraceEvent(eventType: TraceEventType, id: int, message: string): void;
1965
- TraceEvent(eventType: TraceEventType, id: int, format: string, ...args: unknown[]): void;
1966
- TraceInformation(message: string): void;
1967
- TraceInformation(format: string, ...args: unknown[]): void;
1968
- TraceTransfer(id: int, message: string, relatedActivityId: Guid): void;
1912
+ TraceEvent(eventType: TraceEventType, id: int, message: string | null): void;
1913
+ TraceEvent(eventType: TraceEventType, id: int, format: string | null, ...args: (unknown | null)[]): void;
1914
+ TraceEvent(eventType: TraceEventType, id: int, format: string | null, args: (unknown | null)[] | null): void;
1915
+ TraceInformation(message: string | null): void;
1916
+ TraceInformation(format: string | null, ...args: (unknown | null)[]): void;
1917
+ TraceInformation(format: string | null, args: (unknown | null)[] | null): void;
1918
+ TraceTransfer(id: int, message: string | null, relatedActivityId: Guid): void;
1969
1919
  }
1970
1920
 
1971
1921
 
@@ -1991,8 +1941,8 @@ export interface TraceSwitch$instance extends Switch {
1991
1941
 
1992
1942
 
1993
1943
  export const TraceSwitch: {
1994
- new(displayName: string, description: string): TraceSwitch;
1995
- new(displayName: string, description: string, defaultSwitchValue: string): TraceSwitch;
1944
+ new(displayName: string, description: string | null): TraceSwitch;
1945
+ new(displayName: string, description: string | null, defaultSwitchValue: string): TraceSwitch;
1996
1946
  };
1997
1947
 
1998
1948
 
@@ -2008,8 +1958,8 @@ export interface UnreachableException$instance extends Exception, System_Runtime
2008
1958
 
2009
1959
  export const UnreachableException: {
2010
1960
  new(): UnreachableException;
2011
- new(message: string): UnreachableException;
2012
- new(message: string, innerException: Exception): UnreachableException;
1961
+ new(message: string | null): UnreachableException;
1962
+ new(message: string | null, innerException: Exception | null): UnreachableException;
2013
1963
  };
2014
1964
 
2015
1965
 
@@ -2026,32 +1976,34 @@ export interface XmlWriterTraceListener$instance extends TextWriterTraceListener
2026
1976
  readonly __tsonic_iface_System_IDisposable: never;
2027
1977
 
2028
1978
  Close(): void;
2029
- Fail(message: string, detailMessage: string): void;
2030
- Fail(message: string): void;
2031
- TraceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, data: unknown): void;
2032
- TraceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, ...data: unknown[]): void;
2033
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, format: string, ...args: unknown[]): void;
2034
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, message: string): void;
2035
- TraceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int): void;
2036
- TraceTransfer(eventCache: TraceEventCache, source: string, id: int, message: string, relatedActivityId: Guid): void;
2037
- Write(message: string): void;
2038
- Write(o: unknown): void;
2039
- Write(message: string, category: string): void;
2040
- Write(o: unknown, category: string): void;
2041
- WriteLine(message: string): void;
2042
- WriteLine(o: unknown): void;
2043
- WriteLine(message: string, category: string): void;
2044
- WriteLine(o: unknown, category: string): void;
1979
+ Fail(message: string | null, detailMessage: string | null): void;
1980
+ Fail(message: string | null): void;
1981
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, data: unknown | null): void;
1982
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, ...data: (unknown | null)[]): void;
1983
+ TraceData(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, data: (unknown | null)[] | null): void;
1984
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, format: string | null, ...args: (unknown | null)[]): void;
1985
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, format: string | null, args: (unknown | null)[] | null): void;
1986
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int, message: string | null): void;
1987
+ TraceEvent(eventCache: TraceEventCache | null, source: string, eventType: TraceEventType, id: int): void;
1988
+ TraceTransfer(eventCache: TraceEventCache | null, source: string, id: int, message: string | null, relatedActivityId: Guid): void;
1989
+ Write(message: string | null): void;
1990
+ Write(o: unknown | null): void;
1991
+ Write(message: string | null, category: string | null): void;
1992
+ Write(o: unknown | null, category: string | null): void;
1993
+ WriteLine(message: string | null): void;
1994
+ WriteLine(o: unknown | null): void;
1995
+ WriteLine(message: string | null, category: string | null): void;
1996
+ WriteLine(o: unknown | null, category: string | null): void;
2045
1997
  }
2046
1998
 
2047
1999
 
2048
2000
  export const XmlWriterTraceListener: {
2049
2001
  new(stream: Stream): XmlWriterTraceListener;
2050
- new(stream: Stream, name: string): XmlWriterTraceListener;
2002
+ new(stream: Stream, name: string | null): XmlWriterTraceListener;
2051
2003
  new(writer: TextWriter): XmlWriterTraceListener;
2052
- new(writer: TextWriter, name: string): XmlWriterTraceListener;
2053
- new(filename: string): XmlWriterTraceListener;
2054
- new(filename: string, name: string): XmlWriterTraceListener;
2004
+ new(writer: TextWriter, name: string | null): XmlWriterTraceListener;
2005
+ new(filename: string | null): XmlWriterTraceListener;
2006
+ new(filename: string | null, name: string | null): XmlWriterTraceListener;
2055
2007
  };
2056
2008
 
2057
2009
 
@@ -2068,53 +2020,99 @@ export abstract class Debug$instance {
2068
2020
  static IndentSize: int;
2069
2021
  static Assert(condition: boolean, message: Debug_AssertInterpolatedStringHandler, detailMessage: Debug_AssertInterpolatedStringHandler): void;
2070
2022
  static Assert(condition: boolean, message: Debug_AssertInterpolatedStringHandler): void;
2071
- static Assert(condition: boolean, message: string, detailMessageFormat: string, ...args: unknown[]): void;
2072
- static Assert(condition: boolean, message: string, detailMessage: string): void;
2073
- static Assert(condition: boolean, message?: string): void;
2023
+ static Assert(condition: boolean, message: string | null, detailMessageFormat: string, ...args: (unknown | null)[]): void;
2024
+ static Assert(condition: boolean, message: string | null, detailMessage: string | null): void;
2025
+ static Assert(condition: boolean, message?: string | null): void;
2074
2026
  static Assert(condition: boolean): void;
2075
2027
  static Close(): void;
2076
- static Fail(message: string, detailMessage: string): void;
2077
- static Fail(message: string): void;
2028
+ static Fail(message: string | null, detailMessage: string | null): void;
2029
+ static Fail(message: string | null): void;
2078
2030
  static Flush(): void;
2079
2031
  static Indent(): void;
2080
- static Print(format: string, ...args: unknown[]): void;
2081
- static Print(message: string): void;
2032
+ static Print(format: string, ...args: (unknown | null)[]): void;
2033
+ static Print(message: string | null): void;
2082
2034
  static SetProvider(provider: DebugProvider): DebugProvider;
2083
2035
  static Unindent(): void;
2084
- static Write(value: unknown, category: string): void;
2085
- static Write(value: unknown): void;
2086
- static Write(message: string, category: string): void;
2087
- static Write(message: string): void;
2088
- static WriteIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler, category: string): void;
2036
+ static Write(value: unknown | null, category: string | null): void;
2037
+ static Write(value: unknown | null): void;
2038
+ static Write(message: string | null, category: string | null): void;
2039
+ static Write(message: string | null): void;
2040
+ static WriteIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler, category: string | null): void;
2089
2041
  static WriteIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler): void;
2090
- static WriteIf(condition: boolean, value: unknown, category: string): void;
2091
- static WriteIf(condition: boolean, value: unknown): void;
2092
- static WriteIf(condition: boolean, message: string, category: string): void;
2093
- static WriteIf(condition: boolean, message: string): void;
2094
- static WriteLine(value: unknown, category: string): void;
2095
- static WriteLine(value: unknown): void;
2096
- static WriteLine(format: string, ...args: unknown[]): void;
2097
- static WriteLine(message: string, category: string): void;
2098
- static WriteLine(message: string): void;
2099
- static WriteLineIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler, category: string): void;
2042
+ static WriteIf(condition: boolean, value: unknown | null, category: string | null): void;
2043
+ static WriteIf(condition: boolean, value: unknown | null): void;
2044
+ static WriteIf(condition: boolean, message: string | null, category: string | null): void;
2045
+ static WriteIf(condition: boolean, message: string | null): void;
2046
+ static WriteLine(value: unknown | null, category: string | null): void;
2047
+ static WriteLine(value: unknown | null): void;
2048
+ static WriteLine(format: string, ...args: (unknown | null)[]): void;
2049
+ static WriteLine(message: string | null, category: string | null): void;
2050
+ static WriteLine(message: string | null): void;
2051
+ static WriteLineIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler, category: string | null): void;
2100
2052
  static WriteLineIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler): void;
2101
- static WriteLineIf(condition: boolean, value: unknown, category: string): void;
2102
- static WriteLineIf(condition: boolean, value: unknown): void;
2103
- static WriteLineIf(condition: boolean, message: string, category: string): void;
2104
- static WriteLineIf(condition: boolean, message: string): void;
2053
+ static WriteLineIf(condition: boolean, value: unknown | null, category: string | null): void;
2054
+ static WriteLineIf(condition: boolean, value: unknown | null): void;
2055
+ static WriteLineIf(condition: boolean, message: string | null, category: string | null): void;
2056
+ static WriteLineIf(condition: boolean, message: string | null): void;
2105
2057
  }
2106
2058
 
2107
2059
 
2108
2060
  export type Debug = Debug$instance;
2109
2061
 
2062
+ export interface Debug_AssertInterpolatedStringHandler$instance {
2063
+ readonly __tsonic_type_System_Diagnostics_Debug_AssertInterpolatedStringHandler: never;
2064
+
2065
+ AppendFormatted<T extends unknown>(value: T): void;
2066
+ AppendFormatted<T extends unknown>(value: T, format: string | null): void;
2067
+ AppendFormatted<T extends unknown>(value: T, alignment: int): void;
2068
+ AppendFormatted<T extends unknown>(value: T, alignment: int, format: string | null): void;
2069
+ AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): void;
2070
+ AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string | null): void;
2071
+ AppendFormatted(value: string | null): void;
2072
+ AppendFormatted(value: string | null, alignment?: int, format?: string | null): void;
2073
+ AppendFormatted(value: unknown | null, alignment?: int, format?: string | null): void;
2074
+ AppendLiteral(value: string): void;
2075
+ }
2076
+
2077
+
2078
+ export const Debug_AssertInterpolatedStringHandler: {
2079
+ new(literalLength: int, formattedCount: int, condition: boolean, shouldAppend: boolean): Debug_AssertInterpolatedStringHandler;
2080
+ };
2081
+
2082
+
2083
+ export type Debug_AssertInterpolatedStringHandler = Debug_AssertInterpolatedStringHandler$instance;
2084
+
2085
+ export interface Debug_WriteIfInterpolatedStringHandler$instance {
2086
+ readonly __tsonic_type_System_Diagnostics_Debug_WriteIfInterpolatedStringHandler: never;
2087
+
2088
+ AppendFormatted<T extends unknown>(value: T): void;
2089
+ AppendFormatted<T extends unknown>(value: T, format: string | null): void;
2090
+ AppendFormatted<T extends unknown>(value: T, alignment: int): void;
2091
+ AppendFormatted<T extends unknown>(value: T, alignment: int, format: string | null): void;
2092
+ AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): void;
2093
+ AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string | null): void;
2094
+ AppendFormatted(value: string | null): void;
2095
+ AppendFormatted(value: string | null, alignment?: int, format?: string | null): void;
2096
+ AppendFormatted(value: unknown | null, alignment?: int, format?: string | null): void;
2097
+ AppendLiteral(value: string): void;
2098
+ }
2099
+
2100
+
2101
+ export const Debug_WriteIfInterpolatedStringHandler: {
2102
+ new(literalLength: int, formattedCount: int, condition: boolean, shouldAppend: boolean): Debug_WriteIfInterpolatedStringHandler;
2103
+ };
2104
+
2105
+
2106
+ export type Debug_WriteIfInterpolatedStringHandler = Debug_WriteIfInterpolatedStringHandler$instance;
2107
+
2110
2108
  export abstract class Debugger$instance {
2111
- static readonly DefaultCategory: string | undefined;
2109
+ static readonly DefaultCategory: string | null;
2112
2110
  static readonly IsAttached: boolean;
2113
2111
  static Break(): void;
2114
2112
  static BreakForUserUnhandledException(exception: Exception): void;
2115
2113
  static IsLogging(): boolean;
2116
2114
  static Launch(): boolean;
2117
- static Log(level: int, category: string, message: string): void;
2115
+ static Log(level: int, category: string | null, message: string | null): void;
2118
2116
  static NotifyOfCrossThreadDependency(): void;
2119
2117
  }
2120
2118