@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
@@ -60,7 +60,7 @@ export type HeaderStringValues_Enumerator = HeaderStringValues_Enumerator$instan
60
60
 
61
61
  export interface HttpHeadersNonValidated$instance {
62
62
  readonly Count: int;
63
- readonly Item: HeaderStringValues;
63
+ readonly [headerName: string]: HeaderStringValues;
64
64
  Contains(headerName: string): boolean;
65
65
  GetEnumerator(): HttpHeadersNonValidated_Enumerator;
66
66
  TryGetValues(headerName: string, values: HeaderStringValues): boolean;
@@ -171,11 +171,13 @@ export type CacheControlHeaderValue = CacheControlHeaderValue$instance & __Cache
171
171
  export interface ContentDispositionHeaderValue$instance {
172
172
  CreationDate: Nullable_1<DateTimeOffset>;
173
173
  DispositionType: string;
174
- FileName: string;
174
+ get FileName(): string | undefined;
175
+ set FileName(value: string | undefined);
175
176
  get FileNameStar(): string | undefined;
176
- set FileNameStar(value: string);
177
+ set FileNameStar(value: string | undefined);
177
178
  ModificationDate: Nullable_1<DateTimeOffset>;
178
- Name: string;
179
+ get Name(): string | undefined;
180
+ set Name(value: string | undefined);
179
181
  readonly Parameters: ICollection_1<NameValueHeaderValue>;
180
182
  ReadDate: Nullable_1<DateTimeOffset>;
181
183
  Size: Nullable_1<System_Internal.Int64>;
@@ -186,7 +188,6 @@ export interface ContentDispositionHeaderValue$instance {
186
188
 
187
189
 
188
190
  export const ContentDispositionHeaderValue: {
189
- new(source: ContentDispositionHeaderValue): ContentDispositionHeaderValue;
190
191
  new(dispositionType: string): ContentDispositionHeaderValue;
191
192
  Parse(input: string): ContentDispositionHeaderValue;
192
193
  TryParse(input: string, parsedValue: ContentDispositionHeaderValue): boolean;
@@ -263,17 +264,18 @@ export type EntityTagHeaderValue = EntityTagHeaderValue$instance & __EntityTagHe
263
264
  export interface HttpContentHeaders$instance extends HttpHeaders$instance {
264
265
  readonly Allow: ICollection_1<System_Internal.String>;
265
266
  get ContentDisposition(): ContentDispositionHeaderValue | undefined;
266
- set ContentDisposition(value: ContentDispositionHeaderValue);
267
+ set ContentDisposition(value: ContentDispositionHeaderValue | undefined);
267
268
  readonly ContentEncoding: ICollection_1<System_Internal.String>;
268
269
  readonly ContentLanguage: ICollection_1<System_Internal.String>;
269
270
  ContentLength: Nullable_1<System_Internal.Int64>;
270
271
  get ContentLocation(): Uri | undefined;
271
- set ContentLocation(value: Uri);
272
+ set ContentLocation(value: Uri | undefined);
272
273
  get ContentMD5(): byte[] | undefined;
273
- set ContentMD5(value: byte[]);
274
+ set ContentMD5(value: byte[] | undefined);
274
275
  get ContentRange(): ContentRangeHeaderValue | undefined;
275
- set ContentRange(value: ContentRangeHeaderValue);
276
- ContentType: MediaTypeHeaderValue;
276
+ set ContentRange(value: ContentRangeHeaderValue | undefined);
277
+ get ContentType(): MediaTypeHeaderValue | undefined;
278
+ set ContentType(value: MediaTypeHeaderValue | undefined);
277
279
  Expires: Nullable_1<DateTimeOffset>;
278
280
  LastModified: Nullable_1<DateTimeOffset>;
279
281
  GetEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, IEnumerable_1<System_Internal.String>>>;
@@ -282,7 +284,6 @@ export interface HttpContentHeaders$instance extends HttpHeaders$instance {
282
284
 
283
285
 
284
286
  export const HttpContentHeaders: {
285
- new(): HttpContentHeaders;
286
287
  };
287
288
 
288
289
 
@@ -310,8 +311,7 @@ export interface HttpHeaders$instance {
310
311
  }
311
312
 
312
313
 
313
- export const HttpHeaders: {
314
- new(): HttpHeaders;
314
+ export const HttpHeaders: (abstract new() => HttpHeaders) & {
315
315
  };
316
316
 
317
317
 
@@ -339,7 +339,6 @@ export interface HttpHeaderValueCollection_1$instance<T> {
339
339
 
340
340
 
341
341
  export const HttpHeaderValueCollection_1: {
342
- new<T>(): HttpHeaderValueCollection_1<T>;
343
342
  };
344
343
 
345
344
 
@@ -358,33 +357,34 @@ export interface HttpRequestHeaders$instance extends HttpHeaders$instance {
358
357
  readonly AcceptEncoding: HttpHeaderValueCollection_1<StringWithQualityHeaderValue>;
359
358
  readonly AcceptLanguage: HttpHeaderValueCollection_1<StringWithQualityHeaderValue>;
360
359
  get Authorization(): AuthenticationHeaderValue | undefined;
361
- set Authorization(value: AuthenticationHeaderValue);
360
+ set Authorization(value: AuthenticationHeaderValue | undefined);
362
361
  get CacheControl(): CacheControlHeaderValue | undefined;
363
- set CacheControl(value: CacheControlHeaderValue);
362
+ set CacheControl(value: CacheControlHeaderValue | undefined);
364
363
  readonly Connection: HttpHeaderValueCollection_1<System_Internal.String>;
365
364
  ConnectionClose: Nullable_1<System_Internal.Boolean>;
366
365
  Date: Nullable_1<DateTimeOffset>;
367
366
  readonly Expect: HttpHeaderValueCollection_1<NameValueWithParametersHeaderValue>;
368
367
  ExpectContinue: Nullable_1<System_Internal.Boolean>;
369
368
  get From(): string | undefined;
370
- set From(value: string);
371
- Host: string;
369
+ set From(value: string | undefined);
370
+ get Host(): string | undefined;
371
+ set Host(value: string | undefined);
372
372
  readonly IfMatch: HttpHeaderValueCollection_1<EntityTagHeaderValue>;
373
373
  IfModifiedSince: Nullable_1<DateTimeOffset>;
374
374
  readonly IfNoneMatch: HttpHeaderValueCollection_1<EntityTagHeaderValue>;
375
375
  get IfRange(): RangeConditionHeaderValue | undefined;
376
- set IfRange(value: RangeConditionHeaderValue);
376
+ set IfRange(value: RangeConditionHeaderValue | undefined);
377
377
  IfUnmodifiedSince: Nullable_1<DateTimeOffset>;
378
378
  MaxForwards: Nullable_1<System_Internal.Int32>;
379
379
  readonly Pragma: HttpHeaderValueCollection_1<NameValueHeaderValue>;
380
380
  get Protocol(): string | undefined;
381
- set Protocol(value: string);
381
+ set Protocol(value: string | undefined);
382
382
  get ProxyAuthorization(): AuthenticationHeaderValue | undefined;
383
- set ProxyAuthorization(value: AuthenticationHeaderValue);
383
+ set ProxyAuthorization(value: AuthenticationHeaderValue | undefined);
384
384
  get Range(): RangeHeaderValue | undefined;
385
- set Range(value: RangeHeaderValue);
385
+ set Range(value: RangeHeaderValue | undefined);
386
386
  get Referrer(): Uri | undefined;
387
- set Referrer(value: Uri);
387
+ set Referrer(value: Uri | undefined);
388
388
  readonly TE: HttpHeaderValueCollection_1<TransferCodingWithQualityHeaderValue>;
389
389
  readonly Trailer: HttpHeaderValueCollection_1<System_Internal.String>;
390
390
  readonly TransferEncoding: HttpHeaderValueCollection_1<TransferCodingHeaderValue>;
@@ -399,7 +399,6 @@ export interface HttpRequestHeaders$instance extends HttpHeaders$instance {
399
399
 
400
400
 
401
401
  export const HttpRequestHeaders: {
402
- new(): HttpRequestHeaders;
403
402
  };
404
403
 
405
404
 
@@ -415,17 +414,18 @@ export interface HttpResponseHeaders$instance extends HttpHeaders$instance {
415
414
  readonly AcceptRanges: HttpHeaderValueCollection_1<System_Internal.String>;
416
415
  Age: Nullable_1<TimeSpan>;
417
416
  get CacheControl(): CacheControlHeaderValue | undefined;
418
- set CacheControl(value: CacheControlHeaderValue);
417
+ set CacheControl(value: CacheControlHeaderValue | undefined);
419
418
  readonly Connection: HttpHeaderValueCollection_1<System_Internal.String>;
420
419
  ConnectionClose: Nullable_1<System_Internal.Boolean>;
421
420
  Date: Nullable_1<DateTimeOffset>;
422
421
  get ETag(): EntityTagHeaderValue | undefined;
423
- set ETag(value: EntityTagHeaderValue);
424
- Location: Uri;
422
+ set ETag(value: EntityTagHeaderValue | undefined);
423
+ get Location(): Uri | undefined;
424
+ set Location(value: Uri | undefined);
425
425
  readonly Pragma: HttpHeaderValueCollection_1<NameValueHeaderValue>;
426
426
  readonly ProxyAuthenticate: HttpHeaderValueCollection_1<AuthenticationHeaderValue>;
427
427
  get RetryAfter(): RetryConditionHeaderValue | undefined;
428
- set RetryAfter(value: RetryConditionHeaderValue);
428
+ set RetryAfter(value: RetryConditionHeaderValue | undefined);
429
429
  readonly Server: HttpHeaderValueCollection_1<ProductInfoHeaderValue>;
430
430
  readonly Trailer: HttpHeaderValueCollection_1<System_Internal.String>;
431
431
  readonly TransferEncoding: HttpHeaderValueCollection_1<TransferCodingHeaderValue>;
@@ -441,7 +441,6 @@ export interface HttpResponseHeaders$instance extends HttpHeaders$instance {
441
441
 
442
442
 
443
443
  export const HttpResponseHeaders: {
444
- new(): HttpResponseHeaders;
445
444
  };
446
445
 
447
446
 
@@ -455,8 +454,9 @@ export type HttpResponseHeaders = HttpResponseHeaders$instance & __HttpResponseH
455
454
 
456
455
  export interface MediaTypeHeaderValue$instance {
457
456
  get CharSet(): string | undefined;
458
- set CharSet(value: string);
459
- MediaType: string;
457
+ set CharSet(value: string | undefined);
458
+ get MediaType(): string | undefined;
459
+ set MediaType(value: string | undefined);
460
460
  readonly Parameters: ICollection_1<NameValueHeaderValue>;
461
461
  Equals(obj: unknown): boolean;
462
462
  GetHashCode(): int;
@@ -465,7 +465,6 @@ export interface MediaTypeHeaderValue$instance {
465
465
 
466
466
 
467
467
  export const MediaTypeHeaderValue: {
468
- new(source: MediaTypeHeaderValue): MediaTypeHeaderValue;
469
468
  new(mediaType: string): MediaTypeHeaderValue;
470
469
  new(mediaType: string, charSet: string): MediaTypeHeaderValue;
471
470
  Parse(input: string): MediaTypeHeaderValue;
@@ -505,7 +504,8 @@ export type MediaTypeWithQualityHeaderValue = MediaTypeWithQualityHeaderValue$in
505
504
 
506
505
  export interface NameValueHeaderValue$instance {
507
506
  readonly Name: string;
508
- Value: string;
507
+ get Value(): string | undefined;
508
+ set Value(value: string | undefined);
509
509
  Equals(obj: unknown): boolean;
510
510
  GetHashCode(): int;
511
511
  ToString(): string;
@@ -515,7 +515,6 @@ export interface NameValueHeaderValue$instance {
515
515
  export const NameValueHeaderValue: {
516
516
  new(name: string): NameValueHeaderValue;
517
517
  new(name: string, value: string): NameValueHeaderValue;
518
- new(source: NameValueHeaderValue): NameValueHeaderValue;
519
518
  Parse(input: string): NameValueHeaderValue;
520
519
  TryParse(input: string, parsedValue: NameValueHeaderValue): boolean;
521
520
  };
@@ -542,7 +541,6 @@ export interface NameValueWithParametersHeaderValue$instance extends NameValueHe
542
541
  export const NameValueWithParametersHeaderValue: {
543
542
  new(name: string): NameValueWithParametersHeaderValue;
544
543
  new(name: string, value: string): NameValueWithParametersHeaderValue;
545
- new(source: NameValueWithParametersHeaderValue): NameValueWithParametersHeaderValue;
546
544
  };
547
545
 
548
546
 
@@ -557,7 +555,7 @@ export type NameValueWithParametersHeaderValue = NameValueWithParametersHeaderVa
557
555
 
558
556
  export interface ProductHeaderValue$instance {
559
557
  readonly Name: string;
560
- readonly Version: string;
558
+ readonly Version: string | undefined;
561
559
  Equals(obj: unknown): boolean;
562
560
  GetHashCode(): int;
563
561
  ToString(): string;
@@ -582,8 +580,8 @@ export type ProductHeaderValue = ProductHeaderValue$instance & __ProductHeaderVa
582
580
 
583
581
 
584
582
  export interface ProductInfoHeaderValue$instance {
585
- readonly Comment: string;
586
- readonly Product: ProductHeaderValue;
583
+ readonly Comment: string | undefined;
584
+ readonly Product: ProductHeaderValue | undefined;
587
585
  Equals(obj: unknown): boolean;
588
586
  GetHashCode(): int;
589
587
  ToString(): string;
@@ -746,7 +744,6 @@ export interface TransferCodingHeaderValue$instance {
746
744
 
747
745
 
748
746
  export const TransferCodingHeaderValue: {
749
- new(source: TransferCodingHeaderValue): TransferCodingHeaderValue;
750
747
  new(value: string): TransferCodingHeaderValue;
751
748
  Parse(input: string): TransferCodingHeaderValue;
752
749
  TryParse(input: string, parsedValue: TransferCodingHeaderValue): boolean;
@@ -784,7 +781,7 @@ export type TransferCodingWithQualityHeaderValue = TransferCodingWithQualityHead
784
781
 
785
782
 
786
783
  export interface ViaHeaderValue$instance {
787
- readonly Comment: string;
784
+ readonly Comment: string | undefined;
788
785
  readonly ProtocolName: string | undefined;
789
786
  readonly ProtocolVersion: string;
790
787
  readonly ReceivedBy: string;
@@ -23,24 +23,19 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
23
23
  import * as System_Internal from "../../System/internal/index.js";
24
24
  import type { Boolean as ClrBoolean, Byte, IDisposable, Int32, Int64, Object as ClrObject, String as ClrString, Type, Uri, Void } from "../../System/internal/index.js";
25
25
 
26
- export abstract class JsonContent$protected {
27
- protected Dispose(disposing: boolean): void;
28
- protected SerializeToStream(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): void;
29
- protected SerializeToStreamAsync(stream: Stream, context: TransportContext): Task;
30
- protected SerializeToStreamAsync(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): Task;
31
- protected TryComputeLength(length: long): boolean;
32
- }
33
-
34
-
35
- export interface JsonContent$instance extends JsonContent$protected, HttpContent {
26
+ export interface JsonContent$instance extends HttpContent {
36
27
  readonly ObjectType: Type;
37
- readonly Value: unknown;
38
- Dispose3(): void;
28
+ readonly Value: unknown | undefined;
29
+ Dispose(disposing: boolean): void;
30
+ Dispose(): void;
31
+ SerializeToStream(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): void;
32
+ SerializeToStreamAsync(stream: Stream, context: TransportContext): Task;
33
+ SerializeToStreamAsync(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): Task;
34
+ TryComputeLength(length: long): boolean;
39
35
  }
40
36
 
41
37
 
42
38
  export const JsonContent: {
43
- new(): JsonContent;
44
39
  Create(inputValue: unknown, jsonTypeInfo: JsonTypeInfo, mediaType?: MediaTypeHeaderValue): JsonContent;
45
40
  Create(inputValue: unknown, inputType: Type, mediaType?: MediaTypeHeaderValue, options?: JsonSerializerOptions): JsonContent;
46
41
  Create<T>(inputValue: T, jsonTypeInfo: JsonTypeInfo_1<T>, mediaType?: MediaTypeHeaderValue): JsonContent;
@@ -11,15 +11,14 @@ import * as System_Internal from "../../System/internal/index.js";
11
11
  import type { Action_1, Boolean as ClrBoolean, Exception, Int32, Object as ClrObject, String as ClrString, Type, Void } from "../../System/internal/index.js";
12
12
 
13
13
  export interface HttpMetricsEnrichmentContext$instance {
14
- readonly Exception: Exception;
14
+ readonly Exception: Exception | undefined;
15
15
  readonly Request: HttpRequestMessage;
16
- readonly Response: HttpResponseMessage;
16
+ readonly Response: HttpResponseMessage | undefined;
17
17
  AddCustomTag(name: string, value: unknown): void;
18
18
  }
19
19
 
20
20
 
21
21
  export const HttpMetricsEnrichmentContext: {
22
- new(): HttpMetricsEnrichmentContext;
23
22
  AddCallback(request: HttpRequestMessage, callback: Action_1<HttpMetricsEnrichmentContext>): void;
24
23
  };
25
24
 
@@ -91,14 +91,11 @@ export enum SmtpStatusCode {
91
91
  export type SendCompletedEventHandler = (sender: unknown, e: AsyncCompletedEventArgs) => void;
92
92
 
93
93
 
94
- export abstract class AlternateView$protected {
95
- protected Dispose2(disposing: boolean): void;
96
- }
97
-
98
-
99
- export interface AlternateView$instance extends AlternateView$protected, AttachmentBase$instance {
100
- BaseUri: Uri;
94
+ export interface AlternateView$instance extends AttachmentBase$instance {
95
+ get BaseUri(): Uri | undefined;
96
+ set BaseUri(value: Uri | undefined);
101
97
  readonly LinkedResources: LinkedResourceCollection;
98
+ Dispose(disposing: boolean): void;
102
99
  Dispose(): void;
103
100
  }
104
101
 
@@ -123,20 +120,11 @@ export interface __AlternateView$views {
123
120
  export type AlternateView = AlternateView$instance & __AlternateView$views;
124
121
 
125
122
 
126
- export abstract class AlternateViewCollection$protected {
127
- protected ClearItems(): void;
128
- protected InsertItem2(index: int, item: AlternateView): void;
129
- protected InsertItem(index: int, item: unknown): void;
130
- protected RemoveItem(index: int): void;
131
- protected SetItem2(index: int, item: AlternateView): void;
132
- protected SetItem(index: int, item: unknown): void;
133
- }
134
-
135
-
136
- export interface AlternateViewCollection$instance extends AlternateViewCollection$protected, Collection_1<AlternateView> {
123
+ export interface AlternateViewCollection$instance extends Collection_1<AlternateView> {
137
124
  Add(item: AlternateView): void;
138
125
  Add(value: unknown): int;
139
126
  Clear(): void;
127
+ ClearItems(): void;
140
128
  Contains(item: AlternateView): boolean;
141
129
  Contains(value: unknown): boolean;
142
130
  CopyTo(array: AlternateView[], index: int): void;
@@ -147,14 +135,16 @@ export interface AlternateViewCollection$instance extends AlternateViewCollectio
147
135
  IndexOf(item: AlternateView): int;
148
136
  Insert(index: int, item: AlternateView): void;
149
137
  Insert(index: int, value: unknown): void;
138
+ InsertItem(index: int, item: AlternateView): void;
150
139
  Remove(item: AlternateView): boolean;
151
140
  Remove(value: unknown): void;
152
141
  RemoveAt(index: int): void;
142
+ RemoveItem(index: int): void;
143
+ SetItem(index: int, item: AlternateView): void;
153
144
  }
154
145
 
155
146
 
156
147
  export const AlternateViewCollection: {
157
- new(): AlternateViewCollection;
158
148
  };
159
149
 
160
150
 
@@ -174,17 +164,14 @@ export interface AlternateViewCollection$instance extends System_Internal.IDispo
174
164
  export type AlternateViewCollection = AlternateViewCollection$instance & __AlternateViewCollection$views;
175
165
 
176
166
 
177
- export abstract class Attachment$protected {
178
- protected Dispose2(disposing: boolean): void;
179
- }
180
-
181
-
182
- export interface Attachment$instance extends Attachment$protected, AttachmentBase$instance {
167
+ export interface Attachment$instance extends AttachmentBase$instance {
183
168
  readonly ContentDisposition: ContentDisposition | undefined;
184
- Name: string;
169
+ get Name(): string | undefined;
170
+ set Name(value: string | undefined);
185
171
  get NameEncoding(): Encoding | undefined;
186
- set NameEncoding(value: Encoding);
172
+ set NameEncoding(value: Encoding | undefined);
187
173
  Dispose(): void;
174
+ Dispose(disposing: boolean): void;
188
175
  }
189
176
 
190
177
 
@@ -208,27 +195,17 @@ export interface __Attachment$views {
208
195
  export type Attachment = Attachment$instance & __Attachment$views;
209
196
 
210
197
 
211
- export abstract class AttachmentBase$protected {
212
- protected Dispose(disposing: boolean): void;
213
- }
214
-
215
-
216
- export interface AttachmentBase$instance extends AttachmentBase$protected {
198
+ export interface AttachmentBase$instance {
217
199
  ContentId: string;
218
200
  readonly ContentStream: Stream;
219
201
  ContentType: ContentType;
220
202
  TransferEncoding: TransferEncoding;
221
203
  Dispose(): void;
204
+ Dispose(disposing: boolean): void;
222
205
  }
223
206
 
224
207
 
225
- export const AttachmentBase: {
226
- new(fileName: string): AttachmentBase;
227
- new(fileName: string, mediaType: string): AttachmentBase;
228
- new(fileName: string, contentType: ContentType): AttachmentBase;
229
- new(contentStream: Stream): AttachmentBase;
230
- new(contentStream: Stream, mediaType: string): AttachmentBase;
231
- new(contentStream: Stream, contentType: ContentType): AttachmentBase;
208
+ export const AttachmentBase: (abstract new(fileName: string) => AttachmentBase) & (abstract new(fileName: string, mediaType: string) => AttachmentBase) & (abstract new(fileName: string, contentType: ContentType) => AttachmentBase) & (abstract new(contentStream: Stream) => AttachmentBase) & (abstract new(contentStream: Stream, mediaType: string) => AttachmentBase) & (abstract new(contentStream: Stream, contentType: ContentType) => AttachmentBase) & {
232
209
  };
233
210
 
234
211
 
@@ -239,20 +216,11 @@ export interface __AttachmentBase$views {
239
216
  export type AttachmentBase = AttachmentBase$instance & __AttachmentBase$views;
240
217
 
241
218
 
242
- export abstract class AttachmentCollection$protected {
243
- protected ClearItems(): void;
244
- protected InsertItem2(index: int, item: Attachment): void;
245
- protected InsertItem(index: int, item: unknown): void;
246
- protected RemoveItem(index: int): void;
247
- protected SetItem2(index: int, item: Attachment): void;
248
- protected SetItem(index: int, item: unknown): void;
249
- }
250
-
251
-
252
- export interface AttachmentCollection$instance extends AttachmentCollection$protected, Collection_1<Attachment> {
219
+ export interface AttachmentCollection$instance extends Collection_1<Attachment> {
253
220
  Add(item: Attachment): void;
254
221
  Add(value: unknown): int;
255
222
  Clear(): void;
223
+ ClearItems(): void;
256
224
  Contains(item: Attachment): boolean;
257
225
  Contains(value: unknown): boolean;
258
226
  CopyTo(array: Attachment[], index: int): void;
@@ -263,14 +231,16 @@ export interface AttachmentCollection$instance extends AttachmentCollection$prot
263
231
  IndexOf(item: Attachment): int;
264
232
  Insert(index: int, item: Attachment): void;
265
233
  Insert(index: int, value: unknown): void;
234
+ InsertItem(index: int, item: Attachment): void;
266
235
  Remove(item: Attachment): boolean;
267
236
  Remove(value: unknown): void;
268
237
  RemoveAt(index: int): void;
238
+ RemoveItem(index: int): void;
239
+ SetItem(index: int, item: Attachment): void;
269
240
  }
270
241
 
271
242
 
272
243
  export const AttachmentCollection: {
273
- new(): AttachmentCollection;
274
244
  };
275
245
 
276
246
 
@@ -290,15 +260,11 @@ export interface AttachmentCollection$instance extends System_Internal.IDisposab
290
260
  export type AttachmentCollection = AttachmentCollection$instance & __AttachmentCollection$views;
291
261
 
292
262
 
293
- export abstract class LinkedResource$protected {
294
- protected Dispose2(disposing: boolean): void;
295
- }
296
-
297
-
298
- export interface LinkedResource$instance extends LinkedResource$protected, AttachmentBase$instance {
263
+ export interface LinkedResource$instance extends AttachmentBase$instance {
299
264
  get ContentLink(): Uri | undefined;
300
- set ContentLink(value: Uri);
265
+ set ContentLink(value: Uri | undefined);
301
266
  Dispose(): void;
267
+ Dispose(disposing: boolean): void;
302
268
  }
303
269
 
304
270
 
@@ -322,20 +288,11 @@ export interface __LinkedResource$views {
322
288
  export type LinkedResource = LinkedResource$instance & __LinkedResource$views;
323
289
 
324
290
 
325
- export abstract class LinkedResourceCollection$protected {
326
- protected ClearItems(): void;
327
- protected InsertItem2(index: int, item: LinkedResource): void;
328
- protected InsertItem(index: int, item: unknown): void;
329
- protected RemoveItem(index: int): void;
330
- protected SetItem2(index: int, item: LinkedResource): void;
331
- protected SetItem(index: int, item: unknown): void;
332
- }
333
-
334
-
335
- export interface LinkedResourceCollection$instance extends LinkedResourceCollection$protected, Collection_1<LinkedResource> {
291
+ export interface LinkedResourceCollection$instance extends Collection_1<LinkedResource> {
336
292
  Add(item: LinkedResource): void;
337
293
  Add(value: unknown): int;
338
294
  Clear(): void;
295
+ ClearItems(): void;
339
296
  Contains(item: LinkedResource): boolean;
340
297
  Contains(value: unknown): boolean;
341
298
  CopyTo(array: LinkedResource[], index: int): void;
@@ -346,14 +303,16 @@ export interface LinkedResourceCollection$instance extends LinkedResourceCollect
346
303
  IndexOf(item: LinkedResource): int;
347
304
  Insert(index: int, item: LinkedResource): void;
348
305
  Insert(index: int, value: unknown): void;
306
+ InsertItem(index: int, item: LinkedResource): void;
349
307
  Remove(item: LinkedResource): boolean;
350
308
  Remove(value: unknown): void;
351
309
  RemoveAt(index: int): void;
310
+ RemoveItem(index: int): void;
311
+ SetItem(index: int, item: LinkedResource): void;
352
312
  }
353
313
 
354
314
 
355
315
  export const LinkedResourceCollection: {
356
- new(): LinkedResourceCollection;
357
316
  };
358
317
 
359
318
 
@@ -396,15 +355,7 @@ export const MailAddress: {
396
355
 
397
356
  export type MailAddress = MailAddress$instance;
398
357
 
399
- export abstract class MailAddressCollection$protected {
400
- protected InsertItem2(index: int, item: MailAddress): void;
401
- protected InsertItem(index: int, item: unknown): void;
402
- protected SetItem2(index: int, item: MailAddress): void;
403
- protected SetItem(index: int, item: unknown): void;
404
- }
405
-
406
-
407
- export interface MailAddressCollection$instance extends MailAddressCollection$protected, Collection_1<MailAddress> {
358
+ export interface MailAddressCollection$instance extends Collection_1<MailAddress> {
408
359
  Add(item: MailAddress): void;
409
360
  Add(value: unknown): int;
410
361
  Clear(): void;
@@ -417,9 +368,11 @@ export interface MailAddressCollection$instance extends MailAddressCollection$pr
417
368
  IndexOf(item: MailAddress): int;
418
369
  Insert(index: int, item: MailAddress): void;
419
370
  Insert(index: int, value: unknown): void;
371
+ InsertItem(index: int, item: MailAddress): void;
420
372
  Remove(item: MailAddress): boolean;
421
373
  Remove(value: unknown): void;
422
374
  RemoveAt(index: int): void;
375
+ SetItem(index: int, item: MailAddress): void;
423
376
  ToString(): string;
424
377
  }
425
378
 
@@ -442,38 +395,34 @@ export interface __MailAddressCollection$views {
442
395
  export type MailAddressCollection = MailAddressCollection$instance & __MailAddressCollection$views;
443
396
 
444
397
 
445
- export abstract class MailMessage$protected {
446
- protected Dispose(disposing: boolean): void;
447
- }
448
-
449
-
450
- export interface MailMessage$instance extends MailMessage$protected {
398
+ export interface MailMessage$instance {
451
399
  readonly AlternateViews: AlternateViewCollection;
452
400
  readonly Attachments: AttachmentCollection;
453
401
  readonly Bcc: MailAddressCollection;
454
402
  Body: string;
455
403
  get BodyEncoding(): Encoding | undefined;
456
- set BodyEncoding(value: Encoding);
404
+ set BodyEncoding(value: Encoding | undefined);
457
405
  BodyTransferEncoding: TransferEncoding;
458
406
  readonly CC: MailAddressCollection;
459
407
  DeliveryNotificationOptions: DeliveryNotificationOptions;
460
408
  get From(): MailAddress | undefined;
461
- set From(value: MailAddress);
409
+ set From(value: MailAddress | undefined);
462
410
  readonly Headers: NameValueCollection;
463
411
  get HeadersEncoding(): Encoding | undefined;
464
- set HeadersEncoding(value: Encoding);
412
+ set HeadersEncoding(value: Encoding | undefined);
465
413
  IsBodyHtml: boolean;
466
414
  Priority: MailPriority;
467
415
  get ReplyTo(): MailAddress | undefined;
468
- set ReplyTo(value: MailAddress);
416
+ set ReplyTo(value: MailAddress | undefined);
469
417
  readonly ReplyToList: MailAddressCollection;
470
418
  get Sender(): MailAddress | undefined;
471
- set Sender(value: MailAddress);
419
+ set Sender(value: MailAddress | undefined);
472
420
  Subject: string;
473
421
  get SubjectEncoding(): Encoding | undefined;
474
- set SubjectEncoding(value: Encoding);
422
+ set SubjectEncoding(value: Encoding | undefined);
475
423
  readonly To: MailAddressCollection;
476
424
  Dispose(): void;
425
+ Dispose(disposing: boolean): void;
477
426
  }
478
427
 
479
428
 
@@ -492,27 +441,25 @@ export interface __MailMessage$views {
492
441
  export type MailMessage = MailMessage$instance & __MailMessage$views;
493
442
 
494
443
 
495
- export abstract class SmtpClient$protected {
496
- protected Dispose(disposing: boolean): void;
497
- }
498
-
499
-
500
- export interface SmtpClient$instance extends SmtpClient$protected {
444
+ export interface SmtpClient$instance {
501
445
  readonly ClientCertificates: X509CertificateCollection;
502
- Credentials: ICredentialsByHost;
446
+ get Credentials(): ICredentialsByHost | undefined;
447
+ set Credentials(value: ICredentialsByHost | undefined);
503
448
  DeliveryFormat: SmtpDeliveryFormat;
504
449
  DeliveryMethod: SmtpDeliveryMethod;
505
450
  EnableSsl: boolean;
506
- Host: string;
451
+ get Host(): string | undefined;
452
+ set Host(value: string | undefined);
507
453
  get PickupDirectoryLocation(): string | undefined;
508
- set PickupDirectoryLocation(value: string);
454
+ set PickupDirectoryLocation(value: string | undefined);
509
455
  Port: int;
510
456
  readonly ServicePoint: ServicePoint;
511
457
  get TargetName(): string | undefined;
512
- set TargetName(value: string);
458
+ set TargetName(value: string | undefined);
513
459
  Timeout: int;
514
460
  UseDefaultCredentials: boolean;
515
461
  Dispose(): void;
462
+ Dispose(disposing: boolean): void;
516
463
  Send(from: string, recipients: string, subject: string, body: string): void;
517
464
  Send(message: MailMessage): void;
518
465
  SendAsync(from: string, recipients: string, subject: string, body: string, userToken: unknown): void;
@@ -551,7 +498,6 @@ export const SmtpException: {
551
498
  new(): SmtpException;
552
499
  new(message: string): SmtpException;
553
500
  new(message: string, innerException: Exception): SmtpException;
554
- new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): SmtpException;
555
501
  };
556
502
 
557
503
 
@@ -572,7 +518,6 @@ export const SmtpFailedRecipientException: {
572
518
  new(): SmtpFailedRecipientException;
573
519
  new(message: string): SmtpFailedRecipientException;
574
520
  new(message: string, innerException: Exception): SmtpFailedRecipientException;
575
- new(info: SerializationInfo, context: StreamingContext): SmtpFailedRecipientException;
576
521
  new(statusCode: SmtpStatusCode, failedRecipient: string): SmtpFailedRecipientException;
577
522
  new(statusCode: SmtpStatusCode, failedRecipient: string, serverResponse: string): SmtpFailedRecipientException;
578
523
  new(message: string, failedRecipient: string, innerException: Exception): SmtpFailedRecipientException;
@@ -596,7 +541,6 @@ export const SmtpFailedRecipientsException: {
596
541
  new(): SmtpFailedRecipientsException;
597
542
  new(message: string): SmtpFailedRecipientsException;
598
543
  new(message: string, innerException: Exception): SmtpFailedRecipientsException;
599
- new(info: SerializationInfo, context: StreamingContext): SmtpFailedRecipientsException;
600
544
  new(message: string, innerExceptions: SmtpFailedRecipientException[]): SmtpFailedRecipientsException;
601
545
  };
602
546
 
@@ -22,7 +22,8 @@ export enum TransferEncoding {
22
22
  export interface ContentDisposition$instance {
23
23
  CreationDate: DateTime;
24
24
  DispositionType: string;
25
- FileName: string;
25
+ get FileName(): string | undefined;
26
+ set FileName(value: string | undefined);
26
27
  Inline: boolean;
27
28
  ModificationDate: DateTime;
28
29
  readonly Parameters: StringDictionary;
@@ -44,9 +45,9 @@ export type ContentDisposition = ContentDisposition$instance;
44
45
 
45
46
  export interface ContentType$instance {
46
47
  get Boundary(): string | undefined;
47
- set Boundary(value: string);
48
+ set Boundary(value: string | undefined);
48
49
  get CharSet(): string | undefined;
49
- set CharSet(value: string);
50
+ set CharSet(value: string | undefined);
50
51
  MediaType: string;
51
52
  Name: string;
52
53
  readonly Parameters: StringDictionary;