@tsonic/dotnet 10.0.1 → 10.0.2

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 (283) hide show
  1. package/Internal/bindings.json +5 -0
  2. package/Microsoft.CSharp.RuntimeBinder/bindings.json +71 -8
  3. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +2 -0
  4. package/Microsoft.VisualBasic/bindings.json +635 -68
  5. package/Microsoft.VisualBasic.CompilerServices/bindings.json +210 -0
  6. package/Microsoft.VisualBasic.FileIO/bindings.json +195 -24
  7. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +8 -3
  8. package/Microsoft.Win32/bindings.json +107 -24
  9. package/Microsoft.Win32.SafeHandles/bindings.json +769 -15
  10. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +123 -18
  11. package/System/bindings.json +11622 -2308
  12. package/System/internal/index.d.ts +165 -15
  13. package/System.Buffers/bindings.json +371 -62
  14. package/System.Buffers/internal/index.d.ts +25 -13
  15. package/System.Buffers.Binary/bindings.json +126 -0
  16. package/System.Buffers.Text/bindings.json +67 -0
  17. package/System.Buffers.Text/internal/index.d.ts +1 -1
  18. package/System.Buffers.Text.d.ts +1 -1
  19. package/System.Buffers.d.ts +1 -1
  20. package/System.CodeDom.Compiler/bindings.json +142 -4
  21. package/System.CodeDom.Compiler/internal/index.d.ts +10 -3
  22. package/System.CodeDom.Compiler.d.ts +1 -1
  23. package/System.Collections/bindings.json +1094 -69
  24. package/System.Collections/internal/index.d.ts +41 -3
  25. package/System.Collections.Concurrent/bindings.json +353 -90
  26. package/System.Collections.Concurrent/internal/index.d.ts +9 -2
  27. package/System.Collections.Frozen/bindings.json +158 -48
  28. package/System.Collections.Generic/bindings.json +1910 -634
  29. package/System.Collections.Generic/internal/index.d.ts +24 -9
  30. package/System.Collections.Immutable/bindings.json +1321 -292
  31. package/System.Collections.ObjectModel/bindings.json +1123 -199
  32. package/System.Collections.ObjectModel/internal/index.d.ts +46 -7
  33. package/System.Collections.ObjectModel.d.ts +3 -3
  34. package/System.Collections.Specialized/bindings.json +763 -58
  35. package/System.Collections.Specialized/internal/index.d.ts +15 -1
  36. package/System.ComponentModel/bindings.json +3590 -166
  37. package/System.ComponentModel/internal/index.d.ts +173 -27
  38. package/System.ComponentModel.DataAnnotations/bindings.json +743 -13
  39. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +152 -43
  40. package/System.ComponentModel.DataAnnotations.Schema/bindings.json +24 -4
  41. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +1 -1
  42. package/System.ComponentModel.DataAnnotations.Schema.d.ts +1 -1
  43. package/System.ComponentModel.DataAnnotations.d.ts +2 -2
  44. package/System.ComponentModel.Design/bindings.json +714 -40
  45. package/System.ComponentModel.Design/internal/index.d.ts +43 -12
  46. package/System.ComponentModel.Design.Serialization/bindings.json +261 -12
  47. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +17 -4
  48. package/System.ComponentModel.Design.d.ts +1 -1
  49. package/System.ComponentModel.d.ts +2 -2
  50. package/System.Configuration.Assemblies/bindings.json +19 -8
  51. package/System.Configuration.Assemblies/internal/index.d.ts +1 -1
  52. package/System.Configuration.Assemblies.d.ts +1 -1
  53. package/System.Data/bindings.json +3325 -302
  54. package/System.Data/internal/index.d.ts +145 -24
  55. package/System.Data.Common/bindings.json +3047 -241
  56. package/System.Data.Common/internal/index.d.ts +228 -55
  57. package/System.Data.Common.d.ts +3 -3
  58. package/System.Data.SqlTypes/bindings.json +754 -71
  59. package/System.Data.SqlTypes/internal/index.d.ts +1 -0
  60. package/System.Data.d.ts +3 -3
  61. package/System.Diagnostics/bindings.json +1737 -130
  62. package/System.Diagnostics/internal/index.d.ts +121 -41
  63. package/System.Diagnostics.CodeAnalysis/bindings.json +125 -4
  64. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +1 -1
  65. package/System.Diagnostics.CodeAnalysis.d.ts +1 -1
  66. package/System.Diagnostics.Contracts/bindings.json +68 -4
  67. package/System.Diagnostics.Metrics/bindings.json +565 -55
  68. package/System.Diagnostics.Metrics/internal/index.d.ts +49 -12
  69. package/System.Diagnostics.SymbolStore/bindings.json +106 -4
  70. package/System.Diagnostics.Tracing/bindings.json +979 -160
  71. package/System.Diagnostics.Tracing/internal/index.d.ts +37 -17
  72. package/System.Diagnostics.d.ts +2 -2
  73. package/System.Drawing/bindings.json +611 -4
  74. package/System.Drawing/internal/index.d.ts +1 -1
  75. package/System.Drawing.d.ts +1 -1
  76. package/System.Dynamic/bindings.json +346 -24
  77. package/System.Dynamic/internal/index.d.ts +13 -0
  78. package/System.Formats.Asn1/bindings.json +229 -12
  79. package/System.Formats.Asn1/internal/index.d.ts +1 -0
  80. package/System.Formats.Tar/bindings.json +120 -16
  81. package/System.Globalization/bindings.json +1088 -53
  82. package/System.Globalization/internal/index.d.ts +44 -7
  83. package/System.IO/bindings.json +2163 -110
  84. package/System.IO/internal/index.d.ts +119 -27
  85. package/System.IO.Compression/bindings.json +466 -38
  86. package/System.IO.Compression/internal/index.d.ts +36 -9
  87. package/System.IO.Compression.d.ts +2 -2
  88. package/System.IO.Enumeration/bindings.json +221 -22
  89. package/System.IO.Enumeration/internal/index.d.ts +15 -4
  90. package/System.IO.IsolatedStorage/bindings.json +250 -11
  91. package/System.IO.IsolatedStorage/internal/index.d.ts +18 -5
  92. package/System.IO.IsolatedStorage.d.ts +2 -2
  93. package/System.IO.MemoryMappedFiles/bindings.json +138 -16
  94. package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -8
  95. package/System.IO.MemoryMappedFiles.d.ts +4 -3
  96. package/System.IO.Pipelines/bindings.json +147 -3
  97. package/System.IO.Pipelines/internal/index.d.ts +15 -2
  98. package/System.IO.Pipes/bindings.json +889 -54
  99. package/System.IO.Pipes/internal/index.d.ts +64 -23
  100. package/System.IO.Pipes.d.ts +4 -3
  101. package/System.IO.d.ts +2 -2
  102. package/System.Linq/bindings.json +944 -79
  103. package/System.Linq.Expressions/bindings.json +1998 -57
  104. package/System.Linq.Expressions/internal/index.d.ts +207 -29
  105. package/System.Linq.Expressions.Interpreter/bindings.json +2 -0
  106. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +1 -1
  107. package/System.Linq.Expressions.Interpreter.d.ts +1 -1
  108. package/System.Linq.Expressions.d.ts +1 -1
  109. package/System.Net/bindings.json +2083 -248
  110. package/System.Net/internal/index.d.ts +102 -40
  111. package/System.Net.Cache/bindings.json +53 -12
  112. package/System.Net.Cache/internal/index.d.ts +1 -1
  113. package/System.Net.Cache.d.ts +1 -1
  114. package/System.Net.Http/bindings.json +2104 -105
  115. package/System.Net.Http/internal/index.d.ts +174 -31
  116. package/System.Net.Http.Headers/bindings.json +456 -24
  117. package/System.Net.Http.Headers/internal/index.d.ts +8 -2
  118. package/System.Net.Http.Json/bindings.json +171 -0
  119. package/System.Net.Http.Json/internal/index.d.ts +14 -2
  120. package/System.Net.Http.Metrics/bindings.json +5 -0
  121. package/System.Net.Mail/bindings.json +1127 -101
  122. package/System.Net.Mail/internal/index.d.ts +87 -16
  123. package/System.Net.Mime/bindings.json +82 -4
  124. package/System.Net.Mime/internal/index.d.ts +1 -1
  125. package/System.Net.Mime.d.ts +1 -1
  126. package/System.Net.NetworkInformation/bindings.json +857 -61
  127. package/System.Net.NetworkInformation/internal/index.d.ts +27 -5
  128. package/System.Net.NetworkInformation.d.ts +2 -2
  129. package/System.Net.Quic/bindings.json +157 -16
  130. package/System.Net.Quic/internal/index.d.ts +8 -3
  131. package/System.Net.Quic.d.ts +2 -2
  132. package/System.Net.Security/bindings.json +798 -37
  133. package/System.Net.Security/internal/index.d.ts +22 -5
  134. package/System.Net.Security.d.ts +2 -2
  135. package/System.Net.ServerSentEvents/bindings.json +31 -13
  136. package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
  137. package/System.Net.Sockets/bindings.json +1157 -78
  138. package/System.Net.Sockets/internal/index.d.ts +53 -21
  139. package/System.Net.Sockets.d.ts +2 -2
  140. package/System.Net.WebSockets/bindings.json +311 -26
  141. package/System.Net.WebSockets/internal/index.d.ts +12 -3
  142. package/System.Net.WebSockets.d.ts +2 -2
  143. package/System.Net.d.ts +2 -2
  144. package/System.Numerics/bindings.json +3546 -957
  145. package/System.Reflection/bindings.json +1913 -132
  146. package/System.Reflection/internal/index.d.ts +49 -5
  147. package/System.Reflection.Emit/bindings.json +2509 -57
  148. package/System.Reflection.Emit/internal/index.d.ts +158 -15
  149. package/System.Reflection.Emit.d.ts +1 -1
  150. package/System.Reflection.Metadata/bindings.json +1936 -231
  151. package/System.Reflection.Metadata/internal/index.d.ts +8 -1
  152. package/System.Reflection.Metadata.Ecma335/bindings.json +480 -24
  153. package/System.Reflection.PortableExecutable/bindings.json +583 -39
  154. package/System.Reflection.PortableExecutable/internal/index.d.ts +25 -3
  155. package/System.Resources/bindings.json +323 -17
  156. package/System.Resources/internal/index.d.ts +21 -5
  157. package/System.Resources.d.ts +1 -1
  158. package/System.Runtime/bindings.json +65 -8
  159. package/System.Runtime/internal/index.d.ts +6 -1
  160. package/System.Runtime.CompilerServices/bindings.json +718 -139
  161. package/System.Runtime.CompilerServices/internal/index.d.ts +3 -0
  162. package/System.Runtime.ConstrainedExecution/bindings.json +56 -10
  163. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +8 -2
  164. package/System.Runtime.ConstrainedExecution.d.ts +1 -1
  165. package/System.Runtime.ExceptionServices/bindings.json +11 -0
  166. package/System.Runtime.InteropServices/bindings.json +1858 -265
  167. package/System.Runtime.InteropServices/internal/index.d.ts +51 -11
  168. package/System.Runtime.InteropServices.ComTypes/bindings.json +478 -72
  169. package/System.Runtime.InteropServices.Java/bindings.json +12 -0
  170. package/System.Runtime.InteropServices.JavaScript/bindings.json +205 -30
  171. package/System.Runtime.InteropServices.Marshalling/bindings.json +484 -89
  172. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +22 -4
  173. package/System.Runtime.InteropServices.Marshalling.d.ts +2 -1
  174. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +19 -4
  175. package/System.Runtime.InteropServices.Swift/bindings.json +11 -3
  176. package/System.Runtime.InteropServices.d.ts +1 -1
  177. package/System.Runtime.Intrinsics/bindings.json +1296 -40
  178. package/System.Runtime.Intrinsics.Arm/bindings.json +4959 -8
  179. package/System.Runtime.Intrinsics.Wasm/bindings.json +484 -1
  180. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -0
  181. package/System.Runtime.Intrinsics.X86/bindings.json +3765 -8
  182. package/System.Runtime.Loader/bindings.json +130 -0
  183. package/System.Runtime.Loader/internal/index.d.ts +10 -1
  184. package/System.Runtime.Remoting/bindings.json +2 -0
  185. package/System.Runtime.Remoting/internal/index.d.ts +1 -1
  186. package/System.Runtime.Remoting.d.ts +1 -1
  187. package/System.Runtime.Serialization/bindings.json +920 -17
  188. package/System.Runtime.Serialization/internal/index.d.ts +36 -5
  189. package/System.Runtime.Serialization.DataContracts/bindings.json +85 -38
  190. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +27 -19
  191. package/System.Runtime.Serialization.Formatters/bindings.json +24 -12
  192. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +1 -1
  193. package/System.Runtime.Serialization.Formatters.Binary/bindings.json +15 -0
  194. package/System.Runtime.Serialization.Formatters.d.ts +1 -1
  195. package/System.Runtime.Serialization.Json/bindings.json +56 -0
  196. package/System.Runtime.Serialization.d.ts +2 -2
  197. package/System.Runtime.Versioning/bindings.json +62 -8
  198. package/System.Runtime.Versioning/internal/index.d.ts +1 -1
  199. package/System.Runtime.Versioning.d.ts +1 -1
  200. package/System.Security/bindings.json +265 -12
  201. package/System.Security/internal/index.d.ts +12 -1
  202. package/System.Security.AccessControl/bindings.json +4082 -797
  203. package/System.Security.AccessControl/internal/index.d.ts +131 -72
  204. package/System.Security.AccessControl.d.ts +2 -1
  205. package/System.Security.Authentication/bindings.json +80 -16
  206. package/System.Security.Authentication/internal/index.d.ts +2 -0
  207. package/System.Security.Authentication.ExtendedProtection/bindings.json +108 -13
  208. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -3
  209. package/System.Security.Authentication.ExtendedProtection.d.ts +2 -2
  210. package/System.Security.Claims/bindings.json +436 -0
  211. package/System.Security.Claims/internal/index.d.ts +34 -4
  212. package/System.Security.Claims.d.ts +2 -1
  213. package/System.Security.Cryptography/bindings.json +11592 -237
  214. package/System.Security.Cryptography/internal/index.d.ts +822 -102
  215. package/System.Security.Cryptography.X509Certificates/bindings.json +1000 -114
  216. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +36 -9
  217. package/System.Security.Cryptography.X509Certificates.d.ts +1 -1
  218. package/System.Security.Cryptography.d.ts +2 -2
  219. package/System.Security.Permissions/bindings.json +88 -14
  220. package/System.Security.Permissions/internal/index.d.ts +3 -1
  221. package/System.Security.Permissions.d.ts +1 -1
  222. package/System.Security.Policy/bindings.json +42 -1
  223. package/System.Security.Policy/internal/index.d.ts +1 -0
  224. package/System.Security.Principal/bindings.json +355 -28
  225. package/System.Security.Principal/internal/index.d.ts +11 -3
  226. package/System.Security.Principal.d.ts +1 -1
  227. package/System.Text/bindings.json +800 -31
  228. package/System.Text/internal/index.d.ts +10 -1
  229. package/System.Text.Encodings.Web/bindings.json +87 -4
  230. package/System.Text.Encodings.Web/internal/index.d.ts +4 -0
  231. package/System.Text.Json/bindings.json +574 -49
  232. package/System.Text.Json/internal/index.d.ts +12 -10
  233. package/System.Text.Json.Nodes/bindings.json +152 -19
  234. package/System.Text.Json.Nodes/internal/index.d.ts +1 -1
  235. package/System.Text.Json.Schema/bindings.json +10 -0
  236. package/System.Text.Json.Schema/internal/index.d.ts +1 -1
  237. package/System.Text.Json.Schema.d.ts +1 -1
  238. package/System.Text.Json.Serialization/bindings.json +295 -54
  239. package/System.Text.Json.Serialization/internal/index.d.ts +13 -1
  240. package/System.Text.Json.Serialization.Metadata/bindings.json +198 -24
  241. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +7 -4
  242. package/System.Text.RegularExpressions/bindings.json +1319 -103
  243. package/System.Text.RegularExpressions/internal/index.d.ts +25 -5
  244. package/System.Text.RegularExpressions.d.ts +1 -1
  245. package/System.Text.Unicode/bindings.json +185 -0
  246. package/System.Text.Unicode/internal/index.d.ts +1 -1
  247. package/System.Text.Unicode.d.ts +1 -1
  248. package/System.Threading/bindings.json +1270 -64
  249. package/System.Threading/internal/index.d.ts +104 -36
  250. package/System.Threading.Channels/bindings.json +143 -29
  251. package/System.Threading.Channels/internal/index.d.ts +8 -2
  252. package/System.Threading.Tasks/bindings.json +719 -29
  253. package/System.Threading.Tasks/internal/index.d.ts +25 -4
  254. package/System.Threading.Tasks.Dataflow/bindings.json +442 -143
  255. package/System.Threading.Tasks.Sources/bindings.json +34 -11
  256. package/System.Timers/bindings.json +50 -4
  257. package/System.Timers/internal/index.d.ts +9 -4
  258. package/System.Timers.d.ts +2 -2
  259. package/System.Transactions/bindings.json +269 -32
  260. package/System.Transactions/internal/index.d.ts +5 -0
  261. package/System.Web/bindings.json +32 -0
  262. package/System.Windows.Input/bindings.json +3 -0
  263. package/System.Windows.Markup/bindings.json +4 -0
  264. package/System.Windows.Markup/internal/index.d.ts +1 -1
  265. package/System.Windows.Markup.d.ts +1 -1
  266. package/System.Xml/bindings.json +2447 -210
  267. package/System.Xml/internal/index.d.ts +100 -30
  268. package/System.Xml.Linq/bindings.json +361 -24
  269. package/System.Xml.Resolvers/bindings.json +26 -4
  270. package/System.Xml.Schema/bindings.json +830 -56
  271. package/System.Xml.Schema/internal/index.d.ts +20 -1
  272. package/System.Xml.Serialization/bindings.json +4421 -149
  273. package/System.Xml.Serialization/internal/index.d.ts +74 -8
  274. package/System.Xml.Serialization.d.ts +4 -4
  275. package/System.Xml.XPath/bindings.json +287 -35
  276. package/System.Xml.XPath/internal/index.d.ts +4 -0
  277. package/System.Xml.Xsl/bindings.json +174 -8
  278. package/System.Xml.Xsl/internal/index.d.ts +8 -2
  279. package/System.Xml.Xsl.Runtime/bindings.json +613 -58
  280. package/System.Xml.Xsl.Runtime/internal/index.d.ts +19 -3
  281. package/System.Xml.Xsl.d.ts +1 -1
  282. package/System.d.ts +1 -1
  283. package/package.json +1 -1
@@ -23,9 +23,9 @@ import type { MethodBase } from "../../System.Reflection/internal/index.js";
23
23
  import * as System_Runtime_Serialization_Internal from "../../System.Runtime.Serialization/internal/index.js";
24
24
  import type { ISerializable, SerializationInfo, StreamingContext } from "../../System.Runtime.Serialization/internal/index.js";
25
25
  import type { Task, Task_1, ValueTask, ValueTask_1 } from "../../System.Threading.Tasks/internal/index.js";
26
- import type { CancellationToken } from "../../System.Threading/internal/index.js";
26
+ import type { CancellationToken, WaitHandle } from "../../System.Threading/internal/index.js";
27
27
  import * as System_Internal from "../../System/internal/index.js";
28
- import type { ArraySegment_1, AsyncCallback, Boolean as ClrBoolean, Byte, Enum, EventArgs, EventHandler_1, Exception, IAsyncDisposable, IAsyncResult, IComparable, IConvertible, IDisposable, IEquatable_1, IFormatProvider, IFormattable, Int16, Int32, Int64, IntPtr, ISpanFormattable, Memory_1, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, Span_1, String as ClrString, TimeSpan, Type, TypeCode, ValueType, Void } from "../../System/internal/index.js";
28
+ import type { ArraySegment_1, AsyncCallback, Boolean as ClrBoolean, Byte, Enum, EventArgs, EventHandler_1, Exception, IAsyncDisposable, IAsyncResult, IComparable, IConvertible, IDisposable, IEquatable_1, IFormatProvider, IFormattable, Int16, Int32, Int64, IntPtr, ISpanFormattable, MarshalByRefObject, Memory_1, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, Span_1, String as ClrString, TimeSpan, Type, TypeCode, ValueType, Void } from "../../System/internal/index.js";
29
29
 
30
30
  export enum AddressFamily {
31
31
  Unknown = -1,
@@ -494,7 +494,13 @@ export const MulticastOption: {
494
494
 
495
495
  export type MulticastOption = MulticastOption$instance;
496
496
 
497
- export interface NetworkStream$instance extends Stream {
497
+ export abstract class NetworkStream$protected {
498
+ protected Dispose2(disposing: boolean): void;
499
+ protected Finalize(): void;
500
+ }
501
+
502
+
503
+ export interface NetworkStream$instance extends NetworkStream$protected, Stream {
498
504
  readonly CanRead: boolean;
499
505
  readonly CanSeek: boolean;
500
506
  readonly CanTimeout: boolean;
@@ -554,7 +560,13 @@ export interface __NetworkStream$views {
554
560
  export type NetworkStream = NetworkStream$instance & __NetworkStream$views;
555
561
 
556
562
 
557
- export interface SafeSocketHandle$instance extends SafeHandleMinusOneIsInvalid {
563
+ export abstract class SafeSocketHandle$protected {
564
+ protected Dispose3(disposing: boolean): void;
565
+ protected ReleaseHandle(): boolean;
566
+ }
567
+
568
+
569
+ export interface SafeSocketHandle$instance extends SafeSocketHandle$protected, SafeHandleMinusOneIsInvalid {
558
570
  readonly IsInvalid: boolean;
559
571
  Dispose(): void;
560
572
  }
@@ -574,14 +586,16 @@ export type SafeSocketHandle = SafeSocketHandle$instance & __SafeSocketHandle$vi
574
586
 
575
587
 
576
588
  export interface SendPacketsElement$instance {
577
- readonly Buffer: byte[];
578
- readonly Count: int;
579
- readonly EndOfPacket: boolean;
580
- readonly FilePath: string | undefined;
581
- readonly FileStream: FileStream | undefined;
582
- readonly MemoryBuffer: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
589
+ Buffer: byte[];
590
+ Count: int;
591
+ EndOfPacket: boolean;
592
+ get FilePath(): string | undefined;
593
+ set FilePath(value: string);
594
+ get FileStream(): FileStream | undefined;
595
+ set FileStream(value: FileStream);
596
+ MemoryBuffer: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
583
597
  readonly Offset: int;
584
- readonly OffsetLong: long;
598
+ OffsetLong: long;
585
599
  }
586
600
 
587
601
 
@@ -604,7 +618,13 @@ export const SendPacketsElement: {
604
618
 
605
619
  export type SendPacketsElement = SendPacketsElement$instance;
606
620
 
607
- export interface Socket$instance {
621
+ export abstract class Socket$protected {
622
+ protected Dispose(disposing: boolean): void;
623
+ protected Finalize(): void;
624
+ }
625
+
626
+
627
+ export interface Socket$instance extends Socket$protected {
608
628
  readonly AddressFamily: AddressFamily;
609
629
  readonly Available: int;
610
630
  Blocking: boolean;
@@ -807,12 +827,16 @@ export interface __Socket$views {
807
827
  As_IDisposable(): System_Internal.IDisposable$instance;
808
828
  }
809
829
 
810
- export interface Socket$instance extends System_Internal.IDisposable$instance {}
811
-
812
830
  export type Socket = Socket$instance & __Socket$views;
813
831
 
814
832
 
815
- export interface SocketAsyncEventArgs$instance extends EventArgs {
833
+ export abstract class SocketAsyncEventArgs$protected {
834
+ protected Finalize(): void;
835
+ protected OnCompleted(e: SocketAsyncEventArgs): void;
836
+ }
837
+
838
+
839
+ export interface SocketAsyncEventArgs$instance extends SocketAsyncEventArgs$protected, EventArgs {
816
840
  get AcceptSocket(): Socket | undefined;
817
841
  set AcceptSocket(value: Socket);
818
842
  readonly Buffer: byte[];
@@ -869,6 +893,7 @@ export interface SocketException$instance extends Win32Exception {
869
893
  export const SocketException: {
870
894
  new(errorCode: int): SocketException;
871
895
  new(errorCode: int, message: string): SocketException;
896
+ new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): SocketException;
872
897
  new(): SocketException;
873
898
  };
874
899
 
@@ -880,7 +905,13 @@ export interface __SocketException$views {
880
905
  export type SocketException = SocketException$instance & __SocketException$views;
881
906
 
882
907
 
883
- export interface TcpClient$instance {
908
+ export abstract class TcpClient$protected {
909
+ protected Dispose(disposing: boolean): void;
910
+ protected Finalize(): void;
911
+ }
912
+
913
+
914
+ export interface TcpClient$instance extends TcpClient$protected {
884
915
  readonly Available: int;
885
916
  Client: Socket;
886
917
  readonly Connected: boolean;
@@ -926,8 +957,6 @@ export interface __TcpClient$views {
926
957
  As_IDisposable(): System_Internal.IDisposable$instance;
927
958
  }
928
959
 
929
- export interface TcpClient$instance extends System_Internal.IDisposable$instance {}
930
-
931
960
  export type TcpClient = TcpClient$instance & __TcpClient$views;
932
961
 
933
962
 
@@ -971,7 +1000,12 @@ export interface TcpListener$instance extends System_Internal.IDisposable$instan
971
1000
  export type TcpListener = TcpListener$instance & __TcpListener$views;
972
1001
 
973
1002
 
974
- export interface UdpClient$instance {
1003
+ export abstract class UdpClient$protected {
1004
+ protected Dispose(disposing: boolean): void;
1005
+ }
1006
+
1007
+
1008
+ export interface UdpClient$instance extends UdpClient$protected {
975
1009
  readonly Available: int;
976
1010
  Client: Socket;
977
1011
  DontFragment: boolean;
@@ -1029,8 +1063,6 @@ export interface __UdpClient$views {
1029
1063
  As_IDisposable(): System_Internal.IDisposable$instance;
1030
1064
  }
1031
1065
 
1032
- export interface UdpClient$instance extends System_Internal.IDisposable$instance {}
1033
-
1034
1066
  export type UdpClient = UdpClient$instance & __UdpClient$views;
1035
1067
 
1036
1068
 
@@ -15,8 +15,8 @@ import type { EndPoint, IPAddress, IPEndPoint, SocketAddress } from './System.Ne
15
15
  import type { MethodBase } from './System.Reflection/internal/index.js';
16
16
  import type { ISerializable, SerializationInfo, StreamingContext } from './System.Runtime.Serialization/internal/index.js';
17
17
  import type { Task, Task_1, ValueTask, ValueTask_1 } from './System.Threading.Tasks/internal/index.js';
18
- import type { CancellationToken } from './System.Threading/internal/index.js';
19
- import type { ArraySegment_1, AsyncCallback, Boolean as ClrBoolean, Byte, Enum, EventArgs, EventHandler_1, Exception, IAsyncDisposable, IAsyncResult, IComparable, IConvertible, IDisposable, IEquatable_1, IFormatProvider, IFormattable, Int16, Int32, Int64, IntPtr, ISpanFormattable, Memory_1, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, Span_1, String as ClrString, TimeSpan, Type, TypeCode, ValueType, Void } from './System/internal/index.js';
18
+ import type { CancellationToken, WaitHandle } from './System.Threading/internal/index.js';
19
+ import type { ArraySegment_1, AsyncCallback, Boolean as ClrBoolean, Byte, Enum, EventArgs, EventHandler_1, Exception, IAsyncDisposable, IAsyncResult, IComparable, IConvertible, IDisposable, IEquatable_1, IFormatProvider, IFormattable, Int16, Int32, Int64, IntPtr, ISpanFormattable, MarshalByRefObject, Memory_1, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, Span_1, String as ClrString, TimeSpan, Type, TypeCode, ValueType, Void } from './System/internal/index.js';
20
20
 
21
21
  // Public API exports (curated - no internal $instance/$views leakage)
22
22
  export { SocketException as SocketException } from './System.Net.Sockets/internal/index.js';