@tsonic/dotnet 0.5.2 → 0.6.0

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 (195) hide show
  1. package/Internal/internal/index.d.ts +5 -5
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
  3. package/Microsoft.VisualBasic/bindings.json +28 -28
  4. package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
  5. package/Microsoft.VisualBasic/internal/metadata.json +14 -14
  6. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
  7. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
  8. package/Microsoft.Win32/internal/index.d.ts +16 -14
  9. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
  10. package/README.md +39 -0
  11. package/System/bindings.json +138 -138
  12. package/System/internal/index.d.ts +4165 -3967
  13. package/System/internal/metadata.json +81 -487
  14. package/System.Buffers/internal/index.d.ts +60 -50
  15. package/System.Buffers.Binary/internal/index.d.ts +126 -126
  16. package/System.Buffers.Text/internal/index.d.ts +67 -67
  17. package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
  18. package/System.Collections/internal/index.d.ts +199 -179
  19. package/System.Collections.Concurrent/internal/index.d.ts +61 -59
  20. package/System.Collections.Frozen/internal/index.d.ts +29 -29
  21. package/System.Collections.Frozen/internal/metadata.json +2 -16
  22. package/System.Collections.Generic/index.d.ts +1 -1
  23. package/System.Collections.Generic/internal/index.d.ts +382 -354
  24. package/System.Collections.Generic/internal/metadata.json +5 -54
  25. package/System.Collections.Immutable/internal/index.d.ts +321 -319
  26. package/System.Collections.Immutable/internal/metadata.json +5 -40
  27. package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
  28. package/System.Collections.ObjectModel/internal/metadata.json +1 -36
  29. package/System.Collections.Specialized/internal/index.d.ts +104 -96
  30. package/System.ComponentModel/internal/index.d.ts +661 -631
  31. package/System.ComponentModel/internal/metadata.json +0 -7
  32. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
  33. package/System.ComponentModel.Design/bindings.json +2 -2
  34. package/System.ComponentModel.Design/internal/index.d.ts +207 -193
  35. package/System.ComponentModel.Design/internal/metadata.json +1 -1
  36. package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
  37. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
  38. package/System.Configuration.Assemblies/bindings.json +10 -10
  39. package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
  40. package/System.Configuration.Assemblies/internal/metadata.json +5 -5
  41. package/System.Data/internal/index.d.ts +481 -453
  42. package/System.Data.Common/internal/index.d.ts +149 -121
  43. package/System.Data.SqlTypes/bindings.json +2 -2
  44. package/System.Data.SqlTypes/internal/index.d.ts +331 -299
  45. package/System.Data.SqlTypes/internal/metadata.json +1 -1
  46. package/System.Diagnostics/bindings.json +6 -6
  47. package/System.Diagnostics/internal/index.d.ts +333 -313
  48. package/System.Diagnostics/internal/metadata.json +3 -10
  49. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
  50. package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
  51. package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
  52. package/System.Diagnostics.SymbolStore/bindings.json +6 -6
  53. package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
  54. package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
  55. package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
  56. package/System.Drawing/bindings.json +24 -24
  57. package/System.Drawing/internal/index.d.ts +281 -281
  58. package/System.Drawing/internal/metadata.json +12 -12
  59. package/System.Dynamic/internal/index.d.ts +46 -42
  60. package/System.Formats.Asn1/bindings.json +12 -12
  61. package/System.Formats.Asn1/internal/index.d.ts +50 -48
  62. package/System.Formats.Asn1/internal/metadata.json +6 -6
  63. package/System.Formats.Tar/bindings.json +2 -2
  64. package/System.Formats.Tar/internal/index.d.ts +17 -13
  65. package/System.Formats.Tar/internal/metadata.json +1 -1
  66. package/System.Globalization/bindings.json +8 -8
  67. package/System.Globalization/internal/index.d.ts +177 -163
  68. package/System.Globalization/internal/metadata.json +4 -4
  69. package/System.IO/internal/index.d.ts +457 -439
  70. package/System.IO.Compression/internal/index.d.ts +78 -72
  71. package/System.IO.Enumeration/internal/index.d.ts +22 -22
  72. package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
  73. package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
  74. package/System.IO.Pipelines/internal/index.d.ts +15 -13
  75. package/System.IO.Pipes/internal/index.d.ts +23 -23
  76. package/System.Linq/internal/index.d.ts +853 -845
  77. package/System.Linq/internal/metadata.json +0 -17
  78. package/System.Linq.Expressions/internal/index.d.ts +354 -340
  79. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  80. package/System.Net/bindings.json +2 -2
  81. package/System.Net/internal/index.d.ts +351 -317
  82. package/System.Net/internal/metadata.json +1 -1
  83. package/System.Net.Http/internal/index.d.ts +64 -54
  84. package/System.Net.Http.Headers/bindings.json +2 -2
  85. package/System.Net.Http.Headers/internal/index.d.ts +139 -99
  86. package/System.Net.Http.Headers/internal/metadata.json +1 -1
  87. package/System.Net.Http.Json/internal/index.d.ts +63 -63
  88. package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
  89. package/System.Net.Mail/bindings.json +2 -2
  90. package/System.Net.Mail/internal/index.d.ts +90 -78
  91. package/System.Net.Mail/internal/metadata.json +4 -32
  92. package/System.Net.Mime/internal/index.d.ts +51 -51
  93. package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
  94. package/System.Net.Quic/internal/index.d.ts +15 -11
  95. package/System.Net.Security/bindings.json +674 -674
  96. package/System.Net.Security/internal/index.d.ts +396 -394
  97. package/System.Net.Security/internal/metadata.json +337 -337
  98. package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
  99. package/System.Net.Sockets/bindings.json +10 -10
  100. package/System.Net.Sockets/internal/index.d.ts +100 -90
  101. package/System.Net.Sockets/internal/metadata.json +5 -5
  102. package/System.Net.WebSockets/internal/index.d.ts +21 -19
  103. package/System.Numerics/bindings.json +110 -110
  104. package/System.Numerics/internal/index.d.ts +1057 -1039
  105. package/System.Numerics/internal/metadata.json +55 -89
  106. package/System.Reflection/bindings.json +25 -25
  107. package/System.Reflection/internal/index.d.ts +336 -316
  108. package/System.Reflection/internal/metadata.json +12 -12
  109. package/System.Reflection.Emit/bindings.json +307 -307
  110. package/System.Reflection.Emit/internal/index.d.ts +242 -236
  111. package/System.Reflection.Emit/internal/metadata.json +152 -152
  112. package/System.Reflection.Metadata/bindings.json +272 -272
  113. package/System.Reflection.Metadata/internal/index.d.ts +448 -438
  114. package/System.Reflection.Metadata/internal/metadata.json +164 -360
  115. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
  116. package/System.Reflection.PortableExecutable/bindings.json +26 -26
  117. package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
  118. package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
  119. package/System.Resources/internal/index.d.ts +30 -24
  120. package/System.Runtime/internal/index.d.ts +20 -16
  121. package/System.Runtime.CompilerServices/bindings.json +4 -4
  122. package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
  123. package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
  124. package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
  125. package/System.Runtime.InteropServices/bindings.json +146 -146
  126. package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
  127. package/System.Runtime.InteropServices/internal/metadata.json +73 -130
  128. package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
  129. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
  130. package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
  131. package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
  132. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
  133. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
  134. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
  135. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
  136. package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
  137. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
  138. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
  139. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
  140. package/System.Runtime.Loader/internal/index.d.ts +9 -7
  141. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  142. package/System.Runtime.Serialization/internal/index.d.ts +179 -171
  143. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
  144. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  145. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
  146. package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
  147. package/System.Runtime.Versioning/internal/index.d.ts +4 -4
  148. package/System.Security/internal/index.d.ts +45 -39
  149. package/System.Security.AccessControl/internal/index.d.ts +28 -26
  150. package/System.Security.Authentication/internal/index.d.ts +2 -2
  151. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
  152. package/System.Security.Claims/internal/index.d.ts +94 -90
  153. package/System.Security.Cryptography/bindings.json +111 -111
  154. package/System.Security.Cryptography/internal/index.d.ts +842 -794
  155. package/System.Security.Cryptography/internal/metadata.json +52 -59
  156. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
  157. package/System.Security.Policy/internal/index.d.ts +6 -6
  158. package/System.Security.Principal/internal/index.d.ts +36 -30
  159. package/System.Text/bindings.json +28 -28
  160. package/System.Text/internal/index.d.ts +325 -319
  161. package/System.Text/internal/metadata.json +4 -4
  162. package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
  163. package/System.Text.Json/internal/index.d.ts +184 -180
  164. package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
  165. package/System.Text.Json.Schema/internal/index.d.ts +3 -3
  166. package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
  167. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
  168. package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
  169. package/System.Text.RegularExpressions/internal/metadata.json +5 -40
  170. package/System.Text.Unicode/internal/index.d.ts +171 -171
  171. package/System.Threading/bindings.json +4 -4
  172. package/System.Threading/internal/index.d.ts +411 -377
  173. package/System.Threading/internal/metadata.json +2 -2
  174. package/System.Threading.Channels/internal/index.d.ts +8 -8
  175. package/System.Threading.Tasks/internal/index.d.ts +209 -205
  176. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
  177. package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
  178. package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
  179. package/System.Timers/internal/index.d.ts +11 -9
  180. package/System.Transactions/internal/index.d.ts +83 -67
  181. package/System.Web/internal/index.d.ts +31 -31
  182. package/System.Windows.Input/internal/index.d.ts +2 -2
  183. package/System.Xml/bindings.json +35 -35
  184. package/System.Xml/internal/index.d.ts +343 -325
  185. package/System.Xml/internal/metadata.json +17 -17
  186. package/System.Xml.Linq/internal/index.d.ts +122 -110
  187. package/System.Xml.Resolvers/internal/index.d.ts +3 -3
  188. package/System.Xml.Schema/internal/index.d.ts +71 -71
  189. package/System.Xml.Serialization/internal/index.d.ts +120 -120
  190. package/System.Xml.XPath/internal/index.d.ts +40 -34
  191. package/System.Xml.Xsl/internal/index.d.ts +27 -27
  192. package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
  193. package/__internal/extensions/index.d.ts +2294 -0
  194. package/package.json +1 -1
  195. package/internal/extensions/index.d.ts +0 -2280
@@ -54,9 +54,9 @@ export class SseItem_1$instance<T> {
54
54
  export type SseItem_1<T> = SseItem_1$instance<T>;
55
55
 
56
56
  export class SseItemParser_1$instance<T> extends Function {
57
- constructor(object_: any, method: nint);
58
- beginInvoke(eventType: string, data: ReadOnlySpan_1<CLROf<byte>>, callback: AsyncCallback, object_: any): IAsyncResult;
59
- clone(): any;
57
+ constructor(object_: unknown, method: nint);
58
+ beginInvoke(eventType: string, data: ReadOnlySpan_1<CLROf<byte>>, callback: AsyncCallback, object_: unknown): IAsyncResult;
59
+ clone(): unknown;
60
60
  endInvoke(result: IAsyncResult): T;
61
61
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
62
62
  invoke(eventType: string, data: ReadOnlySpan_1<CLROf<byte>>): T;
@@ -64,8 +64,8 @@ export class SseItemParser_1$instance<T> extends Function {
64
64
 
65
65
 
66
66
  export interface __SseItemParser_1$views<T> {
67
- readonly As_ICloneable: System_Internal.ICloneable$instance;
68
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
67
+ As_ICloneable(): System_Internal.ICloneable$instance;
68
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
69
69
  }
70
70
 
71
71
  export type SseItemParser_1<T> = SseItemParser_1$instance<T> & __SseItemParser_1$views<T>;
@@ -82,17 +82,17 @@ export class SseParser_1$instance<T> {
82
82
  export type SseParser_1<T> = SseParser_1$instance<T>;
83
83
 
84
84
  export abstract class SseFormatter$instance {
85
- static WriteAsync<T>(source: IAsyncEnumerable_1<SseItem_1<T>>, destination: Stream, itemFormatter: Action_2<SseItem_1<T>, IBufferWriter_1<CLROf<byte>>>, cancellationToken?: CancellationToken): Task;
86
- static WriteAsync(source: IAsyncEnumerable_1<SseItem_1<CLROf<string>>>, destination: Stream, cancellationToken?: CancellationToken): Task;
85
+ static writeAsync2<T>(source: IAsyncEnumerable_1<SseItem_1<T>>, destination: Stream, itemFormatter: Action_2<SseItem_1<T>, IBufferWriter_1<CLROf<byte>>>, cancellationToken?: CancellationToken): Task;
86
+ static writeAsync2(source: IAsyncEnumerable_1<SseItem_1<CLROf<string>>>, destination: Stream, cancellationToken?: CancellationToken): Task;
87
87
  }
88
88
 
89
89
 
90
90
  export type SseFormatter = SseFormatter$instance;
91
91
 
92
92
  export abstract class SseParser$instance {
93
- static readonly EventTypeDefault: string;
94
- static Create<T>(sseStream: Stream, itemParser: SseItemParser_1<T>): SseParser_1<T>;
95
- static Create(sseStream: Stream): SseParser_1<CLROf<string>>;
93
+ static readonly eventTypeDefault: string;
94
+ static create2<T>(sseStream: Stream, itemParser: SseItemParser_1<T>): SseParser_1<T>;
95
+ static create2(sseStream: Stream): SseParser_1<CLROf<string>>;
96
96
  }
97
97
 
98
98
 
@@ -101,7 +101,7 @@
101
101
  {
102
102
  "stableId": "System.Net.Primitives:System.Net.Sockets.AddressFamily::NSSystem.Net.Sockets.AddressFamily",
103
103
  "clrName": "NS",
104
- "tsEmitName": "ns",
104
+ "tsEmitName": "NS",
105
105
  "metadataToken": 67109258,
106
106
  "normalizedSignature": "NS|System.Net.Sockets.AddressFamily|static=true|const=true",
107
107
  "isStatic": true,
@@ -1171,7 +1171,7 @@
1171
1171
  }
1172
1172
  },
1173
1173
  {
1174
- "tsName": "ns",
1174
+ "tsName": "NS",
1175
1175
  "isStatic": true,
1176
1176
  "tsSignatureId": "NS|System.Net.Sockets.AddressFamily|static=true|const=true",
1177
1177
  "target": {
@@ -3806,7 +3806,7 @@
3806
3806
  {
3807
3807
  "stableId": "System.Net.Sockets:System.Net.Sockets.ProtocolFamily::NSSystem.Net.Sockets.ProtocolFamily",
3808
3808
  "clrName": "NS",
3809
- "tsEmitName": "ns",
3809
+ "tsEmitName": "NS",
3810
3810
  "metadataToken": 67109442,
3811
3811
  "normalizedSignature": "NS|System.Net.Sockets.ProtocolFamily|static=true|const=true",
3812
3812
  "isStatic": true,
@@ -4876,7 +4876,7 @@
4876
4876
  }
4877
4877
  },
4878
4878
  {
4879
- "tsName": "ns",
4879
+ "tsName": "NS",
4880
4880
  "isStatic": true,
4881
4881
  "tsSignatureId": "NS|System.Net.Sockets.ProtocolFamily|static=true|const=true",
4882
4882
  "target": {
@@ -5160,7 +5160,7 @@
5160
5160
  {
5161
5161
  "stableId": "System.Net.Sockets:System.Net.Sockets.ProtocolType::IPSystem.Net.Sockets.ProtocolType",
5162
5162
  "clrName": "IP",
5163
- "tsEmitName": "ip",
5163
+ "tsEmitName": "IP",
5164
5164
  "metadataToken": 67109469,
5165
5165
  "normalizedSignature": "IP|System.Net.Sockets.ProtocolType|static=true|const=true",
5166
5166
  "isStatic": true,
@@ -5358,7 +5358,7 @@
5358
5358
  {
5359
5359
  "stableId": "System.Net.Sockets:System.Net.Sockets.ProtocolType::NDSystem.Net.Sockets.ProtocolType",
5360
5360
  "clrName": "ND",
5361
- "tsEmitName": "nd",
5361
+ "tsEmitName": "ND",
5362
5362
  "metadataToken": 67109487,
5363
5363
  "normalizedSignature": "ND|System.Net.Sockets.ProtocolType|static=true|const=true",
5364
5364
  "isStatic": true,
@@ -6149,7 +6149,7 @@
6149
6149
  }
6150
6150
  },
6151
6151
  {
6152
- "tsName": "ip",
6152
+ "tsName": "IP",
6153
6153
  "isStatic": true,
6154
6154
  "tsSignatureId": "IP|System.Net.Sockets.ProtocolType|static=true|const=true",
6155
6155
  "target": {
@@ -6329,7 +6329,7 @@
6329
6329
  }
6330
6330
  },
6331
6331
  {
6332
- "tsName": "nd",
6332
+ "tsName": "ND",
6333
6333
  "isStatic": true,
6334
6334
  "tsSignatureId": "ND|System.Net.Sockets.ProtocolType|static=true|const=true",
6335
6335
  "target": {
@@ -11657,7 +11657,7 @@
11657
11657
  {
11658
11658
  "stableId": "System.Net.Sockets:System.Net.Sockets.SocketOptionLevel::IPSystem.Net.Sockets.SocketOptionLevel",
11659
11659
  "clrName": "IP",
11660
- "tsEmitName": "ip",
11660
+ "tsEmitName": "IP",
11661
11661
  "metadataToken": 67109320,
11662
11662
  "normalizedSignature": "IP|System.Net.Sockets.SocketOptionLevel|static=true|const=true",
11663
11663
  "isStatic": true,
@@ -12425,7 +12425,7 @@
12425
12425
  }
12426
12426
  },
12427
12427
  {
12428
- "tsName": "ip",
12428
+ "tsName": "IP",
12429
12429
  "isStatic": true,
12430
12430
  "tsSignatureId": "IP|System.Net.Sockets.SocketOptionLevel|static=true|const=true",
12431
12431
  "target": {
@@ -60,7 +60,7 @@ export enum AddressFamily {
60
60
  impLink = 3,
61
61
  pup = 4,
62
62
  chaos = 5,
63
- ns = 6,
63
+ NS = 6,
64
64
  ipx = 6,
65
65
  iso = 7,
66
66
  osi = 7,
@@ -143,7 +143,7 @@ export enum ProtocolFamily {
143
143
  impLink = 3,
144
144
  pup = 4,
145
145
  chaos = 5,
146
- ns = 6,
146
+ NS = 6,
147
147
  ipx = 6,
148
148
  iso = 7,
149
149
  osi = 7,
@@ -173,7 +173,7 @@ export enum ProtocolFamily {
173
173
 
174
174
 
175
175
  export enum ProtocolType {
176
- ip = 0,
176
+ IP = 0,
177
177
  iPv6HopByHopOptions = 0,
178
178
  icmp = 1,
179
179
  igmp = 2,
@@ -191,7 +191,7 @@ export enum ProtocolType {
191
191
  icmpV6 = 58,
192
192
  iPv6NoNextHeader = 59,
193
193
  iPv6DestinationOptions = 60,
194
- nd = 77,
194
+ ND = 77,
195
195
  raw = 255,
196
196
  unspecified = 0,
197
197
  ipx = 1000,
@@ -296,7 +296,7 @@ export enum SocketInformationOptions {
296
296
 
297
297
  export enum SocketOptionLevel {
298
298
  socket = 65535,
299
- ip = 0,
299
+ IP = 0,
300
300
  iPv6 = 41,
301
301
  tcp = 6,
302
302
  udp = 17
@@ -387,14 +387,14 @@ export enum TransmitFileOptions {
387
387
  export class IPPacketInformation$instance {
388
388
  readonly address: IPAddress;
389
389
  readonly interface_: int;
390
- equals(comparand: any): boolean;
390
+ equals(comparand: unknown): boolean;
391
391
  equals(other: IPPacketInformation): boolean;
392
392
  getHashCode(): int;
393
393
  }
394
394
 
395
395
 
396
396
  export interface __IPPacketInformation$views {
397
- readonly As_IEquatable_1_of_ConsoleKeyInfo: System_Internal.IEquatable_1$instance<IPPacketInformation>;
397
+ As_IEquatable_1(): System_Internal.IEquatable_1$instance<IPPacketInformation>;
398
398
 
399
399
  // Structural method bridges for numeric interface constraints
400
400
  Equals(other: IPPacketInformation): boolean;
@@ -412,18 +412,18 @@ export class SocketInformation$instance {
412
412
  export type SocketInformation = SocketInformation$instance;
413
413
 
414
414
  export class SocketReceiveFromResult$instance {
415
- ReceivedBytes: int;
416
- RemoteEndPoint: EndPoint;
415
+ receivedBytes: int;
416
+ remoteEndPoint: EndPoint;
417
417
  }
418
418
 
419
419
 
420
420
  export type SocketReceiveFromResult = SocketReceiveFromResult$instance;
421
421
 
422
422
  export class SocketReceiveMessageFromResult$instance {
423
- ReceivedBytes: int;
424
- SocketFlags: SocketFlags;
425
- RemoteEndPoint: EndPoint;
426
- PacketInformation: IPPacketInformation;
423
+ receivedBytes: int;
424
+ socketFlags: SocketFlags;
425
+ remoteEndPoint: EndPoint;
426
+ packetInformation: IPPacketInformation;
427
427
  }
428
428
 
429
429
 
@@ -433,14 +433,14 @@ export class UdpReceiveResult$instance {
433
433
  constructor(buffer: byte[], remoteEndPoint: IPEndPoint);
434
434
  readonly buffer: byte[];
435
435
  readonly remoteEndPoint: IPEndPoint;
436
- equals(obj: any): boolean;
436
+ equals(obj: unknown): boolean;
437
437
  equals(other: UdpReceiveResult): boolean;
438
438
  getHashCode(): int;
439
439
  }
440
440
 
441
441
 
442
442
  export interface __UdpReceiveResult$views {
443
- readonly As_IEquatable_1_of_ConsoleKeyInfo: System_Internal.IEquatable_1$instance<UdpReceiveResult>;
443
+ As_IEquatable_1(): System_Internal.IEquatable_1$instance<UdpReceiveResult>;
444
444
 
445
445
  // Structural method bridges for numeric interface constraints
446
446
  Equals(other: UdpReceiveResult): boolean;
@@ -463,7 +463,7 @@ export class LingerOption$instance {
463
463
  constructor(enable: boolean, seconds: int);
464
464
  enabled: boolean;
465
465
  lingerTime: int;
466
- equals(comparand: any): boolean;
466
+ equals(comparand: unknown): boolean;
467
467
  getHashCode(): int;
468
468
  }
469
469
 
@@ -497,8 +497,8 @@ export class NetworkStream$instance extends System_IO_Internal.Stream$instance {
497
497
  readTimeout: int;
498
498
  readonly socket: Socket;
499
499
  writeTimeout: int;
500
- beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: any): IAsyncResult;
501
- beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: any): IAsyncResult;
500
+ beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
501
+ beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
502
502
  close(): void;
503
503
  dispose(): void;
504
504
  disposeAsync(): ValueTask;
@@ -530,8 +530,8 @@ export class NetworkStream$instance extends System_IO_Internal.Stream$instance {
530
530
 
531
531
 
532
532
  export interface __NetworkStream$views {
533
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
534
- readonly As_IDisposable: System_Internal.IDisposable$instance;
533
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
534
+ As_IDisposable(): System_Internal.IDisposable$instance;
535
535
  }
536
536
 
537
537
  export type NetworkStream = NetworkStream$instance & __NetworkStream$views;
@@ -546,7 +546,7 @@ export class SafeSocketHandle$instance extends Microsoft_Win32_SafeHandles_Inter
546
546
 
547
547
 
548
548
  export interface __SafeSocketHandle$views {
549
- readonly As_IDisposable: System_Internal.IDisposable$instance;
549
+ As_IDisposable(): System_Internal.IDisposable$instance;
550
550
  }
551
551
 
552
552
  export type SafeSocketHandle = SafeSocketHandle$instance & __SafeSocketHandle$views;
@@ -614,27 +614,27 @@ export class Socket$instance {
614
614
  acceptAsync(cancellationToken: CancellationToken): ValueTask_1<Socket>;
615
615
  acceptAsync(acceptSocket: Socket): Task_1<Socket>;
616
616
  acceptAsync(acceptSocket: Socket, cancellationToken: CancellationToken): ValueTask_1<Socket>;
617
- beginAccept(callback: AsyncCallback, state: any): IAsyncResult;
618
- beginAccept(receiveSize: int, callback: AsyncCallback, state: any): IAsyncResult;
619
- beginAccept(acceptSocket: Socket, receiveSize: int, callback: AsyncCallback, state: any): IAsyncResult;
620
- beginConnect(remoteEP: EndPoint, callback: AsyncCallback, state: any): IAsyncResult;
621
- beginConnect(host: string, port: int, requestCallback: AsyncCallback, state: any): IAsyncResult;
622
- beginConnect(address: IPAddress, port: int, requestCallback: AsyncCallback, state: any): IAsyncResult;
623
- beginConnect(addresses: IPAddress[], port: int, requestCallback: AsyncCallback, state: any): IAsyncResult;
624
- beginDisconnect(reuseSocket: boolean, callback: AsyncCallback, state: any): IAsyncResult;
625
- beginReceive(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, callback: AsyncCallback, state: any): IAsyncResult;
626
- beginReceive(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, errorCode: { value: ref<SocketError> }, callback: AsyncCallback, state: any): IAsyncResult;
627
- beginReceive(buffers: IList_1<ArraySegment_1<CLROf<byte>>>, socketFlags: SocketFlags, callback: AsyncCallback, state: any): IAsyncResult;
628
- beginReceive(buffers: IList_1<ArraySegment_1<CLROf<byte>>>, socketFlags: SocketFlags, errorCode: { value: ref<SocketError> }, callback: AsyncCallback, state: any): IAsyncResult;
629
- beginReceiveFrom(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: { value: ref<EndPoint> }, callback: AsyncCallback, state: any): IAsyncResult;
630
- beginReceiveMessageFrom(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: { value: ref<EndPoint> }, callback: AsyncCallback, state: any): IAsyncResult;
631
- beginSend(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, callback: AsyncCallback, state: any): IAsyncResult;
632
- beginSend(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, errorCode: { value: ref<SocketError> }, callback: AsyncCallback, state: any): IAsyncResult;
633
- beginSend(buffers: IList_1<ArraySegment_1<CLROf<byte>>>, socketFlags: SocketFlags, callback: AsyncCallback, state: any): IAsyncResult;
634
- beginSend(buffers: IList_1<ArraySegment_1<CLROf<byte>>>, socketFlags: SocketFlags, errorCode: { value: ref<SocketError> }, callback: AsyncCallback, state: any): IAsyncResult;
635
- beginSendFile(fileName: string, callback: AsyncCallback, state: any): IAsyncResult;
636
- beginSendFile(fileName: string, preBuffer: byte[], postBuffer: byte[], flags: TransmitFileOptions, callback: AsyncCallback, state: any): IAsyncResult;
637
- beginSendTo(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: EndPoint, callback: AsyncCallback, state: any): IAsyncResult;
617
+ beginAccept(callback: AsyncCallback, state: unknown): IAsyncResult;
618
+ beginAccept(receiveSize: int, callback: AsyncCallback, state: unknown): IAsyncResult;
619
+ beginAccept(acceptSocket: Socket, receiveSize: int, callback: AsyncCallback, state: unknown): IAsyncResult;
620
+ beginConnect(remoteEP: EndPoint, callback: AsyncCallback, state: unknown): IAsyncResult;
621
+ beginConnect(host: string, port: int, requestCallback: AsyncCallback, state: unknown): IAsyncResult;
622
+ beginConnect(address: IPAddress, port: int, requestCallback: AsyncCallback, state: unknown): IAsyncResult;
623
+ beginConnect(addresses: IPAddress[], port: int, requestCallback: AsyncCallback, state: unknown): IAsyncResult;
624
+ beginDisconnect(reuseSocket: boolean, callback: AsyncCallback, state: unknown): IAsyncResult;
625
+ beginReceive(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, callback: AsyncCallback, state: unknown): IAsyncResult;
626
+ beginReceive(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, errorCode: { value: ref<SocketError> }, callback: AsyncCallback, state: unknown): IAsyncResult;
627
+ beginReceive(buffers: IList_1<ArraySegment_1<CLROf<byte>>>, socketFlags: SocketFlags, callback: AsyncCallback, state: unknown): IAsyncResult;
628
+ beginReceive(buffers: IList_1<ArraySegment_1<CLROf<byte>>>, socketFlags: SocketFlags, errorCode: { value: ref<SocketError> }, callback: AsyncCallback, state: unknown): IAsyncResult;
629
+ beginReceiveFrom(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: { value: ref<EndPoint> }, callback: AsyncCallback, state: unknown): IAsyncResult;
630
+ beginReceiveMessageFrom(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: { value: ref<EndPoint> }, callback: AsyncCallback, state: unknown): IAsyncResult;
631
+ beginSend(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, callback: AsyncCallback, state: unknown): IAsyncResult;
632
+ beginSend(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, errorCode: { value: ref<SocketError> }, callback: AsyncCallback, state: unknown): IAsyncResult;
633
+ beginSend(buffers: IList_1<ArraySegment_1<CLROf<byte>>>, socketFlags: SocketFlags, callback: AsyncCallback, state: unknown): IAsyncResult;
634
+ beginSend(buffers: IList_1<ArraySegment_1<CLROf<byte>>>, socketFlags: SocketFlags, errorCode: { value: ref<SocketError> }, callback: AsyncCallback, state: unknown): IAsyncResult;
635
+ beginSendFile(fileName: string, callback: AsyncCallback, state: unknown): IAsyncResult;
636
+ beginSendFile(fileName: string, preBuffer: byte[], postBuffer: byte[], flags: TransmitFileOptions, callback: AsyncCallback, state: unknown): IAsyncResult;
637
+ beginSendTo(buffer: byte[], offset: int, size: int, socketFlags: SocketFlags, remoteEP: EndPoint, callback: AsyncCallback, state: unknown): IAsyncResult;
638
638
  bind(localEP: EndPoint): void;
639
639
  close(): void;
640
640
  close(timeout: int): void;
@@ -670,7 +670,7 @@ export class Socket$instance {
670
670
  endSendFile(asyncResult: IAsyncResult): void;
671
671
  endSendTo(asyncResult: IAsyncResult): int;
672
672
  getRawSocketOption(optionLevel: int, optionName: int, optionValue: Span_1<CLROf<byte>>): int;
673
- getSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName): any;
673
+ getSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName): unknown;
674
674
  getSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionValue: byte[]): void;
675
675
  getSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionLength: int): byte[];
676
676
  ioControl(ioControlCode: int, optionInValue: byte[], optionOutValue: byte[]): int;
@@ -759,24 +759,26 @@ export class Socket$instance {
759
759
  setSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionValue: int): void;
760
760
  setSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionValue: byte[]): void;
761
761
  setSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionValue: boolean): void;
762
- setSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionValue: any): void;
762
+ setSocketOption(optionLevel: SocketOptionLevel, optionName: SocketOptionName, optionValue: unknown): void;
763
763
  shutdown(how: SocketShutdown): void;
764
- static readonly SupportsIPv4: boolean;
765
- static readonly SupportsIPv6: boolean;
766
- static readonly OSSupportsIPv4: boolean;
767
- static readonly OSSupportsIPv6: boolean;
768
- static readonly OSSupportsUnixDomainSockets: boolean;
769
- static CancelConnectAsync(e: SocketAsyncEventArgs): void;
770
- static ConnectAsync(socketType: SocketType, protocolType: ProtocolType, e: SocketAsyncEventArgs): boolean;
771
- static Select(checkRead: IList, checkWrite: IList, checkError: IList, microSeconds: int): void;
772
- static Select(checkRead: IList, checkWrite: IList, checkError: IList, timeout: TimeSpan): void;
764
+ static readonly supportsIPv4: boolean;
765
+ static readonly supportsIPv6: boolean;
766
+ static readonly osSupportsIPv4: boolean;
767
+ static readonly osSupportsIPv6: boolean;
768
+ static readonly osSupportsUnixDomainSockets: boolean;
769
+ static cancelConnectAsync(e: SocketAsyncEventArgs): void;
770
+ static connectAsync(socketType: SocketType, protocolType: ProtocolType, e: SocketAsyncEventArgs): boolean;
771
+ static select(checkRead: IList, checkWrite: IList, checkError: IList, microSeconds: int): void;
772
+ static select(checkRead: IList, checkWrite: IList, checkError: IList, timeout: TimeSpan): void;
773
773
  }
774
774
 
775
775
 
776
776
  export interface __Socket$views {
777
- readonly As_IDisposable: System_Internal.IDisposable$instance;
777
+ As_IDisposable(): System_Internal.IDisposable$instance;
778
778
  }
779
779
 
780
+ export interface Socket$instance extends System_Internal.IDisposable$instance {}
781
+
780
782
  export type Socket = Socket$instance & __Socket$views;
781
783
 
782
784
 
@@ -801,7 +803,7 @@ export class SocketAsyncEventArgs$instance extends System_Internal.EventArgs$ins
801
803
  sendPacketsSendSize: int;
802
804
  socketError: SocketError;
803
805
  socketFlags: SocketFlags;
804
- userToken: any;
806
+ userToken: unknown;
805
807
  dispose(): void;
806
808
  setBuffer(offset: int, count: int): void;
807
809
  setBuffer(buffer: byte[], offset: int, count: int): void;
@@ -810,9 +812,11 @@ export class SocketAsyncEventArgs$instance extends System_Internal.EventArgs$ins
810
812
 
811
813
 
812
814
  export interface __SocketAsyncEventArgs$views {
813
- readonly As_IDisposable: System_Internal.IDisposable$instance;
815
+ As_IDisposable(): System_Internal.IDisposable$instance;
814
816
  }
815
817
 
818
+ export interface SocketAsyncEventArgs$instance extends System_Internal.IDisposable$instance {}
819
+
816
820
  export type SocketAsyncEventArgs = SocketAsyncEventArgs$instance & __SocketAsyncEventArgs$views;
817
821
 
818
822
 
@@ -828,7 +832,7 @@ export class SocketException$instance extends System_ComponentModel_Internal.Win
828
832
 
829
833
 
830
834
  export interface __SocketException$views {
831
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
835
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
832
836
  }
833
837
 
834
838
  export type SocketException = SocketException$instance & __SocketException$views;
@@ -849,9 +853,9 @@ export class TcpClient$instance {
849
853
  receiveTimeout: int;
850
854
  sendBufferSize: int;
851
855
  sendTimeout: int;
852
- beginConnect(address: IPAddress, port: int, requestCallback: AsyncCallback, state: any): IAsyncResult;
853
- beginConnect(host: string, port: int, requestCallback: AsyncCallback, state: any): IAsyncResult;
854
- beginConnect(addresses: IPAddress[], port: int, requestCallback: AsyncCallback, state: any): IAsyncResult;
856
+ beginConnect(address: IPAddress, port: int, requestCallback: AsyncCallback, state: unknown): IAsyncResult;
857
+ beginConnect(host: string, port: int, requestCallback: AsyncCallback, state: unknown): IAsyncResult;
858
+ beginConnect(addresses: IPAddress[], port: int, requestCallback: AsyncCallback, state: unknown): IAsyncResult;
855
859
  close(): void;
856
860
  connect(hostname: string, port: int): void;
857
861
  connect(address: IPAddress, port: int): void;
@@ -872,9 +876,11 @@ export class TcpClient$instance {
872
876
 
873
877
 
874
878
  export interface __TcpClient$views {
875
- readonly As_IDisposable: System_Internal.IDisposable$instance;
879
+ As_IDisposable(): System_Internal.IDisposable$instance;
876
880
  }
877
881
 
882
+ export interface TcpClient$instance extends System_Internal.IDisposable$instance {}
883
+
878
884
  export type TcpClient = TcpClient$instance & __TcpClient$views;
879
885
 
880
886
 
@@ -892,8 +898,8 @@ export class TcpListener$instance {
892
898
  acceptTcpClientAsync(): Task_1<TcpClient>;
893
899
  acceptTcpClientAsync(cancellationToken: CancellationToken): ValueTask_1<TcpClient>;
894
900
  allowNatTraversal(allowed: boolean): void;
895
- beginAcceptSocket(callback: AsyncCallback, state: any): IAsyncResult;
896
- beginAcceptTcpClient(callback: AsyncCallback, state: any): IAsyncResult;
901
+ beginAcceptSocket(callback: AsyncCallback, state: unknown): IAsyncResult;
902
+ beginAcceptTcpClient(callback: AsyncCallback, state: unknown): IAsyncResult;
897
903
  dispose(): void;
898
904
  endAcceptSocket(asyncResult: IAsyncResult): Socket;
899
905
  endAcceptTcpClient(asyncResult: IAsyncResult): TcpClient;
@@ -901,14 +907,16 @@ export class TcpListener$instance {
901
907
  start(): void;
902
908
  start(backlog: int): void;
903
909
  stop(): void;
904
- static Create(port: int): TcpListener;
910
+ static create(port: int): TcpListener;
905
911
  }
906
912
 
907
913
 
908
914
  export interface __TcpListener$views {
909
- readonly As_IDisposable: System_Internal.IDisposable$instance;
915
+ As_IDisposable(): System_Internal.IDisposable$instance;
910
916
  }
911
917
 
918
+ export interface TcpListener$instance extends System_Internal.IDisposable$instance {}
919
+
912
920
  export type TcpListener = TcpListener$instance & __TcpListener$views;
913
921
 
914
922
 
@@ -927,10 +935,10 @@ export class UdpClient$instance {
927
935
  multicastLoopback: boolean;
928
936
  ttl: short;
929
937
  allowNatTraversal(allowed: boolean): void;
930
- beginReceive(requestCallback: AsyncCallback, state: any): IAsyncResult;
931
- beginSend(datagram: byte[], bytes: int, requestCallback: AsyncCallback, state: any): IAsyncResult;
932
- beginSend(datagram: byte[], bytes: int, hostname: string, port: int, requestCallback: AsyncCallback, state: any): IAsyncResult;
933
- beginSend(datagram: byte[], bytes: int, endPoint: IPEndPoint, requestCallback: AsyncCallback, state: any): IAsyncResult;
938
+ beginReceive(requestCallback: AsyncCallback, state: unknown): IAsyncResult;
939
+ beginSend(datagram: byte[], bytes: int, requestCallback: AsyncCallback, state: unknown): IAsyncResult;
940
+ beginSend(datagram: byte[], bytes: int, hostname: string, port: int, requestCallback: AsyncCallback, state: unknown): IAsyncResult;
941
+ beginSend(datagram: byte[], bytes: int, endPoint: IPEndPoint, requestCallback: AsyncCallback, state: unknown): IAsyncResult;
934
942
  close(): void;
935
943
  connect(hostname: string, port: int): void;
936
944
  connect(addr: IPAddress, port: int): void;
@@ -963,9 +971,11 @@ export class UdpClient$instance {
963
971
 
964
972
 
965
973
  export interface __UdpClient$views {
966
- readonly As_IDisposable: System_Internal.IDisposable$instance;
974
+ As_IDisposable(): System_Internal.IDisposable$instance;
967
975
  }
968
976
 
977
+ export interface UdpClient$instance extends System_Internal.IDisposable$instance {}
978
+
969
979
  export type UdpClient = UdpClient$instance & __UdpClient$views;
970
980
 
971
981
 
@@ -973,7 +983,7 @@ export class UnixDomainSocketEndPoint$instance extends System_Net_Internal.EndPo
973
983
  constructor(path: string);
974
984
  readonly addressFamily: AddressFamily;
975
985
  create(socketAddress: SocketAddress): EndPoint;
976
- equals(obj: any): boolean;
986
+ equals(obj: unknown): boolean;
977
987
  getHashCode(): int;
978
988
  serialize(): SocketAddress;
979
989
  toString(): string;
@@ -983,25 +993,25 @@ export class UnixDomainSocketEndPoint$instance extends System_Net_Internal.EndPo
983
993
  export type UnixDomainSocketEndPoint = UnixDomainSocketEndPoint$instance;
984
994
 
985
995
  export abstract class SocketTaskExtensions$instance {
986
- static AcceptAsync(socket: Socket, acceptSocket: Socket): Task_1<Socket>;
987
- static AcceptAsync(socket: Socket): Task_1<Socket>;
988
- static ConnectAsync(socket: Socket, remoteEP: EndPoint, cancellationToken: CancellationToken): ValueTask;
989
- static ConnectAsync(socket: Socket, remoteEP: EndPoint): Task;
990
- static ConnectAsync(socket: Socket, address: IPAddress, port: int, cancellationToken: CancellationToken): ValueTask;
991
- static ConnectAsync(socket: Socket, address: IPAddress, port: int): Task;
992
- static ConnectAsync(socket: Socket, addresses: IPAddress[], port: int, cancellationToken: CancellationToken): ValueTask;
993
- static ConnectAsync(socket: Socket, addresses: IPAddress[], port: int): Task;
994
- static ConnectAsync(socket: Socket, host: string, port: int, cancellationToken: CancellationToken): ValueTask;
995
- static ConnectAsync(socket: Socket, host: string, port: int): Task;
996
- static ReceiveAsync(socket: Socket, buffer: ArraySegment_1<CLROf<byte>>, socketFlags: SocketFlags): Task_1<CLROf<int>>;
997
- static ReceiveAsync(socket: Socket, buffers: IList_1<ArraySegment_1<CLROf<byte>>>, socketFlags: SocketFlags): Task_1<CLROf<int>>;
998
- static ReceiveAsync(socket: Socket, buffer: Memory_1<CLROf<byte>>, socketFlags: SocketFlags, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
999
- static ReceiveFromAsync(socket: Socket, buffer: ArraySegment_1<CLROf<byte>>, socketFlags: SocketFlags, remoteEndPoint: EndPoint): Task_1<SocketReceiveFromResult>;
1000
- static ReceiveMessageFromAsync(socket: Socket, buffer: ArraySegment_1<CLROf<byte>>, socketFlags: SocketFlags, remoteEndPoint: EndPoint): Task_1<SocketReceiveMessageFromResult>;
1001
- static SendAsync(socket: Socket, buffer: ArraySegment_1<CLROf<byte>>, socketFlags: SocketFlags): Task_1<CLROf<int>>;
1002
- static SendAsync(socket: Socket, buffers: IList_1<ArraySegment_1<CLROf<byte>>>, socketFlags: SocketFlags): Task_1<CLROf<int>>;
1003
- static SendAsync(socket: Socket, buffer: ReadOnlyMemory_1<CLROf<byte>>, socketFlags: SocketFlags, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1004
- static SendToAsync(socket: Socket, buffer: ArraySegment_1<CLROf<byte>>, socketFlags: SocketFlags, remoteEP: EndPoint): Task_1<CLROf<int>>;
996
+ static acceptAsync2(socket: Socket, acceptSocket: Socket): Task_1<Socket>;
997
+ static acceptAsync2(socket: Socket): Task_1<Socket>;
998
+ static connectAsync2(socket: Socket, remoteEP: EndPoint, cancellationToken: CancellationToken): ValueTask;
999
+ static connectAsync2(socket: Socket, remoteEP: EndPoint): Task;
1000
+ static connectAsync2(socket: Socket, address: IPAddress, port: int, cancellationToken: CancellationToken): ValueTask;
1001
+ static connectAsync2(socket: Socket, address: IPAddress, port: int): Task;
1002
+ static connectAsync2(socket: Socket, addresses: IPAddress[], port: int, cancellationToken: CancellationToken): ValueTask;
1003
+ static connectAsync2(socket: Socket, addresses: IPAddress[], port: int): Task;
1004
+ static connectAsync2(socket: Socket, host: string, port: int, cancellationToken: CancellationToken): ValueTask;
1005
+ static connectAsync2(socket: Socket, host: string, port: int): Task;
1006
+ static receiveAsync(socket: Socket, buffer: ArraySegment_1<CLROf<byte>>, socketFlags: SocketFlags): Task_1<CLROf<int>>;
1007
+ static receiveAsync(socket: Socket, buffers: IList_1<ArraySegment_1<CLROf<byte>>>, socketFlags: SocketFlags): Task_1<CLROf<int>>;
1008
+ static receiveAsync(socket: Socket, buffer: Memory_1<CLROf<byte>>, socketFlags: SocketFlags, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1009
+ static receiveFromAsync(socket: Socket, buffer: ArraySegment_1<CLROf<byte>>, socketFlags: SocketFlags, remoteEndPoint: EndPoint): Task_1<SocketReceiveFromResult>;
1010
+ static receiveMessageFromAsync(socket: Socket, buffer: ArraySegment_1<CLROf<byte>>, socketFlags: SocketFlags, remoteEndPoint: EndPoint): Task_1<SocketReceiveMessageFromResult>;
1011
+ static sendAsync(socket: Socket, buffer: ArraySegment_1<CLROf<byte>>, socketFlags: SocketFlags): Task_1<CLROf<int>>;
1012
+ static sendAsync(socket: Socket, buffers: IList_1<ArraySegment_1<CLROf<byte>>>, socketFlags: SocketFlags): Task_1<CLROf<int>>;
1013
+ static sendAsync(socket: Socket, buffer: ReadOnlyMemory_1<CLROf<byte>>, socketFlags: SocketFlags, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1014
+ static sendToAsync(socket: Socket, buffer: ArraySegment_1<CLROf<byte>>, socketFlags: SocketFlags, remoteEP: EndPoint): Task_1<CLROf<int>>;
1005
1015
  }
1006
1016
 
1007
1017
 
@@ -93,7 +93,7 @@
93
93
  {
94
94
  "stableId": "System.Net.Primitives:System.Net.Sockets.AddressFamily::NSSystem.Net.Sockets.AddressFamily",
95
95
  "clrName": "NS",
96
- "tsEmitName": "ns",
96
+ "tsEmitName": "NS",
97
97
  "normalizedSignature": "NS|System.Net.Sockets.AddressFamily|static=true|const=true",
98
98
  "isStatic": true,
99
99
  "isReadOnly": false,
@@ -810,7 +810,7 @@
810
810
  {
811
811
  "stableId": "System.Net.Sockets:System.Net.Sockets.ProtocolFamily::NSSystem.Net.Sockets.ProtocolFamily",
812
812
  "clrName": "NS",
813
- "tsEmitName": "ns",
813
+ "tsEmitName": "NS",
814
814
  "normalizedSignature": "NS|System.Net.Sockets.ProtocolFamily|static=true|const=true",
815
815
  "isStatic": true,
816
816
  "isReadOnly": false,
@@ -1070,7 +1070,7 @@
1070
1070
  {
1071
1071
  "stableId": "System.Net.Sockets:System.Net.Sockets.ProtocolType::IPSystem.Net.Sockets.ProtocolType",
1072
1072
  "clrName": "IP",
1073
- "tsEmitName": "ip",
1073
+ "tsEmitName": "IP",
1074
1074
  "normalizedSignature": "IP|System.Net.Sockets.ProtocolType|static=true|const=true",
1075
1075
  "isStatic": true,
1076
1076
  "isReadOnly": false,
@@ -1232,7 +1232,7 @@
1232
1232
  {
1233
1233
  "stableId": "System.Net.Sockets:System.Net.Sockets.ProtocolType::NDSystem.Net.Sockets.ProtocolType",
1234
1234
  "clrName": "ND",
1235
- "tsEmitName": "nd",
1235
+ "tsEmitName": "ND",
1236
1236
  "normalizedSignature": "ND|System.Net.Sockets.ProtocolType|static=true|const=true",
1237
1237
  "isStatic": true,
1238
1238
  "isReadOnly": false,
@@ -2117,7 +2117,7 @@
2117
2117
  {
2118
2118
  "stableId": "System.Net.Sockets:System.Net.Sockets.SocketOptionLevel::IPSystem.Net.Sockets.SocketOptionLevel",
2119
2119
  "clrName": "IP",
2120
- "tsEmitName": "ip",
2120
+ "tsEmitName": "IP",
2121
2121
  "normalizedSignature": "IP|System.Net.Sockets.SocketOptionLevel|static=true|const=true",
2122
2122
  "isStatic": true,
2123
2123
  "isReadOnly": false,