@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,22 +2,20 @@
2
2
  // Namespace: System.Security.AccessControl
3
3
  // Assembly: Microsoft.Win32.Registry, System.IO.FileSystem.AccessControl, System.Security.AccessControl, System.Threading.AccessControl
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import * as System_Collections_Internal from "../../System.Collections/internal/index.js";
13
11
  import type { ArrayList, ICollection, IDictionary, IEnumerable, IEnumerator, ReadOnlyCollectionBase } from "../../System.Collections/internal/index.js";
14
- import type { MethodBase } from "../../System.Reflection/internal/index.js";
12
+ import type { MethodBase, MethodInfo } from "../../System.Reflection/internal/index.js";
15
13
  import type { SafeHandle } from "../../System.Runtime.InteropServices/internal/index.js";
16
14
  import * as System_Runtime_Serialization_Internal from "../../System.Runtime.Serialization/internal/index.js";
17
15
  import type { ISerializable, SerializationInfo, StreamingContext } from "../../System.Runtime.Serialization/internal/index.js";
18
16
  import type { IdentityReference, SecurityIdentifier } from "../../System.Security.Principal/internal/index.js";
19
17
  import * as System_Internal from "../../System/internal/index.js";
20
- import type { Array as ClrArray, Boolean as ClrBoolean, Byte, Enum, Exception, Guid, IComparable, IConvertible, IFormatProvider, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, TypeCode, UnauthorizedAccessException, ValueType, Void } from "../../System/internal/index.js";
18
+ import type { Array as ClrArray, AsyncCallback, Boolean as ClrBoolean, Byte, Delegate, Enum, Exception, Guid, IAsyncResult, ICloneable, IComparable, IConvertible, IFormatProvider, IFormattable, Int32, IntPtr, ISpanFormattable, MulticastDelegate, Object as ClrObject, String as ClrString, Type, TypeCode, UnauthorizedAccessException, ValueType, Void } from "../../System/internal/index.js";
21
19
 
22
20
  export enum AccessControlActions {
23
21
  None = 0,
@@ -266,7 +264,7 @@ export const AccessRule: (abstract new(identity: IdentityReference, accessMask:
266
264
 
267
265
  export type AccessRule = AccessRule$instance;
268
266
 
269
- export interface AccessRule_1$instance<T extends unknown> extends AccessRule {
267
+ export interface AccessRule_1$instance<T extends NonNullable<unknown>> extends AccessRule {
270
268
  readonly __tsonic_type_System_Security_AccessControl_AccessRule_1: never;
271
269
 
272
270
  readonly Rights: T;
@@ -274,14 +272,14 @@ export interface AccessRule_1$instance<T extends unknown> extends AccessRule {
274
272
 
275
273
 
276
274
  export const AccessRule_1: {
277
- new<T extends unknown>(identity: IdentityReference, rights: T, type: AccessControlType): AccessRule_1<T>;
278
- new<T extends unknown>(identity: IdentityReference, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type: AccessControlType): AccessRule_1<T>;
279
- new<T extends unknown>(identity: string, rights: T, type: AccessControlType): AccessRule_1<T>;
280
- new<T extends unknown>(identity: string, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type: AccessControlType): AccessRule_1<T>;
275
+ new<T extends NonNullable<unknown>>(identity: IdentityReference, rights: T, type: AccessControlType): AccessRule_1<T>;
276
+ new<T extends NonNullable<unknown>>(identity: IdentityReference, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type: AccessControlType): AccessRule_1<T>;
277
+ new<T extends NonNullable<unknown>>(identity: string, rights: T, type: AccessControlType): AccessRule_1<T>;
278
+ new<T extends NonNullable<unknown>>(identity: string, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type: AccessControlType): AccessRule_1<T>;
281
279
  };
282
280
 
283
281
 
284
- export type AccessRule_1<T> = AccessRule_1$instance<T>;
282
+ export type AccessRule_1<T extends NonNullable<unknown>> = AccessRule_1$instance<T>;
285
283
 
286
284
  export interface AceEnumerator$instance {
287
285
  readonly __tsonic_type_System_Security_AccessControl_AceEnumerator: never;
@@ -318,7 +316,7 @@ export const AuditRule: (abstract new(identity: IdentityReference, accessMask: i
318
316
 
319
317
  export type AuditRule = AuditRule$instance;
320
318
 
321
- export interface AuditRule_1$instance<T extends unknown> extends AuditRule {
319
+ export interface AuditRule_1$instance<T extends NonNullable<unknown>> extends AuditRule {
322
320
  readonly __tsonic_type_System_Security_AccessControl_AuditRule_1: never;
323
321
 
324
322
  readonly Rights: T;
@@ -326,14 +324,14 @@ export interface AuditRule_1$instance<T extends unknown> extends AuditRule {
326
324
 
327
325
 
328
326
  export const AuditRule_1: {
329
- new<T extends unknown>(identity: IdentityReference, rights: T, flags: AuditFlags): AuditRule_1<T>;
330
- new<T extends unknown>(identity: IdentityReference, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags): AuditRule_1<T>;
331
- new<T extends unknown>(identity: string, rights: T, flags: AuditFlags): AuditRule_1<T>;
332
- new<T extends unknown>(identity: string, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags): AuditRule_1<T>;
327
+ new<T extends NonNullable<unknown>>(identity: IdentityReference, rights: T, flags: AuditFlags): AuditRule_1<T>;
328
+ new<T extends NonNullable<unknown>>(identity: IdentityReference, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags): AuditRule_1<T>;
329
+ new<T extends NonNullable<unknown>>(identity: string, rights: T, flags: AuditFlags): AuditRule_1<T>;
330
+ new<T extends NonNullable<unknown>>(identity: string, rights: T, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags): AuditRule_1<T>;
333
331
  };
334
332
 
335
333
 
336
- export type AuditRule_1<T> = AuditRule_1$instance<T>;
334
+ export type AuditRule_1<T extends NonNullable<unknown>> = AuditRule_1$instance<T>;
337
335
 
338
336
  export interface AuthorizationRule$instance {
339
337
  readonly __tsonic_type_System_Security_AccessControl_AuthorizationRule: never;
@@ -357,7 +355,7 @@ export interface AuthorizationRuleCollection$instance extends ReadOnlyCollection
357
355
  readonly __tsonic_iface_System_Collections_ICollection: never;
358
356
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
359
357
 
360
- AddRule(rule: AuthorizationRule): void;
358
+ AddRule(rule: AuthorizationRule | null): void;
361
359
  CopyTo(rules: AuthorizationRule[], index: int): void;
362
360
  }
363
361
 
@@ -372,7 +370,7 @@ export interface __AuthorizationRuleCollection$views {
372
370
  As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
373
371
  }
374
372
 
375
- export type AuthorizationRuleCollection = AuthorizationRuleCollection$instance & __AuthorizationRuleCollection$views & { readonly [index: number]: AuthorizationRule | undefined; };
373
+ export type AuthorizationRuleCollection = AuthorizationRuleCollection$instance & __AuthorizationRuleCollection$views & { readonly [index: number]: AuthorizationRule | null; };
376
374
 
377
375
 
378
376
  export interface CommonAce$instance extends QualifiedAce {
@@ -384,7 +382,7 @@ export interface CommonAce$instance extends QualifiedAce {
384
382
 
385
383
 
386
384
  export const CommonAce: {
387
- new(flags: AceFlags, qualifier: AceQualifier, accessMask: int, sid: SecurityIdentifier, isCallback: boolean, opaque: byte[]): CommonAce;
385
+ new(flags: AceFlags, qualifier: AceQualifier, accessMask: int, sid: SecurityIdentifier, isCallback: boolean, opaque: byte[] | null): CommonAce;
388
386
  MaxOpaqueLength(isCallback: boolean): int;
389
387
  };
390
388
 
@@ -441,18 +439,18 @@ export interface CommonSecurityDescriptor$instance extends GenericSecurityDescri
441
439
  readonly __tsonic_type_System_Security_AccessControl_CommonSecurityDescriptor: never;
442
440
 
443
441
  readonly ControlFlags: ControlFlags;
444
- get DiscretionaryAcl(): DiscretionaryAcl | undefined;
445
- set DiscretionaryAcl(value: DiscretionaryAcl | undefined);
446
- get Group(): SecurityIdentifier | undefined;
447
- set Group(value: SecurityIdentifier | undefined);
442
+ get DiscretionaryAcl(): DiscretionaryAcl | null;
443
+ set DiscretionaryAcl(value: DiscretionaryAcl | null);
444
+ get Group(): SecurityIdentifier | null;
445
+ set Group(value: SecurityIdentifier | null);
448
446
  readonly IsContainer: boolean;
449
447
  readonly IsDiscretionaryAclCanonical: boolean;
450
448
  readonly IsDS: boolean;
451
449
  readonly IsSystemAclCanonical: boolean;
452
- get Owner(): SecurityIdentifier | undefined;
453
- set Owner(value: SecurityIdentifier | undefined);
454
- get SystemAcl(): SystemAcl | undefined;
455
- set SystemAcl(value: SystemAcl | undefined);
450
+ get Owner(): SecurityIdentifier | null;
451
+ set Owner(value: SecurityIdentifier | null);
452
+ get SystemAcl(): SystemAcl | null;
453
+ set SystemAcl(value: SystemAcl | null);
456
454
  AddDiscretionaryAcl(revision: byte, trusted: int): void;
457
455
  AddSystemAcl(revision: byte, trusted: int): void;
458
456
  PurgeAccessControl(sid: SecurityIdentifier): void;
@@ -464,7 +462,7 @@ export interface CommonSecurityDescriptor$instance extends GenericSecurityDescri
464
462
 
465
463
  export const CommonSecurityDescriptor: {
466
464
  new(isContainer: boolean, isDS: boolean, binaryForm: byte[], offset: int): CommonSecurityDescriptor;
467
- new(isContainer: boolean, isDS: boolean, flags: ControlFlags, owner: SecurityIdentifier, group: SecurityIdentifier, systemAcl: SystemAcl, discretionaryAcl: DiscretionaryAcl): CommonSecurityDescriptor;
465
+ new(isContainer: boolean, isDS: boolean, flags: ControlFlags, owner: SecurityIdentifier | null, group: SecurityIdentifier | null, systemAcl: SystemAcl | null, discretionaryAcl: DiscretionaryAcl | null): CommonSecurityDescriptor;
468
466
  new(isContainer: boolean, isDS: boolean, rawSecurityDescriptor: RawSecurityDescriptor): CommonSecurityDescriptor;
469
467
  new(isContainer: boolean, isDS: boolean, sddlForm: string): CommonSecurityDescriptor;
470
468
  };
@@ -494,13 +492,13 @@ export interface CustomAce$instance extends GenericAce {
494
492
  readonly BinaryLength: int;
495
493
  readonly OpaqueLength: int;
496
494
  GetBinaryForm(binaryForm: byte[], offset: int): void;
497
- GetOpaque(): byte[] | undefined;
498
- SetOpaque(opaque: byte[]): void;
495
+ GetOpaque(): byte[] | null;
496
+ SetOpaque(opaque: byte[] | null): void;
499
497
  }
500
498
 
501
499
 
502
500
  export const CustomAce: {
503
- new(type: AceType, flags: AceFlags, opaque: byte[]): CustomAce;
501
+ new(type: AceType, flags: AceFlags, opaque: byte[] | null): CustomAce;
504
502
  readonly MaxOpaqueLength: int;
505
503
  };
506
504
 
@@ -565,7 +563,7 @@ export interface DiscretionaryAcl$instance extends CommonAcl$instance {
565
563
  export const DiscretionaryAcl: {
566
564
  new(isContainer: boolean, isDS: boolean, revision: byte, capacity: int): DiscretionaryAcl;
567
565
  new(isContainer: boolean, isDS: boolean, capacity: int): DiscretionaryAcl;
568
- new(isContainer: boolean, isDS: boolean, rawAcl: RawAcl): DiscretionaryAcl;
566
+ new(isContainer: boolean, isDS: boolean, rawAcl: RawAcl | null): DiscretionaryAcl;
569
567
  };
570
568
 
571
569
 
@@ -722,7 +720,7 @@ export interface GenericAce$instance {
722
720
  readonly IsInherited: boolean;
723
721
  readonly PropagationFlags: PropagationFlags;
724
722
  Copy(): GenericAce;
725
- Equals(o: unknown): boolean;
723
+ Equals(o: unknown | null): boolean;
726
724
  GetBinaryForm(binaryForm: byte[], offset: int): void;
727
725
  GetHashCode(): int;
728
726
  }
@@ -772,10 +770,10 @@ export interface GenericSecurityDescriptor$instance {
772
770
 
773
771
  readonly BinaryLength: int;
774
772
  readonly ControlFlags: ControlFlags;
775
- get Group(): SecurityIdentifier | undefined;
776
- set Group(value: SecurityIdentifier | undefined);
777
- get Owner(): SecurityIdentifier | undefined;
778
- set Owner(value: SecurityIdentifier | undefined);
773
+ get Group(): SecurityIdentifier | null;
774
+ set Group(value: SecurityIdentifier | null);
775
+ get Owner(): SecurityIdentifier | null;
776
+ set Owner(value: SecurityIdentifier | null);
779
777
  GetBinaryForm(binaryForm: byte[], offset: int): void;
780
778
  GetSddlForm(includeSections: AccessControlSections): string;
781
779
  }
@@ -871,12 +869,15 @@ export interface NativeObjectSecurity$instance extends CommonObjectSecurity {
871
869
  }
872
870
 
873
871
 
874
- export const NativeObjectSecurity: (abstract new(isContainer: boolean, resourceType: ResourceType) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, handle: SafeHandle, includeSections: AccessControlSections) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, handle: SafeHandle, includeSections: AccessControlSections, exceptionFromErrorCode: unknown, exceptionContext: unknown) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, exceptionFromErrorCode: unknown, exceptionContext: unknown) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections, exceptionFromErrorCode: unknown, exceptionContext: unknown) => NativeObjectSecurity) & {
872
+ export const NativeObjectSecurity: (abstract new(isContainer: boolean, resourceType: ResourceType) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, handle: SafeHandle | null, includeSections: AccessControlSections) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, handle: SafeHandle | null, includeSections: AccessControlSections, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode | null, exceptionContext: unknown | null) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode | null, exceptionContext: unknown | null) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, name: string | null, includeSections: AccessControlSections) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, name: string | null, includeSections: AccessControlSections, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode | null, exceptionContext: unknown | null) => NativeObjectSecurity) & {
875
873
  };
876
874
 
877
875
 
878
876
  export type NativeObjectSecurity = NativeObjectSecurity$instance;
879
877
 
878
+ export type NativeObjectSecurity_ExceptionFromErrorCode = (errorCode: int, name: string | null, handle: SafeHandle | null, context: unknown | null) => Exception | null;
879
+
880
+
880
881
  export interface ObjectAccessRule$instance extends AccessRule {
881
882
  readonly __tsonic_type_System_Security_AccessControl_ObjectAccessRule: never;
882
883
 
@@ -904,7 +905,7 @@ export interface ObjectAce$instance extends QualifiedAce {
904
905
 
905
906
 
906
907
  export const ObjectAce: {
907
- new(aceFlags: AceFlags, qualifier: AceQualifier, accessMask: int, sid: SecurityIdentifier, flags: ObjectAceFlags, type: Guid, inheritedType: Guid, isCallback: boolean, opaque: byte[]): ObjectAce;
908
+ new(aceFlags: AceFlags, qualifier: AceQualifier, accessMask: int, sid: SecurityIdentifier, flags: ObjectAceFlags, type: Guid, inheritedType: Guid, isCallback: boolean, opaque: byte[] | null): ObjectAce;
908
909
  MaxOpaqueLength(isCallback: boolean): int;
909
910
  };
910
911
 
@@ -938,8 +939,8 @@ export interface ObjectSecurity$instance {
938
939
  readonly AuditRuleType: Type;
939
940
  AccessRuleFactory(identityReference: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type: AccessControlType): AccessRule;
940
941
  AuditRuleFactory(identityReference: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags): AuditRule;
941
- GetGroup(targetType: Type): IdentityReference | undefined;
942
- GetOwner(targetType: Type): IdentityReference | undefined;
942
+ GetGroup(targetType: Type): IdentityReference | null;
943
+ GetOwner(targetType: Type): IdentityReference | null;
943
944
  GetSecurityDescriptorBinaryForm(): byte[];
944
945
  GetSecurityDescriptorSddlForm(includeSections: AccessControlSections): string;
945
946
  ModifyAccess(modification: AccessControlModification, rule: AccessRule, modified: boolean): boolean;
@@ -969,7 +970,7 @@ export const ObjectSecurity: (abstract new() => ObjectSecurity) & (abstract new(
969
970
 
970
971
  export type ObjectSecurity = ObjectSecurity$instance;
971
972
 
972
- export interface ObjectSecurity_1$instance<T extends unknown> extends NativeObjectSecurity {
973
+ export interface ObjectSecurity_1$instance<T extends NonNullable<unknown>> extends NativeObjectSecurity {
973
974
  readonly __tsonic_type_System_Security_AccessControl_ObjectSecurity_1: never;
974
975
 
975
976
  readonly AccessRightType: Type;
@@ -994,26 +995,26 @@ export interface ObjectSecurity_1$instance<T extends unknown> extends NativeObje
994
995
  }
995
996
 
996
997
 
997
- export const ObjectSecurity_1: (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType) => ObjectSecurity_1<T>) & (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, safeHandle: SafeHandle, includeSections: AccessControlSections) => ObjectSecurity_1<T>) & (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, safeHandle: SafeHandle, includeSections: AccessControlSections, exceptionFromErrorCode: unknown, exceptionContext: unknown) => ObjectSecurity_1<T>) & (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections) => ObjectSecurity_1<T>) & (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections, exceptionFromErrorCode: unknown, exceptionContext: unknown) => ObjectSecurity_1<T>) & {
998
+ export const ObjectSecurity_1: (abstract new<T extends NonNullable<unknown>>(isContainer: boolean, resourceType: ResourceType) => ObjectSecurity_1<T>) & (abstract new<T extends NonNullable<unknown>>(isContainer: boolean, resourceType: ResourceType, safeHandle: SafeHandle | null, includeSections: AccessControlSections) => ObjectSecurity_1<T>) & (abstract new<T extends NonNullable<unknown>>(isContainer: boolean, resourceType: ResourceType, safeHandle: SafeHandle | null, includeSections: AccessControlSections, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode | null, exceptionContext: unknown | null) => ObjectSecurity_1<T>) & (abstract new<T extends NonNullable<unknown>>(isContainer: boolean, resourceType: ResourceType, name: string | null, includeSections: AccessControlSections) => ObjectSecurity_1<T>) & (abstract new<T extends NonNullable<unknown>>(isContainer: boolean, resourceType: ResourceType, name: string | null, includeSections: AccessControlSections, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode | null, exceptionContext: unknown | null) => ObjectSecurity_1<T>) & {
998
999
  };
999
1000
 
1000
1001
 
1001
- export type ObjectSecurity_1<T> = ObjectSecurity_1$instance<T>;
1002
+ export type ObjectSecurity_1<T extends NonNullable<unknown>> = ObjectSecurity_1$instance<T>;
1002
1003
 
1003
- export interface PrivilegeNotHeldException$instance extends UnauthorizedAccessException {
1004
+ export interface PrivilegeNotHeldException$instance extends UnauthorizedAccessException, System_Runtime_Serialization_Internal.ISerializable$instance {
1004
1005
  readonly __tsonic_type_System_Security_AccessControl_PrivilegeNotHeldException: never;
1005
1006
 
1006
1007
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
1007
1008
 
1008
- readonly PrivilegeName: string | undefined;
1009
+ readonly PrivilegeName: string | null;
1009
1010
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
1010
1011
  }
1011
1012
 
1012
1013
 
1013
1014
  export const PrivilegeNotHeldException: {
1014
1015
  new(): PrivilegeNotHeldException;
1015
- new(privilege: string): PrivilegeNotHeldException;
1016
- new(privilege: string, inner: Exception): PrivilegeNotHeldException;
1016
+ new(privilege: string | null): PrivilegeNotHeldException;
1017
+ new(privilege: string | null, inner: Exception | null): PrivilegeNotHeldException;
1017
1018
  };
1018
1019
 
1019
1020
 
@@ -1030,8 +1031,8 @@ export interface QualifiedAce$instance extends KnownAce {
1030
1031
  readonly AceQualifier: AceQualifier;
1031
1032
  readonly IsCallback: boolean;
1032
1033
  readonly OpaqueLength: int;
1033
- GetOpaque(): byte[] | undefined;
1034
- SetOpaque(opaque: byte[]): void;
1034
+ GetOpaque(): byte[] | null;
1035
+ SetOpaque(opaque: byte[] | null): void;
1035
1036
  }
1036
1037
 
1037
1038
 
@@ -1074,22 +1075,22 @@ export interface RawSecurityDescriptor$instance extends GenericSecurityDescripto
1074
1075
  readonly __tsonic_type_System_Security_AccessControl_RawSecurityDescriptor: never;
1075
1076
 
1076
1077
  readonly ControlFlags: ControlFlags;
1077
- get DiscretionaryAcl(): RawAcl | undefined;
1078
- set DiscretionaryAcl(value: RawAcl | undefined);
1079
- get Group(): SecurityIdentifier | undefined;
1080
- set Group(value: SecurityIdentifier | undefined);
1081
- get Owner(): SecurityIdentifier | undefined;
1082
- set Owner(value: SecurityIdentifier | undefined);
1078
+ get DiscretionaryAcl(): RawAcl | null;
1079
+ set DiscretionaryAcl(value: RawAcl | null);
1080
+ get Group(): SecurityIdentifier | null;
1081
+ set Group(value: SecurityIdentifier | null);
1082
+ get Owner(): SecurityIdentifier | null;
1083
+ set Owner(value: SecurityIdentifier | null);
1083
1084
  ResourceManagerControl: byte;
1084
- get SystemAcl(): RawAcl | undefined;
1085
- set SystemAcl(value: RawAcl | undefined);
1085
+ get SystemAcl(): RawAcl | null;
1086
+ set SystemAcl(value: RawAcl | null);
1086
1087
  SetFlags(flags: ControlFlags): void;
1087
1088
  }
1088
1089
 
1089
1090
 
1090
1091
  export const RawSecurityDescriptor: {
1091
1092
  new(binaryForm: byte[], offset: int): RawSecurityDescriptor;
1092
- new(flags: ControlFlags, owner: SecurityIdentifier, group: SecurityIdentifier, systemAcl: RawAcl, discretionaryAcl: RawAcl): RawSecurityDescriptor;
1093
+ new(flags: ControlFlags, owner: SecurityIdentifier | null, group: SecurityIdentifier | null, systemAcl: RawAcl | null, discretionaryAcl: RawAcl | null): RawSecurityDescriptor;
1093
1094
  new(sddlForm: string): RawSecurityDescriptor;
1094
1095
  };
1095
1096
 
@@ -5,13 +5,17 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.Security.AccessControl/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { ArrayList, ICollection, IDictionary, IEnumerable, IEnumerator, ReadOnlyCollectionBase } from './System.Collections/internal/index.js';
10
- import type { MethodBase } from './System.Reflection/internal/index.js';
14
+ import type { MethodBase, MethodInfo } from './System.Reflection/internal/index.js';
11
15
  import type { SafeHandle } from './System.Runtime.InteropServices/internal/index.js';
12
16
  import type { ISerializable, SerializationInfo, StreamingContext } from './System.Runtime.Serialization/internal/index.js';
13
17
  import type { IdentityReference, SecurityIdentifier } from './System.Security.Principal/internal/index.js';
14
- import type { Array as ClrArray, Boolean as ClrBoolean, Byte, Enum, Exception, Guid, IComparable, IConvertible, IFormatProvider, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, TypeCode, UnauthorizedAccessException, ValueType, Void } from './System/internal/index.js';
18
+ import type { Array as ClrArray, AsyncCallback, Boolean as ClrBoolean, Byte, Delegate, Enum, Exception, Guid, IAsyncResult, ICloneable, IComparable, IConvertible, IFormatProvider, IFormattable, Int32, IntPtr, ISpanFormattable, MulticastDelegate, Object as ClrObject, String as ClrString, Type, TypeCode, UnauthorizedAccessException, ValueType, Void } from './System/internal/index.js';
15
19
 
16
20
  // Public API exports (curated - no internal $instance/$views leakage)
17
21
  export { RegistryAccessRule as RegistryAccessRule } from './System.Security.AccessControl/internal/index.js';
@@ -51,6 +55,7 @@ export { GenericSecurityDescriptor as GenericSecurityDescriptor } from './System
51
55
  export { InheritanceFlags as InheritanceFlags } from './System.Security.AccessControl/internal/index.js';
52
56
  export { KnownAce as KnownAce } from './System.Security.AccessControl/internal/index.js';
53
57
  export { NativeObjectSecurity as NativeObjectSecurity } from './System.Security.AccessControl/internal/index.js';
58
+ export type NativeObjectSecurity_ExceptionFromErrorCode = Internal.NativeObjectSecurity_ExceptionFromErrorCode;
54
59
  export { ObjectAccessRule as ObjectAccessRule } from './System.Security.AccessControl/internal/index.js';
55
60
  export { ObjectAce as ObjectAce } from './System.Security.AccessControl/internal/index.js';
56
61
  export { ObjectAceFlags as ObjectAceFlags } from './System.Security.AccessControl/internal/index.js';
@@ -86,20 +91,20 @@ declare const __unspecified: unique symbol;
86
91
  export type __ = typeof __unspecified;
87
92
 
88
93
  export type AccessRule<
89
- T1 = __,
94
+ T1 extends NonNullable<unknown> | __ = __,
90
95
  > =
91
96
  [T1] extends [__] ? Internal.AccessRule :
92
- [T1] extends [unknown] ? Internal.AccessRule_1<T1> : never;
97
+ [T1] extends [NonNullable<unknown>] ? Internal.AccessRule_1<T1> : never;
93
98
 
94
99
  export type AuditRule<
95
- T1 = __,
100
+ T1 extends NonNullable<unknown> | __ = __,
96
101
  > =
97
102
  [T1] extends [__] ? Internal.AuditRule :
98
- [T1] extends [unknown] ? Internal.AuditRule_1<T1> : never;
103
+ [T1] extends [NonNullable<unknown>] ? Internal.AuditRule_1<T1> : never;
99
104
 
100
105
  export type ObjectSecurity<
101
- T1 = __,
106
+ T1 extends NonNullable<unknown> | __ = __,
102
107
  > =
103
108
  [T1] extends [__] ? Internal.ObjectSecurity :
104
- [T1] extends [unknown] ? Internal.ObjectSecurity_1<T1> : never;
109
+ [T1] extends [NonNullable<unknown>] ? Internal.ObjectSecurity_1<T1> : never;
105
110
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.Security.Authentication
3
3
  // Assembly: System.Net.Primitives, System.Net.Security
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { IDictionary } from "../../System.Collections/internal/index.js";
@@ -67,8 +68,8 @@ export interface AuthenticationException$instance extends SystemException, Syste
67
68
 
68
69
  export const AuthenticationException: {
69
70
  new(): AuthenticationException;
70
- new(message: string): AuthenticationException;
71
- new(message: string, innerException: Exception): AuthenticationException;
71
+ new(message: string | null): AuthenticationException;
72
+ new(message: string | null, innerException: Exception | null): AuthenticationException;
72
73
  };
73
74
 
74
75
 
@@ -89,8 +90,8 @@ export interface InvalidCredentialException$instance extends AuthenticationExcep
89
90
 
90
91
  export const InvalidCredentialException: {
91
92
  new(): InvalidCredentialException;
92
- new(message: string): InvalidCredentialException;
93
- new(message: string, innerException: Exception): InvalidCredentialException;
93
+ new(message: string | null): InvalidCredentialException;
94
+ new(message: string | null, innerException: Exception | null): InvalidCredentialException;
94
95
  };
95
96
 
96
97
 
@@ -774,7 +774,7 @@
774
774
  {
775
775
  "stableId": "System.Private.CoreLib:System.Collections.ICollection::CopyTo(System.Array,System.Int32):System.Void",
776
776
  "clrName": "CopyTo",
777
- "metadataToken": 100703826,
777
+ "metadataToken": 100703831,
778
778
  "canonicalSignature": "(System.Array,System.Int32):System.Void",
779
779
  "normalizedSignature": "CopyTo|(System.Array,System.Int32):System.Void|static=false",
780
780
  "emitScope": "ViewOnly",
@@ -795,7 +795,7 @@
795
795
  {
796
796
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
797
797
  "clrName": "GetEnumerator",
798
- "metadataToken": 100703845,
798
+ "metadataToken": 100703850,
799
799
  "canonicalSignature": "():System.Collections.IEnumerator",
800
800
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
801
801
  "emitScope": "ViewOnly",
@@ -818,7 +818,7 @@
818
818
  {
819
819
  "stableId": "System.Private.CoreLib:System.Collections.ICollection::Count:System.Int32",
820
820
  "clrName": "Count",
821
- "metadataToken": 385881256,
821
+ "metadataToken": 385881258,
822
822
  "canonicalSignature": ":System.Int32",
823
823
  "normalizedSignature": "Count|:System.Int32|static=false|accessor=get",
824
824
  "emitScope": "ViewOnly",
@@ -838,7 +838,7 @@
838
838
  {
839
839
  "stableId": "System.Private.CoreLib:System.Collections.ICollection::SyncRoot:System.Object",
840
840
  "clrName": "SyncRoot",
841
- "metadataToken": 385881257,
841
+ "metadataToken": 385881259,
842
842
  "canonicalSignature": ":System.Object",
843
843
  "normalizedSignature": "SyncRoot|:System.Object|static=false|accessor=get",
844
844
  "emitScope": "ViewOnly",
@@ -858,7 +858,7 @@
858
858
  {
859
859
  "stableId": "System.Private.CoreLib:System.Collections.ICollection::IsSynchronized:System.Boolean",
860
860
  "clrName": "IsSynchronized",
861
- "metadataToken": 385881258,
861
+ "metadataToken": 385881260,
862
862
  "canonicalSignature": ":System.Boolean",
863
863
  "normalizedSignature": "IsSynchronized|:System.Boolean|static=false|accessor=get",
864
864
  "emitScope": "ViewOnly",
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.Security.Authentication.ExtendedProtection
3
3
  // Assembly: System.ComponentModel.TypeConverter, System.Net.Primitives, System.Net.Security
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import * as Microsoft_Win32_SafeHandles_Internal from "../../Microsoft.Win32.SafeHandles/internal/index.js";
@@ -63,8 +64,8 @@ export interface ExtendedProtectionPolicy$instance extends System_Runtime_Serial
63
64
 
64
65
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
65
66
 
66
- readonly CustomChannelBinding: ChannelBinding | undefined;
67
- readonly CustomServiceNames: ServiceNameCollection | undefined;
67
+ readonly CustomChannelBinding: ChannelBinding | null;
68
+ readonly CustomServiceNames: ServiceNameCollection | null;
68
69
  readonly PolicyEnforcement: PolicyEnforcement;
69
70
  readonly ProtectionScenario: ProtectionScenario;
70
71
  ToString(): string;
@@ -72,8 +73,8 @@ export interface ExtendedProtectionPolicy$instance extends System_Runtime_Serial
72
73
 
73
74
 
74
75
  export const ExtendedProtectionPolicy: {
75
- new(policyEnforcement: PolicyEnforcement, protectionScenario: ProtectionScenario, customServiceNames: ServiceNameCollection): ExtendedProtectionPolicy;
76
- new(policyEnforcement: PolicyEnforcement, protectionScenario: ProtectionScenario, customServiceNames: ICollection): ExtendedProtectionPolicy;
76
+ new(policyEnforcement: PolicyEnforcement, protectionScenario: ProtectionScenario, customServiceNames: ServiceNameCollection | null): ExtendedProtectionPolicy;
77
+ new(policyEnforcement: PolicyEnforcement, protectionScenario: ProtectionScenario, customServiceNames: ICollection | null): ExtendedProtectionPolicy;
77
78
  new(policyEnforcement: PolicyEnforcement, customChannelBinding: ChannelBinding): ExtendedProtectionPolicy;
78
79
  new(policyEnforcement: PolicyEnforcement): ExtendedProtectionPolicy;
79
80
  readonly OSSupportsExtendedProtection: boolean;
@@ -90,10 +91,10 @@ export type ExtendedProtectionPolicy = ExtendedProtectionPolicy$instance & __Ext
90
91
  export interface ExtendedProtectionPolicyTypeConverter$instance extends TypeConverter {
91
92
  readonly __tsonic_type_System_Security_Authentication_ExtendedProtection_ExtendedProtectionPolicyTypeConverter: never;
92
93
 
93
- CanConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
94
- CanConvertTo(destinationType: Type): boolean;
95
- ConvertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown | undefined;
96
- ConvertTo(value: unknown, destinationType: Type): unknown | undefined;
94
+ CanConvertTo(context: ITypeDescriptorContext | null, destinationType: Type | null): boolean;
95
+ CanConvertTo(destinationType: Type | null): boolean;
96
+ ConvertTo(context: ITypeDescriptorContext | null, culture: CultureInfo | null, value: unknown | null, destinationType: Type): unknown | null;
97
+ ConvertTo(value: unknown | null, destinationType: Type): unknown | null;
97
98
  }
98
99
 
99
100
 
@@ -110,7 +111,7 @@ export interface ServiceNameCollection$instance extends ReadOnlyCollectionBase {
110
111
  readonly __tsonic_iface_System_Collections_ICollection: never;
111
112
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
112
113
 
113
- Contains(searchServiceName: string): boolean;
114
+ Contains(searchServiceName: string | null): boolean;
114
115
  Merge(serviceName: string): ServiceNameCollection;
115
116
  Merge(serviceNames: IEnumerable): ServiceNameCollection;
116
117
  }
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.Security.Authentication.ExtendedProtection/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { SafeHandleZeroOrMinusOneIsInvalid } from './Microsoft.Win32.SafeHandles/internal/index.js';
10
14
  import type { ArrayList, ICollection, IDictionary, IEnumerable, IEnumerator, ReadOnlyCollectionBase } from './System.Collections/internal/index.js';
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.Security.Authentication/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { IDictionary } from './System.Collections/internal/index.js';
10
14
  import type { MethodBase } from './System.Reflection/internal/index.js';