@tsonic/dotnet 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
  2. package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
  5. package/Microsoft.Win32/internal/index.d.ts +11 -11
  6. package/System/bindings.json +114 -114
  7. package/System/internal/index.d.ts +994 -1006
  8. package/System/internal/metadata.json +73 -73
  9. package/System.Buffers/internal/index.d.ts +3 -3
  10. package/System.CodeDom.Compiler/internal/index.d.ts +11 -11
  11. package/System.Collections/internal/index.d.ts +26 -28
  12. package/System.Collections.Concurrent/internal/index.d.ts +10 -10
  13. package/System.Collections.Frozen/bindings.json +20 -20
  14. package/System.Collections.Frozen/internal/index.d.ts +6 -6
  15. package/System.Collections.Frozen/internal/metadata.json +10 -10
  16. package/System.Collections.Generic/bindings.json +44 -20
  17. package/System.Collections.Generic/internal/index.d.ts +68 -60
  18. package/System.Collections.Generic/internal/metadata.json +26 -10
  19. package/System.Collections.Immutable/internal/index.d.ts +99 -99
  20. package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
  21. package/System.Collections.Specialized/internal/index.d.ts +63 -65
  22. package/System.ComponentModel/internal/index.d.ts +428 -430
  23. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +66 -66
  24. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -2
  25. package/System.ComponentModel.Design/internal/index.d.ts +72 -72
  26. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +33 -33
  27. package/System.Data/internal/index.d.ts +168 -168
  28. package/System.Data.Common/internal/index.d.ts +48 -48
  29. package/System.Data.SqlTypes/internal/index.d.ts +21 -21
  30. package/System.Diagnostics/internal/index.d.ts +262 -262
  31. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +25 -25
  32. package/System.Diagnostics.Contracts/internal/index.d.ts +8 -8
  33. package/System.Diagnostics.Metrics/internal/index.d.ts +33 -33
  34. package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
  35. package/System.Diagnostics.Tracing/internal/index.d.ts +28 -28
  36. package/System.Drawing/internal/index.d.ts +77 -77
  37. package/System.Dynamic/internal/index.d.ts +27 -27
  38. package/System.Formats.Asn1/internal/index.d.ts +4 -4
  39. package/System.Formats.Tar/internal/index.d.ts +3 -3
  40. package/System.Globalization/internal/index.d.ts +18 -18
  41. package/System.IO/internal/index.d.ts +107 -107
  42. package/System.IO.Compression/internal/index.d.ts +25 -25
  43. package/System.IO.Enumeration/internal/index.d.ts +5 -5
  44. package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
  45. package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
  46. package/System.IO.Pipelines/internal/index.d.ts +5 -5
  47. package/System.IO.Pipes/internal/index.d.ts +4 -4
  48. package/System.Linq/internal/index.d.ts +180 -180
  49. package/System.Linq.Expressions/internal/index.d.ts +169 -169
  50. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  51. package/System.Net/internal/index.d.ts +151 -153
  52. package/System.Net.Cache/internal/index.d.ts +2 -2
  53. package/System.Net.Http/internal/index.d.ts +58 -58
  54. package/System.Net.Http.Headers/internal/index.d.ts +48 -48
  55. package/System.Net.Http.Json/internal/index.d.ts +58 -58
  56. package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
  57. package/System.Net.Mail/internal/index.d.ts +72 -72
  58. package/System.Net.Mime/internal/index.d.ts +2 -2
  59. package/System.Net.NetworkInformation/internal/index.d.ts +24 -24
  60. package/System.Net.Quic/internal/index.d.ts +4 -4
  61. package/System.Net.Security/internal/index.d.ts +52 -52
  62. package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
  63. package/System.Net.Sockets/internal/index.d.ts +41 -41
  64. package/System.Net.WebSockets/internal/index.d.ts +34 -34
  65. package/System.Numerics/bindings.json +384 -0
  66. package/System.Numerics/internal/index.d.ts +91 -93
  67. package/System.Numerics/internal/metadata.json +256 -0
  68. package/System.Reflection/internal/index.d.ts +219 -219
  69. package/System.Reflection.Emit/internal/index.d.ts +118 -118
  70. package/System.Reflection.Metadata/bindings.json +48 -0
  71. package/System.Reflection.Metadata/internal/index.d.ts +14 -14
  72. package/System.Reflection.Metadata/internal/metadata.json +32 -0
  73. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +5 -5
  74. package/System.Reflection.PortableExecutable/internal/index.d.ts +4 -4
  75. package/System.Resources/internal/index.d.ts +24 -24
  76. package/System.Runtime/internal/index.d.ts +5 -5
  77. package/System.Runtime.CompilerServices/internal/index.d.ts +31 -31
  78. package/System.Runtime.InteropServices/bindings.json +22 -22
  79. package/System.Runtime.InteropServices/internal/index.d.ts +93 -93
  80. package/System.Runtime.InteropServices/internal/metadata.json +13 -13
  81. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +10 -10
  82. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +23 -23
  83. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +36 -36
  84. package/System.Runtime.Loader/internal/index.d.ts +6 -6
  85. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  86. package/System.Runtime.Serialization/internal/index.d.ts +77 -79
  87. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +16 -16
  88. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  89. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +4 -4
  90. package/System.Runtime.Serialization.Json/internal/index.d.ts +26 -26
  91. package/System.Runtime.Versioning/internal/index.d.ts +9 -9
  92. package/System.Security/internal/index.d.ts +49 -49
  93. package/System.Security.AccessControl/internal/index.d.ts +31 -31
  94. package/System.Security.Authentication/internal/index.d.ts +4 -4
  95. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +10 -10
  96. package/System.Security.Claims/internal/index.d.ts +23 -25
  97. package/System.Security.Cryptography/internal/index.d.ts +189 -189
  98. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +71 -71
  99. package/System.Security.Policy/internal/index.d.ts +2 -2
  100. package/System.Security.Principal/internal/index.d.ts +9 -11
  101. package/System.Text/internal/index.d.ts +51 -51
  102. package/System.Text.Json/internal/index.d.ts +83 -83
  103. package/System.Text.Json.Nodes/internal/index.d.ts +65 -65
  104. package/System.Text.Json.Schema/internal/index.d.ts +5 -5
  105. package/System.Text.Json.Serialization/internal/index.d.ts +10 -10
  106. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +47 -47
  107. package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
  108. package/System.Text.Unicode/internal/index.d.ts +4 -4
  109. package/System.Threading/internal/index.d.ts +87 -87
  110. package/System.Threading.Channels/internal/index.d.ts +8 -8
  111. package/System.Threading.Tasks/internal/index.d.ts +84 -94
  112. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +29 -26
  113. package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
  114. package/System.Timers/internal/index.d.ts +3 -3
  115. package/System.Transactions/internal/index.d.ts +20 -20
  116. package/System.Web/internal/index.d.ts +31 -31
  117. package/System.Windows.Input/internal/index.d.ts +2 -2
  118. package/System.Xml/internal/index.d.ts +215 -215
  119. package/System.Xml.Linq/internal/index.d.ts +51 -51
  120. package/System.Xml.Resolvers/internal/index.d.ts +4 -4
  121. package/System.Xml.Schema/internal/index.d.ts +105 -105
  122. package/System.Xml.Serialization/internal/index.d.ts +136 -136
  123. package/System.Xml.XPath/internal/index.d.ts +19 -19
  124. package/System.Xml.Xsl/internal/index.d.ts +41 -41
  125. package/System.Xml.Xsl.Runtime/internal/index.d.ts +20 -20
  126. package/__internal/extensions/index.d.ts +415 -414
  127. package/package.json +1 -1
@@ -49,7 +49,7 @@ export interface HttpRequestCachePolicy$instance extends RequestCachePolicy {
49
49
  readonly maxAge: TimeSpan;
50
50
  readonly maxStale: TimeSpan;
51
51
  readonly minFresh: TimeSpan;
52
- toString(): string;
52
+ toString(): string | undefined;
53
53
  }
54
54
 
55
55
 
@@ -67,7 +67,7 @@ export type HttpRequestCachePolicy = HttpRequestCachePolicy$instance;
67
67
 
68
68
  export interface RequestCachePolicy$instance {
69
69
  readonly level: HttpRequestCacheLevel | RequestCacheLevel;
70
- toString(): string;
70
+ toString(): string | undefined;
71
71
  }
72
72
 
73
73
 
@@ -72,7 +72,7 @@ export enum HttpVersionPolicy {
72
72
  }
73
73
 
74
74
 
75
- export type HeaderEncodingSelector_1<TContext> = (headerName: string, context: TContext) => Encoding;
75
+ export type HeaderEncodingSelector_1<TContext> = (headerName: string, context: TContext) => Encoding | undefined;
76
76
 
77
77
 
78
78
  export interface HttpRequestOptionsKey_1$instance<TValue> {
@@ -106,7 +106,7 @@ export type ByteArrayContent = ByteArrayContent$instance & __ByteArrayContent$vi
106
106
 
107
107
 
108
108
  export interface DelegatingHandler$instance extends HttpMessageHandler$instance {
109
- innerHandler: HttpMessageHandler;
109
+ innerHandler: HttpMessageHandler | undefined;
110
110
  dispose(): void;
111
111
  }
112
112
 
@@ -147,31 +147,31 @@ export interface HttpClient$instance extends HttpMessageInvoker$instance {
147
147
  maxResponseContentBufferSize: long;
148
148
  timeout: TimeSpan;
149
149
  cancelPendingRequests(): void;
150
- deleteAsync(requestUri: string): Task_1<HttpResponseMessage>;
151
- deleteAsync(requestUri: Uri): Task_1<HttpResponseMessage>;
152
- deleteAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
153
- deleteAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
150
+ deleteAsync(requestUri: string | undefined): Task_1<HttpResponseMessage>;
151
+ deleteAsync(requestUri: Uri | undefined): Task_1<HttpResponseMessage>;
152
+ deleteAsync(requestUri: string | undefined, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
153
+ deleteAsync(requestUri: Uri | undefined, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
154
154
  dispose(): void;
155
- getAsync(requestUri: string): Task_1<HttpResponseMessage>;
156
- getAsync(requestUri: Uri): Task_1<HttpResponseMessage>;
157
- getAsync(requestUri: string, completionOption: HttpCompletionOption): Task_1<HttpResponseMessage>;
158
- getAsync(requestUri: Uri, completionOption: HttpCompletionOption): Task_1<HttpResponseMessage>;
159
- getAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
160
- getAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
161
- getAsync(requestUri: string, completionOption: HttpCompletionOption, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
162
- getAsync(requestUri: Uri, completionOption: HttpCompletionOption, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
163
- getByteArrayAsync(requestUri: string): Task_1<byte[]>;
164
- getByteArrayAsync(requestUri: Uri): Task_1<byte[]>;
165
- getByteArrayAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<byte[]>;
166
- getByteArrayAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<byte[]>;
167
- getStreamAsync(requestUri: string): Task_1<Stream>;
168
- getStreamAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<Stream>;
169
- getStreamAsync(requestUri: Uri): Task_1<Stream>;
170
- getStreamAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<Stream>;
171
- getStringAsync(requestUri: string): Task_1<System_Internal.String>;
172
- getStringAsync(requestUri: Uri): Task_1<System_Internal.String>;
173
- getStringAsync(requestUri: string, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
174
- getStringAsync(requestUri: Uri, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
155
+ getAsync(requestUri: string | undefined): Task_1<HttpResponseMessage>;
156
+ getAsync(requestUri: Uri | undefined): Task_1<HttpResponseMessage>;
157
+ getAsync(requestUri: string | undefined, completionOption: HttpCompletionOption): Task_1<HttpResponseMessage>;
158
+ getAsync(requestUri: Uri | undefined, completionOption: HttpCompletionOption): Task_1<HttpResponseMessage>;
159
+ getAsync(requestUri: string | undefined, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
160
+ getAsync(requestUri: Uri | undefined, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
161
+ getAsync(requestUri: string | undefined, completionOption: HttpCompletionOption, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
162
+ getAsync(requestUri: Uri | undefined, completionOption: HttpCompletionOption, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
163
+ getByteArrayAsync(requestUri: string | undefined): Task_1<byte[]>;
164
+ getByteArrayAsync(requestUri: Uri | undefined): Task_1<byte[]>;
165
+ getByteArrayAsync(requestUri: string | undefined, cancellationToken: CancellationToken): Task_1<byte[]>;
166
+ getByteArrayAsync(requestUri: Uri | undefined, cancellationToken: CancellationToken): Task_1<byte[]>;
167
+ getStreamAsync(requestUri: string | undefined): Task_1<Stream>;
168
+ getStreamAsync(requestUri: string | undefined, cancellationToken: CancellationToken): Task_1<Stream>;
169
+ getStreamAsync(requestUri: Uri | undefined): Task_1<Stream>;
170
+ getStreamAsync(requestUri: Uri | undefined, cancellationToken: CancellationToken): Task_1<Stream>;
171
+ getStringAsync(requestUri: string | undefined): Task_1<System_Internal.String>;
172
+ getStringAsync(requestUri: Uri | undefined): Task_1<System_Internal.String>;
173
+ getStringAsync(requestUri: string | undefined, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
174
+ getStringAsync(requestUri: Uri | undefined, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
175
175
  patchAsync(requestUri: string, content: HttpContent): Task_1<HttpResponseMessage>;
176
176
  patchAsync(requestUri: Uri, content: HttpContent): Task_1<HttpResponseMessage>;
177
177
  patchAsync(requestUri: string, content: HttpContent, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
@@ -213,16 +213,16 @@ export interface HttpClientHandler$instance extends HttpMessageHandler$instance
213
213
  readonly clientCertificates: X509CertificateCollection;
214
214
  cookieContainer: CookieContainer;
215
215
  credentials: ICredentials;
216
- defaultProxyCredentials: ICredentials;
216
+ defaultProxyCredentials: ICredentials | undefined;
217
217
  maxAutomaticRedirections: int;
218
218
  maxConnectionsPerServer: int;
219
219
  maxRequestContentBufferSize: long;
220
220
  maxResponseHeadersLength: int;
221
- meterFactory: IMeterFactory;
221
+ meterFactory: IMeterFactory | undefined;
222
222
  preAuthenticate: boolean;
223
- readonly properties: IDictionary_2<System_Internal.String, unknown>;
224
- proxy: IWebProxy;
225
- serverCertificateCustomValidationCallback: Func_5<HttpRequestMessage, X509Certificate2, X509Chain, SslPolicyErrors, System_Internal.Boolean>;
223
+ readonly properties: IDictionary_2<System_Internal.String, unknown | undefined>;
224
+ proxy: IWebProxy | undefined;
225
+ serverCertificateCustomValidationCallback: Func_5<HttpRequestMessage, X509Certificate2 | undefined, X509Chain | undefined, SslPolicyErrors, System_Internal.Boolean> | undefined;
226
226
  sslProtocols: SslProtocols;
227
227
  readonly supportsAutomaticDecompression: boolean;
228
228
  readonly supportsProxy: boolean;
@@ -236,7 +236,7 @@ export interface HttpClientHandler$instance extends HttpMessageHandler$instance
236
236
 
237
237
  export const HttpClientHandler: {
238
238
  new(): HttpClientHandler;
239
- readonly dangerousAcceptAnyServerCertificateValidator: Func_5<HttpRequestMessage, X509Certificate2, X509Chain, SslPolicyErrors, System_Internal.Boolean>;
239
+ readonly dangerousAcceptAnyServerCertificateValidator: Func_5<HttpRequestMessage, X509Certificate2 | undefined, X509Chain | undefined, SslPolicyErrors, System_Internal.Boolean>;
240
240
  };
241
241
 
242
242
 
@@ -249,11 +249,11 @@ export type HttpClientHandler = HttpClientHandler$instance & __HttpClientHandler
249
249
 
250
250
  export interface HttpContent$instance {
251
251
  readonly headers: HttpContentHeaders;
252
- copyTo(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): void;
252
+ copyTo(stream: Stream, context: TransportContext | undefined, cancellationToken: CancellationToken): void;
253
253
  copyToAsync(stream: Stream): Task;
254
254
  copyToAsync(stream: Stream, cancellationToken: CancellationToken): Task;
255
- copyToAsync(stream: Stream, context: TransportContext): Task;
256
- copyToAsync(stream: Stream, context: TransportContext, cancellationToken: CancellationToken): Task;
255
+ copyToAsync(stream: Stream, context: TransportContext | undefined): Task;
256
+ copyToAsync(stream: Stream, context: TransportContext | undefined, cancellationToken: CancellationToken): Task;
257
257
  dispose(): void;
258
258
  loadIntoBufferAsync(): Task;
259
259
  loadIntoBufferAsync(maxBufferSize: long): Task;
@@ -384,7 +384,7 @@ export interface HttpProtocolException$instance extends HttpIOException$instance
384
384
 
385
385
 
386
386
  export const HttpProtocolException: {
387
- new(errorCode: long, message: string, innerException: Exception): HttpProtocolException;
387
+ new(errorCode: long, message: string, innerException: Exception | undefined): HttpProtocolException;
388
388
  };
389
389
 
390
390
 
@@ -398,16 +398,16 @@ export type HttpProtocolException = HttpProtocolException$instance & __HttpProto
398
398
  export interface HttpRequestException$instance extends Exception {
399
399
  readonly httpRequestError: HttpRequestError;
400
400
  readonly statusCode: Nullable_1<HttpStatusCode>;
401
- getObjectData(info: SerializationInfo, context: StreamingContext): void;
401
+ getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
402
402
  }
403
403
 
404
404
 
405
405
  export const HttpRequestException: {
406
406
  new(): HttpRequestException;
407
- new(message: string): HttpRequestException;
408
- new(message: string, inner: Exception): HttpRequestException;
409
- new(message: string, inner: Exception, statusCode: Nullable_1<HttpStatusCode>): HttpRequestException;
410
- new(httpRequestError: HttpRequestError, message: string, inner: Exception, statusCode: Nullable_1<HttpStatusCode>): HttpRequestException;
407
+ new(message: string | undefined): HttpRequestException;
408
+ new(message: string | undefined, inner: Exception | undefined): HttpRequestException;
409
+ new(message: string | undefined, inner: Exception | undefined, statusCode: Nullable_1<HttpStatusCode>): HttpRequestException;
410
+ new(httpRequestError: HttpRequestError, message: string | undefined, inner: Exception | undefined, statusCode: Nullable_1<HttpStatusCode>): HttpRequestException;
411
411
  };
412
412
 
413
413
 
@@ -423,7 +423,7 @@ export interface HttpRequestMessage$instance {
423
423
  readonly headers: HttpRequestHeaders;
424
424
  method: HttpMethod;
425
425
  readonly options: HttpRequestOptions;
426
- readonly properties: IDictionary_2<System_Internal.String, unknown>;
426
+ readonly properties: IDictionary_2<System_Internal.String, unknown | undefined>;
427
427
  requestUri: Uri;
428
428
  version: Version;
429
429
  versionPolicy: HttpVersionPolicy;
@@ -434,8 +434,8 @@ export interface HttpRequestMessage$instance {
434
434
 
435
435
  export const HttpRequestMessage: {
436
436
  new(): HttpRequestMessage;
437
- new(method: HttpMethod, requestUri: Uri): HttpRequestMessage;
438
- new(method: HttpMethod, requestUri: string): HttpRequestMessage;
437
+ new(method: HttpMethod, requestUri: Uri | undefined): HttpRequestMessage;
438
+ new(method: HttpMethod, requestUri: string | undefined): HttpRequestMessage;
439
439
  };
440
440
 
441
441
 
@@ -475,8 +475,8 @@ export interface HttpResponseMessage$instance {
475
475
  content: HttpContent;
476
476
  readonly headers: HttpResponseHeaders;
477
477
  readonly isSuccessStatusCode: boolean;
478
- reasonPhrase: string;
479
- requestMessage: HttpRequestMessage;
478
+ reasonPhrase: string | undefined;
479
+ requestMessage: HttpRequestMessage | undefined;
480
480
  statusCode: HttpStatusCode;
481
481
  readonly trailingHeaders: HttpResponseHeaders;
482
482
  version: Version;
@@ -518,7 +518,7 @@ export type MessageProcessingHandler = MessageProcessingHandler$instance & __Mes
518
518
 
519
519
 
520
520
  export interface MultipartContent$instance extends HttpContent$instance {
521
- headerEncodingSelector: HeaderEncodingSelector_1<HttpContent>;
521
+ headerEncodingSelector: HeaderEncodingSelector_1<HttpContent> | undefined;
522
522
  add(content: HttpContent): void;
523
523
  dispose(): void;
524
524
  getEnumerator(): IEnumerator_1<HttpContent>;
@@ -595,14 +595,14 @@ export const SocketsHttpConnectionContext: {
595
595
  export type SocketsHttpConnectionContext = SocketsHttpConnectionContext$instance;
596
596
 
597
597
  export interface SocketsHttpHandler$instance extends HttpMessageHandler$instance {
598
- activityHeadersPropagator: DistributedContextPropagator;
598
+ activityHeadersPropagator: DistributedContextPropagator | undefined;
599
599
  allowAutoRedirect: boolean;
600
600
  automaticDecompression: DecompressionMethods;
601
- connectCallback: Func_3<SocketsHttpConnectionContext, CancellationToken, ValueTask_1<Stream>>;
601
+ connectCallback: Func_3<SocketsHttpConnectionContext | undefined, CancellationToken, ValueTask_1<Stream>> | undefined;
602
602
  connectTimeout: TimeSpan;
603
603
  cookieContainer: CookieContainer;
604
604
  credentials: ICredentials;
605
- defaultProxyCredentials: ICredentials;
605
+ defaultProxyCredentials: ICredentials | undefined;
606
606
  enableMultipleHttp2Connections: boolean;
607
607
  enableMultipleHttp3Connections: boolean;
608
608
  expect100ContinueTimeout: TimeSpan;
@@ -614,16 +614,16 @@ export interface SocketsHttpHandler$instance extends HttpMessageHandler$instance
614
614
  maxConnectionsPerServer: int;
615
615
  maxResponseDrainSize: int;
616
616
  maxResponseHeadersLength: int;
617
- meterFactory: IMeterFactory;
618
- plaintextStreamFilter: Func_3<SocketsHttpPlaintextStreamFilterContext, CancellationToken, ValueTask_1<Stream>>;
617
+ meterFactory: IMeterFactory | undefined;
618
+ plaintextStreamFilter: Func_3<SocketsHttpPlaintextStreamFilterContext | undefined, CancellationToken, ValueTask_1<Stream>> | undefined;
619
619
  pooledConnectionIdleTimeout: TimeSpan;
620
620
  pooledConnectionLifetime: TimeSpan;
621
621
  preAuthenticate: boolean;
622
- readonly properties: IDictionary_2<System_Internal.String, unknown>;
623
- proxy: IWebProxy;
624
- requestHeaderEncodingSelector: HeaderEncodingSelector_1<HttpRequestMessage>;
622
+ readonly properties: IDictionary_2<System_Internal.String, unknown | undefined>;
623
+ proxy: IWebProxy | undefined;
624
+ requestHeaderEncodingSelector: HeaderEncodingSelector_1<HttpRequestMessage> | undefined;
625
625
  responseDrainTimeout: TimeSpan;
626
- responseHeaderEncodingSelector: HeaderEncodingSelector_1<HttpRequestMessage>;
626
+ responseHeaderEncodingSelector: HeaderEncodingSelector_1<HttpRequestMessage> | undefined;
627
627
  sslOptions: SslClientAuthenticationOptions;
628
628
  useCookies: boolean;
629
629
  useProxy: boolean;
@@ -683,8 +683,8 @@ export interface StringContent$instance extends ByteArrayContent$instance {
683
683
 
684
684
  export const StringContent: {
685
685
  new(content: string): StringContent;
686
- new(content: string, mediaType: MediaTypeHeaderValue): StringContent;
687
- new(content: string, encoding: Encoding): StringContent;
686
+ new(content: string, mediaType: MediaTypeHeaderValue | undefined): StringContent;
687
+ new(content: string, encoding: Encoding | undefined): StringContent;
688
688
  new(content: string, encoding: Encoding, mediaType: string): StringContent;
689
689
  new(content: string, encoding: Encoding, mediaType: MediaTypeHeaderValue): StringContent;
690
690
  };
@@ -19,7 +19,7 @@ import type { Boolean as ClrBoolean, Byte, DateTimeOffset, Double, ICloneable, I
19
19
  export interface HeaderStringValues$instance {
20
20
  readonly count: int;
21
21
  getEnumerator(): HeaderStringValues_Enumerator;
22
- toString(): string;
22
+ toString(): string | undefined;
23
23
  }
24
24
 
25
25
 
@@ -104,7 +104,7 @@ export type HttpHeadersNonValidated_Enumerator = HttpHeadersNonValidated_Enumera
104
104
 
105
105
 
106
106
  export interface AuthenticationHeaderValue$instance {
107
- readonly parameter: string;
107
+ readonly parameter: string | undefined;
108
108
  readonly scheme: string;
109
109
  equals(obj: unknown): boolean;
110
110
  getHashCode(): int;
@@ -114,7 +114,7 @@ export interface AuthenticationHeaderValue$instance {
114
114
 
115
115
  export const AuthenticationHeaderValue: {
116
116
  new(scheme: string): AuthenticationHeaderValue;
117
- new(scheme: string, parameter: string): AuthenticationHeaderValue;
117
+ new(scheme: string, parameter: string | undefined): AuthenticationHeaderValue;
118
118
  parse(input: string): AuthenticationHeaderValue;
119
119
  tryParse(input: string, parsedValue: AuthenticationHeaderValue): boolean;
120
120
  };
@@ -154,7 +154,7 @@ export interface CacheControlHeaderValue$instance {
154
154
 
155
155
  export const CacheControlHeaderValue: {
156
156
  new(): CacheControlHeaderValue;
157
- parse(input: string): CacheControlHeaderValue;
157
+ parse(input: string | undefined): CacheControlHeaderValue;
158
158
  tryParse(input: string, parsedValue: CacheControlHeaderValue): boolean;
159
159
  };
160
160
 
@@ -172,22 +172,22 @@ export interface ContentDispositionHeaderValue$instance {
172
172
  creationDate: Nullable_1<DateTimeOffset>;
173
173
  dispositionType: string;
174
174
  fileName: string;
175
- fileNameStar: string;
175
+ fileNameStar: string | undefined;
176
176
  modificationDate: Nullable_1<DateTimeOffset>;
177
177
  name: string;
178
178
  readonly parameters: ICollection_1<NameValueHeaderValue>;
179
179
  readDate: Nullable_1<DateTimeOffset>;
180
180
  size: Nullable_1<System_Internal.Int64>;
181
- equals(obj: unknown): boolean;
181
+ equals(obj: unknown | undefined): boolean;
182
182
  getHashCode(): int;
183
- toString(): string;
183
+ toString(): string | undefined;
184
184
  }
185
185
 
186
186
 
187
187
  export const ContentDispositionHeaderValue: {
188
- new(dispositionType: string): ContentDispositionHeaderValue;
189
- parse(input: string): ContentDispositionHeaderValue;
190
- tryParse(input: string, parsedValue: ContentDispositionHeaderValue): boolean;
188
+ new(dispositionType: string | undefined): ContentDispositionHeaderValue;
189
+ parse(input: string | undefined): ContentDispositionHeaderValue | undefined;
190
+ tryParse(input: string | undefined, parsedValue: ContentDispositionHeaderValue | undefined): boolean;
191
191
  };
192
192
 
193
193
 
@@ -260,13 +260,13 @@ export type EntityTagHeaderValue = EntityTagHeaderValue$instance & __EntityTagHe
260
260
 
261
261
  export interface HttpContentHeaders$instance extends HttpHeaders$instance {
262
262
  readonly allow: ICollection_1<System_Internal.String>;
263
- contentDisposition: ContentDispositionHeaderValue;
263
+ contentDisposition: ContentDispositionHeaderValue | undefined;
264
264
  readonly contentEncoding: ICollection_1<System_Internal.String>;
265
265
  readonly contentLanguage: ICollection_1<System_Internal.String>;
266
266
  contentLength: Nullable_1<System_Internal.Int64>;
267
- contentLocation: Uri;
268
- contentMD5: byte[];
269
- contentRange: ContentRangeHeaderValue;
267
+ contentLocation: Uri | undefined;
268
+ contentMD5: byte[] | undefined;
269
+ contentRange: ContentRangeHeaderValue | undefined;
270
270
  contentType: MediaTypeHeaderValue;
271
271
  expires: Nullable_1<DateTimeOffset>;
272
272
  lastModified: Nullable_1<DateTimeOffset>;
@@ -290,17 +290,17 @@ export type HttpContentHeaders = HttpContentHeaders$instance & __HttpContentHead
290
290
 
291
291
  export interface HttpHeaders$instance {
292
292
  readonly nonValidated: HttpHeadersNonValidated;
293
- add(name: string, value: string): void;
294
- add(name: string, values: IEnumerable_1<System_Internal.String>): void;
293
+ add(name: string, value: string | undefined): void;
294
+ add(name: string, values: IEnumerable_1<string | undefined>): void;
295
295
  clear(): void;
296
296
  contains(name: string): boolean;
297
297
  getEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, IEnumerable_1<System_Internal.String>>>;
298
298
  getValues(name: string): IEnumerable_1<System_Internal.String>;
299
299
  remove(name: string): boolean;
300
300
  toString(): string;
301
- tryAddWithoutValidation(name: string, value: string): boolean;
302
- tryAddWithoutValidation(name: string, values: IEnumerable_1<System_Internal.String>): boolean;
303
- tryGetValues(name: string, values: IEnumerable_1<System_Internal.String>): boolean;
301
+ tryAddWithoutValidation(name: string, value: string | undefined): boolean;
302
+ tryAddWithoutValidation(name: string, values: IEnumerable_1<string | undefined>): boolean;
303
+ tryGetValues(name: string, values: IEnumerable_1<System_Internal.String> | undefined): boolean;
304
304
  }
305
305
 
306
306
 
@@ -350,26 +350,26 @@ export interface HttpRequestHeaders$instance extends HttpHeaders$instance {
350
350
  readonly acceptCharset: HttpHeaderValueCollection_1<StringWithQualityHeaderValue>;
351
351
  readonly acceptEncoding: HttpHeaderValueCollection_1<StringWithQualityHeaderValue>;
352
352
  readonly acceptLanguage: HttpHeaderValueCollection_1<StringWithQualityHeaderValue>;
353
- authorization: AuthenticationHeaderValue;
354
- cacheControl: CacheControlHeaderValue;
353
+ authorization: AuthenticationHeaderValue | undefined;
354
+ cacheControl: CacheControlHeaderValue | undefined;
355
355
  readonly connection: HttpHeaderValueCollection_1<System_Internal.String>;
356
356
  connectionClose: Nullable_1<System_Internal.Boolean>;
357
357
  date: Nullable_1<DateTimeOffset>;
358
358
  readonly expect: HttpHeaderValueCollection_1<NameValueWithParametersHeaderValue>;
359
359
  expectContinue: Nullable_1<System_Internal.Boolean>;
360
- from_: string;
360
+ from_: string | undefined;
361
361
  host: string;
362
362
  readonly ifMatch: HttpHeaderValueCollection_1<EntityTagHeaderValue>;
363
363
  ifModifiedSince: Nullable_1<DateTimeOffset>;
364
364
  readonly ifNoneMatch: HttpHeaderValueCollection_1<EntityTagHeaderValue>;
365
- ifRange: RangeConditionHeaderValue;
365
+ ifRange: RangeConditionHeaderValue | undefined;
366
366
  ifUnmodifiedSince: Nullable_1<DateTimeOffset>;
367
367
  maxForwards: Nullable_1<System_Internal.Int32>;
368
368
  readonly pragma: HttpHeaderValueCollection_1<NameValueHeaderValue>;
369
- protocol: string;
370
- proxyAuthorization: AuthenticationHeaderValue;
371
- range: RangeHeaderValue;
372
- referrer: Uri;
369
+ protocol: string | undefined;
370
+ proxyAuthorization: AuthenticationHeaderValue | undefined;
371
+ range: RangeHeaderValue | undefined;
372
+ referrer: Uri | undefined;
373
373
  readonly TE: HttpHeaderValueCollection_1<TransferCodingWithQualityHeaderValue>;
374
374
  readonly trailer: HttpHeaderValueCollection_1<System_Internal.String>;
375
375
  readonly transferEncoding: HttpHeaderValueCollection_1<TransferCodingHeaderValue>;
@@ -399,15 +399,15 @@ export type HttpRequestHeaders = HttpRequestHeaders$instance & __HttpRequestHead
399
399
  export interface HttpResponseHeaders$instance extends HttpHeaders$instance {
400
400
  readonly acceptRanges: HttpHeaderValueCollection_1<System_Internal.String>;
401
401
  age: Nullable_1<TimeSpan>;
402
- cacheControl: CacheControlHeaderValue;
402
+ cacheControl: CacheControlHeaderValue | undefined;
403
403
  readonly connection: HttpHeaderValueCollection_1<System_Internal.String>;
404
404
  connectionClose: Nullable_1<System_Internal.Boolean>;
405
405
  date: Nullable_1<DateTimeOffset>;
406
- eTag: EntityTagHeaderValue;
406
+ eTag: EntityTagHeaderValue | undefined;
407
407
  location: Uri;
408
408
  readonly pragma: HttpHeaderValueCollection_1<NameValueHeaderValue>;
409
409
  readonly proxyAuthenticate: HttpHeaderValueCollection_1<AuthenticationHeaderValue>;
410
- retryAfter: RetryConditionHeaderValue;
410
+ retryAfter: RetryConditionHeaderValue | undefined;
411
411
  readonly server: HttpHeaderValueCollection_1<ProductInfoHeaderValue>;
412
412
  readonly trailer: HttpHeaderValueCollection_1<System_Internal.String>;
413
413
  readonly transferEncoding: HttpHeaderValueCollection_1<TransferCodingHeaderValue>;
@@ -436,20 +436,20 @@ export type HttpResponseHeaders = HttpResponseHeaders$instance & __HttpResponseH
436
436
 
437
437
 
438
438
  export interface MediaTypeHeaderValue$instance {
439
- charSet: string;
439
+ charSet: string | undefined;
440
440
  mediaType: string;
441
441
  readonly parameters: ICollection_1<NameValueHeaderValue>;
442
- equals(obj: unknown): boolean;
442
+ equals(obj: unknown | undefined): boolean;
443
443
  getHashCode(): int;
444
- toString(): string;
444
+ toString(): string | undefined;
445
445
  }
446
446
 
447
447
 
448
448
  export const MediaTypeHeaderValue: {
449
- new(mediaType: string): MediaTypeHeaderValue;
450
- new(mediaType: string, charSet: string): MediaTypeHeaderValue;
451
- parse(input: string): MediaTypeHeaderValue;
452
- tryParse(input: string, parsedValue: MediaTypeHeaderValue): boolean;
449
+ new(mediaType: string | undefined): MediaTypeHeaderValue;
450
+ new(mediaType: string | undefined, charSet: string | undefined): MediaTypeHeaderValue;
451
+ parse(input: string | undefined): MediaTypeHeaderValue | undefined;
452
+ tryParse(input: string | undefined, parsedValue: MediaTypeHeaderValue | undefined): boolean;
453
453
  };
454
454
 
455
455
 
@@ -494,7 +494,7 @@ export interface NameValueHeaderValue$instance {
494
494
 
495
495
  export const NameValueHeaderValue: {
496
496
  new(name: string): NameValueHeaderValue;
497
- new(name: string, value: string): NameValueHeaderValue;
497
+ new(name: string, value: string | undefined): NameValueHeaderValue;
498
498
  parse(input: string): NameValueHeaderValue;
499
499
  tryParse(input: string, parsedValue: NameValueHeaderValue): boolean;
500
500
  };
@@ -520,7 +520,7 @@ export interface NameValueWithParametersHeaderValue$instance extends NameValueHe
520
520
 
521
521
  export const NameValueWithParametersHeaderValue: {
522
522
  new(name: string): NameValueWithParametersHeaderValue;
523
- new(name: string, value: string): NameValueWithParametersHeaderValue;
523
+ new(name: string, value: string | undefined): NameValueWithParametersHeaderValue;
524
524
  };
525
525
 
526
526
 
@@ -544,7 +544,7 @@ export interface ProductHeaderValue$instance {
544
544
 
545
545
  export const ProductHeaderValue: {
546
546
  new(name: string): ProductHeaderValue;
547
- new(name: string, version: string): ProductHeaderValue;
547
+ new(name: string, version: string | undefined): ProductHeaderValue;
548
548
  parse(input: string): ProductHeaderValue;
549
549
  tryParse(input: string, parsedValue: ProductHeaderValue): boolean;
550
550
  };
@@ -569,11 +569,11 @@ export interface ProductInfoHeaderValue$instance {
569
569
 
570
570
 
571
571
  export const ProductInfoHeaderValue: {
572
- new(productName: string, productVersion: string): ProductInfoHeaderValue;
572
+ new(productName: string, productVersion: string | undefined): ProductInfoHeaderValue;
573
573
  new(product: ProductHeaderValue): ProductInfoHeaderValue;
574
574
  new(comment: string): ProductInfoHeaderValue;
575
575
  parse(input: string): ProductInfoHeaderValue;
576
- tryParse(input: string, parsedValue: ProductInfoHeaderValue): boolean;
576
+ tryParse(input: string, parsedValue: ProductInfoHeaderValue | undefined): boolean;
577
577
  };
578
578
 
579
579
 
@@ -588,7 +588,7 @@ export type ProductInfoHeaderValue = ProductInfoHeaderValue$instance & __Product
588
588
 
589
589
  export interface RangeConditionHeaderValue$instance {
590
590
  readonly date: Nullable_1<DateTimeOffset>;
591
- readonly entityTag: EntityTagHeaderValue;
591
+ readonly entityTag: EntityTagHeaderValue | undefined;
592
592
  equals(obj: unknown): boolean;
593
593
  getHashCode(): int;
594
594
  toString(): string;
@@ -644,7 +644,7 @@ export interface RangeItemHeaderValue$instance {
644
644
  readonly to: Nullable_1<System_Internal.Int64>;
645
645
  equals(obj: unknown): boolean;
646
646
  getHashCode(): int;
647
- toString(): string;
647
+ toString(): string | undefined;
648
648
  }
649
649
 
650
650
 
@@ -667,7 +667,7 @@ export interface RetryConditionHeaderValue$instance {
667
667
  readonly delta: Nullable_1<TimeSpan>;
668
668
  equals(obj: unknown): boolean;
669
669
  getHashCode(): int;
670
- toString(): string;
670
+ toString(): string | undefined;
671
671
  }
672
672
 
673
673
 
@@ -762,7 +762,7 @@ export type TransferCodingWithQualityHeaderValue = TransferCodingWithQualityHead
762
762
 
763
763
  export interface ViaHeaderValue$instance {
764
764
  readonly comment: string;
765
- readonly protocolName: string;
765
+ readonly protocolName: string | undefined;
766
766
  readonly protocolVersion: string;
767
767
  readonly receivedBy: string;
768
768
  equals(obj: unknown): boolean;
@@ -773,8 +773,8 @@ export interface ViaHeaderValue$instance {
773
773
 
774
774
  export const ViaHeaderValue: {
775
775
  new(protocolVersion: string, receivedBy: string): ViaHeaderValue;
776
- new(protocolVersion: string, receivedBy: string, protocolName: string): ViaHeaderValue;
777
- new(protocolVersion: string, receivedBy: string, protocolName: string, comment: string): ViaHeaderValue;
776
+ new(protocolVersion: string, receivedBy: string, protocolName: string | undefined): ViaHeaderValue;
777
+ new(protocolVersion: string, receivedBy: string, protocolName: string | undefined, comment: string | undefined): ViaHeaderValue;
778
778
  parse(input: string): ViaHeaderValue;
779
779
  tryParse(input: string, parsedValue: ViaHeaderValue): boolean;
780
780
  };