@tsonic/dotnet 10.0.1 → 10.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/Internal/bindings.json +5 -0
  2. package/Microsoft.CSharp.RuntimeBinder/bindings.json +71 -8
  3. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +2 -0
  4. package/Microsoft.VisualBasic/bindings.json +635 -68
  5. package/Microsoft.VisualBasic.CompilerServices/bindings.json +210 -0
  6. package/Microsoft.VisualBasic.FileIO/bindings.json +195 -24
  7. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +8 -3
  8. package/Microsoft.Win32/bindings.json +107 -24
  9. package/Microsoft.Win32.SafeHandles/bindings.json +769 -15
  10. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +123 -18
  11. package/System/bindings.json +11622 -2308
  12. package/System/internal/index.d.ts +165 -15
  13. package/System.Buffers/bindings.json +371 -62
  14. package/System.Buffers/internal/index.d.ts +25 -13
  15. package/System.Buffers.Binary/bindings.json +126 -0
  16. package/System.Buffers.Text/bindings.json +67 -0
  17. package/System.Buffers.Text/internal/index.d.ts +1 -1
  18. package/System.Buffers.Text.d.ts +1 -1
  19. package/System.Buffers.d.ts +1 -1
  20. package/System.CodeDom.Compiler/bindings.json +142 -4
  21. package/System.CodeDom.Compiler/internal/index.d.ts +10 -3
  22. package/System.CodeDom.Compiler.d.ts +1 -1
  23. package/System.Collections/bindings.json +1094 -69
  24. package/System.Collections/internal/index.d.ts +41 -3
  25. package/System.Collections.Concurrent/bindings.json +353 -90
  26. package/System.Collections.Concurrent/internal/index.d.ts +9 -2
  27. package/System.Collections.Frozen/bindings.json +158 -48
  28. package/System.Collections.Generic/bindings.json +1910 -634
  29. package/System.Collections.Generic/internal/index.d.ts +24 -9
  30. package/System.Collections.Immutable/bindings.json +1321 -292
  31. package/System.Collections.ObjectModel/bindings.json +1123 -199
  32. package/System.Collections.ObjectModel/internal/index.d.ts +46 -7
  33. package/System.Collections.ObjectModel.d.ts +3 -3
  34. package/System.Collections.Specialized/bindings.json +763 -58
  35. package/System.Collections.Specialized/internal/index.d.ts +15 -1
  36. package/System.ComponentModel/bindings.json +3590 -166
  37. package/System.ComponentModel/internal/index.d.ts +173 -27
  38. package/System.ComponentModel.DataAnnotations/bindings.json +743 -13
  39. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +152 -43
  40. package/System.ComponentModel.DataAnnotations.Schema/bindings.json +24 -4
  41. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +1 -1
  42. package/System.ComponentModel.DataAnnotations.Schema.d.ts +1 -1
  43. package/System.ComponentModel.DataAnnotations.d.ts +2 -2
  44. package/System.ComponentModel.Design/bindings.json +714 -40
  45. package/System.ComponentModel.Design/internal/index.d.ts +43 -12
  46. package/System.ComponentModel.Design.Serialization/bindings.json +261 -12
  47. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +17 -4
  48. package/System.ComponentModel.Design.d.ts +1 -1
  49. package/System.ComponentModel.d.ts +2 -2
  50. package/System.Configuration.Assemblies/bindings.json +19 -8
  51. package/System.Configuration.Assemblies/internal/index.d.ts +1 -1
  52. package/System.Configuration.Assemblies.d.ts +1 -1
  53. package/System.Data/bindings.json +3325 -302
  54. package/System.Data/internal/index.d.ts +145 -24
  55. package/System.Data.Common/bindings.json +3047 -241
  56. package/System.Data.Common/internal/index.d.ts +228 -55
  57. package/System.Data.Common.d.ts +3 -3
  58. package/System.Data.SqlTypes/bindings.json +754 -71
  59. package/System.Data.SqlTypes/internal/index.d.ts +1 -0
  60. package/System.Data.d.ts +3 -3
  61. package/System.Diagnostics/bindings.json +1737 -130
  62. package/System.Diagnostics/internal/index.d.ts +121 -41
  63. package/System.Diagnostics.CodeAnalysis/bindings.json +125 -4
  64. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +1 -1
  65. package/System.Diagnostics.CodeAnalysis.d.ts +1 -1
  66. package/System.Diagnostics.Contracts/bindings.json +68 -4
  67. package/System.Diagnostics.Metrics/bindings.json +565 -55
  68. package/System.Diagnostics.Metrics/internal/index.d.ts +49 -12
  69. package/System.Diagnostics.SymbolStore/bindings.json +106 -4
  70. package/System.Diagnostics.Tracing/bindings.json +979 -160
  71. package/System.Diagnostics.Tracing/internal/index.d.ts +37 -17
  72. package/System.Diagnostics.d.ts +2 -2
  73. package/System.Drawing/bindings.json +611 -4
  74. package/System.Drawing/internal/index.d.ts +1 -1
  75. package/System.Drawing.d.ts +1 -1
  76. package/System.Dynamic/bindings.json +346 -24
  77. package/System.Dynamic/internal/index.d.ts +13 -0
  78. package/System.Formats.Asn1/bindings.json +229 -12
  79. package/System.Formats.Asn1/internal/index.d.ts +1 -0
  80. package/System.Formats.Tar/bindings.json +120 -16
  81. package/System.Globalization/bindings.json +1088 -53
  82. package/System.Globalization/internal/index.d.ts +44 -7
  83. package/System.IO/bindings.json +2163 -110
  84. package/System.IO/internal/index.d.ts +119 -27
  85. package/System.IO.Compression/bindings.json +466 -38
  86. package/System.IO.Compression/internal/index.d.ts +36 -9
  87. package/System.IO.Compression.d.ts +2 -2
  88. package/System.IO.Enumeration/bindings.json +221 -22
  89. package/System.IO.Enumeration/internal/index.d.ts +15 -4
  90. package/System.IO.IsolatedStorage/bindings.json +250 -11
  91. package/System.IO.IsolatedStorage/internal/index.d.ts +18 -5
  92. package/System.IO.IsolatedStorage.d.ts +2 -2
  93. package/System.IO.MemoryMappedFiles/bindings.json +138 -16
  94. package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -8
  95. package/System.IO.MemoryMappedFiles.d.ts +4 -3
  96. package/System.IO.Pipelines/bindings.json +147 -3
  97. package/System.IO.Pipelines/internal/index.d.ts +15 -2
  98. package/System.IO.Pipes/bindings.json +889 -54
  99. package/System.IO.Pipes/internal/index.d.ts +64 -23
  100. package/System.IO.Pipes.d.ts +4 -3
  101. package/System.IO.d.ts +2 -2
  102. package/System.Linq/bindings.json +944 -79
  103. package/System.Linq.Expressions/bindings.json +1998 -57
  104. package/System.Linq.Expressions/internal/index.d.ts +207 -29
  105. package/System.Linq.Expressions.Interpreter/bindings.json +2 -0
  106. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +1 -1
  107. package/System.Linq.Expressions.Interpreter.d.ts +1 -1
  108. package/System.Linq.Expressions.d.ts +1 -1
  109. package/System.Net/bindings.json +2083 -248
  110. package/System.Net/internal/index.d.ts +102 -40
  111. package/System.Net.Cache/bindings.json +53 -12
  112. package/System.Net.Cache/internal/index.d.ts +1 -1
  113. package/System.Net.Cache.d.ts +1 -1
  114. package/System.Net.Http/bindings.json +2104 -105
  115. package/System.Net.Http/internal/index.d.ts +174 -31
  116. package/System.Net.Http.Headers/bindings.json +456 -24
  117. package/System.Net.Http.Headers/internal/index.d.ts +8 -2
  118. package/System.Net.Http.Json/bindings.json +171 -0
  119. package/System.Net.Http.Json/internal/index.d.ts +14 -2
  120. package/System.Net.Http.Metrics/bindings.json +5 -0
  121. package/System.Net.Mail/bindings.json +1127 -101
  122. package/System.Net.Mail/internal/index.d.ts +87 -16
  123. package/System.Net.Mime/bindings.json +82 -4
  124. package/System.Net.Mime/internal/index.d.ts +1 -1
  125. package/System.Net.Mime.d.ts +1 -1
  126. package/System.Net.NetworkInformation/bindings.json +857 -61
  127. package/System.Net.NetworkInformation/internal/index.d.ts +27 -5
  128. package/System.Net.NetworkInformation.d.ts +2 -2
  129. package/System.Net.Quic/bindings.json +157 -16
  130. package/System.Net.Quic/internal/index.d.ts +8 -3
  131. package/System.Net.Quic.d.ts +2 -2
  132. package/System.Net.Security/bindings.json +798 -37
  133. package/System.Net.Security/internal/index.d.ts +22 -5
  134. package/System.Net.Security.d.ts +2 -2
  135. package/System.Net.ServerSentEvents/bindings.json +31 -13
  136. package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
  137. package/System.Net.Sockets/bindings.json +1157 -78
  138. package/System.Net.Sockets/internal/index.d.ts +53 -21
  139. package/System.Net.Sockets.d.ts +2 -2
  140. package/System.Net.WebSockets/bindings.json +311 -26
  141. package/System.Net.WebSockets/internal/index.d.ts +12 -3
  142. package/System.Net.WebSockets.d.ts +2 -2
  143. package/System.Net.d.ts +2 -2
  144. package/System.Numerics/bindings.json +3546 -957
  145. package/System.Reflection/bindings.json +1913 -132
  146. package/System.Reflection/internal/index.d.ts +49 -5
  147. package/System.Reflection.Emit/bindings.json +2509 -57
  148. package/System.Reflection.Emit/internal/index.d.ts +158 -15
  149. package/System.Reflection.Emit.d.ts +1 -1
  150. package/System.Reflection.Metadata/bindings.json +1936 -231
  151. package/System.Reflection.Metadata/internal/index.d.ts +8 -1
  152. package/System.Reflection.Metadata.Ecma335/bindings.json +480 -24
  153. package/System.Reflection.PortableExecutable/bindings.json +583 -39
  154. package/System.Reflection.PortableExecutable/internal/index.d.ts +25 -3
  155. package/System.Resources/bindings.json +323 -17
  156. package/System.Resources/internal/index.d.ts +21 -5
  157. package/System.Resources.d.ts +1 -1
  158. package/System.Runtime/bindings.json +65 -8
  159. package/System.Runtime/internal/index.d.ts +6 -1
  160. package/System.Runtime.CompilerServices/bindings.json +718 -139
  161. package/System.Runtime.CompilerServices/internal/index.d.ts +3 -0
  162. package/System.Runtime.ConstrainedExecution/bindings.json +56 -10
  163. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +8 -2
  164. package/System.Runtime.ConstrainedExecution.d.ts +1 -1
  165. package/System.Runtime.ExceptionServices/bindings.json +11 -0
  166. package/System.Runtime.InteropServices/bindings.json +1858 -265
  167. package/System.Runtime.InteropServices/internal/index.d.ts +51 -11
  168. package/System.Runtime.InteropServices.ComTypes/bindings.json +478 -72
  169. package/System.Runtime.InteropServices.Java/bindings.json +12 -0
  170. package/System.Runtime.InteropServices.JavaScript/bindings.json +205 -30
  171. package/System.Runtime.InteropServices.Marshalling/bindings.json +484 -89
  172. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +22 -4
  173. package/System.Runtime.InteropServices.Marshalling.d.ts +2 -1
  174. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +19 -4
  175. package/System.Runtime.InteropServices.Swift/bindings.json +11 -3
  176. package/System.Runtime.InteropServices.d.ts +1 -1
  177. package/System.Runtime.Intrinsics/bindings.json +1296 -40
  178. package/System.Runtime.Intrinsics.Arm/bindings.json +4959 -8
  179. package/System.Runtime.Intrinsics.Wasm/bindings.json +484 -1
  180. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -0
  181. package/System.Runtime.Intrinsics.X86/bindings.json +3765 -8
  182. package/System.Runtime.Loader/bindings.json +130 -0
  183. package/System.Runtime.Loader/internal/index.d.ts +10 -1
  184. package/System.Runtime.Remoting/bindings.json +2 -0
  185. package/System.Runtime.Remoting/internal/index.d.ts +1 -1
  186. package/System.Runtime.Remoting.d.ts +1 -1
  187. package/System.Runtime.Serialization/bindings.json +920 -17
  188. package/System.Runtime.Serialization/internal/index.d.ts +36 -5
  189. package/System.Runtime.Serialization.DataContracts/bindings.json +85 -38
  190. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +27 -19
  191. package/System.Runtime.Serialization.Formatters/bindings.json +24 -12
  192. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +1 -1
  193. package/System.Runtime.Serialization.Formatters.Binary/bindings.json +15 -0
  194. package/System.Runtime.Serialization.Formatters.d.ts +1 -1
  195. package/System.Runtime.Serialization.Json/bindings.json +56 -0
  196. package/System.Runtime.Serialization.d.ts +2 -2
  197. package/System.Runtime.Versioning/bindings.json +62 -8
  198. package/System.Runtime.Versioning/internal/index.d.ts +1 -1
  199. package/System.Runtime.Versioning.d.ts +1 -1
  200. package/System.Security/bindings.json +265 -12
  201. package/System.Security/internal/index.d.ts +12 -1
  202. package/System.Security.AccessControl/bindings.json +4082 -797
  203. package/System.Security.AccessControl/internal/index.d.ts +131 -72
  204. package/System.Security.AccessControl.d.ts +2 -1
  205. package/System.Security.Authentication/bindings.json +80 -16
  206. package/System.Security.Authentication/internal/index.d.ts +2 -0
  207. package/System.Security.Authentication.ExtendedProtection/bindings.json +108 -13
  208. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -3
  209. package/System.Security.Authentication.ExtendedProtection.d.ts +2 -2
  210. package/System.Security.Claims/bindings.json +436 -0
  211. package/System.Security.Claims/internal/index.d.ts +34 -4
  212. package/System.Security.Claims.d.ts +2 -1
  213. package/System.Security.Cryptography/bindings.json +11592 -237
  214. package/System.Security.Cryptography/internal/index.d.ts +822 -102
  215. package/System.Security.Cryptography.X509Certificates/bindings.json +1000 -114
  216. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +36 -9
  217. package/System.Security.Cryptography.X509Certificates.d.ts +1 -1
  218. package/System.Security.Cryptography.d.ts +2 -2
  219. package/System.Security.Permissions/bindings.json +88 -14
  220. package/System.Security.Permissions/internal/index.d.ts +3 -1
  221. package/System.Security.Permissions.d.ts +1 -1
  222. package/System.Security.Policy/bindings.json +42 -1
  223. package/System.Security.Policy/internal/index.d.ts +1 -0
  224. package/System.Security.Principal/bindings.json +355 -28
  225. package/System.Security.Principal/internal/index.d.ts +11 -3
  226. package/System.Security.Principal.d.ts +1 -1
  227. package/System.Text/bindings.json +800 -31
  228. package/System.Text/internal/index.d.ts +10 -1
  229. package/System.Text.Encodings.Web/bindings.json +87 -4
  230. package/System.Text.Encodings.Web/internal/index.d.ts +4 -0
  231. package/System.Text.Json/bindings.json +574 -49
  232. package/System.Text.Json/internal/index.d.ts +12 -10
  233. package/System.Text.Json.Nodes/bindings.json +152 -19
  234. package/System.Text.Json.Nodes/internal/index.d.ts +1 -1
  235. package/System.Text.Json.Schema/bindings.json +10 -0
  236. package/System.Text.Json.Schema/internal/index.d.ts +1 -1
  237. package/System.Text.Json.Schema.d.ts +1 -1
  238. package/System.Text.Json.Serialization/bindings.json +295 -54
  239. package/System.Text.Json.Serialization/internal/index.d.ts +13 -1
  240. package/System.Text.Json.Serialization.Metadata/bindings.json +198 -24
  241. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +7 -4
  242. package/System.Text.RegularExpressions/bindings.json +1319 -103
  243. package/System.Text.RegularExpressions/internal/index.d.ts +25 -5
  244. package/System.Text.RegularExpressions.d.ts +1 -1
  245. package/System.Text.Unicode/bindings.json +185 -0
  246. package/System.Text.Unicode/internal/index.d.ts +1 -1
  247. package/System.Text.Unicode.d.ts +1 -1
  248. package/System.Threading/bindings.json +1270 -64
  249. package/System.Threading/internal/index.d.ts +104 -36
  250. package/System.Threading.Channels/bindings.json +143 -29
  251. package/System.Threading.Channels/internal/index.d.ts +8 -2
  252. package/System.Threading.Tasks/bindings.json +719 -29
  253. package/System.Threading.Tasks/internal/index.d.ts +25 -4
  254. package/System.Threading.Tasks.Dataflow/bindings.json +442 -143
  255. package/System.Threading.Tasks.Sources/bindings.json +34 -11
  256. package/System.Timers/bindings.json +50 -4
  257. package/System.Timers/internal/index.d.ts +9 -4
  258. package/System.Timers.d.ts +2 -2
  259. package/System.Transactions/bindings.json +269 -32
  260. package/System.Transactions/internal/index.d.ts +5 -0
  261. package/System.Web/bindings.json +32 -0
  262. package/System.Windows.Input/bindings.json +3 -0
  263. package/System.Windows.Markup/bindings.json +4 -0
  264. package/System.Windows.Markup/internal/index.d.ts +1 -1
  265. package/System.Windows.Markup.d.ts +1 -1
  266. package/System.Xml/bindings.json +2447 -210
  267. package/System.Xml/internal/index.d.ts +100 -30
  268. package/System.Xml.Linq/bindings.json +361 -24
  269. package/System.Xml.Resolvers/bindings.json +26 -4
  270. package/System.Xml.Schema/bindings.json +830 -56
  271. package/System.Xml.Schema/internal/index.d.ts +20 -1
  272. package/System.Xml.Serialization/bindings.json +4421 -149
  273. package/System.Xml.Serialization/internal/index.d.ts +74 -8
  274. package/System.Xml.Serialization.d.ts +4 -4
  275. package/System.Xml.XPath/bindings.json +287 -35
  276. package/System.Xml.XPath/internal/index.d.ts +4 -0
  277. package/System.Xml.Xsl/bindings.json +174 -8
  278. package/System.Xml.Xsl/internal/index.d.ts +8 -2
  279. package/System.Xml.Xsl.Runtime/bindings.json +613 -58
  280. package/System.Xml.Xsl.Runtime/internal/index.d.ts +19 -3
  281. package/System.Xml.Xsl.d.ts +1 -1
  282. package/System.d.ts +1 -1
  283. package/package.json +1 -1
@@ -14,7 +14,7 @@ import type { IAsyncEnumerable_1, IEnumerable_1, IReadOnlyList_1 } from "../../S
14
14
  import type { Collection_1 } from "../../System.Collections.ObjectModel/internal/index.js";
15
15
  import type { IDictionary } from "../../System.Collections/internal/index.js";
16
16
  import * as System_ComponentModel_Internal from "../../System.ComponentModel/internal/index.js";
17
- import type { Component, IComponent, IContainer, ISite, ISupportInitialize, ISynchronizeInvoke } from "../../System.ComponentModel/internal/index.js";
17
+ import type { Component, EventHandlerList, IComponent, IContainer, ISite, ISupportInitialize, ISynchronizeInvoke } from "../../System.ComponentModel/internal/index.js";
18
18
  import type { MethodBase, MethodInfo } from "../../System.Reflection/internal/index.js";
19
19
  import type { SafeBuffer } from "../../System.Runtime.InteropServices/internal/index.js";
20
20
  import * as System_Runtime_Serialization_Internal from "../../System.Runtime.Serialization/internal/index.js";
@@ -22,7 +22,7 @@ import type { ISerializable, SerializationInfo, StreamingContext } from "../../S
22
22
  import type { AccessControlSections, DirectorySecurity, FileSecurity, FileSystemRights } from "../../System.Security.AccessControl/internal/index.js";
23
23
  import type { Encoding, StringBuilder } from "../../System.Text/internal/index.js";
24
24
  import type { Task, Task_1, ValueTask, ValueTask_1 } from "../../System.Threading.Tasks/internal/index.js";
25
- import type { CancellationToken } from "../../System.Threading/internal/index.js";
25
+ import type { CancellationToken, WaitHandle } 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, Char, DateTime, Decimal, Delegate, Double, Enum, EventArgs, Exception, Half, IAsyncDisposable, IAsyncResult, ICloneable, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int16, Int32, Int64, IntPtr, ISpanFormattable, MarshalByRefObject, Memory_1, MulticastDelegate, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, SByte, Single, Span_1, String as ClrString, SystemException, TimeSpan, Type, TypeCode, UInt16, UInt32, UInt64, ValueType, Void } from "../../System/internal/index.js";
28
28
 
@@ -191,7 +191,13 @@ export const WaitForChangedResult: {
191
191
 
192
192
  export type WaitForChangedResult = WaitForChangedResult$instance;
193
193
 
194
- export interface BinaryReader$instance {
194
+ export abstract class BinaryReader$protected {
195
+ protected Dispose(disposing: boolean): void;
196
+ protected FillBuffer(numBytes: int): void;
197
+ }
198
+
199
+
200
+ export interface BinaryReader$instance extends BinaryReader$protected {
195
201
  readonly BaseStream: Stream;
196
202
  Close(): void;
197
203
  Dispose(): void;
@@ -235,12 +241,15 @@ export interface __BinaryReader$views {
235
241
  As_IDisposable(): System_Internal.IDisposable$instance;
236
242
  }
237
243
 
238
- export interface BinaryReader$instance extends System_Internal.IDisposable$instance {}
239
-
240
244
  export type BinaryReader = BinaryReader$instance & __BinaryReader$views;
241
245
 
242
246
 
243
- export interface BinaryWriter$instance {
247
+ export abstract class BinaryWriter$protected {
248
+ protected Dispose(disposing: boolean): void;
249
+ }
250
+
251
+
252
+ export interface BinaryWriter$instance extends BinaryWriter$protected {
244
253
  readonly BaseStream: Stream;
245
254
  Close(): void;
246
255
  Dispose(): void;
@@ -274,6 +283,7 @@ export interface BinaryWriter$instance {
274
283
 
275
284
 
276
285
  export const BinaryWriter: {
286
+ new(): BinaryWriter;
277
287
  new(output: Stream): BinaryWriter;
278
288
  new(output: Stream, encoding: Encoding): BinaryWriter;
279
289
  new(output: Stream, encoding: Encoding, leaveOpen: boolean): BinaryWriter;
@@ -286,12 +296,17 @@ export interface __BinaryWriter$views {
286
296
  As_IDisposable(): System_Internal.IDisposable$instance;
287
297
  }
288
298
 
289
- export interface BinaryWriter$instance extends System_Internal.IAsyncDisposable$instance, System_Internal.IDisposable$instance {}
299
+ export interface BinaryWriter$instance extends System_Internal.IAsyncDisposable$instance {}
290
300
 
291
301
  export type BinaryWriter = BinaryWriter$instance & __BinaryWriter$views;
292
302
 
293
303
 
294
- export interface BufferedStream$instance extends Stream$instance {
304
+ export abstract class BufferedStream$protected {
305
+ protected Dispose2(disposing: boolean): void;
306
+ }
307
+
308
+
309
+ export interface BufferedStream$instance extends BufferedStream$protected, Stream$instance {
295
310
  readonly BufferSize: int;
296
311
  readonly CanRead: boolean;
297
312
  readonly CanSeek: boolean;
@@ -408,6 +423,7 @@ export const DirectoryNotFoundException: {
408
423
  new(): DirectoryNotFoundException;
409
424
  new(message: string): DirectoryNotFoundException;
410
425
  new(message: string, innerException: Exception): DirectoryNotFoundException;
426
+ new(info: SerializationInfo, context: StreamingContext): DirectoryNotFoundException;
411
427
  };
412
428
 
413
429
 
@@ -456,6 +472,7 @@ export const DriveNotFoundException: {
456
472
  new(): DriveNotFoundException;
457
473
  new(message: string): DriveNotFoundException;
458
474
  new(message: string, innerException: Exception): DriveNotFoundException;
475
+ new(info: SerializationInfo, context: StreamingContext): DriveNotFoundException;
459
476
  };
460
477
 
461
478
 
@@ -475,6 +492,7 @@ export const EndOfStreamException: {
475
492
  new(): EndOfStreamException;
476
493
  new(message: string): EndOfStreamException;
477
494
  new(message: string, innerException: Exception): EndOfStreamException;
495
+ new(info: SerializationInfo, context: StreamingContext): EndOfStreamException;
478
496
  };
479
497
 
480
498
 
@@ -573,6 +591,7 @@ export const FileLoadException: {
573
591
  new(message: string, inner: Exception): FileLoadException;
574
592
  new(message: string, fileName: string): FileLoadException;
575
593
  new(message: string, fileName: string, inner: Exception): FileLoadException;
594
+ new(info: SerializationInfo, context: StreamingContext): FileLoadException;
576
595
  };
577
596
 
578
597
 
@@ -598,6 +617,7 @@ export const FileNotFoundException: {
598
617
  new(message: string, innerException: Exception): FileNotFoundException;
599
618
  new(message: string, fileName: string): FileNotFoundException;
600
619
  new(message: string, fileName: string, innerException: Exception): FileNotFoundException;
620
+ new(info: SerializationInfo, context: StreamingContext): FileNotFoundException;
601
621
  };
602
622
 
603
623
 
@@ -608,7 +628,13 @@ export interface __FileNotFoundException$views {
608
628
  export type FileNotFoundException = FileNotFoundException$instance & __FileNotFoundException$views;
609
629
 
610
630
 
611
- export interface FileStream$instance extends Stream$instance {
631
+ export abstract class FileStream$protected {
632
+ protected Dispose2(disposing: boolean): void;
633
+ protected Finalize(): void;
634
+ }
635
+
636
+
637
+ export interface FileStream$instance extends FileStream$protected, Stream$instance {
612
638
  readonly CanRead: boolean;
613
639
  readonly CanSeek: boolean;
614
640
  readonly CanWrite: boolean;
@@ -739,6 +765,8 @@ export interface FileSystemInfo$instance extends MarshalByRefObject {
739
765
 
740
766
 
741
767
  export const FileSystemInfo: {
768
+ new(info: SerializationInfo, context: StreamingContext): FileSystemInfo;
769
+ new(): FileSystemInfo;
742
770
  };
743
771
 
744
772
 
@@ -751,7 +779,12 @@ export interface FileSystemInfo$instance extends System_Runtime_Serialization_In
751
779
  export type FileSystemInfo = FileSystemInfo$instance & __FileSystemInfo$views;
752
780
 
753
781
 
754
- export interface FileSystemWatcher$instance extends Component {
782
+ export abstract class FileSystemWatcher$protected {
783
+ protected Dispose2(disposing: boolean): void;
784
+ }
785
+
786
+
787
+ export interface FileSystemWatcher$instance extends FileSystemWatcher$protected, Component {
755
788
  EnableRaisingEvents: boolean;
756
789
  Filter: string;
757
790
  readonly Filters: Collection_1<System_Internal.String>;
@@ -785,7 +818,7 @@ export interface __FileSystemWatcher$views {
785
818
  As_IDisposable(): System_Internal.IDisposable$instance;
786
819
  }
787
820
 
788
- export interface FileSystemWatcher$instance extends System_ComponentModel_Internal.IComponent$instance, System_ComponentModel_Internal.ISupportInitialize$instance {}
821
+ export interface FileSystemWatcher$instance extends System_ComponentModel_Internal.ISupportInitialize$instance {}
789
822
 
790
823
  export type FileSystemWatcher = FileSystemWatcher$instance & __FileSystemWatcher$views;
791
824
 
@@ -799,6 +832,7 @@ export const InternalBufferOverflowException: {
799
832
  new(): InternalBufferOverflowException;
800
833
  new(message: string): InternalBufferOverflowException;
801
834
  new(message: string, inner: Exception): InternalBufferOverflowException;
835
+ new(info: SerializationInfo, context: StreamingContext): InternalBufferOverflowException;
802
836
  };
803
837
 
804
838
 
@@ -838,6 +872,7 @@ export const IOException: {
838
872
  new(message: string): IOException;
839
873
  new(message: string, hresult: int): IOException;
840
874
  new(message: string, innerException: Exception): IOException;
875
+ new(info: SerializationInfo, context: StreamingContext): IOException;
841
876
  };
842
877
 
843
878
 
@@ -848,7 +883,12 @@ export interface __IOException$views {
848
883
  export type IOException = IOException$instance & __IOException$views;
849
884
 
850
885
 
851
- export interface MemoryStream$instance extends Stream$instance {
886
+ export abstract class MemoryStream$protected {
887
+ protected Dispose2(disposing: boolean): void;
888
+ }
889
+
890
+
891
+ export interface MemoryStream$instance extends MemoryStream$protected, Stream$instance {
852
892
  readonly CanRead: boolean;
853
893
  readonly CanSeek: boolean;
854
894
  readonly CanWrite: boolean;
@@ -920,6 +960,7 @@ export const PathTooLongException: {
920
960
  new(): PathTooLongException;
921
961
  new(message: string): PathTooLongException;
922
962
  new(message: string, innerException: Exception): PathTooLongException;
963
+ new(info: SerializationInfo, context: StreamingContext): PathTooLongException;
923
964
  };
924
965
 
925
966
 
@@ -943,7 +984,14 @@ export const RenamedEventArgs: {
943
984
 
944
985
  export type RenamedEventArgs = RenamedEventArgs$instance;
945
986
 
946
- export interface Stream$instance extends MarshalByRefObject {
987
+ export abstract class Stream$protected {
988
+ protected CreateWaitHandle(): WaitHandle;
989
+ protected Dispose(disposing: boolean): void;
990
+ protected ObjectInvariant(): void;
991
+ }
992
+
993
+
994
+ export interface Stream$instance extends Stream$protected, MarshalByRefObject {
947
995
  readonly CanRead: boolean;
948
996
  readonly CanSeek: boolean;
949
997
  readonly CanTimeout: boolean;
@@ -992,8 +1040,11 @@ export interface Stream$instance extends MarshalByRefObject {
992
1040
 
993
1041
 
994
1042
  export const Stream: {
1043
+ new(): Stream;
995
1044
  readonly Null: Stream;
996
1045
  Synchronized(stream: Stream): Stream;
1046
+ ValidateBufferArguments(buffer: byte[], offset: int, count: int): void;
1047
+ ValidateCopyToArguments(destination: Stream, bufferSize: int): void;
997
1048
  };
998
1049
 
999
1050
 
@@ -1002,12 +1053,17 @@ export interface __Stream$views {
1002
1053
  As_IDisposable(): System_Internal.IDisposable$instance;
1003
1054
  }
1004
1055
 
1005
- export interface Stream$instance extends System_Internal.IAsyncDisposable$instance, System_Internal.IDisposable$instance {}
1056
+ export interface Stream$instance extends System_Internal.IAsyncDisposable$instance {}
1006
1057
 
1007
1058
  export type Stream = Stream$instance & __Stream$views;
1008
1059
 
1009
1060
 
1010
- export interface StreamReader$instance extends TextReader$instance {
1061
+ export abstract class StreamReader$protected {
1062
+ protected Dispose2(disposing: boolean): void;
1063
+ }
1064
+
1065
+
1066
+ export interface StreamReader$instance extends StreamReader$protected, TextReader$instance {
1011
1067
  readonly BaseStream: Stream;
1012
1068
  readonly CurrentEncoding: Encoding;
1013
1069
  readonly EndOfStream: boolean;
@@ -1067,7 +1123,12 @@ export interface __StreamReader$views {
1067
1123
  export type StreamReader = StreamReader$instance & __StreamReader$views;
1068
1124
 
1069
1125
 
1070
- export interface StreamWriter$instance extends TextWriter$instance {
1126
+ export abstract class StreamWriter$protected {
1127
+ protected Dispose2(disposing: boolean): void;
1128
+ }
1129
+
1130
+
1131
+ export interface StreamWriter$instance extends StreamWriter$protected, TextWriter$instance {
1071
1132
  AutoFlush: boolean;
1072
1133
  readonly BaseStream: Stream;
1073
1134
  readonly Encoding: Encoding;
@@ -1162,7 +1223,12 @@ export interface __StreamWriter$views {
1162
1223
  export type StreamWriter = StreamWriter$instance & __StreamWriter$views;
1163
1224
 
1164
1225
 
1165
- export interface StringReader$instance extends TextReader$instance {
1226
+ export abstract class StringReader$protected {
1227
+ protected Dispose2(disposing: boolean): void;
1228
+ }
1229
+
1230
+
1231
+ export interface StringReader$instance extends StringReader$protected, TextReader$instance {
1166
1232
  Close(): void;
1167
1233
  Dispose(): void;
1168
1234
  Peek(): int;
@@ -1206,7 +1272,12 @@ export interface __StringReader$views {
1206
1272
  export type StringReader = StringReader$instance & __StringReader$views;
1207
1273
 
1208
1274
 
1209
- export interface StringWriter$instance extends TextWriter$instance {
1275
+ export abstract class StringWriter$protected {
1276
+ protected Dispose2(disposing: boolean): void;
1277
+ }
1278
+
1279
+
1280
+ export interface StringWriter$instance extends StringWriter$protected, TextWriter$instance {
1210
1281
  readonly Encoding: Encoding;
1211
1282
  Close(): void;
1212
1283
  Dispose(): void;
@@ -1292,7 +1363,12 @@ export interface __StringWriter$views {
1292
1363
  export type StringWriter = StringWriter$instance & __StringWriter$views;
1293
1364
 
1294
1365
 
1295
- export interface TextReader$instance extends MarshalByRefObject {
1366
+ export abstract class TextReader$protected {
1367
+ protected Dispose(disposing: boolean): void;
1368
+ }
1369
+
1370
+
1371
+ export interface TextReader$instance extends TextReader$protected, MarshalByRefObject {
1296
1372
  Close(): void;
1297
1373
  Dispose(): void;
1298
1374
  Peek(): int;
@@ -1315,6 +1391,7 @@ export interface TextReader$instance extends MarshalByRefObject {
1315
1391
 
1316
1392
 
1317
1393
  export const TextReader: {
1394
+ new(): TextReader;
1318
1395
  readonly Null: TextReader;
1319
1396
  Synchronized(reader: TextReader): TextReader;
1320
1397
  };
@@ -1324,12 +1401,15 @@ export interface __TextReader$views {
1324
1401
  As_IDisposable(): System_Internal.IDisposable$instance;
1325
1402
  }
1326
1403
 
1327
- export interface TextReader$instance extends System_Internal.IDisposable$instance {}
1328
-
1329
1404
  export type TextReader = TextReader$instance & __TextReader$views;
1330
1405
 
1331
1406
 
1332
- export interface TextWriter$instance extends MarshalByRefObject {
1407
+ export abstract class TextWriter$protected {
1408
+ protected Dispose(disposing: boolean): void;
1409
+ }
1410
+
1411
+
1412
+ export interface TextWriter$instance extends TextWriter$protected, MarshalByRefObject {
1333
1413
  readonly Encoding: Encoding;
1334
1414
  readonly FormatProvider: IFormatProvider;
1335
1415
  NewLine: string;
@@ -1397,6 +1477,8 @@ export interface TextWriter$instance extends MarshalByRefObject {
1397
1477
 
1398
1478
 
1399
1479
  export const TextWriter: {
1480
+ new(): TextWriter;
1481
+ new(formatProvider: IFormatProvider): TextWriter;
1400
1482
  readonly Null: TextWriter;
1401
1483
  CreateBroadcasting(...writers: TextWriter[]): TextWriter;
1402
1484
  Synchronized(writer: TextWriter): TextWriter;
@@ -1408,12 +1490,17 @@ export interface __TextWriter$views {
1408
1490
  As_IDisposable(): System_Internal.IDisposable$instance;
1409
1491
  }
1410
1492
 
1411
- export interface TextWriter$instance extends System_Internal.IAsyncDisposable$instance, System_Internal.IDisposable$instance {}
1493
+ export interface TextWriter$instance extends System_Internal.IAsyncDisposable$instance {}
1412
1494
 
1413
1495
  export type TextWriter = TextWriter$instance & __TextWriter$views;
1414
1496
 
1415
1497
 
1416
- export interface UnmanagedMemoryAccessor$instance {
1498
+ export abstract class UnmanagedMemoryAccessor$protected {
1499
+ protected Dispose(disposing: boolean): void;
1500
+ }
1501
+
1502
+
1503
+ export interface UnmanagedMemoryAccessor$instance extends UnmanagedMemoryAccessor$protected {
1417
1504
  readonly CanRead: boolean;
1418
1505
  readonly CanWrite: boolean;
1419
1506
  readonly Capacity: long;
@@ -1452,6 +1539,7 @@ export interface UnmanagedMemoryAccessor$instance {
1452
1539
 
1453
1540
 
1454
1541
  export const UnmanagedMemoryAccessor: {
1542
+ new(): UnmanagedMemoryAccessor;
1455
1543
  new(buffer: SafeBuffer, offset: long, capacity: long): UnmanagedMemoryAccessor;
1456
1544
  new(buffer: SafeBuffer, offset: long, capacity: long, access: FileAccess): UnmanagedMemoryAccessor;
1457
1545
  };
@@ -1461,12 +1549,15 @@ export interface __UnmanagedMemoryAccessor$views {
1461
1549
  As_IDisposable(): System_Internal.IDisposable$instance;
1462
1550
  }
1463
1551
 
1464
- export interface UnmanagedMemoryAccessor$instance extends System_Internal.IDisposable$instance {}
1465
-
1466
1552
  export type UnmanagedMemoryAccessor = UnmanagedMemoryAccessor$instance & __UnmanagedMemoryAccessor$views;
1467
1553
 
1468
1554
 
1469
- export interface UnmanagedMemoryStream$instance extends Stream$instance {
1555
+ export abstract class UnmanagedMemoryStream$protected {
1556
+ protected Dispose2(disposing: boolean): void;
1557
+ }
1558
+
1559
+
1560
+ export interface UnmanagedMemoryStream$instance extends UnmanagedMemoryStream$protected, Stream$instance {
1470
1561
  readonly CanRead: boolean;
1471
1562
  readonly CanSeek: boolean;
1472
1563
  readonly CanWrite: boolean;
@@ -1502,6 +1593,7 @@ export interface UnmanagedMemoryStream$instance extends Stream$instance {
1502
1593
 
1503
1594
 
1504
1595
  export const UnmanagedMemoryStream: {
1596
+ new(): UnmanagedMemoryStream;
1505
1597
  new(buffer: SafeBuffer, offset: long, length: long): UnmanagedMemoryStream;
1506
1598
  new(buffer: SafeBuffer, offset: long, length: long, access: FileAccess): UnmanagedMemoryStream;
1507
1599
  new(pointer: ptr<byte>, length: long): UnmanagedMemoryStream;