@tsonic/dotnet 10.0.1 → 10.0.3

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 (295) 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 +0 -1
  4. package/Microsoft.VisualBasic/bindings.json +635 -68
  5. package/Microsoft.VisualBasic/internal/index.d.ts +1 -11
  6. package/Microsoft.VisualBasic.CompilerServices/bindings.json +210 -0
  7. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +0 -22
  8. package/Microsoft.VisualBasic.FileIO/bindings.json +195 -24
  9. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -3
  10. package/Microsoft.Win32/bindings.json +107 -24
  11. package/Microsoft.Win32/internal/index.d.ts +0 -1
  12. package/Microsoft.Win32.SafeHandles/bindings.json +769 -15
  13. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +37 -6
  14. package/System/bindings.json +11622 -2308
  15. package/System/internal/index.d.ts +78 -41
  16. package/System.Buffers/bindings.json +371 -62
  17. package/System.Buffers/internal/index.d.ts +15 -16
  18. package/System.Buffers.Binary/bindings.json +126 -0
  19. package/System.Buffers.Text/bindings.json +67 -0
  20. package/System.Buffers.Text/internal/index.d.ts +1 -1
  21. package/System.Buffers.Text.d.ts +1 -1
  22. package/System.Buffers.d.ts +1 -1
  23. package/System.CodeDom.Compiler/bindings.json +142 -4
  24. package/System.CodeDom.Compiler/internal/index.d.ts +5 -2
  25. package/System.CodeDom.Compiler.d.ts +1 -1
  26. package/System.Collections/bindings.json +1094 -69
  27. package/System.Collections/internal/index.d.ts +35 -13
  28. package/System.Collections.Concurrent/bindings.json +353 -90
  29. package/System.Collections.Concurrent/internal/index.d.ts +4 -3
  30. package/System.Collections.Frozen/bindings.json +158 -48
  31. package/System.Collections.Generic/bindings.json +1910 -634
  32. package/System.Collections.Generic/internal/index.d.ts +6 -13
  33. package/System.Collections.Immutable/bindings.json +1321 -292
  34. package/System.Collections.Immutable/internal/index.d.ts +0 -13
  35. package/System.Collections.ObjectModel/bindings.json +1123 -199
  36. package/System.Collections.ObjectModel/internal/index.d.ts +22 -6
  37. package/System.Collections.ObjectModel.d.ts +3 -3
  38. package/System.Collections.Specialized/bindings.json +763 -58
  39. package/System.Collections.Specialized/internal/index.d.ts +14 -14
  40. package/System.ComponentModel/bindings.json +3590 -166
  41. package/System.ComponentModel/internal/index.d.ts +117 -61
  42. package/System.ComponentModel.DataAnnotations/bindings.json +743 -13
  43. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +51 -23
  44. package/System.ComponentModel.DataAnnotations.Schema/bindings.json +24 -4
  45. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +5 -4
  46. package/System.ComponentModel.DataAnnotations.Schema.d.ts +1 -1
  47. package/System.ComponentModel.DataAnnotations.d.ts +2 -2
  48. package/System.ComponentModel.Design/bindings.json +714 -40
  49. package/System.ComponentModel.Design/internal/index.d.ts +23 -19
  50. package/System.ComponentModel.Design.Serialization/bindings.json +261 -12
  51. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +16 -14
  52. package/System.ComponentModel.Design.d.ts +1 -1
  53. package/System.ComponentModel.d.ts +2 -2
  54. package/System.Configuration.Assemblies/bindings.json +19 -8
  55. package/System.Configuration.Assemblies/internal/index.d.ts +1 -1
  56. package/System.Configuration.Assemblies.d.ts +1 -1
  57. package/System.Data/bindings.json +3325 -302
  58. package/System.Data/internal/index.d.ts +102 -59
  59. package/System.Data.Common/bindings.json +3047 -241
  60. package/System.Data.Common/internal/index.d.ts +162 -72
  61. package/System.Data.Common.d.ts +3 -3
  62. package/System.Data.SqlTypes/bindings.json +754 -71
  63. package/System.Data.SqlTypes/internal/index.d.ts +3 -3
  64. package/System.Data.d.ts +3 -3
  65. package/System.Diagnostics/bindings.json +1737 -130
  66. package/System.Diagnostics/internal/index.d.ts +97 -80
  67. package/System.Diagnostics.CodeAnalysis/bindings.json +125 -4
  68. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +25 -22
  69. package/System.Diagnostics.CodeAnalysis.d.ts +1 -1
  70. package/System.Diagnostics.Contracts/bindings.json +68 -4
  71. package/System.Diagnostics.Contracts/internal/index.d.ts +2 -2
  72. package/System.Diagnostics.Metrics/bindings.json +565 -55
  73. package/System.Diagnostics.Metrics/internal/index.d.ts +29 -27
  74. package/System.Diagnostics.SymbolStore/bindings.json +106 -4
  75. package/System.Diagnostics.Tracing/bindings.json +979 -160
  76. package/System.Diagnostics.Tracing/internal/index.d.ts +34 -23
  77. package/System.Diagnostics.d.ts +2 -2
  78. package/System.Drawing/bindings.json +611 -4
  79. package/System.Drawing/internal/index.d.ts +1 -1
  80. package/System.Drawing.d.ts +1 -1
  81. package/System.Dynamic/bindings.json +346 -24
  82. package/System.Dynamic/internal/index.d.ts +15 -16
  83. package/System.Formats.Asn1/bindings.json +229 -12
  84. package/System.Formats.Tar/bindings.json +120 -16
  85. package/System.Formats.Tar/internal/index.d.ts +1 -1
  86. package/System.Globalization/bindings.json +1088 -53
  87. package/System.Globalization/internal/index.d.ts +10 -7
  88. package/System.IO/bindings.json +2163 -110
  89. package/System.IO/internal/index.d.ts +40 -24
  90. package/System.IO.Compression/bindings.json +466 -38
  91. package/System.IO.Compression/internal/index.d.ts +10 -5
  92. package/System.IO.Compression.d.ts +2 -2
  93. package/System.IO.Enumeration/bindings.json +221 -22
  94. package/System.IO.Enumeration/internal/index.d.ts +13 -7
  95. package/System.IO.IsolatedStorage/bindings.json +250 -11
  96. package/System.IO.IsolatedStorage/internal/index.d.ts +7 -5
  97. package/System.IO.IsolatedStorage.d.ts +2 -2
  98. package/System.IO.MemoryMappedFiles/bindings.json +138 -16
  99. package/System.IO.MemoryMappedFiles/internal/index.d.ts +7 -8
  100. package/System.IO.MemoryMappedFiles.d.ts +4 -3
  101. package/System.IO.Pipelines/bindings.json +147 -3
  102. package/System.IO.Pipelines/internal/index.d.ts +5 -3
  103. package/System.IO.Pipes/bindings.json +889 -54
  104. package/System.IO.Pipes/internal/index.d.ts +30 -15
  105. package/System.IO.Pipes.d.ts +4 -3
  106. package/System.IO.d.ts +2 -2
  107. package/System.Linq/bindings.json +944 -79
  108. package/System.Linq/internal/index.d.ts +0 -4
  109. package/System.Linq.Expressions/bindings.json +1998 -57
  110. package/System.Linq.Expressions/internal/index.d.ts +78 -49
  111. package/System.Linq.Expressions.Interpreter/bindings.json +2 -0
  112. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +1 -2
  113. package/System.Linq.Expressions.Interpreter.d.ts +1 -1
  114. package/System.Linq.Expressions.d.ts +1 -1
  115. package/System.Net/bindings.json +2083 -248
  116. package/System.Net/internal/index.d.ts +128 -117
  117. package/System.Net.Cache/bindings.json +53 -12
  118. package/System.Net.Cache/internal/index.d.ts +1 -1
  119. package/System.Net.Cache.d.ts +1 -1
  120. package/System.Net.Http/bindings.json +2104 -105
  121. package/System.Net.Http/internal/index.d.ts +107 -37
  122. package/System.Net.Http.Headers/bindings.json +456 -24
  123. package/System.Net.Http.Headers/internal/index.d.ts +38 -35
  124. package/System.Net.Http.Json/bindings.json +171 -0
  125. package/System.Net.Http.Json/internal/index.d.ts +9 -2
  126. package/System.Net.Http.Metrics/bindings.json +5 -0
  127. package/System.Net.Http.Metrics/internal/index.d.ts +2 -3
  128. package/System.Net.Mail/bindings.json +1127 -101
  129. package/System.Net.Mail/internal/index.d.ts +39 -24
  130. package/System.Net.Mime/bindings.json +82 -4
  131. package/System.Net.Mime/internal/index.d.ts +5 -4
  132. package/System.Net.Mime.d.ts +1 -1
  133. package/System.Net.NetworkInformation/bindings.json +857 -61
  134. package/System.Net.NetworkInformation/internal/index.d.ts +25 -34
  135. package/System.Net.NetworkInformation.d.ts +2 -2
  136. package/System.Net.Quic/bindings.json +157 -16
  137. package/System.Net.Quic/internal/index.d.ts +6 -7
  138. package/System.Net.Quic.d.ts +2 -2
  139. package/System.Net.Security/bindings.json +798 -37
  140. package/System.Net.Security/internal/index.d.ts +29 -24
  141. package/System.Net.Security.d.ts +2 -2
  142. package/System.Net.ServerSentEvents/bindings.json +31 -13
  143. package/System.Net.ServerSentEvents/internal/index.d.ts +3 -4
  144. package/System.Net.Sockets/bindings.json +1157 -78
  145. package/System.Net.Sockets/internal/index.d.ts +35 -26
  146. package/System.Net.Sockets.d.ts +2 -2
  147. package/System.Net.WebSockets/bindings.json +311 -26
  148. package/System.Net.WebSockets/internal/index.d.ts +19 -17
  149. package/System.Net.WebSockets.d.ts +2 -2
  150. package/System.Net.d.ts +2 -2
  151. package/System.Numerics/bindings.json +3546 -957
  152. package/System.Reflection/bindings.json +1913 -132
  153. package/System.Reflection/internal/index.d.ts +64 -56
  154. package/System.Reflection.Emit/bindings.json +2509 -57
  155. package/System.Reflection.Emit/internal/index.d.ts +92 -22
  156. package/System.Reflection.Emit.d.ts +1 -1
  157. package/System.Reflection.Metadata/bindings.json +1936 -231
  158. package/System.Reflection.Metadata/internal/index.d.ts +8 -11
  159. package/System.Reflection.Metadata.Ecma335/bindings.json +480 -24
  160. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +0 -1
  161. package/System.Reflection.PortableExecutable/bindings.json +583 -39
  162. package/System.Reflection.PortableExecutable/internal/index.d.ts +9 -5
  163. package/System.Resources/bindings.json +323 -17
  164. package/System.Resources/internal/index.d.ts +9 -5
  165. package/System.Resources.d.ts +1 -1
  166. package/System.Runtime/bindings.json +65 -8
  167. package/System.Runtime/internal/index.d.ts +4 -2
  168. package/System.Runtime.CompilerServices/bindings.json +718 -139
  169. package/System.Runtime.CompilerServices/internal/index.d.ts +13 -15
  170. package/System.Runtime.ConstrainedExecution/bindings.json +56 -10
  171. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
  172. package/System.Runtime.ConstrainedExecution.d.ts +1 -1
  173. package/System.Runtime.ExceptionServices/bindings.json +11 -0
  174. package/System.Runtime.ExceptionServices/internal/index.d.ts +0 -1
  175. package/System.Runtime.InteropServices/bindings.json +1858 -265
  176. package/System.Runtime.InteropServices/internal/index.d.ts +26 -19
  177. package/System.Runtime.InteropServices.ComTypes/bindings.json +478 -72
  178. package/System.Runtime.InteropServices.Java/bindings.json +12 -0
  179. package/System.Runtime.InteropServices.JavaScript/bindings.json +205 -30
  180. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +1 -22
  181. package/System.Runtime.InteropServices.Marshalling/bindings.json +484 -89
  182. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +16 -7
  183. package/System.Runtime.InteropServices.Marshalling.d.ts +2 -1
  184. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +19 -4
  185. package/System.Runtime.InteropServices.Swift/bindings.json +11 -3
  186. package/System.Runtime.InteropServices.d.ts +1 -1
  187. package/System.Runtime.Intrinsics/bindings.json +1296 -40
  188. package/System.Runtime.Intrinsics.Arm/bindings.json +4959 -8
  189. package/System.Runtime.Intrinsics.Wasm/bindings.json +484 -1
  190. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -1
  191. package/System.Runtime.Intrinsics.X86/bindings.json +3765 -8
  192. package/System.Runtime.Loader/bindings.json +130 -0
  193. package/System.Runtime.Loader/internal/index.d.ts +4 -1
  194. package/System.Runtime.Remoting/bindings.json +2 -0
  195. package/System.Runtime.Remoting/internal/index.d.ts +1 -1
  196. package/System.Runtime.Remoting.d.ts +1 -1
  197. package/System.Runtime.Serialization/bindings.json +920 -17
  198. package/System.Runtime.Serialization/internal/index.d.ts +65 -37
  199. package/System.Runtime.Serialization.DataContracts/bindings.json +85 -38
  200. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +27 -21
  201. package/System.Runtime.Serialization.Formatters/bindings.json +24 -12
  202. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +3 -3
  203. package/System.Runtime.Serialization.Formatters.Binary/bindings.json +15 -0
  204. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -2
  205. package/System.Runtime.Serialization.Formatters.d.ts +1 -1
  206. package/System.Runtime.Serialization.Json/bindings.json +56 -0
  207. package/System.Runtime.Serialization.Json/internal/index.d.ts +6 -4
  208. package/System.Runtime.Serialization.d.ts +2 -2
  209. package/System.Runtime.Versioning/bindings.json +62 -8
  210. package/System.Runtime.Versioning/internal/index.d.ts +7 -7
  211. package/System.Runtime.Versioning.d.ts +1 -1
  212. package/System.Security/bindings.json +265 -12
  213. package/System.Security/internal/index.d.ts +21 -13
  214. package/System.Security.AccessControl/bindings.json +4082 -797
  215. package/System.Security.AccessControl/internal/index.d.ts +114 -93
  216. package/System.Security.AccessControl.d.ts +2 -1
  217. package/System.Security.Authentication/bindings.json +80 -16
  218. package/System.Security.Authentication.ExtendedProtection/bindings.json +108 -13
  219. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +4 -3
  220. package/System.Security.Authentication.ExtendedProtection.d.ts +2 -2
  221. package/System.Security.Claims/bindings.json +436 -0
  222. package/System.Security.Claims/internal/index.d.ts +18 -7
  223. package/System.Security.Claims.d.ts +2 -1
  224. package/System.Security.Cryptography/bindings.json +11592 -237
  225. package/System.Security.Cryptography/internal/index.d.ts +415 -106
  226. package/System.Security.Cryptography.X509Certificates/bindings.json +1000 -114
  227. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +15 -17
  228. package/System.Security.Cryptography.X509Certificates.d.ts +1 -1
  229. package/System.Security.Cryptography.d.ts +2 -2
  230. package/System.Security.Permissions/bindings.json +88 -14
  231. package/System.Security.Permissions/internal/index.d.ts +3 -3
  232. package/System.Security.Permissions.d.ts +1 -1
  233. package/System.Security.Policy/bindings.json +42 -1
  234. package/System.Security.Policy/internal/index.d.ts +3 -3
  235. package/System.Security.Principal/bindings.json +355 -28
  236. package/System.Security.Principal/internal/index.d.ts +10 -8
  237. package/System.Security.Principal.d.ts +1 -1
  238. package/System.Text/bindings.json +800 -31
  239. package/System.Text/internal/index.d.ts +11 -14
  240. package/System.Text.Encodings.Web/bindings.json +87 -4
  241. package/System.Text.Encodings.Web/internal/index.d.ts +4 -4
  242. package/System.Text.Json/bindings.json +574 -49
  243. package/System.Text.Json/internal/index.d.ts +18 -18
  244. package/System.Text.Json.Nodes/bindings.json +152 -19
  245. package/System.Text.Json.Nodes/internal/index.d.ts +4 -3
  246. package/System.Text.Json.Schema/bindings.json +10 -0
  247. package/System.Text.Json.Schema/internal/index.d.ts +2 -2
  248. package/System.Text.Json.Schema.d.ts +1 -1
  249. package/System.Text.Json.Serialization/bindings.json +295 -54
  250. package/System.Text.Json.Serialization/internal/index.d.ts +18 -14
  251. package/System.Text.Json.Serialization.Metadata/bindings.json +198 -24
  252. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +40 -35
  253. package/System.Text.RegularExpressions/bindings.json +1319 -103
  254. package/System.Text.RegularExpressions/internal/index.d.ts +12 -12
  255. package/System.Text.RegularExpressions.d.ts +1 -1
  256. package/System.Text.Unicode/bindings.json +185 -0
  257. package/System.Text.Unicode/internal/index.d.ts +1 -1
  258. package/System.Text.Unicode.d.ts +1 -1
  259. package/System.Threading/bindings.json +1270 -64
  260. package/System.Threading/internal/index.d.ts +26 -28
  261. package/System.Threading.Channels/bindings.json +143 -29
  262. package/System.Threading.Channels/internal/index.d.ts +9 -8
  263. package/System.Threading.Tasks/bindings.json +719 -29
  264. package/System.Threading.Tasks/internal/index.d.ts +12 -6
  265. package/System.Threading.Tasks.Dataflow/bindings.json +442 -143
  266. package/System.Threading.Tasks.Sources/bindings.json +34 -11
  267. package/System.Timers/bindings.json +50 -4
  268. package/System.Timers/internal/index.d.ts +6 -5
  269. package/System.Timers.d.ts +2 -2
  270. package/System.Transactions/bindings.json +269 -32
  271. package/System.Transactions/internal/index.d.ts +3 -9
  272. package/System.Web/bindings.json +32 -0
  273. package/System.Windows.Input/bindings.json +3 -0
  274. package/System.Windows.Markup/bindings.json +4 -0
  275. package/System.Windows.Markup/internal/index.d.ts +1 -1
  276. package/System.Windows.Markup.d.ts +1 -1
  277. package/System.Xml/bindings.json +2447 -210
  278. package/System.Xml/internal/index.d.ts +97 -90
  279. package/System.Xml.Linq/bindings.json +361 -24
  280. package/System.Xml.Linq/internal/index.d.ts +17 -13
  281. package/System.Xml.Resolvers/bindings.json +26 -4
  282. package/System.Xml.Schema/bindings.json +830 -56
  283. package/System.Xml.Schema/internal/index.d.ts +115 -91
  284. package/System.Xml.Serialization/bindings.json +4421 -149
  285. package/System.Xml.Serialization/internal/index.d.ts +128 -70
  286. package/System.Xml.Serialization.d.ts +4 -4
  287. package/System.Xml.XPath/bindings.json +287 -35
  288. package/System.Xml.XPath/internal/index.d.ts +5 -5
  289. package/System.Xml.Xsl/bindings.json +174 -8
  290. package/System.Xml.Xsl/internal/index.d.ts +6 -5
  291. package/System.Xml.Xsl.Runtime/bindings.json +613 -58
  292. package/System.Xml.Xsl.Runtime/internal/index.d.ts +7 -9
  293. package/System.Xml.Xsl.d.ts +1 -1
  294. package/System.d.ts +1 -1
  295. package/package.json +1 -1
@@ -16,8 +16,8 @@ import type { NameObjectCollectionBase_KeysCollection, NameValueCollection, Stri
16
16
  import * as System_Collections_Internal from "../../System.Collections/internal/index.js";
17
17
  import type { ArrayList, ICollection, IDictionary, IEnumerable, IEnumerator } from "../../System.Collections/internal/index.js";
18
18
  import * as System_ComponentModel_Internal from "../../System.ComponentModel/internal/index.js";
19
- import type { AsyncCompletedEventArgs, AsyncCompletedEventHandler, Component, IComponent, IContainer, ISite, ProgressChangedEventArgs, Win32Exception } from "../../System.ComponentModel/internal/index.js";
20
- import type { BinaryWriter, Stream, TextWriter } from "../../System.IO/internal/index.js";
19
+ import type { AsyncCompletedEventArgs, AsyncCompletedEventHandler, Component, EventHandlerList, IComponent, IContainer, ISite, ProgressChangedEventArgs, Win32Exception } from "../../System.ComponentModel/internal/index.js";
20
+ import type { BinaryReader, BinaryWriter, Stream, TextWriter } from "../../System.IO/internal/index.js";
21
21
  import type { RequestCachePolicy } from "../../System.Net.Cache/internal/index.js";
22
22
  import type { AuthenticationLevel, EncryptionPolicy, RemoteCertificateValidationCallback } from "../../System.Net.Security/internal/index.js";
23
23
  import type { AddressFamily } from "../../System.Net.Sockets/internal/index.js";
@@ -369,7 +369,8 @@ export interface ICredentialsByHost$instance {
369
369
  export type ICredentialsByHost = ICredentialsByHost$instance;
370
370
 
371
371
  export interface IWebProxy$instance {
372
- Credentials: ICredentials;
372
+ get Credentials(): ICredentials | undefined;
373
+ set Credentials(value: ICredentials | undefined);
373
374
  GetProxy(destination: Uri): Uri | undefined;
374
375
  IsBypassed(host: Uri): boolean;
375
376
  }
@@ -441,9 +442,8 @@ export interface AuthenticationManager$instance {
441
442
 
442
443
 
443
444
  export const AuthenticationManager: {
444
- new(): AuthenticationManager;
445
445
  get CredentialPolicy(): ICredentialPolicy | undefined;
446
- set CredentialPolicy(value: ICredentialPolicy);
446
+ set CredentialPolicy(value: ICredentialPolicy | undefined);
447
447
  readonly CustomTargetNameDictionary: StringDictionary;
448
448
  readonly RegisteredModules: IEnumerator;
449
449
  Authenticate(challenge: string, request: WebRequest, credentials: ICredentials): Authorization | undefined;
@@ -457,12 +457,12 @@ export const AuthenticationManager: {
457
457
  export type AuthenticationManager = AuthenticationManager$instance;
458
458
 
459
459
  export interface Authorization$instance {
460
- readonly Complete: boolean;
460
+ Complete: boolean;
461
461
  readonly ConnectionGroupId: string | undefined;
462
- readonly Message: string;
462
+ readonly Message: string | undefined;
463
463
  MutuallyAuthenticated: boolean;
464
464
  get ProtectionRealm(): string[] | undefined;
465
- set ProtectionRealm(value: string[]);
465
+ set ProtectionRealm(value: string[] | undefined);
466
466
  }
467
467
 
468
468
 
@@ -478,7 +478,7 @@ export type Authorization = Authorization$instance;
478
478
  export interface Cookie$instance {
479
479
  Comment: string;
480
480
  get CommentUri(): Uri | undefined;
481
- set CommentUri(value: Uri);
481
+ set CommentUri(value: Uri | undefined);
482
482
  Discard: boolean;
483
483
  Domain: string;
484
484
  Expired: boolean;
@@ -519,7 +519,7 @@ export interface CookieCollection$instance {
519
519
  CopyTo(array: ClrArray, index: int): void;
520
520
  CopyTo(array: Cookie[], index: int): void;
521
521
  get_Item(index: int): Cookie;
522
- get_Item(name: string): Cookie;
522
+ get_Item(name: string): Cookie | undefined;
523
523
  GetEnumerator(): IEnumerator;
524
524
  Remove(cookie: Cookie): boolean;
525
525
  }
@@ -641,7 +641,6 @@ export interface DownloadDataCompletedEventArgs$instance extends AsyncCompletedE
641
641
 
642
642
 
643
643
  export const DownloadDataCompletedEventArgs: {
644
- new(): DownloadDataCompletedEventArgs;
645
644
  };
646
645
 
647
646
 
@@ -654,7 +653,6 @@ export interface DownloadProgressChangedEventArgs$instance extends ProgressChang
654
653
 
655
654
 
656
655
  export const DownloadProgressChangedEventArgs: {
657
- new(): DownloadProgressChangedEventArgs;
658
656
  };
659
657
 
660
658
 
@@ -666,7 +664,6 @@ export interface DownloadStringCompletedEventArgs$instance extends AsyncComplete
666
664
 
667
665
 
668
666
  export const DownloadStringCompletedEventArgs: {
669
- new(): DownloadStringCompletedEventArgs;
670
667
  };
671
668
 
672
669
 
@@ -679,7 +676,7 @@ export interface EndPoint$instance {
679
676
  }
680
677
 
681
678
 
682
- export const EndPoint: {
679
+ export const EndPoint: (abstract new() => EndPoint) & {
683
680
  };
684
681
 
685
682
 
@@ -687,15 +684,17 @@ export type EndPoint = EndPoint$instance;
687
684
 
688
685
  export interface FileWebRequest$instance extends WebRequest$instance {
689
686
  get ConnectionGroupName(): string | undefined;
690
- set ConnectionGroupName(value: string);
687
+ set ConnectionGroupName(value: string | undefined);
691
688
  ContentLength: long;
692
- ContentType: string;
693
- Credentials: ICredentials;
689
+ get ContentType(): string | undefined;
690
+ set ContentType(value: string | undefined);
691
+ get Credentials(): ICredentials | undefined;
692
+ set Credentials(value: ICredentials | undefined);
694
693
  readonly Headers: WebHeaderCollection;
695
694
  Method: string;
696
695
  PreAuthenticate: boolean;
697
696
  get Proxy(): IWebProxy | undefined;
698
- set Proxy(value: IWebProxy);
697
+ set Proxy(value: IWebProxy | undefined);
699
698
  readonly RequestUri: Uri;
700
699
  Timeout: int;
701
700
  UseDefaultCredentials: boolean;
@@ -704,7 +703,7 @@ export interface FileWebRequest$instance extends WebRequest$instance {
704
703
  BeginGetResponse(callback: AsyncCallback, state: unknown): IAsyncResult;
705
704
  EndGetRequestStream(asyncResult: IAsyncResult): Stream;
706
705
  EndGetResponse(asyncResult: IAsyncResult): WebResponse;
707
- GetObjectData(info: SerializationInfo, context: StreamingContext): void;
706
+ GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
708
707
  GetRequestStream(): Stream;
709
708
  GetRequestStreamAsync(): Task_1<Stream>;
710
709
  GetRequestStreamAsync(): Task_1<Stream>;
@@ -714,8 +713,7 @@ export interface FileWebRequest$instance extends WebRequest$instance {
714
713
  }
715
714
 
716
715
 
717
- export const FileWebRequest: {
718
- new(): FileWebRequest;
716
+ export const FileWebRequest: (abstract new(serializationInfo: SerializationInfo, streamingContext: StreamingContext) => FileWebRequest) & {
719
717
  };
720
718
 
721
719
 
@@ -723,8 +721,6 @@ export interface __FileWebRequest$views {
723
721
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
724
722
  }
725
723
 
726
- export interface FileWebRequest$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
727
-
728
724
  export type FileWebRequest = FileWebRequest$instance & __FileWebRequest$views;
729
725
 
730
726
 
@@ -736,13 +732,13 @@ export interface FileWebResponse$instance extends WebResponse$instance {
736
732
  readonly SupportsHeaders: boolean;
737
733
  Close(): void;
738
734
  Dispose(): void;
739
- GetObjectData(info: SerializationInfo, context: StreamingContext): void;
735
+ Dispose(disposing: boolean): void;
736
+ GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
740
737
  GetResponseStream(): Stream;
741
738
  }
742
739
 
743
740
 
744
- export const FileWebResponse: {
745
- new(): FileWebResponse;
741
+ export const FileWebResponse: (abstract new(serializationInfo: SerializationInfo, streamingContext: StreamingContext) => FileWebResponse) & {
746
742
  };
747
743
 
748
744
 
@@ -751,30 +747,31 @@ export interface __FileWebResponse$views {
751
747
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
752
748
  }
753
749
 
754
- export interface FileWebResponse$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
755
-
756
750
  export type FileWebResponse = FileWebResponse$instance & __FileWebResponse$views;
757
751
 
758
752
 
759
753
  export interface FtpWebRequest$instance extends WebRequest$instance {
760
- CachePolicy: RequestCachePolicy;
754
+ get CachePolicy(): RequestCachePolicy | undefined;
755
+ set CachePolicy(value: RequestCachePolicy | undefined);
761
756
  ClientCertificates: X509CertificateCollection;
762
757
  get ConnectionGroupName(): string | undefined;
763
- set ConnectionGroupName(value: string);
758
+ set ConnectionGroupName(value: string | undefined);
764
759
  ContentLength: long;
765
760
  ContentOffset: long;
766
- ContentType: string;
767
- Credentials: ICredentials;
761
+ get ContentType(): string | undefined;
762
+ set ContentType(value: string | undefined);
763
+ get Credentials(): ICredentials | undefined;
764
+ set Credentials(value: ICredentials | undefined);
768
765
  EnableSsl: boolean;
769
766
  Headers: WebHeaderCollection;
770
767
  KeepAlive: boolean;
771
768
  Method: string;
772
769
  PreAuthenticate: boolean;
773
770
  get Proxy(): IWebProxy | undefined;
774
- set Proxy(value: IWebProxy);
771
+ set Proxy(value: IWebProxy | undefined);
775
772
  ReadWriteTimeout: int;
776
773
  get RenameTo(): string | undefined;
777
- set RenameTo(value: string);
774
+ set RenameTo(value: string | undefined);
778
775
  readonly RequestUri: Uri;
779
776
  readonly ServicePoint: ServicePoint;
780
777
  Timeout: int;
@@ -786,16 +783,15 @@ export interface FtpWebRequest$instance extends WebRequest$instance {
786
783
  BeginGetResponse(callback: AsyncCallback, state: unknown): IAsyncResult;
787
784
  EndGetRequestStream(asyncResult: IAsyncResult): Stream;
788
785
  EndGetResponse(asyncResult: IAsyncResult): WebResponse;
789
- GetObjectData(info: SerializationInfo, context: StreamingContext): void;
786
+ GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
790
787
  GetRequestStream(): Stream;
791
788
  GetResponse(): WebResponse;
792
789
  }
793
790
 
794
791
 
795
792
  export const FtpWebRequest: {
796
- new(): FtpWebRequest;
797
793
  get DefaultCachePolicy(): RequestCachePolicy | undefined;
798
- set DefaultCachePolicy(value: RequestCachePolicy);
794
+ set DefaultCachePolicy(value: RequestCachePolicy | undefined);
799
795
  };
800
796
 
801
797
 
@@ -803,8 +799,6 @@ export interface __FtpWebRequest$views {
803
799
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
804
800
  }
805
801
 
806
- export interface FtpWebRequest$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
807
-
808
802
  export type FtpWebRequest = FtpWebRequest$instance & __FtpWebRequest$views;
809
803
 
810
804
 
@@ -816,18 +810,18 @@ export interface FtpWebResponse$instance extends WebResponse$instance {
816
810
  readonly LastModified: DateTime;
817
811
  readonly ResponseUri: Uri;
818
812
  readonly StatusCode: FtpStatusCode;
819
- readonly StatusDescription: string;
813
+ readonly StatusDescription: string | undefined;
820
814
  readonly SupportsHeaders: boolean;
821
815
  readonly WelcomeMessage: string | undefined;
822
816
  Close(): void;
823
817
  Dispose(): void;
824
- GetObjectData(info: SerializationInfo, context: StreamingContext): void;
818
+ Dispose(disposing: boolean): void;
819
+ GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
825
820
  GetResponseStream(): Stream;
826
821
  }
827
822
 
828
823
 
829
824
  export const FtpWebResponse: {
830
- new(): FtpWebResponse;
831
825
  };
832
826
 
833
827
 
@@ -836,8 +830,6 @@ export interface __FtpWebResponse$views {
836
830
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
837
831
  }
838
832
 
839
- export interface FtpWebResponse$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
840
-
841
833
  export type FtpWebResponse = FtpWebResponse$instance & __FtpWebResponse$views;
842
834
 
843
835
 
@@ -857,16 +849,16 @@ export type GlobalProxySelection = GlobalProxySelection$instance;
857
849
  export interface HttpListener$instance {
858
850
  AuthenticationSchemes: AuthenticationSchemes;
859
851
  get AuthenticationSchemeSelectorDelegate(): AuthenticationSchemeSelector | undefined;
860
- set AuthenticationSchemeSelectorDelegate(value: AuthenticationSchemeSelector);
852
+ set AuthenticationSchemeSelectorDelegate(value: AuthenticationSchemeSelector | undefined);
861
853
  readonly DefaultServiceNames: ServiceNameCollection;
862
854
  ExtendedProtectionPolicy: ExtendedProtectionPolicy;
863
855
  get ExtendedProtectionSelectorDelegate(): HttpListener_ExtendedProtectionSelector | undefined;
864
- set ExtendedProtectionSelectorDelegate(value: HttpListener_ExtendedProtectionSelector);
856
+ set ExtendedProtectionSelectorDelegate(value: HttpListener_ExtendedProtectionSelector | undefined);
865
857
  IgnoreWriteExceptions: boolean;
866
858
  readonly IsListening: boolean;
867
859
  readonly Prefixes: HttpListenerPrefixCollection;
868
860
  get Realm(): string | undefined;
869
- set Realm(value: string);
861
+ set Realm(value: string | undefined);
870
862
  readonly TimeoutManager: HttpListenerTimeoutManager;
871
863
  UnsafeConnectionNtlmAuthentication: boolean;
872
864
  Abort(): void;
@@ -915,7 +907,7 @@ export type HttpListenerBasicIdentity = HttpListenerBasicIdentity$instance & __H
915
907
  export interface HttpListenerContext$instance {
916
908
  readonly Request: HttpListenerRequest;
917
909
  readonly Response: HttpListenerResponse;
918
- readonly User: IPrincipal;
910
+ readonly User: IPrincipal | undefined;
919
911
  AcceptWebSocketAsync(subProtocol: string): Task_1<HttpListenerWebSocketContext>;
920
912
  AcceptWebSocketAsync(subProtocol: string, keepAliveInterval: TimeSpan): Task_1<HttpListenerWebSocketContext>;
921
913
  AcceptWebSocketAsync(subProtocol: string, receiveBufferSize: int, keepAliveInterval: TimeSpan): Task_1<HttpListenerWebSocketContext>;
@@ -924,7 +916,6 @@ export interface HttpListenerContext$instance {
924
916
 
925
917
 
926
918
  export const HttpListenerContext: {
927
- new(): HttpListenerContext;
928
919
  };
929
920
 
930
921
 
@@ -965,7 +956,6 @@ export interface HttpListenerPrefixCollection$instance {
965
956
 
966
957
 
967
958
  export const HttpListenerPrefixCollection: {
968
- new(): HttpListenerPrefixCollection;
969
959
  };
970
960
 
971
961
 
@@ -983,7 +973,7 @@ export interface HttpListenerRequest$instance {
983
973
  readonly ClientCertificateError: int;
984
974
  readonly ContentEncoding: Encoding;
985
975
  readonly ContentLength64: long;
986
- readonly ContentType: string;
976
+ readonly ContentType: string | undefined;
987
977
  readonly Cookies: CookieCollection;
988
978
  readonly HasEntityBody: boolean;
989
979
  readonly Headers: NameValueCollection;
@@ -994,17 +984,17 @@ export interface HttpListenerRequest$instance {
994
984
  readonly IsSecureConnection: boolean;
995
985
  readonly IsWebSocketRequest: boolean;
996
986
  readonly KeepAlive: boolean;
997
- readonly LocalEndPoint: IPEndPoint;
987
+ readonly LocalEndPoint: IPEndPoint | undefined;
998
988
  readonly ProtocolVersion: Version;
999
989
  readonly QueryString: NameValueCollection;
1000
990
  readonly RawUrl: string | undefined;
1001
- readonly RemoteEndPoint: IPEndPoint;
991
+ readonly RemoteEndPoint: IPEndPoint | undefined;
1002
992
  readonly RequestTraceIdentifier: Guid;
1003
993
  readonly ServiceName: string | undefined;
1004
994
  readonly TransportContext: TransportContext;
1005
995
  readonly Url: Uri | undefined;
1006
996
  readonly UrlReferrer: Uri | undefined;
1007
- readonly UserAgent: string;
997
+ readonly UserAgent: string | undefined;
1008
998
  readonly UserHostAddress: string;
1009
999
  readonly UserHostName: string;
1010
1000
  readonly UserLanguages: string[] | undefined;
@@ -1016,23 +1006,24 @@ export interface HttpListenerRequest$instance {
1016
1006
 
1017
1007
 
1018
1008
  export const HttpListenerRequest: {
1019
- new(): HttpListenerRequest;
1020
1009
  };
1021
1010
 
1022
1011
 
1023
1012
  export type HttpListenerRequest = HttpListenerRequest$instance;
1024
1013
 
1025
1014
  export interface HttpListenerResponse$instance {
1026
- ContentEncoding: Encoding;
1015
+ get ContentEncoding(): Encoding | undefined;
1016
+ set ContentEncoding(value: Encoding | undefined);
1027
1017
  ContentLength64: long;
1028
- ContentType: string;
1018
+ get ContentType(): string | undefined;
1019
+ set ContentType(value: string | undefined);
1029
1020
  Cookies: CookieCollection;
1030
1021
  Headers: WebHeaderCollection;
1031
1022
  KeepAlive: boolean;
1032
1023
  readonly OutputStream: Stream;
1033
1024
  ProtocolVersion: Version;
1034
1025
  get RedirectLocation(): string | undefined;
1035
- set RedirectLocation(value: string);
1026
+ set RedirectLocation(value: string | undefined);
1036
1027
  SendChunked: boolean;
1037
1028
  StatusCode: int;
1038
1029
  StatusDescription: string;
@@ -1049,7 +1040,6 @@ export interface HttpListenerResponse$instance {
1049
1040
 
1050
1041
 
1051
1042
  export const HttpListenerResponse: {
1052
- new(): HttpListenerResponse;
1053
1043
  };
1054
1044
 
1055
1045
 
@@ -1073,32 +1063,37 @@ export interface HttpListenerTimeoutManager$instance {
1073
1063
 
1074
1064
 
1075
1065
  export const HttpListenerTimeoutManager: {
1076
- new(): HttpListenerTimeoutManager;
1077
1066
  };
1078
1067
 
1079
1068
 
1080
1069
  export type HttpListenerTimeoutManager = HttpListenerTimeoutManager$instance;
1081
1070
 
1082
1071
  export interface HttpWebRequest$instance extends WebRequest$instance {
1083
- Accept: string;
1072
+ get Accept(): string | undefined;
1073
+ set Accept(value: string | undefined);
1084
1074
  readonly Address: Uri;
1085
1075
  AllowAutoRedirect: boolean;
1086
1076
  AllowReadStreamBuffering: boolean;
1087
1077
  AllowWriteStreamBuffering: boolean;
1088
1078
  AutomaticDecompression: DecompressionMethods;
1089
1079
  ClientCertificates: X509CertificateCollection;
1090
- Connection: string;
1080
+ get Connection(): string | undefined;
1081
+ set Connection(value: string | undefined);
1091
1082
  get ConnectionGroupName(): string | undefined;
1092
- set ConnectionGroupName(value: string);
1083
+ set ConnectionGroupName(value: string | undefined);
1093
1084
  ContentLength: long;
1094
- ContentType: string;
1085
+ get ContentType(): string | undefined;
1086
+ set ContentType(value: string | undefined);
1095
1087
  get ContinueDelegate(): HttpContinueDelegate | undefined;
1096
- set ContinueDelegate(value: HttpContinueDelegate);
1088
+ set ContinueDelegate(value: HttpContinueDelegate | undefined);
1097
1089
  ContinueTimeout: int;
1098
- CookieContainer: CookieContainer;
1099
- Credentials: ICredentials;
1090
+ get CookieContainer(): CookieContainer | undefined;
1091
+ set CookieContainer(value: CookieContainer | undefined);
1092
+ get Credentials(): ICredentials | undefined;
1093
+ set Credentials(value: ICredentials | undefined);
1100
1094
  Date: DateTime;
1101
- Expect: string;
1095
+ get Expect(): string | undefined;
1096
+ set Expect(value: string | undefined);
1102
1097
  readonly HaveResponse: boolean;
1103
1098
  Headers: WebHeaderCollection;
1104
1099
  Host: string;
@@ -1106,27 +1101,30 @@ export interface HttpWebRequest$instance extends WebRequest$instance {
1106
1101
  KeepAlive: boolean;
1107
1102
  MaximumAutomaticRedirections: int;
1108
1103
  MaximumResponseHeadersLength: int;
1109
- MediaType: string;
1104
+ get MediaType(): string | undefined;
1105
+ set MediaType(value: string | undefined);
1110
1106
  Method: string;
1111
1107
  Pipelined: boolean;
1112
1108
  PreAuthenticate: boolean;
1113
1109
  ProtocolVersion: Version;
1114
1110
  get Proxy(): IWebProxy | undefined;
1115
- set Proxy(value: IWebProxy);
1111
+ set Proxy(value: IWebProxy | undefined);
1116
1112
  ReadWriteTimeout: int;
1117
1113
  get Referer(): string | undefined;
1118
- set Referer(value: string);
1114
+ set Referer(value: string | undefined);
1119
1115
  readonly RequestUri: Uri;
1120
1116
  SendChunked: boolean;
1121
1117
  get ServerCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
1122
- set ServerCertificateValidationCallback(value: RemoteCertificateValidationCallback);
1118
+ set ServerCertificateValidationCallback(value: RemoteCertificateValidationCallback | undefined);
1123
1119
  readonly ServicePoint: ServicePoint;
1124
1120
  readonly SupportsCookieContainer: boolean;
1125
1121
  Timeout: int;
1126
- TransferEncoding: string;
1122
+ get TransferEncoding(): string | undefined;
1123
+ set TransferEncoding(value: string | undefined);
1127
1124
  UnsafeAuthenticatedConnectionSharing: boolean;
1128
1125
  UseDefaultCredentials: boolean;
1129
- UserAgent: string;
1126
+ get UserAgent(): string | undefined;
1127
+ set UserAgent(value: string | undefined);
1130
1128
  Abort(): void;
1131
1129
  AddRange(from: int, to: int): void;
1132
1130
  AddRange(from: long, to: long): void;
@@ -1140,18 +1138,17 @@ export interface HttpWebRequest$instance extends WebRequest$instance {
1140
1138
  BeginGetResponse(callback: AsyncCallback, state: unknown): IAsyncResult;
1141
1139
  EndGetRequestStream(asyncResult: IAsyncResult): Stream;
1142
1140
  EndGetResponse(asyncResult: IAsyncResult): WebResponse;
1143
- GetObjectData(info: SerializationInfo, context: StreamingContext): void;
1141
+ GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
1144
1142
  GetRequestStream(): Stream;
1145
1143
  GetResponse(): WebResponse;
1146
1144
  }
1147
1145
 
1148
1146
 
1149
- export const HttpWebRequest: {
1150
- new(): HttpWebRequest;
1147
+ export const HttpWebRequest: (abstract new(serializationInfo: SerializationInfo, streamingContext: StreamingContext) => HttpWebRequest) & {
1151
1148
  DefaultMaximumResponseHeadersLength: int;
1152
1149
  DefaultMaximumErrorResponseLength: int;
1153
1150
  get DefaultCachePolicy(): RequestCachePolicy | undefined;
1154
- set DefaultCachePolicy(value: RequestCachePolicy);
1151
+ set DefaultCachePolicy(value: RequestCachePolicy | undefined);
1155
1152
  };
1156
1153
 
1157
1154
 
@@ -1159,8 +1156,6 @@ export interface __HttpWebRequest$views {
1159
1156
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1160
1157
  }
1161
1158
 
1162
- export interface HttpWebRequest$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
1163
-
1164
1159
  export type HttpWebRequest = HttpWebRequest$instance & __HttpWebRequest$views;
1165
1160
 
1166
1161
 
@@ -1181,8 +1176,9 @@ export interface HttpWebResponse$instance extends WebResponse$instance {
1181
1176
  readonly StatusDescription: string;
1182
1177
  readonly SupportsHeaders: boolean;
1183
1178
  Close(): void;
1179
+ Dispose(disposing: boolean): void;
1184
1180
  Dispose(): void;
1185
- GetObjectData(info: SerializationInfo, context: StreamingContext): void;
1181
+ GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
1186
1182
  GetResponseHeader(headerName: string): string;
1187
1183
  GetResponseStream(): Stream;
1188
1184
  }
@@ -1198,8 +1194,6 @@ export interface __HttpWebResponse$views {
1198
1194
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1199
1195
  }
1200
1196
 
1201
- export interface HttpWebResponse$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
1202
-
1203
1197
  export type HttpWebResponse = HttpWebResponse$instance & __HttpWebResponse$views;
1204
1198
 
1205
1199
 
@@ -1346,7 +1340,6 @@ export interface OpenReadCompletedEventArgs$instance extends AsyncCompletedEvent
1346
1340
 
1347
1341
 
1348
1342
  export const OpenReadCompletedEventArgs: {
1349
- new(): OpenReadCompletedEventArgs;
1350
1343
  };
1351
1344
 
1352
1345
 
@@ -1358,7 +1351,6 @@ export interface OpenWriteCompletedEventArgs$instance extends AsyncCompletedEven
1358
1351
 
1359
1352
 
1360
1353
  export const OpenWriteCompletedEventArgs: {
1361
- new(): OpenWriteCompletedEventArgs;
1362
1354
  };
1363
1355
 
1364
1356
 
@@ -1396,17 +1388,18 @@ export type ProtocolViolationException = ProtocolViolationException$instance & _
1396
1388
  export interface ServicePoint$instance {
1397
1389
  readonly Address: Uri;
1398
1390
  get BindIPEndPointDelegate(): BindIPEndPoint | undefined;
1399
- set BindIPEndPointDelegate(value: BindIPEndPoint);
1400
- readonly Certificate: X509Certificate;
1391
+ set BindIPEndPointDelegate(value: BindIPEndPoint | undefined);
1392
+ get Certificate(): X509Certificate | undefined;
1393
+ set Certificate(value: X509Certificate | undefined);
1401
1394
  readonly ClientCertificate: X509Certificate | undefined;
1402
1395
  ConnectionLeaseTimeout: int;
1403
1396
  ConnectionLimit: int;
1404
1397
  readonly ConnectionName: string;
1405
1398
  readonly CurrentConnections: int;
1406
1399
  Expect100Continue: boolean;
1407
- readonly IdleSince: DateTime;
1400
+ IdleSince: DateTime;
1408
1401
  MaxIdleTime: int;
1409
- readonly ProtocolVersion: Version;
1402
+ ProtocolVersion: Version;
1410
1403
  ReceiveBufferSize: int;
1411
1404
  readonly SupportsPipelining: boolean;
1412
1405
  UseNagleAlgorithm: boolean;
@@ -1416,7 +1409,6 @@ export interface ServicePoint$instance {
1416
1409
 
1417
1410
 
1418
1411
  export const ServicePoint: {
1419
- new(): ServicePoint;
1420
1412
  };
1421
1413
 
1422
1414
 
@@ -1427,7 +1419,6 @@ export interface ServicePointManager$instance {
1427
1419
 
1428
1420
 
1429
1421
  export const ServicePointManager: {
1430
- new(): ServicePointManager;
1431
1422
  readonly DefaultNonPersistentConnectionLimit: int;
1432
1423
  readonly DefaultPersistentConnectionLimit: int;
1433
1424
  SecurityProtocol: SecurityProtocolType;
@@ -1439,7 +1430,7 @@ export const ServicePointManager: {
1439
1430
  EnableDnsRoundRobin: boolean;
1440
1431
  DnsRefreshTimeout: int;
1441
1432
  get ServerCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
1442
- set ServerCertificateValidationCallback(value: RemoteCertificateValidationCallback);
1433
+ set ServerCertificateValidationCallback(value: RemoteCertificateValidationCallback | undefined);
1443
1434
  ReusePort: boolean;
1444
1435
  CheckCertificateRevocationList: boolean;
1445
1436
  readonly EncryptionPolicy: EncryptionPolicy;
@@ -1486,7 +1477,7 @@ export interface TransportContext$instance {
1486
1477
  }
1487
1478
 
1488
1479
 
1489
- export const TransportContext: {
1480
+ export const TransportContext: (abstract new() => TransportContext) & {
1490
1481
  };
1491
1482
 
1492
1483
 
@@ -1498,7 +1489,6 @@ export interface UploadDataCompletedEventArgs$instance extends AsyncCompletedEve
1498
1489
 
1499
1490
 
1500
1491
  export const UploadDataCompletedEventArgs: {
1501
- new(): UploadDataCompletedEventArgs;
1502
1492
  };
1503
1493
 
1504
1494
 
@@ -1510,7 +1500,6 @@ export interface UploadFileCompletedEventArgs$instance extends AsyncCompletedEve
1510
1500
 
1511
1501
 
1512
1502
  export const UploadFileCompletedEventArgs: {
1513
- new(): UploadFileCompletedEventArgs;
1514
1503
  };
1515
1504
 
1516
1505
 
@@ -1525,7 +1514,6 @@ export interface UploadProgressChangedEventArgs$instance extends ProgressChanged
1525
1514
 
1526
1515
 
1527
1516
  export const UploadProgressChangedEventArgs: {
1528
- new(): UploadProgressChangedEventArgs;
1529
1517
  };
1530
1518
 
1531
1519
 
@@ -1537,7 +1525,6 @@ export interface UploadStringCompletedEventArgs$instance extends AsyncCompletedE
1537
1525
 
1538
1526
 
1539
1527
  export const UploadStringCompletedEventArgs: {
1540
- new(): UploadStringCompletedEventArgs;
1541
1528
  };
1542
1529
 
1543
1530
 
@@ -1549,7 +1536,6 @@ export interface UploadValuesCompletedEventArgs$instance extends AsyncCompletedE
1549
1536
 
1550
1537
 
1551
1538
  export const UploadValuesCompletedEventArgs: {
1552
- new(): UploadValuesCompletedEventArgs;
1553
1539
  };
1554
1540
 
1555
1541
 
@@ -1559,18 +1545,21 @@ export interface WebClient$instance extends Component {
1559
1545
  AllowReadStreamBuffering: boolean;
1560
1546
  AllowWriteStreamBuffering: boolean;
1561
1547
  BaseAddress: string;
1562
- CachePolicy: RequestCachePolicy;
1563
- Credentials: ICredentials;
1548
+ get CachePolicy(): RequestCachePolicy | undefined;
1549
+ set CachePolicy(value: RequestCachePolicy | undefined);
1550
+ get Credentials(): ICredentials | undefined;
1551
+ set Credentials(value: ICredentials | undefined);
1564
1552
  Encoding: Encoding;
1565
1553
  Headers: WebHeaderCollection;
1566
1554
  readonly IsBusy: boolean;
1567
1555
  get Proxy(): IWebProxy | undefined;
1568
- set Proxy(value: IWebProxy);
1556
+ set Proxy(value: IWebProxy | undefined);
1569
1557
  QueryString: NameValueCollection;
1570
1558
  readonly ResponseHeaders: WebHeaderCollection | undefined;
1571
1559
  UseDefaultCredentials: boolean;
1572
1560
  CancelAsync(): void;
1573
1561
  Dispose(): void;
1562
+ Dispose(disposing: boolean): void;
1574
1563
  DownloadData(address: string): byte[];
1575
1564
  DownloadData(address: Uri): byte[];
1576
1565
  DownloadDataAsync(address: Uri): void;
@@ -1589,6 +1578,21 @@ export interface WebClient$instance extends Component {
1589
1578
  DownloadStringAsync(address: Uri, userToken: unknown): void;
1590
1579
  DownloadStringTaskAsync(address: string): Task_1<System_Internal.String>;
1591
1580
  DownloadStringTaskAsync(address: Uri): Task_1<System_Internal.String>;
1581
+ GetWebRequest(address: Uri): WebRequest;
1582
+ GetWebResponse(request: WebRequest): WebResponse;
1583
+ GetWebResponse(request: WebRequest, result: IAsyncResult): WebResponse;
1584
+ OnDownloadDataCompleted(e: DownloadDataCompletedEventArgs): void;
1585
+ OnDownloadFileCompleted(e: AsyncCompletedEventArgs): void;
1586
+ OnDownloadProgressChanged(e: DownloadProgressChangedEventArgs): void;
1587
+ OnDownloadStringCompleted(e: DownloadStringCompletedEventArgs): void;
1588
+ OnOpenReadCompleted(e: OpenReadCompletedEventArgs): void;
1589
+ OnOpenWriteCompleted(e: OpenWriteCompletedEventArgs): void;
1590
+ OnUploadDataCompleted(e: UploadDataCompletedEventArgs): void;
1591
+ OnUploadFileCompleted(e: UploadFileCompletedEventArgs): void;
1592
+ OnUploadProgressChanged(e: UploadProgressChangedEventArgs): void;
1593
+ OnUploadStringCompleted(e: UploadStringCompletedEventArgs): void;
1594
+ OnUploadValuesCompleted(e: UploadValuesCompletedEventArgs): void;
1595
+ OnWriteStreamClosed(e: WriteStreamClosedEventArgs): void;
1592
1596
  OpenRead(address: string): Stream;
1593
1597
  OpenRead(address: Uri): Stream;
1594
1598
  OpenReadAsync(address: Uri): void;
@@ -1663,13 +1667,11 @@ export interface __WebClient$views {
1663
1667
  As_IDisposable(): System_Internal.IDisposable$instance;
1664
1668
  }
1665
1669
 
1666
- export interface WebClient$instance extends System_ComponentModel_Internal.IComponent$instance {}
1667
-
1668
1670
  export type WebClient = WebClient$instance & __WebClient$views;
1669
1671
 
1670
1672
 
1671
1673
  export interface WebException$instance extends InvalidOperationException {
1672
- readonly Response: WebResponse;
1674
+ readonly Response: WebResponse | undefined;
1673
1675
  readonly Status: WebExceptionStatus;
1674
1676
  GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
1675
1677
  }
@@ -1706,7 +1708,7 @@ export interface WebHeaderCollection$instance extends NameValueCollection {
1706
1708
  GetKey(index: int): string;
1707
1709
  GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
1708
1710
  GetValues(index: int): string[] | undefined;
1709
- GetValues(header: string): string[];
1711
+ GetValues(header: string): string[] | undefined;
1710
1712
  OnDeserialization(sender: unknown): void;
1711
1713
  Remove(header: HttpResponseHeader): void;
1712
1714
  Remove(name: string): void;
@@ -1735,12 +1737,15 @@ export type WebHeaderCollection = WebHeaderCollection$instance & __WebHeaderColl
1735
1737
 
1736
1738
 
1737
1739
  export interface WebProxy$instance {
1738
- Address: Uri;
1740
+ get Address(): Uri | undefined;
1741
+ set Address(value: Uri | undefined);
1739
1742
  readonly BypassArrayList: ArrayList;
1740
1743
  BypassList: string[];
1741
1744
  BypassProxyOnLocal: boolean;
1742
- Credentials: ICredentials;
1745
+ get Credentials(): ICredentials | undefined;
1746
+ set Credentials(value: ICredentials | undefined);
1743
1747
  UseDefaultCredentials: boolean;
1748
+ GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
1744
1749
  GetProxy(destination: Uri): Uri | undefined;
1745
1750
  IsBypassed(host: Uri): boolean;
1746
1751
  }
@@ -1773,18 +1778,21 @@ export type WebProxy = WebProxy$instance & __WebProxy$views;
1773
1778
 
1774
1779
  export interface WebRequest$instance extends MarshalByRefObject {
1775
1780
  AuthenticationLevel: AuthenticationLevel;
1776
- CachePolicy: RequestCachePolicy;
1781
+ get CachePolicy(): RequestCachePolicy | undefined;
1782
+ set CachePolicy(value: RequestCachePolicy | undefined);
1777
1783
  get ConnectionGroupName(): string | undefined;
1778
- set ConnectionGroupName(value: string);
1784
+ set ConnectionGroupName(value: string | undefined);
1779
1785
  ContentLength: long;
1780
- ContentType: string;
1781
- Credentials: ICredentials;
1786
+ get ContentType(): string | undefined;
1787
+ set ContentType(value: string | undefined);
1788
+ get Credentials(): ICredentials | undefined;
1789
+ set Credentials(value: ICredentials | undefined);
1782
1790
  Headers: WebHeaderCollection;
1783
1791
  ImpersonationLevel: TokenImpersonationLevel;
1784
1792
  Method: string;
1785
1793
  PreAuthenticate: boolean;
1786
1794
  get Proxy(): IWebProxy | undefined;
1787
- set Proxy(value: IWebProxy);
1795
+ set Proxy(value: IWebProxy | undefined);
1788
1796
  readonly RequestUri: Uri;
1789
1797
  Timeout: int;
1790
1798
  UseDefaultCredentials: boolean;
@@ -1793,6 +1801,7 @@ export interface WebRequest$instance extends MarshalByRefObject {
1793
1801
  BeginGetResponse(callback: AsyncCallback, state: unknown): IAsyncResult;
1794
1802
  EndGetRequestStream(asyncResult: IAsyncResult): Stream;
1795
1803
  EndGetResponse(asyncResult: IAsyncResult): WebResponse;
1804
+ GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
1796
1805
  GetRequestStream(): Stream;
1797
1806
  GetRequestStreamAsync(): Task_1<Stream>;
1798
1807
  GetResponse(): WebResponse;
@@ -1800,11 +1809,11 @@ export interface WebRequest$instance extends MarshalByRefObject {
1800
1809
  }
1801
1810
 
1802
1811
 
1803
- export const WebRequest: {
1812
+ export const WebRequest: (abstract new() => WebRequest) & (abstract new(serializationInfo: SerializationInfo, streamingContext: StreamingContext) => WebRequest) & {
1804
1813
  get DefaultCachePolicy(): RequestCachePolicy | undefined;
1805
- set DefaultCachePolicy(value: RequestCachePolicy);
1814
+ set DefaultCachePolicy(value: RequestCachePolicy | undefined);
1806
1815
  get DefaultWebProxy(): IWebProxy | undefined;
1807
- set DefaultWebProxy(value: IWebProxy);
1816
+ set DefaultWebProxy(value: IWebProxy | undefined);
1808
1817
  Create(requestUriString: string): WebRequest;
1809
1818
  Create(requestUri: Uri): WebRequest;
1810
1819
  CreateDefault(requestUri: Uri): WebRequest;
@@ -1834,11 +1843,13 @@ export interface WebResponse$instance extends MarshalByRefObject {
1834
1843
  readonly SupportsHeaders: boolean;
1835
1844
  Close(): void;
1836
1845
  Dispose(): void;
1846
+ Dispose(disposing: boolean): void;
1847
+ GetObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
1837
1848
  GetResponseStream(): Stream;
1838
1849
  }
1839
1850
 
1840
1851
 
1841
- export const WebResponse: {
1852
+ export const WebResponse: (abstract new() => WebResponse) & (abstract new(serializationInfo: SerializationInfo, streamingContext: StreamingContext) => WebResponse) & {
1842
1853
  };
1843
1854
 
1844
1855
 
@@ -1847,7 +1858,7 @@ export interface __WebResponse$views {
1847
1858
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1848
1859
  }
1849
1860
 
1850
- export interface WebResponse$instance extends System_Internal.IDisposable$instance, System_Runtime_Serialization_Internal.ISerializable$instance {}
1861
+ export interface WebResponse$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
1851
1862
 
1852
1863
  export type WebResponse = WebResponse$instance & __WebResponse$views;
1853
1864