@tsonic/dotnet 0.7.4 → 0.7.7

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 (263) hide show
  1. package/Internal/internal/index.d.ts +0 -25
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -25
  3. package/Microsoft.VisualBasic/bindings.json +203 -29
  4. package/Microsoft.VisualBasic/internal/index.d.ts +30 -55
  5. package/Microsoft.VisualBasic/internal/metadata.json +203 -29
  6. package/Microsoft.VisualBasic.CompilerServices/bindings.json +25 -3
  7. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +4 -29
  8. package/Microsoft.VisualBasic.CompilerServices/internal/metadata.json +25 -3
  9. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +6 -31
  10. package/Microsoft.Win32/internal/index.d.ts +0 -25
  11. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +0 -25
  12. package/System/bindings.json +4800 -552
  13. package/System/internal/index.d.ts +2537 -395
  14. package/System/internal/metadata.json +4800 -552
  15. package/System.Buffers/bindings.json +196 -24
  16. package/System.Buffers/internal/index.d.ts +29 -54
  17. package/System.Buffers/internal/metadata.json +196 -24
  18. package/System.Buffers.Binary/bindings.json +182 -26
  19. package/System.Buffers.Binary/internal/index.d.ts +115 -140
  20. package/System.Buffers.Binary/internal/metadata.json +182 -26
  21. package/System.Buffers.Text/bindings.json +431 -49
  22. package/System.Buffers.Text/internal/index.d.ts +64 -89
  23. package/System.Buffers.Text/internal/metadata.json +431 -49
  24. package/System.CodeDom.Compiler/internal/index.d.ts +6 -31
  25. package/System.Collections/bindings.json +11 -1
  26. package/System.Collections/internal/index.d.ts +2 -27
  27. package/System.Collections/internal/metadata.json +11 -1
  28. package/System.Collections.Concurrent/bindings.json +211 -29
  29. package/System.Collections.Concurrent/internal/index.d.ts +31 -56
  30. package/System.Collections.Concurrent/internal/metadata.json +211 -29
  31. package/System.Collections.Frozen/bindings.json +56 -8
  32. package/System.Collections.Frozen/internal/index.d.ts +9 -34
  33. package/System.Collections.Frozen/internal/metadata.json +56 -8
  34. package/System.Collections.Generic/bindings.json +273 -35
  35. package/System.Collections.Generic/internal/index.d.ts +36 -61
  36. package/System.Collections.Generic/internal/metadata.json +273 -35
  37. package/System.Collections.Immutable/bindings.json +362 -50
  38. package/System.Collections.Immutable/internal/index.d.ts +49 -74
  39. package/System.Collections.Immutable/internal/metadata.json +362 -50
  40. package/System.Collections.ObjectModel/bindings.json +28 -4
  41. package/System.Collections.ObjectModel/internal/index.d.ts +3 -28
  42. package/System.Collections.ObjectModel/internal/metadata.json +28 -4
  43. package/System.Collections.Specialized/internal/index.d.ts +0 -25
  44. package/System.ComponentModel/bindings.json +174 -18
  45. package/System.ComponentModel/internal/index.d.ts +22 -47
  46. package/System.ComponentModel/internal/metadata.json +174 -18
  47. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +9 -34
  48. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +0 -25
  49. package/System.ComponentModel.Design/internal/index.d.ts +0 -25
  50. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +0 -25
  51. package/System.Configuration.Assemblies/internal/index.d.ts +0 -25
  52. package/System.Data/internal/index.d.ts +7 -32
  53. package/System.Data.Common/bindings.json +14 -2
  54. package/System.Data.Common/internal/index.d.ts +27 -52
  55. package/System.Data.Common/internal/metadata.json +14 -2
  56. package/System.Data.SqlTypes/internal/index.d.ts +1 -26
  57. package/System.Diagnostics/bindings.json +181 -23
  58. package/System.Diagnostics/internal/index.d.ts +87 -112
  59. package/System.Diagnostics/internal/metadata.json +181 -23
  60. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +0 -25
  61. package/System.Diagnostics.Contracts/bindings.json +7 -1
  62. package/System.Diagnostics.Contracts/internal/index.d.ts +4 -29
  63. package/System.Diagnostics.Contracts/internal/metadata.json +7 -1
  64. package/System.Diagnostics.Metrics/bindings.json +35 -5
  65. package/System.Diagnostics.Metrics/internal/index.d.ts +44 -69
  66. package/System.Diagnostics.Metrics/internal/metadata.json +35 -5
  67. package/System.Diagnostics.SymbolStore/internal/index.d.ts +0 -25
  68. package/System.Diagnostics.Tracing/bindings.json +37 -3
  69. package/System.Diagnostics.Tracing/internal/index.d.ts +10 -35
  70. package/System.Diagnostics.Tracing/internal/metadata.json +37 -3
  71. package/System.Drawing/internal/index.d.ts +0 -25
  72. package/System.Dynamic/bindings.json +63 -9
  73. package/System.Dynamic/internal/index.d.ts +17 -42
  74. package/System.Dynamic/internal/metadata.json +63 -9
  75. package/System.Formats.Asn1/bindings.json +451 -49
  76. package/System.Formats.Asn1/internal/index.d.ts +69 -94
  77. package/System.Formats.Asn1/internal/metadata.json +451 -49
  78. package/System.Formats.Tar/internal/index.d.ts +4 -29
  79. package/System.Globalization/bindings.json +28 -4
  80. package/System.Globalization/internal/index.d.ts +18 -43
  81. package/System.Globalization/internal/metadata.json +28 -4
  82. package/System.IO/bindings.json +35 -5
  83. package/System.IO/internal/index.d.ts +197 -222
  84. package/System.IO/internal/metadata.json +35 -5
  85. package/System.IO.Compression/bindings.json +50 -6
  86. package/System.IO.Compression/internal/index.d.ts +51 -76
  87. package/System.IO.Compression/internal/metadata.json +50 -6
  88. package/System.IO.Enumeration/bindings.json +42 -6
  89. package/System.IO.Enumeration/internal/index.d.ts +11 -36
  90. package/System.IO.Enumeration/internal/metadata.json +42 -6
  91. package/System.IO.IsolatedStorage/internal/index.d.ts +11 -36
  92. package/System.IO.MemoryMappedFiles/internal/index.d.ts +0 -25
  93. package/System.IO.Pipelines/bindings.json +7 -1
  94. package/System.IO.Pipelines/internal/index.d.ts +17 -42
  95. package/System.IO.Pipelines/internal/metadata.json +7 -1
  96. package/System.IO.Pipes/internal/index.d.ts +11 -36
  97. package/System.Linq/bindings.json +7 -1
  98. package/System.Linq/internal/index.d.ts +332 -357
  99. package/System.Linq/internal/metadata.json +7 -1
  100. package/System.Linq.Expressions/bindings.json +14 -2
  101. package/System.Linq.Expressions/internal/index.d.ts +3 -28
  102. package/System.Linq.Expressions/internal/metadata.json +14 -2
  103. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -25
  104. package/System.Net/bindings.json +175 -25
  105. package/System.Net/internal/index.d.ts +36 -61
  106. package/System.Net/internal/metadata.json +175 -25
  107. package/System.Net.Cache/internal/index.d.ts +0 -25
  108. package/System.Net.Http/bindings.json +21 -3
  109. package/System.Net.Http/internal/index.d.ts +21 -46
  110. package/System.Net.Http/internal/metadata.json +21 -3
  111. package/System.Net.Http.Headers/bindings.json +154 -22
  112. package/System.Net.Http.Headers/internal/index.d.ts +67 -92
  113. package/System.Net.Http.Headers/internal/metadata.json +154 -22
  114. package/System.Net.Http.Json/internal/index.d.ts +0 -25
  115. package/System.Net.Http.Metrics/internal/index.d.ts +0 -25
  116. package/System.Net.Mail/bindings.json +21 -3
  117. package/System.Net.Mail/internal/index.d.ts +4 -29
  118. package/System.Net.Mail/internal/metadata.json +21 -3
  119. package/System.Net.Mime/internal/index.d.ts +0 -25
  120. package/System.Net.NetworkInformation/bindings.json +14 -2
  121. package/System.Net.NetworkInformation/internal/index.d.ts +4 -29
  122. package/System.Net.NetworkInformation/internal/metadata.json +14 -2
  123. package/System.Net.Quic/internal/index.d.ts +14 -39
  124. package/System.Net.Security/bindings.json +43 -5
  125. package/System.Net.Security/internal/index.d.ts +29 -54
  126. package/System.Net.Security/internal/metadata.json +43 -5
  127. package/System.Net.ServerSentEvents/internal/index.d.ts +4 -29
  128. package/System.Net.Sockets/bindings.json +224 -28
  129. package/System.Net.Sockets/internal/index.d.ts +108 -133
  130. package/System.Net.Sockets/internal/metadata.json +224 -28
  131. package/System.Net.WebSockets/internal/index.d.ts +29 -54
  132. package/System.Numerics/bindings.json +1030 -142
  133. package/System.Numerics/internal/index.d.ts +264 -289
  134. package/System.Numerics/internal/metadata.json +1030 -142
  135. package/System.Reflection/bindings.json +29 -3
  136. package/System.Reflection/internal/index.d.ts +4 -29
  137. package/System.Reflection/internal/metadata.json +29 -3
  138. package/System.Reflection.Emit/bindings.json +26 -2
  139. package/System.Reflection.Emit/internal/index.d.ts +3 -28
  140. package/System.Reflection.Emit/internal/metadata.json +26 -2
  141. package/System.Reflection.Metadata/bindings.json +46 -6
  142. package/System.Reflection.Metadata/internal/index.d.ts +31 -56
  143. package/System.Reflection.Metadata/internal/metadata.json +46 -6
  144. package/System.Reflection.Metadata.Ecma335/bindings.json +126 -14
  145. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +24 -49
  146. package/System.Reflection.Metadata.Ecma335/internal/metadata.json +126 -14
  147. package/System.Reflection.PortableExecutable/bindings.json +18 -2
  148. package/System.Reflection.PortableExecutable/internal/index.d.ts +8 -33
  149. package/System.Reflection.PortableExecutable/internal/metadata.json +18 -2
  150. package/System.Resources/bindings.json +11 -1
  151. package/System.Resources/internal/index.d.ts +3 -28
  152. package/System.Resources/internal/metadata.json +11 -1
  153. package/System.Runtime/internal/index.d.ts +0 -25
  154. package/System.Runtime.CompilerServices/bindings.json +495 -57
  155. package/System.Runtime.CompilerServices/internal/index.d.ts +68 -93
  156. package/System.Runtime.CompilerServices/internal/metadata.json +495 -57
  157. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +0 -25
  158. package/System.Runtime.ExceptionServices/internal/index.d.ts +1 -26
  159. package/System.Runtime.InteropServices/bindings.json +377 -47
  160. package/System.Runtime.InteropServices/internal/index.d.ts +68 -93
  161. package/System.Runtime.InteropServices/internal/metadata.json +377 -47
  162. package/System.Runtime.InteropServices.ComTypes/bindings.json +832 -96
  163. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +107 -132
  164. package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +832 -96
  165. package/System.Runtime.InteropServices.Java/internal/index.d.ts +1 -26
  166. package/System.Runtime.InteropServices.JavaScript/bindings.json +411 -57
  167. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +72 -97
  168. package/System.Runtime.InteropServices.JavaScript/internal/metadata.json +411 -57
  169. package/System.Runtime.InteropServices.Marshalling/bindings.json +85 -11
  170. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +26 -51
  171. package/System.Runtime.InteropServices.Marshalling/internal/metadata.json +85 -11
  172. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +28 -4
  173. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +3 -28
  174. package/System.Runtime.InteropServices.ObjectiveC/internal/metadata.json +28 -4
  175. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -26
  176. package/System.Runtime.Intrinsics/bindings.json +112 -16
  177. package/System.Runtime.Intrinsics/internal/index.d.ts +800 -825
  178. package/System.Runtime.Intrinsics/internal/metadata.json +112 -16
  179. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +4787 -4812
  180. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -496
  181. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +3513 -3538
  182. package/System.Runtime.Loader/internal/index.d.ts +0 -25
  183. package/System.Runtime.Remoting/internal/index.d.ts +0 -25
  184. package/System.Runtime.Serialization/bindings.json +71 -9
  185. package/System.Runtime.Serialization/internal/index.d.ts +9 -34
  186. package/System.Runtime.Serialization/internal/metadata.json +71 -9
  187. package/System.Runtime.Serialization.DataContracts/bindings.json +26 -2
  188. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -28
  189. package/System.Runtime.Serialization.DataContracts/internal/metadata.json +26 -2
  190. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +0 -25
  191. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +0 -25
  192. package/System.Runtime.Serialization.Json/internal/index.d.ts +0 -25
  193. package/System.Runtime.Versioning/internal/index.d.ts +0 -25
  194. package/System.Security/internal/index.d.ts +1 -26
  195. package/System.Security.AccessControl/bindings.json +14 -2
  196. package/System.Security.AccessControl/internal/index.d.ts +3 -28
  197. package/System.Security.AccessControl/internal/metadata.json +14 -2
  198. package/System.Security.Authentication/internal/index.d.ts +0 -25
  199. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +0 -25
  200. package/System.Security.Claims/internal/index.d.ts +1 -26
  201. package/System.Security.Cryptography/bindings.json +1348 -192
  202. package/System.Security.Cryptography/internal/index.d.ts +593 -618
  203. package/System.Security.Cryptography/internal/metadata.json +1348 -192
  204. package/System.Security.Cryptography.X509Certificates/bindings.json +81 -11
  205. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +67 -92
  206. package/System.Security.Cryptography.X509Certificates/internal/metadata.json +81 -11
  207. package/System.Security.Permissions/internal/index.d.ts +0 -25
  208. package/System.Security.Policy/internal/index.d.ts +0 -25
  209. package/System.Security.Principal/internal/index.d.ts +0 -25
  210. package/System.Text/bindings.json +494 -58
  211. package/System.Text/internal/index.d.ts +137 -162
  212. package/System.Text/internal/metadata.json +494 -58
  213. package/System.Text.Encodings.Web/bindings.json +29 -3
  214. package/System.Text.Encodings.Web/internal/index.d.ts +7 -32
  215. package/System.Text.Encodings.Web/internal/metadata.json +29 -3
  216. package/System.Text.Json/bindings.json +309 -43
  217. package/System.Text.Json/internal/index.d.ts +141 -166
  218. package/System.Text.Json/internal/metadata.json +309 -43
  219. package/System.Text.Json.Nodes/bindings.json +46 -6
  220. package/System.Text.Json.Nodes/internal/index.d.ts +29 -54
  221. package/System.Text.Json.Nodes/internal/metadata.json +46 -6
  222. package/System.Text.Json.Schema/internal/index.d.ts +1 -26
  223. package/System.Text.Json.Serialization/bindings.json +21 -3
  224. package/System.Text.Json.Serialization/internal/index.d.ts +4 -29
  225. package/System.Text.Json.Serialization/internal/metadata.json +21 -3
  226. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +20 -45
  227. package/System.Text.RegularExpressions/bindings.json +14 -2
  228. package/System.Text.RegularExpressions/internal/index.d.ts +26 -51
  229. package/System.Text.RegularExpressions/internal/metadata.json +14 -2
  230. package/System.Text.Unicode/bindings.json +58 -6
  231. package/System.Text.Unicode/internal/index.d.ts +12 -37
  232. package/System.Text.Unicode/internal/metadata.json +58 -6
  233. package/System.Threading/bindings.json +1012 -140
  234. package/System.Threading/internal/index.d.ts +149 -174
  235. package/System.Threading/internal/metadata.json +1012 -140
  236. package/System.Threading.Channels/bindings.json +14 -2
  237. package/System.Threading.Channels/internal/index.d.ts +5 -30
  238. package/System.Threading.Channels/internal/metadata.json +14 -2
  239. package/System.Threading.Tasks/internal/index.d.ts +23 -48
  240. package/System.Threading.Tasks.Dataflow/bindings.json +378 -54
  241. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +33 -58
  242. package/System.Threading.Tasks.Dataflow/internal/metadata.json +378 -54
  243. package/System.Threading.Tasks.Sources/internal/index.d.ts +0 -25
  244. package/System.Timers/internal/index.d.ts +0 -25
  245. package/System.Transactions/internal/index.d.ts +0 -25
  246. package/System.Web/internal/index.d.ts +0 -25
  247. package/System.Windows.Input/internal/index.d.ts +0 -25
  248. package/System.Windows.Markup/internal/index.d.ts +0 -25
  249. package/System.Xml/bindings.json +197 -27
  250. package/System.Xml/internal/index.d.ts +35 -60
  251. package/System.Xml/internal/metadata.json +197 -27
  252. package/System.Xml.Linq/internal/index.d.ts +0 -25
  253. package/System.Xml.Resolvers/internal/index.d.ts +0 -25
  254. package/System.Xml.Schema/internal/index.d.ts +0 -25
  255. package/System.Xml.Serialization/internal/index.d.ts +0 -25
  256. package/System.Xml.XPath/internal/index.d.ts +1 -26
  257. package/System.Xml.Xsl/internal/index.d.ts +1 -26
  258. package/System.Xml.Xsl.Runtime/bindings.json +35 -5
  259. package/System.Xml.Xsl.Runtime/internal/index.d.ts +7 -32
  260. package/System.Xml.Xsl.Runtime/internal/metadata.json +35 -5
  261. package/System.d.ts +21 -0
  262. package/__internal/extensions/index.d.ts +463 -463
  263. package/package.json +1 -1
@@ -4696,7 +4696,13 @@
4696
4696
  "isSealed": false,
4697
4697
  "arity": 0,
4698
4698
  "parameterCount": 3,
4699
- "isExtensionMethod": false
4699
+ "isExtensionMethod": false,
4700
+ "parameterModifiers": [
4701
+ {
4702
+ "index": 2,
4703
+ "modifier": "out"
4704
+ }
4705
+ ]
4700
4706
  },
4701
4707
  {
4702
4708
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::Send(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags):System.Int32",
@@ -4728,7 +4734,13 @@
4728
4734
  "isSealed": false,
4729
4735
  "arity": 0,
4730
4736
  "parameterCount": 5,
4731
- "isExtensionMethod": false
4737
+ "isExtensionMethod": false,
4738
+ "parameterModifiers": [
4739
+ {
4740
+ "index": 4,
4741
+ "modifier": "out"
4742
+ }
4743
+ ]
4732
4744
  },
4733
4745
  {
4734
4746
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::Send(System.ReadOnlySpan_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]):System.Int32",
@@ -4776,7 +4788,13 @@
4776
4788
  "isSealed": false,
4777
4789
  "arity": 0,
4778
4790
  "parameterCount": 3,
4779
- "isExtensionMethod": false
4791
+ "isExtensionMethod": false,
4792
+ "parameterModifiers": [
4793
+ {
4794
+ "index": 2,
4795
+ "modifier": "out"
4796
+ }
4797
+ ]
4780
4798
  },
4781
4799
  {
4782
4800
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::SendFile(System.String):System.Void",
@@ -5016,7 +5034,13 @@
5016
5034
  "isSealed": false,
5017
5035
  "arity": 0,
5018
5036
  "parameterCount": 5,
5019
- "isExtensionMethod": false
5037
+ "isExtensionMethod": false,
5038
+ "parameterModifiers": [
5039
+ {
5040
+ "index": 4,
5041
+ "modifier": "out"
5042
+ }
5043
+ ]
5020
5044
  },
5021
5045
  {
5022
5046
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::Receive(System.Span_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]):System.Int32",
@@ -5064,7 +5088,13 @@
5064
5088
  "isSealed": false,
5065
5089
  "arity": 0,
5066
5090
  "parameterCount": 3,
5067
- "isExtensionMethod": false
5091
+ "isExtensionMethod": false,
5092
+ "parameterModifiers": [
5093
+ {
5094
+ "index": 2,
5095
+ "modifier": "out"
5096
+ }
5097
+ ]
5068
5098
  },
5069
5099
  {
5070
5100
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::Receive(System.Collections.Generic.IList_1[[System.ArraySegment_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]):System.Int32",
@@ -5112,7 +5142,13 @@
5112
5142
  "isSealed": false,
5113
5143
  "arity": 0,
5114
5144
  "parameterCount": 3,
5115
- "isExtensionMethod": false
5145
+ "isExtensionMethod": false,
5146
+ "parameterModifiers": [
5147
+ {
5148
+ "index": 2,
5149
+ "modifier": "out"
5150
+ }
5151
+ ]
5116
5152
  },
5117
5153
  {
5118
5154
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::ReceiveMessageFrom(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags\u0026,System.Net.EndPoint\u0026,System.Net.Sockets.IPPacketInformation\u0026):System.Int32",
@@ -5128,7 +5164,21 @@
5128
5164
  "isSealed": false,
5129
5165
  "arity": 0,
5130
5166
  "parameterCount": 6,
5131
- "isExtensionMethod": false
5167
+ "isExtensionMethod": false,
5168
+ "parameterModifiers": [
5169
+ {
5170
+ "index": 3,
5171
+ "modifier": "ref"
5172
+ },
5173
+ {
5174
+ "index": 4,
5175
+ "modifier": "ref"
5176
+ },
5177
+ {
5178
+ "index": 5,
5179
+ "modifier": "out"
5180
+ }
5181
+ ]
5132
5182
  },
5133
5183
  {
5134
5184
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::ReceiveMessageFrom(System.Span_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Net.Sockets.SocketFlags\u0026,System.Net.EndPoint\u0026,System.Net.Sockets.IPPacketInformation\u0026):System.Int32",
@@ -5144,7 +5194,21 @@
5144
5194
  "isSealed": false,
5145
5195
  "arity": 0,
5146
5196
  "parameterCount": 4,
5147
- "isExtensionMethod": false
5197
+ "isExtensionMethod": false,
5198
+ "parameterModifiers": [
5199
+ {
5200
+ "index": 1,
5201
+ "modifier": "ref"
5202
+ },
5203
+ {
5204
+ "index": 2,
5205
+ "modifier": "ref"
5206
+ },
5207
+ {
5208
+ "index": 3,
5209
+ "modifier": "out"
5210
+ }
5211
+ ]
5148
5212
  },
5149
5213
  {
5150
5214
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::ReceiveFrom(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.EndPoint\u0026):System.Int32",
@@ -5160,7 +5224,13 @@
5160
5224
  "isSealed": false,
5161
5225
  "arity": 0,
5162
5226
  "parameterCount": 5,
5163
- "isExtensionMethod": false
5227
+ "isExtensionMethod": false,
5228
+ "parameterModifiers": [
5229
+ {
5230
+ "index": 4,
5231
+ "modifier": "ref"
5232
+ }
5233
+ ]
5164
5234
  },
5165
5235
  {
5166
5236
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::ReceiveFrom(System.Byte[],System.Int32,System.Net.Sockets.SocketFlags,System.Net.EndPoint\u0026):System.Int32",
@@ -5176,7 +5246,13 @@
5176
5246
  "isSealed": false,
5177
5247
  "arity": 0,
5178
5248
  "parameterCount": 4,
5179
- "isExtensionMethod": false
5249
+ "isExtensionMethod": false,
5250
+ "parameterModifiers": [
5251
+ {
5252
+ "index": 3,
5253
+ "modifier": "ref"
5254
+ }
5255
+ ]
5180
5256
  },
5181
5257
  {
5182
5258
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::ReceiveFrom(System.Byte[],System.Net.Sockets.SocketFlags,System.Net.EndPoint\u0026):System.Int32",
@@ -5192,7 +5268,13 @@
5192
5268
  "isSealed": false,
5193
5269
  "arity": 0,
5194
5270
  "parameterCount": 3,
5195
- "isExtensionMethod": false
5271
+ "isExtensionMethod": false,
5272
+ "parameterModifiers": [
5273
+ {
5274
+ "index": 2,
5275
+ "modifier": "ref"
5276
+ }
5277
+ ]
5196
5278
  },
5197
5279
  {
5198
5280
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::ReceiveFrom(System.Byte[],System.Net.EndPoint\u0026):System.Int32",
@@ -5208,7 +5290,13 @@
5208
5290
  "isSealed": false,
5209
5291
  "arity": 0,
5210
5292
  "parameterCount": 2,
5211
- "isExtensionMethod": false
5293
+ "isExtensionMethod": false,
5294
+ "parameterModifiers": [
5295
+ {
5296
+ "index": 1,
5297
+ "modifier": "ref"
5298
+ }
5299
+ ]
5212
5300
  },
5213
5301
  {
5214
5302
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::ReceiveFrom(System.Span_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Net.EndPoint\u0026):System.Int32",
@@ -5224,7 +5312,13 @@
5224
5312
  "isSealed": false,
5225
5313
  "arity": 0,
5226
5314
  "parameterCount": 2,
5227
- "isExtensionMethod": false
5315
+ "isExtensionMethod": false,
5316
+ "parameterModifiers": [
5317
+ {
5318
+ "index": 1,
5319
+ "modifier": "ref"
5320
+ }
5321
+ ]
5228
5322
  },
5229
5323
  {
5230
5324
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::ReceiveFrom(System.Span_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Net.Sockets.SocketFlags,System.Net.EndPoint\u0026):System.Int32",
@@ -5240,7 +5334,13 @@
5240
5334
  "isSealed": false,
5241
5335
  "arity": 0,
5242
5336
  "parameterCount": 3,
5243
- "isExtensionMethod": false
5337
+ "isExtensionMethod": false,
5338
+ "parameterModifiers": [
5339
+ {
5340
+ "index": 2,
5341
+ "modifier": "ref"
5342
+ }
5343
+ ]
5244
5344
  },
5245
5345
  {
5246
5346
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::ReceiveFrom(System.Span_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Net.Sockets.SocketFlags,System.Net.SocketAddress):System.Int32",
@@ -5672,7 +5772,13 @@
5672
5772
  "isSealed": false,
5673
5773
  "arity": 0,
5674
5774
  "parameterCount": 7,
5675
- "isExtensionMethod": false
5775
+ "isExtensionMethod": false,
5776
+ "parameterModifiers": [
5777
+ {
5778
+ "index": 4,
5779
+ "modifier": "out"
5780
+ }
5781
+ ]
5676
5782
  },
5677
5783
  {
5678
5784
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::BeginSend(System.Collections.Generic.IList_1[[System.ArraySegment_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Net.Sockets.SocketFlags,System.AsyncCallback,System.Object):System.IAsyncResult",
@@ -5704,7 +5810,13 @@
5704
5810
  "isSealed": false,
5705
5811
  "arity": 0,
5706
5812
  "parameterCount": 5,
5707
- "isExtensionMethod": false
5813
+ "isExtensionMethod": false,
5814
+ "parameterModifiers": [
5815
+ {
5816
+ "index": 2,
5817
+ "modifier": "out"
5818
+ }
5819
+ ]
5708
5820
  },
5709
5821
  {
5710
5822
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::EndSend(System.IAsyncResult):System.Int32",
@@ -5736,7 +5848,13 @@
5736
5848
  "isSealed": false,
5737
5849
  "arity": 0,
5738
5850
  "parameterCount": 2,
5739
- "isExtensionMethod": false
5851
+ "isExtensionMethod": false,
5852
+ "parameterModifiers": [
5853
+ {
5854
+ "index": 1,
5855
+ "modifier": "out"
5856
+ }
5857
+ ]
5740
5858
  },
5741
5859
  {
5742
5860
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::BeginSendFile(System.String,System.AsyncCallback,System.Object):System.IAsyncResult",
@@ -5848,7 +5966,13 @@
5848
5966
  "isSealed": false,
5849
5967
  "arity": 0,
5850
5968
  "parameterCount": 7,
5851
- "isExtensionMethod": false
5969
+ "isExtensionMethod": false,
5970
+ "parameterModifiers": [
5971
+ {
5972
+ "index": 4,
5973
+ "modifier": "out"
5974
+ }
5975
+ ]
5852
5976
  },
5853
5977
  {
5854
5978
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::BeginReceive(System.Collections.Generic.IList_1[[System.ArraySegment_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Net.Sockets.SocketFlags,System.AsyncCallback,System.Object):System.IAsyncResult",
@@ -5880,7 +6004,13 @@
5880
6004
  "isSealed": false,
5881
6005
  "arity": 0,
5882
6006
  "parameterCount": 5,
5883
- "isExtensionMethod": false
6007
+ "isExtensionMethod": false,
6008
+ "parameterModifiers": [
6009
+ {
6010
+ "index": 2,
6011
+ "modifier": "out"
6012
+ }
6013
+ ]
5884
6014
  },
5885
6015
  {
5886
6016
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::EndReceive(System.IAsyncResult):System.Int32",
@@ -5912,7 +6042,13 @@
5912
6042
  "isSealed": false,
5913
6043
  "arity": 0,
5914
6044
  "parameterCount": 2,
5915
- "isExtensionMethod": false
6045
+ "isExtensionMethod": false,
6046
+ "parameterModifiers": [
6047
+ {
6048
+ "index": 1,
6049
+ "modifier": "out"
6050
+ }
6051
+ ]
5916
6052
  },
5917
6053
  {
5918
6054
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::BeginReceiveMessageFrom(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.EndPoint\u0026,System.AsyncCallback,System.Object):System.IAsyncResult",
@@ -5928,7 +6064,13 @@
5928
6064
  "isSealed": false,
5929
6065
  "arity": 0,
5930
6066
  "parameterCount": 7,
5931
- "isExtensionMethod": false
6067
+ "isExtensionMethod": false,
6068
+ "parameterModifiers": [
6069
+ {
6070
+ "index": 4,
6071
+ "modifier": "ref"
6072
+ }
6073
+ ]
5932
6074
  },
5933
6075
  {
5934
6076
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::EndReceiveMessageFrom(System.IAsyncResult,System.Net.Sockets.SocketFlags\u0026,System.Net.EndPoint\u0026,System.Net.Sockets.IPPacketInformation\u0026):System.Int32",
@@ -5944,7 +6086,21 @@
5944
6086
  "isSealed": false,
5945
6087
  "arity": 0,
5946
6088
  "parameterCount": 4,
5947
- "isExtensionMethod": false
6089
+ "isExtensionMethod": false,
6090
+ "parameterModifiers": [
6091
+ {
6092
+ "index": 1,
6093
+ "modifier": "ref"
6094
+ },
6095
+ {
6096
+ "index": 2,
6097
+ "modifier": "ref"
6098
+ },
6099
+ {
6100
+ "index": 3,
6101
+ "modifier": "out"
6102
+ }
6103
+ ]
5948
6104
  },
5949
6105
  {
5950
6106
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::BeginReceiveFrom(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.Net.EndPoint\u0026,System.AsyncCallback,System.Object):System.IAsyncResult",
@@ -5960,7 +6116,13 @@
5960
6116
  "isSealed": false,
5961
6117
  "arity": 0,
5962
6118
  "parameterCount": 7,
5963
- "isExtensionMethod": false
6119
+ "isExtensionMethod": false,
6120
+ "parameterModifiers": [
6121
+ {
6122
+ "index": 4,
6123
+ "modifier": "ref"
6124
+ }
6125
+ ]
5964
6126
  },
5965
6127
  {
5966
6128
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::EndReceiveFrom(System.IAsyncResult,System.Net.EndPoint\u0026):System.Int32",
@@ -5976,7 +6138,13 @@
5976
6138
  "isSealed": false,
5977
6139
  "arity": 0,
5978
6140
  "parameterCount": 2,
5979
- "isExtensionMethod": false
6141
+ "isExtensionMethod": false,
6142
+ "parameterModifiers": [
6143
+ {
6144
+ "index": 1,
6145
+ "modifier": "ref"
6146
+ }
6147
+ ]
5980
6148
  },
5981
6149
  {
5982
6150
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::BeginAccept(System.AsyncCallback,System.Object):System.IAsyncResult",
@@ -6056,7 +6224,13 @@
6056
6224
  "isSealed": false,
6057
6225
  "arity": 0,
6058
6226
  "parameterCount": 2,
6059
- "isExtensionMethod": false
6227
+ "isExtensionMethod": false,
6228
+ "parameterModifiers": [
6229
+ {
6230
+ "index": 0,
6231
+ "modifier": "out"
6232
+ }
6233
+ ]
6060
6234
  },
6061
6235
  {
6062
6236
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::EndAccept(System.Byte[]\u0026,System.Int32\u0026,System.IAsyncResult):System.Net.Sockets.Socket",
@@ -6072,7 +6246,17 @@
6072
6246
  "isSealed": false,
6073
6247
  "arity": 0,
6074
6248
  "parameterCount": 3,
6075
- "isExtensionMethod": false
6249
+ "isExtensionMethod": false,
6250
+ "parameterModifiers": [
6251
+ {
6252
+ "index": 0,
6253
+ "modifier": "out"
6254
+ },
6255
+ {
6256
+ "index": 1,
6257
+ "modifier": "out"
6258
+ }
6259
+ ]
6076
6260
  },
6077
6261
  {
6078
6262
  "stableId": "System.Net.Sockets:System.Net.Sockets.Socket::Shutdown(System.Net.Sockets.SocketShutdown):System.Void",
@@ -8964,7 +9148,13 @@
8964
9148
  "isSealed": false,
8965
9149
  "arity": 0,
8966
9150
  "parameterCount": 2,
8967
- "isExtensionMethod": false
9151
+ "isExtensionMethod": false,
9152
+ "parameterModifiers": [
9153
+ {
9154
+ "index": 1,
9155
+ "modifier": "ref"
9156
+ }
9157
+ ]
8968
9158
  },
8969
9159
  {
8970
9160
  "stableId": "System.Net.Sockets:System.Net.Sockets.UdpClient::JoinMulticastGroup(System.Net.IPAddress):System.Void",
@@ -9268,7 +9458,13 @@
9268
9458
  "isSealed": false,
9269
9459
  "arity": 0,
9270
9460
  "parameterCount": 1,
9271
- "isExtensionMethod": false
9461
+ "isExtensionMethod": false,
9462
+ "parameterModifiers": [
9463
+ {
9464
+ "index": 0,
9465
+ "modifier": "ref"
9466
+ }
9467
+ ]
9272
9468
  },
9273
9469
  {
9274
9470
  "stableId": "System.Net.Sockets:System.Net.Sockets.UdpClient::Send(System.Byte[],System.Int32,System.Net.IPEndPoint):System.Int32",
@@ -26,31 +26,6 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
26
26
  import * as System_Internal from "../../System/internal/index.js";
27
27
  import type { ArraySegment_1, AsyncCallback, Boolean as ClrBoolean, Byte, Enum, Exception, IAsyncDisposable, IAsyncResult, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int32, Int64, ISpanFormattable, Memory_1, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, Span_1, String as ClrString, TimeSpan, Type, TypeCode, Uri, ValueType, Version, Void } from "../../System/internal/index.js";
28
28
 
29
- // CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
30
- // This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
31
- // Value positions (parameters, return types) use lowercase primitives for ergonomics
32
- export type CLROf<T> =
33
- T extends sbyte ? System_Internal.SByte :
34
- T extends short ? System_Internal.Int16 :
35
- T extends int ? System_Internal.Int32 :
36
- T extends long ? System_Internal.Int64 :
37
- T extends int128 ? System_Internal.Int128 :
38
- T extends nint ? System_Internal.IntPtr :
39
- T extends byte ? System_Internal.Byte :
40
- T extends ushort ? System_Internal.UInt16 :
41
- T extends uint ? System_Internal.UInt32 :
42
- T extends ulong ? System_Internal.UInt64 :
43
- T extends uint128 ? System_Internal.UInt128 :
44
- T extends nuint ? System_Internal.UIntPtr :
45
- T extends half ? System_Internal.Half :
46
- T extends float ? System_Internal.Single :
47
- T extends double ? System_Internal.Double :
48
- T extends decimal ? System_Internal.Decimal :
49
- T extends char ? System_Internal.Char :
50
- T extends boolean ? System_Internal.Boolean :
51
- T extends string ? System_Internal.String :
52
- T; // Identity fallback for non-primitive types
53
-
54
29
  export enum WebSocketCloseStatus {
55
30
  normalClosure = 1000,
56
31
  endpointUnavailable = 1001,
@@ -121,7 +96,7 @@ export type ValueWebSocketReceiveResult = ValueWebSocketReceiveResult$instance;
121
96
  export interface ClientWebSocket$instance extends WebSocket$instance {
122
97
  readonly closeStatus: Nullable_1<WebSocketCloseStatus>;
123
98
  readonly closeStatusDescription: string;
124
- httpResponseHeaders: IReadOnlyDictionary_2<CLROf<string>, IEnumerable_1<CLROf<string>>>;
99
+ httpResponseHeaders: IReadOnlyDictionary_2<System_Internal.String, IEnumerable_1<System_Internal.String>>;
125
100
  readonly httpStatusCode: HttpStatusCode;
126
101
  readonly options: ClientWebSocketOptions;
127
102
  readonly state: WebSocketState;
@@ -132,14 +107,14 @@ export interface ClientWebSocket$instance extends WebSocket$instance {
132
107
  connectAsync(uri: Uri, cancellationToken: CancellationToken): Task;
133
108
  connectAsync(uri: Uri, invoker: HttpMessageInvoker, cancellationToken: CancellationToken): Task;
134
109
  dispose(): void;
135
- receiveAsync(buffer: ArraySegment_1<CLROf<byte>>, cancellationToken: CancellationToken): Task_1<WebSocketReceiveResult>;
136
- receiveAsync(buffer: Memory_1<CLROf<byte>>, cancellationToken: CancellationToken): ValueTask_1<ValueWebSocketReceiveResult>;
137
- receiveAsync(buffer: Memory_1<CLROf<byte>>, cancellationToken: CancellationToken): ValueTask_1<ValueWebSocketReceiveResult>;
138
- sendAsync(buffer: ArraySegment_1<CLROf<byte>>, messageType: WebSocketMessageType, endOfMessage: boolean, cancellationToken: CancellationToken): Task;
139
- sendAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, messageType: WebSocketMessageType, endOfMessage: boolean, cancellationToken: CancellationToken): ValueTask;
140
- sendAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, messageType: WebSocketMessageType, messageFlags: WebSocketMessageFlags, cancellationToken: CancellationToken): ValueTask;
141
- sendAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, messageType: WebSocketMessageType, endOfMessage: boolean, cancellationToken: CancellationToken): ValueTask;
142
- sendAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, messageType: WebSocketMessageType, messageFlags: WebSocketMessageFlags, cancellationToken?: CancellationToken): ValueTask;
110
+ receiveAsync(buffer: ArraySegment_1<System_Internal.Byte>, cancellationToken: CancellationToken): Task_1<WebSocketReceiveResult>;
111
+ receiveAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken: CancellationToken): ValueTask_1<ValueWebSocketReceiveResult>;
112
+ receiveAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken: CancellationToken): ValueTask_1<ValueWebSocketReceiveResult>;
113
+ sendAsync(buffer: ArraySegment_1<System_Internal.Byte>, messageType: WebSocketMessageType, endOfMessage: boolean, cancellationToken: CancellationToken): Task;
114
+ sendAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, messageType: WebSocketMessageType, endOfMessage: boolean, cancellationToken: CancellationToken): ValueTask;
115
+ sendAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, messageType: WebSocketMessageType, messageFlags: WebSocketMessageFlags, cancellationToken: CancellationToken): ValueTask;
116
+ sendAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, messageType: WebSocketMessageType, endOfMessage: boolean, cancellationToken: CancellationToken): ValueTask;
117
+ sendAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, messageType: WebSocketMessageType, messageFlags: WebSocketMessageFlags, cancellationToken?: CancellationToken): ValueTask;
143
118
  }
144
119
 
145
120
 
@@ -170,7 +145,7 @@ export interface ClientWebSocketOptions$instance {
170
145
  useDefaultCredentials: boolean;
171
146
  addSubProtocol(subProtocol: string): void;
172
147
  setBuffer(receiveBufferSize: int, sendBufferSize: int): void;
173
- setBuffer(receiveBufferSize: int, sendBufferSize: int, buffer: ArraySegment_1<CLROf<byte>>): void;
148
+ setBuffer(receiveBufferSize: int, sendBufferSize: int, buffer: ArraySegment_1<System_Internal.Byte>): void;
174
149
  setRequestHeader(headerName: string, headerValue: string): void;
175
150
  }
176
151
 
@@ -191,7 +166,7 @@ export interface HttpListenerWebSocketContext$instance extends WebSocketContext
191
166
  readonly origin: string;
192
167
  readonly requestUri: Uri;
193
168
  readonly secWebSocketKey: string;
194
- readonly secWebSocketProtocols: IEnumerable_1<CLROf<string>>;
169
+ readonly secWebSocketProtocols: IEnumerable_1<System_Internal.String>;
195
170
  readonly secWebSocketVersion: string;
196
171
  readonly user: IPrincipal;
197
172
  readonly webSocket: WebSocket;
@@ -214,21 +189,21 @@ export interface WebSocket$instance {
214
189
  closeAsync(closeStatus: WebSocketCloseStatus, statusDescription: string, cancellationToken: CancellationToken): Task;
215
190
  closeOutputAsync(closeStatus: WebSocketCloseStatus, statusDescription: string, cancellationToken: CancellationToken): Task;
216
191
  dispose(): void;
217
- receiveAsync(buffer: ArraySegment_1<CLROf<byte>>, cancellationToken: CancellationToken): Task_1<WebSocketReceiveResult>;
218
- receiveAsync(buffer: Memory_1<CLROf<byte>>, cancellationToken: CancellationToken): ValueTask_1<ValueWebSocketReceiveResult>;
219
- sendAsync(buffer: ArraySegment_1<CLROf<byte>>, messageType: WebSocketMessageType, endOfMessage: boolean, cancellationToken: CancellationToken): Task;
220
- sendAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, messageType: WebSocketMessageType, endOfMessage: boolean, cancellationToken: CancellationToken): ValueTask;
221
- sendAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, messageType: WebSocketMessageType, messageFlags: WebSocketMessageFlags, cancellationToken?: CancellationToken): ValueTask;
192
+ receiveAsync(buffer: ArraySegment_1<System_Internal.Byte>, cancellationToken: CancellationToken): Task_1<WebSocketReceiveResult>;
193
+ receiveAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken: CancellationToken): ValueTask_1<ValueWebSocketReceiveResult>;
194
+ sendAsync(buffer: ArraySegment_1<System_Internal.Byte>, messageType: WebSocketMessageType, endOfMessage: boolean, cancellationToken: CancellationToken): Task;
195
+ sendAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, messageType: WebSocketMessageType, endOfMessage: boolean, cancellationToken: CancellationToken): ValueTask;
196
+ sendAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, messageType: WebSocketMessageType, messageFlags: WebSocketMessageFlags, cancellationToken?: CancellationToken): ValueTask;
222
197
  }
223
198
 
224
199
 
225
200
  export const WebSocket: {
226
201
  readonly defaultKeepAliveInterval: TimeSpan;
227
- createClientBuffer(receiveBufferSize: int, sendBufferSize: int): ArraySegment_1<CLROf<byte>>;
228
- createClientWebSocket(innerStream: Stream, subProtocol: string, receiveBufferSize: int, sendBufferSize: int, keepAliveInterval: TimeSpan, useZeroMaskingKey: boolean, internalBuffer: ArraySegment_1<CLROf<byte>>): WebSocket;
202
+ createClientBuffer(receiveBufferSize: int, sendBufferSize: int): ArraySegment_1<System_Internal.Byte>;
203
+ createClientWebSocket(innerStream: Stream, subProtocol: string, receiveBufferSize: int, sendBufferSize: int, keepAliveInterval: TimeSpan, useZeroMaskingKey: boolean, internalBuffer: ArraySegment_1<System_Internal.Byte>): WebSocket;
229
204
  createFromStream(stream: Stream, isServer: boolean, subProtocol: string, keepAliveInterval: TimeSpan): WebSocket;
230
205
  createFromStream(stream: Stream, options: WebSocketCreationOptions): WebSocket;
231
- createServerBuffer(receiveBufferSize: int): ArraySegment_1<CLROf<byte>>;
206
+ createServerBuffer(receiveBufferSize: int): ArraySegment_1<System_Internal.Byte>;
232
207
  isApplicationTargeting45(): boolean;
233
208
  registerPrefixes(): void;
234
209
  };
@@ -252,7 +227,7 @@ export interface WebSocketContext$instance {
252
227
  readonly origin: string;
253
228
  readonly requestUri: Uri;
254
229
  readonly secWebSocketKey: string;
255
- readonly secWebSocketProtocols: IEnumerable_1<CLROf<string>>;
230
+ readonly secWebSocketProtocols: IEnumerable_1<System_Internal.String>;
256
231
  readonly secWebSocketVersion: string;
257
232
  readonly user: IPrincipal;
258
233
  readonly webSocket: WebSocket;
@@ -362,20 +337,20 @@ export interface WebSocketStream$instance extends Stream {
362
337
  flushAsync(cancellationToken: CancellationToken): Task;
363
338
  flushAsync(): Task;
364
339
  read(buffer: byte[], offset: int, count: int): int;
365
- read(buffer: Span_1<CLROf<byte>>): int;
366
- readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<CLROf<int>>;
367
- readAsync(buffer: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
368
- readAsync(buffer: byte[], offset: int, count: int): Task_1<CLROf<int>>;
369
- readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<CLROf<int>>;
370
- readAsync(buffer: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
340
+ read(buffer: Span_1<System_Internal.Byte>): int;
341
+ readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
342
+ readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
343
+ readAsync(buffer: byte[], offset: int, count: int): Task_1<System_Internal.Int32>;
344
+ readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
345
+ readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
371
346
  seek(offset: long, origin: SeekOrigin): long;
372
347
  setLength(value: long): void;
373
348
  write(buffer: byte[], offset: int, count: int): void;
374
- write(buffer: ReadOnlySpan_1<CLROf<byte>>): void;
349
+ write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
375
350
  writeAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
376
- writeAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
351
+ writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
377
352
  writeAsync(buffer: byte[], offset: int, count: int): Task;
378
- writeAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
353
+ writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
379
354
  }
380
355
 
381
356