@tsonic/dotnet 10.0.2 → 10.0.4

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 (109) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -3
  2. package/Microsoft.VisualBasic/internal/index.d.ts +1 -11
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +0 -22
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -9
  5. package/Microsoft.Win32/internal/index.d.ts +0 -1
  6. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +53 -127
  7. package/System/internal/index.d.ts +87 -200
  8. package/System.Buffers/internal/index.d.ts +10 -23
  9. package/System.CodeDom.Compiler/internal/index.d.ts +6 -10
  10. package/System.Collections/internal/index.d.ts +41 -57
  11. package/System.Collections.Concurrent/internal/index.d.ts +4 -10
  12. package/System.Collections.Generic/internal/index.d.ts +15 -37
  13. package/System.Collections.Immutable/internal/index.d.ts +7 -20
  14. package/System.Collections.ObjectModel/internal/index.d.ts +25 -48
  15. package/System.Collections.Specialized/internal/index.d.ts +15 -30
  16. package/System.ComponentModel/internal/index.d.ts +126 -216
  17. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +80 -161
  18. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +4 -3
  19. package/System.ComponentModel.Design/internal/index.d.ts +26 -53
  20. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +18 -29
  21. package/System.Data/internal/index.d.ts +110 -188
  22. package/System.Data.Common/internal/index.d.ts +155 -238
  23. package/System.Data.SqlTypes/internal/index.d.ts +6 -7
  24. package/System.Diagnostics/internal/index.d.ts +105 -169
  25. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +24 -21
  26. package/System.Diagnostics.Contracts/internal/index.d.ts +2 -2
  27. package/System.Diagnostics.Metrics/internal/index.d.ts +31 -66
  28. package/System.Diagnostics.Tracing/internal/index.d.ts +26 -35
  29. package/System.Dynamic/internal/index.d.ts +15 -29
  30. package/System.Formats.Asn1/internal/index.d.ts +0 -1
  31. package/System.Formats.Tar/internal/index.d.ts +1 -1
  32. package/System.Globalization/internal/index.d.ts +17 -51
  33. package/System.IO/internal/index.d.ts +47 -123
  34. package/System.IO.Compression/internal/index.d.ts +11 -33
  35. package/System.IO.Enumeration/internal/index.d.ts +11 -16
  36. package/System.IO.IsolatedStorage/internal/index.d.ts +6 -17
  37. package/System.IO.MemoryMappedFiles/internal/index.d.ts +6 -21
  38. package/System.IO.Pipelines/internal/index.d.ts +7 -18
  39. package/System.IO.Pipes/internal/index.d.ts +24 -50
  40. package/System.Linq/internal/index.d.ts +0 -4
  41. package/System.Linq.Expressions/internal/index.d.ts +108 -257
  42. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -1
  43. package/System.Net/internal/index.d.ts +133 -184
  44. package/System.Net.Http/internal/index.d.ts +128 -201
  45. package/System.Net.Http.Headers/internal/index.d.ts +37 -40
  46. package/System.Net.Http.Json/internal/index.d.ts +8 -13
  47. package/System.Net.Http.Metrics/internal/index.d.ts +2 -3
  48. package/System.Net.Mail/internal/index.d.ts +49 -105
  49. package/System.Net.Mime/internal/index.d.ts +4 -3
  50. package/System.Net.NetworkInformation/internal/index.d.ts +29 -60
  51. package/System.Net.Quic/internal/index.d.ts +5 -11
  52. package/System.Net.Security/internal/index.d.ts +30 -42
  53. package/System.Net.ServerSentEvents/internal/index.d.ts +1 -2
  54. package/System.Net.Sockets/internal/index.d.ts +33 -56
  55. package/System.Net.WebSockets/internal/index.d.ts +16 -23
  56. package/System.Numerics/internal/index.d.ts +5 -5
  57. package/System.Reflection/internal/index.d.ts +66 -102
  58. package/System.Reflection.Emit/internal/index.d.ts +104 -177
  59. package/System.Reflection.Metadata/internal/index.d.ts +11 -21
  60. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +0 -1
  61. package/System.Reflection.PortableExecutable/internal/index.d.ts +12 -30
  62. package/System.Resources/internal/index.d.ts +8 -20
  63. package/System.Runtime/internal/index.d.ts +5 -8
  64. package/System.Runtime.CompilerServices/internal/index.d.ts +15 -21
  65. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -8
  66. package/System.Runtime.ExceptionServices/internal/index.d.ts +0 -1
  67. package/System.Runtime.InteropServices/internal/index.d.ts +29 -62
  68. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +1 -22
  69. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +14 -23
  70. package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
  71. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -2
  72. package/System.Runtime.Loader/internal/index.d.ts +5 -11
  73. package/System.Runtime.Serialization/internal/index.d.ts +62 -65
  74. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +8 -10
  75. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  76. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -2
  77. package/System.Runtime.Serialization.Json/internal/index.d.ts +6 -4
  78. package/System.Runtime.Versioning/internal/index.d.ts +6 -6
  79. package/System.Security/internal/index.d.ts +22 -25
  80. package/System.Security.AccessControl/internal/index.d.ts +51 -89
  81. package/System.Security.Authentication/internal/index.d.ts +0 -2
  82. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -10
  83. package/System.Security.Claims/internal/index.d.ts +19 -38
  84. package/System.Security.Cryptography/internal/index.d.ts +492 -903
  85. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +19 -48
  86. package/System.Security.Permissions/internal/index.d.ts +2 -4
  87. package/System.Security.Policy/internal/index.d.ts +3 -4
  88. package/System.Security.Principal/internal/index.d.ts +11 -17
  89. package/System.Text/internal/index.d.ts +11 -23
  90. package/System.Text.Encodings.Web/internal/index.d.ts +4 -8
  91. package/System.Text.Json/internal/index.d.ts +10 -12
  92. package/System.Text.Json.Nodes/internal/index.d.ts +4 -3
  93. package/System.Text.Json.Schema/internal/index.d.ts +1 -1
  94. package/System.Text.Json.Serialization/internal/index.d.ts +19 -27
  95. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +36 -34
  96. package/System.Text.RegularExpressions/internal/index.d.ts +11 -31
  97. package/System.Threading/internal/index.d.ts +36 -106
  98. package/System.Threading.Channels/internal/index.d.ts +7 -12
  99. package/System.Threading.Tasks/internal/index.d.ts +18 -29
  100. package/System.Timers/internal/index.d.ts +4 -8
  101. package/System.Transactions/internal/index.d.ts +3 -14
  102. package/System.Xml/internal/index.d.ts +104 -167
  103. package/System.Xml.Linq/internal/index.d.ts +17 -13
  104. package/System.Xml.Schema/internal/index.d.ts +117 -112
  105. package/System.Xml.Serialization/internal/index.d.ts +92 -100
  106. package/System.Xml.XPath/internal/index.d.ts +5 -9
  107. package/System.Xml.Xsl/internal/index.d.ts +4 -9
  108. package/System.Xml.Xsl.Runtime/internal/index.d.ts +11 -29
  109. package/package.json +1 -1
@@ -182,8 +182,7 @@ export interface GatewayIPAddressInformation$instance {
182
182
  }
183
183
 
184
184
 
185
- export const GatewayIPAddressInformation: {
186
- new(): GatewayIPAddressInformation;
185
+ export const GatewayIPAddressInformation: (abstract new() => GatewayIPAddressInformation) & {
187
186
  };
188
187
 
189
188
 
@@ -192,7 +191,7 @@ export type GatewayIPAddressInformation = GatewayIPAddressInformation$instance;
192
191
  export interface GatewayIPAddressInformationCollection$instance {
193
192
  readonly Count: int;
194
193
  readonly IsReadOnly: boolean;
195
- readonly Item: GatewayIPAddressInformation;
194
+ readonly [index: number]: GatewayIPAddressInformation;
196
195
  Add(address: GatewayIPAddressInformation): void;
197
196
  Clear(): void;
198
197
  Contains(address: GatewayIPAddressInformation): boolean;
@@ -202,8 +201,7 @@ export interface GatewayIPAddressInformationCollection$instance {
202
201
  }
203
202
 
204
203
 
205
- export const GatewayIPAddressInformationCollection: {
206
- new(): GatewayIPAddressInformationCollection;
204
+ export const GatewayIPAddressInformationCollection: (abstract new() => GatewayIPAddressInformationCollection) & {
207
205
  };
208
206
 
209
207
 
@@ -246,8 +244,7 @@ export interface IcmpV4Statistics$instance {
246
244
  }
247
245
 
248
246
 
249
- export const IcmpV4Statistics: {
250
- new(): IcmpV4Statistics;
247
+ export const IcmpV4Statistics: (abstract new() => IcmpV4Statistics) & {
251
248
  };
252
249
 
253
250
 
@@ -289,8 +286,7 @@ export interface IcmpV6Statistics$instance {
289
286
  }
290
287
 
291
288
 
292
- export const IcmpV6Statistics: {
293
- new(): IcmpV6Statistics;
289
+ export const IcmpV6Statistics: (abstract new() => IcmpV6Statistics) & {
294
290
  };
295
291
 
296
292
 
@@ -299,7 +295,7 @@ export type IcmpV6Statistics = IcmpV6Statistics$instance;
299
295
  export interface IPAddressCollection$instance {
300
296
  readonly Count: int;
301
297
  readonly IsReadOnly: boolean;
302
- readonly Item: IPAddress;
298
+ readonly [index: number]: IPAddress;
303
299
  Add(address: IPAddress): void;
304
300
  Clear(): void;
305
301
  Contains(address: IPAddress): boolean;
@@ -309,8 +305,7 @@ export interface IPAddressCollection$instance {
309
305
  }
310
306
 
311
307
 
312
- export const IPAddressCollection: {
313
- new(): IPAddressCollection;
308
+ export const IPAddressCollection: (abstract new() => IPAddressCollection) & {
314
309
  };
315
310
 
316
311
 
@@ -330,8 +325,7 @@ export interface IPAddressInformation$instance {
330
325
  }
331
326
 
332
327
 
333
- export const IPAddressInformation: {
334
- new(): IPAddressInformation;
328
+ export const IPAddressInformation: (abstract new() => IPAddressInformation) & {
335
329
  };
336
330
 
337
331
 
@@ -340,7 +334,7 @@ export type IPAddressInformation = IPAddressInformation$instance;
340
334
  export interface IPAddressInformationCollection$instance {
341
335
  readonly Count: int;
342
336
  readonly IsReadOnly: boolean;
343
- readonly Item: IPAddressInformation;
337
+ readonly [index: number]: IPAddressInformation;
344
338
  Add(address: IPAddressInformation): void;
345
339
  Clear(): void;
346
340
  Contains(address: IPAddressInformation): boolean;
@@ -351,7 +345,6 @@ export interface IPAddressInformationCollection$instance {
351
345
 
352
346
 
353
347
  export const IPAddressInformationCollection: {
354
- new(): IPAddressInformationCollection;
355
348
  };
356
349
 
357
350
 
@@ -388,8 +381,7 @@ export interface IPGlobalProperties$instance {
388
381
  }
389
382
 
390
383
 
391
- export const IPGlobalProperties: {
392
- new(): IPGlobalProperties;
384
+ export const IPGlobalProperties: (abstract new() => IPGlobalProperties) & {
393
385
  GetIPGlobalProperties(): IPGlobalProperties;
394
386
  };
395
387
 
@@ -422,8 +414,7 @@ export interface IPGlobalStatistics$instance {
422
414
  }
423
415
 
424
416
 
425
- export const IPGlobalStatistics: {
426
- new(): IPGlobalStatistics;
417
+ export const IPGlobalStatistics: (abstract new() => IPGlobalStatistics) & {
427
418
  };
428
419
 
429
420
 
@@ -445,8 +436,7 @@ export interface IPInterfaceProperties$instance {
445
436
  }
446
437
 
447
438
 
448
- export const IPInterfaceProperties: {
449
- new(): IPInterfaceProperties;
439
+ export const IPInterfaceProperties: (abstract new() => IPInterfaceProperties) & {
450
440
  };
451
441
 
452
442
 
@@ -468,8 +458,7 @@ export interface IPInterfaceStatistics$instance {
468
458
  }
469
459
 
470
460
 
471
- export const IPInterfaceStatistics: {
472
- new(): IPInterfaceStatistics;
461
+ export const IPInterfaceStatistics: (abstract new() => IPInterfaceStatistics) & {
473
462
  };
474
463
 
475
464
 
@@ -486,8 +475,7 @@ export interface IPv4InterfaceProperties$instance {
486
475
  }
487
476
 
488
477
 
489
- export const IPv4InterfaceProperties: {
490
- new(): IPv4InterfaceProperties;
478
+ export const IPv4InterfaceProperties: (abstract new() => IPv4InterfaceProperties) & {
491
479
  };
492
480
 
493
481
 
@@ -509,8 +497,7 @@ export interface IPv4InterfaceStatistics$instance {
509
497
  }
510
498
 
511
499
 
512
- export const IPv4InterfaceStatistics: {
513
- new(): IPv4InterfaceStatistics;
500
+ export const IPv4InterfaceStatistics: (abstract new() => IPv4InterfaceStatistics) & {
514
501
  };
515
502
 
516
503
 
@@ -523,8 +510,7 @@ export interface IPv6InterfaceProperties$instance {
523
510
  }
524
511
 
525
512
 
526
- export const IPv6InterfaceProperties: {
527
- new(): IPv6InterfaceProperties;
513
+ export const IPv6InterfaceProperties: (abstract new() => IPv6InterfaceProperties) & {
528
514
  };
529
515
 
530
516
 
@@ -540,8 +526,7 @@ export interface MulticastIPAddressInformation$instance extends IPAddressInforma
540
526
  }
541
527
 
542
528
 
543
- export const MulticastIPAddressInformation: {
544
- new(): MulticastIPAddressInformation;
529
+ export const MulticastIPAddressInformation: (abstract new() => MulticastIPAddressInformation) & {
545
530
  };
546
531
 
547
532
 
@@ -550,7 +535,7 @@ export type MulticastIPAddressInformation = MulticastIPAddressInformation$instan
550
535
  export interface MulticastIPAddressInformationCollection$instance {
551
536
  readonly Count: int;
552
537
  readonly IsReadOnly: boolean;
553
- readonly Item: MulticastIPAddressInformation;
538
+ readonly [index: number]: MulticastIPAddressInformation;
554
539
  Add(address: MulticastIPAddressInformation): void;
555
540
  Clear(): void;
556
541
  Contains(address: MulticastIPAddressInformation): boolean;
@@ -560,8 +545,7 @@ export interface MulticastIPAddressInformationCollection$instance {
560
545
  }
561
546
 
562
547
 
563
- export const MulticastIPAddressInformationCollection: {
564
- new(): MulticastIPAddressInformationCollection;
548
+ export const MulticastIPAddressInformationCollection: (abstract new() => MulticastIPAddressInformationCollection) & {
565
549
  };
566
550
 
567
551
 
@@ -580,7 +564,6 @@ export interface NetworkAvailabilityEventArgs$instance extends EventArgs {
580
564
 
581
565
 
582
566
  export const NetworkAvailabilityEventArgs: {
583
- new(): NetworkAvailabilityEventArgs;
584
567
  };
585
568
 
586
569
 
@@ -607,7 +590,6 @@ export interface NetworkInformationException$instance extends Win32Exception {
607
590
  export const NetworkInformationException: {
608
591
  new(): NetworkInformationException;
609
592
  new(errorCode: int): NetworkInformationException;
610
- new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): NetworkInformationException;
611
593
  };
612
594
 
613
595
 
@@ -635,8 +617,7 @@ export interface NetworkInterface$instance {
635
617
  }
636
618
 
637
619
 
638
- export const NetworkInterface: {
639
- new(): NetworkInterface;
620
+ export const NetworkInterface: (abstract new() => NetworkInterface) & {
640
621
  readonly IPv6LoopbackInterfaceIndex: int;
641
622
  readonly LoopbackInterfaceIndex: int;
642
623
  GetAllNetworkInterfaces(): NetworkInterface[];
@@ -666,12 +647,8 @@ export const PhysicalAddress: {
666
647
 
667
648
  export type PhysicalAddress = PhysicalAddress$instance;
668
649
 
669
- export abstract class Ping$protected {
670
- protected Dispose2(disposing: boolean): void;
671
- }
672
-
673
-
674
- export interface Ping$instance extends Ping$protected, Component {
650
+ export interface Ping$instance extends Component {
651
+ Dispose(disposing: boolean): void;
675
652
  Dispose(): void;
676
653
  Send(hostNameOrAddress: string): PingReply;
677
654
  Send(hostNameOrAddress: string, timeout: int): PingReply;
@@ -724,7 +701,6 @@ export interface PingCompletedEventArgs$instance extends AsyncCompletedEventArgs
724
701
 
725
702
 
726
703
  export const PingCompletedEventArgs: {
727
- new(): PingCompletedEventArgs;
728
704
  };
729
705
 
730
706
 
@@ -738,7 +714,6 @@ export interface PingException$instance extends InvalidOperationException {
738
714
  export const PingException: {
739
715
  new(message: string): PingException;
740
716
  new(message: string, innerException: Exception): PingException;
741
- new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): PingException;
742
717
  };
743
718
 
744
719
 
@@ -766,14 +741,13 @@ export type PingOptions = PingOptions$instance;
766
741
  export interface PingReply$instance {
767
742
  readonly Address: IPAddress;
768
743
  readonly Buffer: byte[];
769
- readonly Options: PingOptions;
744
+ readonly Options: PingOptions | undefined;
770
745
  readonly RoundtripTime: long;
771
746
  readonly Status: IPStatus;
772
747
  }
773
748
 
774
749
 
775
750
  export const PingReply: {
776
- new(): PingReply;
777
751
  };
778
752
 
779
753
 
@@ -786,8 +760,7 @@ export interface TcpConnectionInformation$instance {
786
760
  }
787
761
 
788
762
 
789
- export const TcpConnectionInformation: {
790
- new(): TcpConnectionInformation;
763
+ export const TcpConnectionInformation: (abstract new() => TcpConnectionInformation) & {
791
764
  };
792
765
 
793
766
 
@@ -811,8 +784,7 @@ export interface TcpStatistics$instance {
811
784
  }
812
785
 
813
786
 
814
- export const TcpStatistics: {
815
- new(): TcpStatistics;
787
+ export const TcpStatistics: (abstract new() => TcpStatistics) & {
816
788
  };
817
789
 
818
790
 
@@ -827,8 +799,7 @@ export interface UdpStatistics$instance {
827
799
  }
828
800
 
829
801
 
830
- export const UdpStatistics: {
831
- new(): UdpStatistics;
802
+ export const UdpStatistics: (abstract new() => UdpStatistics) & {
832
803
  };
833
804
 
834
805
 
@@ -846,8 +817,7 @@ export interface UnicastIPAddressInformation$instance extends IPAddressInformati
846
817
  }
847
818
 
848
819
 
849
- export const UnicastIPAddressInformation: {
850
- new(): UnicastIPAddressInformation;
820
+ export const UnicastIPAddressInformation: (abstract new() => UnicastIPAddressInformation) & {
851
821
  };
852
822
 
853
823
 
@@ -856,7 +826,7 @@ export type UnicastIPAddressInformation = UnicastIPAddressInformation$instance;
856
826
  export interface UnicastIPAddressInformationCollection$instance {
857
827
  readonly Count: int;
858
828
  readonly IsReadOnly: boolean;
859
- readonly Item: UnicastIPAddressInformation;
829
+ readonly [index: number]: UnicastIPAddressInformation;
860
830
  Add(address: UnicastIPAddressInformation): void;
861
831
  Clear(): void;
862
832
  Contains(address: UnicastIPAddressInformation): boolean;
@@ -866,8 +836,7 @@ export interface UnicastIPAddressInformationCollection$instance {
866
836
  }
867
837
 
868
838
 
869
- export const UnicastIPAddressInformationCollection: {
870
- new(): UnicastIPAddressInformationCollection;
839
+ export const UnicastIPAddressInformationCollection: (abstract new() => UnicastIPAddressInformationCollection) & {
871
840
  };
872
841
 
873
842
 
@@ -66,7 +66,8 @@ export type QuicStreamCapacityChangedArgs = QuicStreamCapacityChangedArgs$instan
66
66
 
67
67
  export interface QuicClientConnectionOptions$instance extends QuicConnectionOptions {
68
68
  ClientAuthenticationOptions: SslClientAuthenticationOptions;
69
- LocalEndPoint: IPEndPoint;
69
+ get LocalEndPoint(): IPEndPoint | undefined;
70
+ set LocalEndPoint(value: IPEndPoint | undefined);
70
71
  RemoteEndPoint: EndPoint;
71
72
  }
72
73
 
@@ -95,7 +96,6 @@ export interface QuicConnection$instance {
95
96
 
96
97
 
97
98
  export const QuicConnection: {
98
- new(): QuicConnection;
99
99
  readonly IsSupported: boolean;
100
100
  ConnectAsync(options: QuicClientConnectionOptions, cancellationToken?: CancellationToken): ValueTask_1<QuicConnection>;
101
101
  };
@@ -120,7 +120,7 @@ export interface QuicConnectionOptions$instance {
120
120
  MaxInboundBidirectionalStreams: int;
121
121
  MaxInboundUnidirectionalStreams: int;
122
122
  get StreamCapacityCallback(): Action_2<QuicConnection, QuicStreamCapacityChangedArgs> | undefined;
123
- set StreamCapacityCallback(value: Action_2<QuicConnection, QuicStreamCapacityChangedArgs>);
123
+ set StreamCapacityCallback(value: Action_2<QuicConnection, QuicStreamCapacityChangedArgs> | undefined);
124
124
  }
125
125
 
126
126
 
@@ -159,7 +159,6 @@ export interface QuicListener$instance {
159
159
 
160
160
 
161
161
  export const QuicListener: {
162
- new(): QuicListener;
163
162
  readonly IsSupported: boolean;
164
163
  ListenAsync(options: QuicListenerOptions, cancellationToken?: CancellationToken): ValueTask_1<QuicListener>;
165
164
  };
@@ -216,12 +215,7 @@ export const QuicServerConnectionOptions: {
216
215
 
217
216
  export type QuicServerConnectionOptions = QuicServerConnectionOptions$instance;
218
217
 
219
- export abstract class QuicStream$protected {
220
- protected Dispose2(disposing: boolean): void;
221
- }
222
-
223
-
224
- export interface QuicStream$instance extends QuicStream$protected, Stream {
218
+ export interface QuicStream$instance extends Stream {
225
219
  readonly CanRead: boolean;
226
220
  readonly CanSeek: boolean;
227
221
  readonly CanTimeout: boolean;
@@ -238,6 +232,7 @@ export interface QuicStream$instance extends QuicStream$protected, Stream {
238
232
  BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
239
233
  BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
240
234
  CompleteWrites(): void;
235
+ Dispose(disposing: boolean): void;
241
236
  Dispose(): void;
242
237
  DisposeAsync(): ValueTask;
243
238
  EndRead(asyncResult: IAsyncResult): int;
@@ -269,7 +264,6 @@ export interface QuicStream$instance extends QuicStream$protected, Stream {
269
264
 
270
265
 
271
266
  export const QuicStream: {
272
- new(): QuicStream;
273
267
  };
274
268
 
275
269
 
@@ -470,25 +470,20 @@ export const SslClientHelloInfo: {
470
470
 
471
471
  export type SslClientHelloInfo = SslClientHelloInfo$instance;
472
472
 
473
- export abstract class AuthenticatedStream$protected {
474
- protected Dispose2(disposing: boolean): void;
475
- }
476
-
477
-
478
- export interface AuthenticatedStream$instance extends AuthenticatedStream$protected, Stream {
473
+ export interface AuthenticatedStream$instance extends Stream {
479
474
  readonly IsAuthenticated: boolean;
480
475
  readonly IsEncrypted: boolean;
481
476
  readonly IsMutuallyAuthenticated: boolean;
482
477
  readonly IsServer: boolean;
483
478
  readonly IsSigned: boolean;
484
479
  readonly LeaveInnerStreamOpen: boolean;
480
+ Dispose(disposing: boolean): void;
485
481
  Dispose(): void;
486
482
  DisposeAsync(): ValueTask;
487
483
  }
488
484
 
489
485
 
490
- export const AuthenticatedStream: {
491
- new(innerStream: Stream, leaveInnerStreamOpen: boolean): AuthenticatedStream;
486
+ export const AuthenticatedStream: (abstract new(innerStream: Stream, leaveInnerStreamOpen: boolean) => AuthenticatedStream) & {
492
487
  };
493
488
 
494
489
 
@@ -552,13 +547,13 @@ export type NegotiateAuthentication = NegotiateAuthentication$instance & __Negot
552
547
  export interface NegotiateAuthenticationClientOptions$instance {
553
548
  AllowedImpersonationLevel: TokenImpersonationLevel;
554
549
  get Binding(): ChannelBinding | undefined;
555
- set Binding(value: ChannelBinding);
550
+ set Binding(value: ChannelBinding | undefined);
556
551
  Credential: NetworkCredential;
557
552
  Package: string;
558
553
  RequiredProtectionLevel: ProtectionLevel;
559
554
  RequireMutualAuthentication: boolean;
560
555
  get TargetName(): string | undefined;
561
- set TargetName(value: string);
556
+ set TargetName(value: string | undefined);
562
557
  }
563
558
 
564
559
 
@@ -571,11 +566,11 @@ export type NegotiateAuthenticationClientOptions = NegotiateAuthenticationClient
571
566
 
572
567
  export interface NegotiateAuthenticationServerOptions$instance {
573
568
  get Binding(): ChannelBinding | undefined;
574
- set Binding(value: ChannelBinding);
569
+ set Binding(value: ChannelBinding | undefined);
575
570
  Credential: NetworkCredential;
576
571
  Package: string;
577
572
  get Policy(): ExtendedProtectionPolicy | undefined;
578
- set Policy(value: ExtendedProtectionPolicy);
573
+ set Policy(value: ExtendedProtectionPolicy | undefined);
579
574
  RequiredImpersonationLevel: TokenImpersonationLevel;
580
575
  RequiredProtectionLevel: ProtectionLevel;
581
576
  }
@@ -588,12 +583,7 @@ export const NegotiateAuthenticationServerOptions: {
588
583
 
589
584
  export type NegotiateAuthenticationServerOptions = NegotiateAuthenticationServerOptions$instance;
590
585
 
591
- export abstract class NegotiateStream$protected {
592
- protected Dispose2(disposing: boolean): void;
593
- }
594
-
595
-
596
- export interface NegotiateStream$instance extends NegotiateStream$protected, AuthenticatedStream$instance {
586
+ export interface NegotiateStream$instance extends AuthenticatedStream$instance {
597
587
  readonly CanRead: boolean;
598
588
  readonly CanSeek: boolean;
599
589
  readonly CanTimeout: boolean;
@@ -638,6 +628,7 @@ export interface NegotiateStream$instance extends NegotiateStream$protected, Aut
638
628
  BeginAuthenticateAsServer(credential: NetworkCredential, policy: ExtendedProtectionPolicy, requiredProtectionLevel: ProtectionLevel, requiredImpersonationLevel: TokenImpersonationLevel, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
639
629
  BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
640
630
  BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
631
+ Dispose(disposing: boolean): void;
641
632
  Dispose(): void;
642
633
  DisposeAsync(): ValueTask;
643
634
  EndAuthenticateAsClient(asyncResult: IAsyncResult): void;
@@ -684,7 +675,6 @@ export interface SslCertificateTrust$instance {
684
675
 
685
676
 
686
677
  export const SslCertificateTrust: {
687
- new(): SslCertificateTrust;
688
678
  CreateForX509Collection(trustList: X509Certificate2Collection, sendTrustInHandshake?: boolean): SslCertificateTrust;
689
679
  CreateForX509Store(store: X509Store, sendTrustInHandshake?: boolean): SslCertificateTrust;
690
680
  };
@@ -697,23 +687,25 @@ export interface SslClientAuthenticationOptions$instance {
697
687
  AllowRsaPkcs1Padding: boolean;
698
688
  AllowRsaPssPadding: boolean;
699
689
  AllowTlsResume: boolean;
700
- ApplicationProtocols: List_1<SslApplicationProtocol>;
690
+ get ApplicationProtocols(): List_1<SslApplicationProtocol> | undefined;
691
+ set ApplicationProtocols(value: List_1<SslApplicationProtocol> | undefined);
701
692
  get CertificateChainPolicy(): X509ChainPolicy | undefined;
702
- set CertificateChainPolicy(value: X509ChainPolicy);
693
+ set CertificateChainPolicy(value: X509ChainPolicy | undefined);
703
694
  CertificateRevocationCheckMode: X509RevocationMode;
704
695
  get CipherSuitesPolicy(): CipherSuitesPolicy | undefined;
705
- set CipherSuitesPolicy(value: CipherSuitesPolicy);
696
+ set CipherSuitesPolicy(value: CipherSuitesPolicy | undefined);
706
697
  get ClientCertificateContext(): SslStreamCertificateContext | undefined;
707
- set ClientCertificateContext(value: SslStreamCertificateContext);
708
- ClientCertificates: X509CertificateCollection;
698
+ set ClientCertificateContext(value: SslStreamCertificateContext | undefined);
699
+ get ClientCertificates(): X509CertificateCollection | undefined;
700
+ set ClientCertificates(value: X509CertificateCollection | undefined);
709
701
  EnabledSslProtocols: SslProtocols;
710
702
  EncryptionPolicy: EncryptionPolicy;
711
703
  get LocalCertificateSelectionCallback(): LocalCertificateSelectionCallback | undefined;
712
- set LocalCertificateSelectionCallback(value: LocalCertificateSelectionCallback);
704
+ set LocalCertificateSelectionCallback(value: LocalCertificateSelectionCallback | undefined);
713
705
  get RemoteCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
714
- set RemoteCertificateValidationCallback(value: RemoteCertificateValidationCallback);
706
+ set RemoteCertificateValidationCallback(value: RemoteCertificateValidationCallback | undefined);
715
707
  get TargetHost(): string | undefined;
716
- set TargetHost(value: string);
708
+ set TargetHost(value: string | undefined);
717
709
  }
718
710
 
719
711
 
@@ -729,23 +721,24 @@ export interface SslServerAuthenticationOptions$instance {
729
721
  AllowRsaPkcs1Padding: boolean;
730
722
  AllowRsaPssPadding: boolean;
731
723
  AllowTlsResume: boolean;
732
- ApplicationProtocols: List_1<SslApplicationProtocol>;
724
+ get ApplicationProtocols(): List_1<SslApplicationProtocol> | undefined;
725
+ set ApplicationProtocols(value: List_1<SslApplicationProtocol> | undefined);
733
726
  get CertificateChainPolicy(): X509ChainPolicy | undefined;
734
- set CertificateChainPolicy(value: X509ChainPolicy);
727
+ set CertificateChainPolicy(value: X509ChainPolicy | undefined);
735
728
  CertificateRevocationCheckMode: X509RevocationMode;
736
729
  get CipherSuitesPolicy(): CipherSuitesPolicy | undefined;
737
- set CipherSuitesPolicy(value: CipherSuitesPolicy);
730
+ set CipherSuitesPolicy(value: CipherSuitesPolicy | undefined);
738
731
  ClientCertificateRequired: boolean;
739
732
  EnabledSslProtocols: SslProtocols;
740
733
  EncryptionPolicy: EncryptionPolicy;
741
734
  get RemoteCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
742
- set RemoteCertificateValidationCallback(value: RemoteCertificateValidationCallback);
735
+ set RemoteCertificateValidationCallback(value: RemoteCertificateValidationCallback | undefined);
743
736
  get ServerCertificate(): X509Certificate | undefined;
744
- set ServerCertificate(value: X509Certificate);
737
+ set ServerCertificate(value: X509Certificate | undefined);
745
738
  get ServerCertificateContext(): SslStreamCertificateContext | undefined;
746
- set ServerCertificateContext(value: SslStreamCertificateContext);
739
+ set ServerCertificateContext(value: SslStreamCertificateContext | undefined);
747
740
  get ServerCertificateSelectionCallback(): ServerCertificateSelectionCallback | undefined;
748
- set ServerCertificateSelectionCallback(value: ServerCertificateSelectionCallback);
741
+ set ServerCertificateSelectionCallback(value: ServerCertificateSelectionCallback | undefined);
749
742
  }
750
743
 
751
744
 
@@ -756,13 +749,7 @@ export const SslServerAuthenticationOptions: {
756
749
 
757
750
  export type SslServerAuthenticationOptions = SslServerAuthenticationOptions$instance;
758
751
 
759
- export abstract class SslStream$protected {
760
- protected Dispose2(disposing: boolean): void;
761
- protected Finalize(): void;
762
- }
763
-
764
-
765
- export interface SslStream$instance extends SslStream$protected, AuthenticatedStream$instance {
752
+ export interface SslStream$instance extends AuthenticatedStream$instance {
766
753
  readonly CanRead: boolean;
767
754
  readonly CanSeek: boolean;
768
755
  readonly CanTimeout: boolean;
@@ -815,12 +802,14 @@ export interface SslStream$instance extends SslStream$protected, AuthenticatedSt
815
802
  BeginAuthenticateAsServer(serverCertificate: X509Certificate, clientCertificateRequired: boolean, enabledSslProtocols: SslProtocols, checkCertificateRevocation: boolean, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
816
803
  BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
817
804
  BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
805
+ Dispose(disposing: boolean): void;
818
806
  Dispose(): void;
819
807
  DisposeAsync(): ValueTask;
820
808
  EndAuthenticateAsClient(asyncResult: IAsyncResult): void;
821
809
  EndAuthenticateAsServer(asyncResult: IAsyncResult): void;
822
810
  EndRead(asyncResult: IAsyncResult): int;
823
811
  EndWrite(asyncResult: IAsyncResult): void;
812
+ Finalize(): void;
824
813
  Flush(): void;
825
814
  FlushAsync(cancellationToken: CancellationToken): Task;
826
815
  FlushAsync(): Task;
@@ -873,7 +862,6 @@ export interface SslStreamCertificateContext$instance {
873
862
 
874
863
 
875
864
  export const SslStreamCertificateContext: {
876
- new(): SslStreamCertificateContext;
877
865
  Create(target: X509Certificate2, additionalCertificates: X509Certificate2Collection, offline?: boolean, trust?: SslCertificateTrust): SslStreamCertificateContext;
878
866
  Create(target: X509Certificate2, additionalCertificates: X509Certificate2Collection, offline: boolean): SslStreamCertificateContext;
879
867
  };
@@ -23,7 +23,7 @@ export type SseItemParser_1<T> = (eventType: string, data: ReadOnlySpan_1<System
23
23
  export interface SseItem_1$instance<T> {
24
24
  readonly Data: T;
25
25
  get EventId(): string | undefined;
26
- set EventId(value: string);
26
+ set EventId(value: string | undefined);
27
27
  readonly EventType: string;
28
28
  ReconnectionInterval: Nullable_1<TimeSpan>;
29
29
  }
@@ -45,7 +45,6 @@ export interface SseParser_1$instance<T> {
45
45
 
46
46
 
47
47
  export const SseParser_1: {
48
- new<T>(): SseParser_1<T>;
49
48
  };
50
49
 
51
50