@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
@@ -117,8 +117,8 @@ export interface BrotliStream$instance extends Stream {
117
117
  readonly canWrite: boolean;
118
118
  readonly length: long;
119
119
  position: long;
120
- beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
121
- beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
120
+ beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
121
+ beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
122
122
  dispose(): void;
123
123
  disposeAsync(): ValueTask;
124
124
  endRead(asyncResult: IAsyncResult): int;
@@ -172,8 +172,8 @@ export interface DeflateStream$instance extends Stream {
172
172
  readonly canWrite: boolean;
173
173
  readonly length: long;
174
174
  position: long;
175
- beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
176
- beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
175
+ beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
176
+ beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
177
177
  copyTo(destination: Stream, bufferSize: int): void;
178
178
  copyTo(destination: Stream): void;
179
179
  copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
@@ -233,8 +233,8 @@ export interface GZipStream$instance extends Stream {
233
233
  readonly canWrite: boolean;
234
234
  readonly length: long;
235
235
  position: long;
236
- beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
237
- beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
236
+ beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
237
+ beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
238
238
  copyTo(destination: Stream, bufferSize: int): void;
239
239
  copyTo(destination: Stream): void;
240
240
  copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
@@ -295,7 +295,7 @@ export interface ZipArchive$instance {
295
295
  createEntry(entryName: string, compressionLevel: CompressionLevel): ZipArchiveEntry;
296
296
  dispose(): void;
297
297
  disposeAsync(): ValueTask;
298
- getEntry(entryName: string): ZipArchiveEntry;
298
+ getEntry(entryName: string): ZipArchiveEntry | undefined;
299
299
  }
300
300
 
301
301
 
@@ -303,8 +303,8 @@ export const ZipArchive: {
303
303
  new(stream: Stream): ZipArchive;
304
304
  new(stream: Stream, mode: ZipArchiveMode): ZipArchive;
305
305
  new(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean): ZipArchive;
306
- new(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean, entryNameEncoding: Encoding): ZipArchive;
307
- createAsync(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
306
+ new(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean, entryNameEncoding: Encoding | undefined): ZipArchive;
307
+ createAsync(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean, entryNameEncoding: Encoding | undefined, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
308
308
  };
309
309
 
310
310
 
@@ -382,8 +382,8 @@ export interface ZLibStream$instance extends Stream {
382
382
  readonly canWrite: boolean;
383
383
  readonly length: long;
384
384
  position: long;
385
- beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
386
- beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
385
+ beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
386
+ beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | undefined, asyncState: unknown | undefined): IAsyncResult;
387
387
  copyTo(destination: Stream, bufferSize: int): void;
388
388
  copyTo(destination: Stream): void;
389
389
  copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
@@ -437,37 +437,37 @@ export type ZLibStream = ZLibStream$instance & __ZLibStream$views;
437
437
 
438
438
 
439
439
  export abstract class ZipFile$instance {
440
- static createFromDirectory(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding): void;
440
+ static createFromDirectory(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding | undefined): void;
441
441
  static createFromDirectory(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean): void;
442
442
  static createFromDirectory(sourceDirectoryName: string, destination: Stream): void;
443
- static createFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding): void;
443
+ static createFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding | undefined): void;
444
444
  static createFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean): void;
445
445
  static createFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string): void;
446
- static createFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
446
+ static createFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding | undefined, cancellationToken?: CancellationToken): Task;
447
447
  static createFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, cancellationToken?: CancellationToken): Task;
448
448
  static createFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, cancellationToken?: CancellationToken): Task;
449
- static createFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
449
+ static createFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding | undefined, cancellationToken?: CancellationToken): Task;
450
450
  static createFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, cancellationToken?: CancellationToken): Task;
451
451
  static createFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, cancellationToken?: CancellationToken): Task;
452
452
  static extractToDirectory(source: Stream, destinationDirectoryName: string, overwriteFiles: boolean): void;
453
- static extractToDirectory(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean): void;
454
- static extractToDirectory(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding): void;
453
+ static extractToDirectory(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined, overwriteFiles: boolean): void;
454
+ static extractToDirectory(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined): void;
455
455
  static extractToDirectory(source: Stream, destinationDirectoryName: string): void;
456
456
  static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, overwriteFiles: boolean): void;
457
- static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean): void;
458
- static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding): void;
457
+ static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined, overwriteFiles: boolean): void;
458
+ static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined): void;
459
459
  static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string): void;
460
460
  static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
461
- static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
462
- static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
461
+ static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
462
+ static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined, cancellationToken?: CancellationToken): Task;
463
463
  static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, cancellationToken?: CancellationToken): Task;
464
464
  static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
465
- static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
466
- static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
465
+ static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
466
+ static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding | undefined, cancellationToken?: CancellationToken): Task;
467
467
  static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, cancellationToken?: CancellationToken): Task;
468
- static open(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding): ZipArchive;
468
+ static open(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding | undefined): ZipArchive;
469
469
  static open(archiveFileName: string, mode: ZipArchiveMode): ZipArchive;
470
- static openAsync(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
470
+ static openAsync(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding | undefined, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
471
471
  static openAsync(archiveFileName: string, mode: ZipArchiveMode, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
472
472
  static openRead(archiveFileName: string): ZipArchive;
473
473
  static openReadAsync(archiveFileName: string, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
@@ -54,14 +54,14 @@ export const FileSystemEntry: {
54
54
  export type FileSystemEntry = FileSystemEntry$instance;
55
55
 
56
56
  export interface FileSystemEnumerable_1$instance<TResult> {
57
- shouldIncludePredicate: FileSystemEnumerable_1_FindPredicate<TResult>;
58
- shouldRecursePredicate: FileSystemEnumerable_1_FindPredicate<TResult>;
57
+ shouldIncludePredicate: FileSystemEnumerable_1_FindPredicate<TResult> | undefined;
58
+ shouldRecursePredicate: FileSystemEnumerable_1_FindPredicate<TResult> | undefined;
59
59
  getEnumerator(): IEnumerator_1<TResult>;
60
60
  }
61
61
 
62
62
 
63
63
  export const FileSystemEnumerable_1: {
64
- new<TResult>(directory: string, transform: FileSystemEnumerable_1_FindTransform<TResult>, options: EnumerationOptions): FileSystemEnumerable_1<TResult>;
64
+ new<TResult>(directory: string, transform: FileSystemEnumerable_1_FindTransform<TResult>, options: EnumerationOptions | undefined): FileSystemEnumerable_1<TResult>;
65
65
  };
66
66
 
67
67
 
@@ -82,7 +82,7 @@ export interface FileSystemEnumerator_1$instance<TResult> extends CriticalFinali
82
82
 
83
83
 
84
84
  export const FileSystemEnumerator_1: {
85
- new<TResult>(directory: string, options: EnumerationOptions): FileSystemEnumerator_1<TResult>;
85
+ new<TResult>(directory: string, options: EnumerationOptions | undefined): FileSystemEnumerator_1<TResult>;
86
86
  };
87
87
 
88
88
 
@@ -97,7 +97,7 @@ export type FileSystemEnumerator_1<TResult> = FileSystemEnumerator_1$instance<TR
97
97
  export abstract class FileSystemName$instance {
98
98
  static matchesSimpleExpression(expression: ReadOnlySpan_1<System_Internal.Char>, name: ReadOnlySpan_1<System_Internal.Char>, ignoreCase?: boolean): boolean;
99
99
  static matchesWin32Expression(expression: ReadOnlySpan_1<System_Internal.Char>, name: ReadOnlySpan_1<System_Internal.Char>, ignoreCase?: boolean): boolean;
100
- static translateWin32Expression(expression: string): string;
100
+ static translateWin32Expression(expression: string | undefined): string;
101
101
  }
102
102
 
103
103
 
@@ -58,7 +58,7 @@ export const IsolatedStorage: {
58
58
  export type IsolatedStorage = IsolatedStorage$instance;
59
59
 
60
60
  export interface IsolatedStorageException$instance extends Exception {
61
- getObjectData(info: SerializationInfo, context: StreamingContext): void;
61
+ getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
62
62
  }
63
63
 
64
64
 
@@ -117,9 +117,9 @@ export const IsolatedStorageFile: {
117
117
  getMachineStoreForAssembly(): IsolatedStorageFile;
118
118
  getMachineStoreForDomain(): IsolatedStorageFile;
119
119
  getStore(scope: IsolatedStorageScope, domainIdentity: unknown, assemblyIdentity: unknown): IsolatedStorageFile;
120
- getStore(scope: IsolatedStorageScope, applicationIdentity: unknown): IsolatedStorageFile;
120
+ getStore(scope: IsolatedStorageScope, applicationIdentity: unknown | undefined): IsolatedStorageFile;
121
121
  getStore(scope: IsolatedStorageScope, domainEvidenceType: Type, assemblyEvidenceType: Type): IsolatedStorageFile;
122
- getStore(scope: IsolatedStorageScope, applicationEvidenceType: Type): IsolatedStorageFile;
122
+ getStore(scope: IsolatedStorageScope, applicationEvidenceType: Type | undefined): IsolatedStorageFile;
123
123
  getUserStoreForApplication(): IsolatedStorageFile;
124
124
  getUserStoreForAssembly(): IsolatedStorageFile;
125
125
  getUserStoreForDomain(): IsolatedStorageFile;
@@ -146,8 +146,8 @@ export interface IsolatedStorageFileStream$instance extends FileStream {
146
146
  readonly length: long;
147
147
  position: long;
148
148
  readonly safeFileHandle: SafeFileHandle;
149
- beginRead(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
150
- beginWrite(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
149
+ beginRead(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback | undefined, stateObject: unknown | undefined): IAsyncResult;
150
+ beginWrite(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback | undefined, stateObject: unknown | undefined): IAsyncResult;
151
151
  dispose(): void;
152
152
  disposeAsync(): ValueTask;
153
153
  endRead(asyncResult: IAsyncResult): int;
@@ -182,13 +182,13 @@ export interface IsolatedStorageFileStream$instance extends FileStream {
182
182
 
183
183
  export const IsolatedStorageFileStream: {
184
184
  new(path: string, mode: FileMode): IsolatedStorageFileStream;
185
- new(path: string, mode: FileMode, isf: IsolatedStorageFile): IsolatedStorageFileStream;
185
+ new(path: string, mode: FileMode, isf: IsolatedStorageFile | undefined): IsolatedStorageFileStream;
186
186
  new(path: string, mode: FileMode, access: FileAccess): IsolatedStorageFileStream;
187
- new(path: string, mode: FileMode, access: FileAccess, isf: IsolatedStorageFile): IsolatedStorageFileStream;
187
+ new(path: string, mode: FileMode, access: FileAccess, isf: IsolatedStorageFile | undefined): IsolatedStorageFileStream;
188
188
  new(path: string, mode: FileMode, access: FileAccess, share: FileShare): IsolatedStorageFileStream;
189
- new(path: string, mode: FileMode, access: FileAccess, share: FileShare, isf: IsolatedStorageFile): IsolatedStorageFileStream;
189
+ new(path: string, mode: FileMode, access: FileAccess, share: FileShare, isf: IsolatedStorageFile | undefined): IsolatedStorageFileStream;
190
190
  new(path: string, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int): IsolatedStorageFileStream;
191
- new(path: string, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int, isf: IsolatedStorageFile): IsolatedStorageFileStream;
191
+ new(path: string, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int, isf: IsolatedStorageFile | undefined): IsolatedStorageFileStream;
192
192
  };
193
193
 
194
194
 
@@ -61,16 +61,16 @@ export interface MemoryMappedFile$instance {
61
61
 
62
62
  export const MemoryMappedFile: {
63
63
  new(): MemoryMappedFile;
64
- createFromFile(fileHandle: SafeFileHandle, mapName: string, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
65
- createFromFile(fileStream: FileStream, mapName: string, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
66
- createFromFile(path: string, mode: FileMode, mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
67
- createFromFile(path: string, mode: FileMode, mapName: string, capacity: long): MemoryMappedFile;
68
- createFromFile(path: string, mode: FileMode, mapName: string): MemoryMappedFile;
64
+ createFromFile(fileHandle: SafeFileHandle, mapName: string | undefined, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
65
+ createFromFile(fileStream: FileStream, mapName: string | undefined, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
66
+ createFromFile(path: string, mode: FileMode, mapName: string | undefined, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
67
+ createFromFile(path: string, mode: FileMode, mapName: string | undefined, capacity: long): MemoryMappedFile;
68
+ createFromFile(path: string, mode: FileMode, mapName: string | undefined): MemoryMappedFile;
69
69
  createFromFile(path: string, mode: FileMode): MemoryMappedFile;
70
70
  createFromFile(path: string): MemoryMappedFile;
71
- createNew(mapName: string, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
72
- createNew(mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
73
- createNew(mapName: string, capacity: long): MemoryMappedFile;
71
+ createNew(mapName: string | undefined, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
72
+ createNew(mapName: string | undefined, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
73
+ createNew(mapName: string | undefined, capacity: long): MemoryMappedFile;
74
74
  createOrOpen(mapName: string, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
75
75
  createOrOpen(mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
76
76
  createOrOpen(mapName: string, capacity: long): MemoryMappedFile;
@@ -95,7 +95,7 @@ export interface PipeReader$instance {
95
95
  completeAsync(exception?: Exception): ValueTask;
96
96
  copyToAsync(destination: PipeWriter, cancellationToken?: CancellationToken): Task;
97
97
  copyToAsync(destination: Stream, cancellationToken?: CancellationToken): Task;
98
- onWriterCompleted(callback: Action_2<Exception, unknown>, state: unknown): void;
98
+ onWriterCompleted(callback: Action_2<Exception | undefined, unknown | undefined>, state: unknown): void;
99
99
  readAsync(cancellationToken?: CancellationToken): ValueTask_1<ReadResult>;
100
100
  readAtLeastAsync(minimumSize: int, cancellationToken?: CancellationToken): ValueTask_1<ReadResult>;
101
101
  tryRead(result: ReadResult): boolean;
@@ -104,14 +104,14 @@ export interface PipeReader$instance {
104
104
 
105
105
  export const PipeReader: {
106
106
  create(sequence: ReadOnlySequence_1<System_Internal.Byte>): PipeReader;
107
- create(stream: Stream, readerOptions?: StreamPipeReaderOptions): PipeReader;
107
+ create(stream: Stream, readerOptions?: StreamPipeReaderOptions | undefined): PipeReader;
108
108
  };
109
109
 
110
110
 
111
111
  export type PipeReader = PipeReader$instance;
112
112
 
113
113
  export interface PipeScheduler$instance {
114
- schedule(action: Action_1<unknown>, state: unknown): void;
114
+ schedule(action: Action_1<unknown | undefined>, state: unknown): void;
115
115
  }
116
116
 
117
117
 
@@ -134,13 +134,13 @@ export interface PipeWriter$instance {
134
134
  flushAsync(cancellationToken?: CancellationToken): ValueTask_1<FlushResult>;
135
135
  getMemory(sizeHint?: int): Memory_1<System_Internal.Byte>;
136
136
  getSpan(sizeHint?: int): Span_1<System_Internal.Byte>;
137
- onReaderCompleted(callback: Action_2<Exception, unknown>, state: unknown): void;
137
+ onReaderCompleted(callback: Action_2<Exception | undefined, unknown | undefined>, state: unknown): void;
138
138
  writeAsync(source: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<FlushResult>;
139
139
  }
140
140
 
141
141
 
142
142
  export const PipeWriter: {
143
- create(stream: Stream, writerOptions?: StreamPipeWriterOptions): PipeWriter;
143
+ create(stream: Stream, writerOptions?: StreamPipeWriterOptions | undefined): PipeWriter;
144
144
  };
145
145
 
146
146
 
@@ -256,8 +256,8 @@ export interface PipeStream$instance extends Stream {
256
256
  readMode: PipeTransmissionMode;
257
257
  readonly safePipeHandle: SafePipeHandle;
258
258
  readonly transmissionMode: PipeTransmissionMode;
259
- beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
260
- beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
259
+ beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
260
+ beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
261
261
  dispose(): void;
262
262
  disposeAsync(): ValueTask;
263
263
  endRead(asyncResult: IAsyncResult): int;
@@ -301,14 +301,14 @@ export type PipeStream = PipeStream$instance & __PipeStream$views;
301
301
 
302
302
 
303
303
  export abstract class AnonymousPipeServerStreamAcl$instance {
304
- static create(direction: PipeDirection, inheritability: HandleInheritability, bufferSize: int, pipeSecurity: PipeSecurity): AnonymousPipeServerStream;
304
+ static create(direction: PipeDirection, inheritability: HandleInheritability, bufferSize: int, pipeSecurity: PipeSecurity | undefined): AnonymousPipeServerStream;
305
305
  }
306
306
 
307
307
 
308
308
  export type AnonymousPipeServerStreamAcl = AnonymousPipeServerStreamAcl$instance;
309
309
 
310
310
  export abstract class NamedPipeServerStreamAcl$instance {
311
- static create(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int, transmissionMode: PipeTransmissionMode, options: PipeOptions, inBufferSize: int, outBufferSize: int, pipeSecurity: PipeSecurity, inheritability?: HandleInheritability, additionalAccessRights?: PipeAccessRights): NamedPipeServerStream;
311
+ static create(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int, transmissionMode: PipeTransmissionMode, options: PipeOptions, inBufferSize: int, outBufferSize: int, pipeSecurity: PipeSecurity | undefined, inheritability?: HandleInheritability, additionalAccessRights?: PipeAccessRights): NamedPipeServerStream;
312
312
  }
313
313
 
314
314