@tsonic/dotnet 0.5.2 → 0.6.0

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 (195) hide show
  1. package/Internal/internal/index.d.ts +5 -5
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
  3. package/Microsoft.VisualBasic/bindings.json +28 -28
  4. package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
  5. package/Microsoft.VisualBasic/internal/metadata.json +14 -14
  6. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
  7. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
  8. package/Microsoft.Win32/internal/index.d.ts +16 -14
  9. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
  10. package/README.md +39 -0
  11. package/System/bindings.json +138 -138
  12. package/System/internal/index.d.ts +4165 -3967
  13. package/System/internal/metadata.json +81 -487
  14. package/System.Buffers/internal/index.d.ts +60 -50
  15. package/System.Buffers.Binary/internal/index.d.ts +126 -126
  16. package/System.Buffers.Text/internal/index.d.ts +67 -67
  17. package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
  18. package/System.Collections/internal/index.d.ts +199 -179
  19. package/System.Collections.Concurrent/internal/index.d.ts +61 -59
  20. package/System.Collections.Frozen/internal/index.d.ts +29 -29
  21. package/System.Collections.Frozen/internal/metadata.json +2 -16
  22. package/System.Collections.Generic/index.d.ts +1 -1
  23. package/System.Collections.Generic/internal/index.d.ts +382 -354
  24. package/System.Collections.Generic/internal/metadata.json +5 -54
  25. package/System.Collections.Immutable/internal/index.d.ts +321 -319
  26. package/System.Collections.Immutable/internal/metadata.json +5 -40
  27. package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
  28. package/System.Collections.ObjectModel/internal/metadata.json +1 -36
  29. package/System.Collections.Specialized/internal/index.d.ts +104 -96
  30. package/System.ComponentModel/internal/index.d.ts +661 -631
  31. package/System.ComponentModel/internal/metadata.json +0 -7
  32. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
  33. package/System.ComponentModel.Design/bindings.json +2 -2
  34. package/System.ComponentModel.Design/internal/index.d.ts +207 -193
  35. package/System.ComponentModel.Design/internal/metadata.json +1 -1
  36. package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
  37. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
  38. package/System.Configuration.Assemblies/bindings.json +10 -10
  39. package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
  40. package/System.Configuration.Assemblies/internal/metadata.json +5 -5
  41. package/System.Data/internal/index.d.ts +481 -453
  42. package/System.Data.Common/internal/index.d.ts +149 -121
  43. package/System.Data.SqlTypes/bindings.json +2 -2
  44. package/System.Data.SqlTypes/internal/index.d.ts +331 -299
  45. package/System.Data.SqlTypes/internal/metadata.json +1 -1
  46. package/System.Diagnostics/bindings.json +6 -6
  47. package/System.Diagnostics/internal/index.d.ts +333 -313
  48. package/System.Diagnostics/internal/metadata.json +3 -10
  49. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
  50. package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
  51. package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
  52. package/System.Diagnostics.SymbolStore/bindings.json +6 -6
  53. package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
  54. package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
  55. package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
  56. package/System.Drawing/bindings.json +24 -24
  57. package/System.Drawing/internal/index.d.ts +281 -281
  58. package/System.Drawing/internal/metadata.json +12 -12
  59. package/System.Dynamic/internal/index.d.ts +46 -42
  60. package/System.Formats.Asn1/bindings.json +12 -12
  61. package/System.Formats.Asn1/internal/index.d.ts +50 -48
  62. package/System.Formats.Asn1/internal/metadata.json +6 -6
  63. package/System.Formats.Tar/bindings.json +2 -2
  64. package/System.Formats.Tar/internal/index.d.ts +17 -13
  65. package/System.Formats.Tar/internal/metadata.json +1 -1
  66. package/System.Globalization/bindings.json +8 -8
  67. package/System.Globalization/internal/index.d.ts +177 -163
  68. package/System.Globalization/internal/metadata.json +4 -4
  69. package/System.IO/internal/index.d.ts +457 -439
  70. package/System.IO.Compression/internal/index.d.ts +78 -72
  71. package/System.IO.Enumeration/internal/index.d.ts +22 -22
  72. package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
  73. package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
  74. package/System.IO.Pipelines/internal/index.d.ts +15 -13
  75. package/System.IO.Pipes/internal/index.d.ts +23 -23
  76. package/System.Linq/internal/index.d.ts +853 -845
  77. package/System.Linq/internal/metadata.json +0 -17
  78. package/System.Linq.Expressions/internal/index.d.ts +354 -340
  79. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  80. package/System.Net/bindings.json +2 -2
  81. package/System.Net/internal/index.d.ts +351 -317
  82. package/System.Net/internal/metadata.json +1 -1
  83. package/System.Net.Http/internal/index.d.ts +64 -54
  84. package/System.Net.Http.Headers/bindings.json +2 -2
  85. package/System.Net.Http.Headers/internal/index.d.ts +139 -99
  86. package/System.Net.Http.Headers/internal/metadata.json +1 -1
  87. package/System.Net.Http.Json/internal/index.d.ts +63 -63
  88. package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
  89. package/System.Net.Mail/bindings.json +2 -2
  90. package/System.Net.Mail/internal/index.d.ts +90 -78
  91. package/System.Net.Mail/internal/metadata.json +4 -32
  92. package/System.Net.Mime/internal/index.d.ts +51 -51
  93. package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
  94. package/System.Net.Quic/internal/index.d.ts +15 -11
  95. package/System.Net.Security/bindings.json +674 -674
  96. package/System.Net.Security/internal/index.d.ts +396 -394
  97. package/System.Net.Security/internal/metadata.json +337 -337
  98. package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
  99. package/System.Net.Sockets/bindings.json +10 -10
  100. package/System.Net.Sockets/internal/index.d.ts +100 -90
  101. package/System.Net.Sockets/internal/metadata.json +5 -5
  102. package/System.Net.WebSockets/internal/index.d.ts +21 -19
  103. package/System.Numerics/bindings.json +110 -110
  104. package/System.Numerics/internal/index.d.ts +1057 -1039
  105. package/System.Numerics/internal/metadata.json +55 -89
  106. package/System.Reflection/bindings.json +25 -25
  107. package/System.Reflection/internal/index.d.ts +336 -316
  108. package/System.Reflection/internal/metadata.json +12 -12
  109. package/System.Reflection.Emit/bindings.json +307 -307
  110. package/System.Reflection.Emit/internal/index.d.ts +242 -236
  111. package/System.Reflection.Emit/internal/metadata.json +152 -152
  112. package/System.Reflection.Metadata/bindings.json +272 -272
  113. package/System.Reflection.Metadata/internal/index.d.ts +448 -438
  114. package/System.Reflection.Metadata/internal/metadata.json +164 -360
  115. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
  116. package/System.Reflection.PortableExecutable/bindings.json +26 -26
  117. package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
  118. package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
  119. package/System.Resources/internal/index.d.ts +30 -24
  120. package/System.Runtime/internal/index.d.ts +20 -16
  121. package/System.Runtime.CompilerServices/bindings.json +4 -4
  122. package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
  123. package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
  124. package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
  125. package/System.Runtime.InteropServices/bindings.json +146 -146
  126. package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
  127. package/System.Runtime.InteropServices/internal/metadata.json +73 -130
  128. package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
  129. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
  130. package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
  131. package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
  132. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
  133. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
  134. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
  135. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
  136. package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
  137. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
  138. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
  139. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
  140. package/System.Runtime.Loader/internal/index.d.ts +9 -7
  141. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  142. package/System.Runtime.Serialization/internal/index.d.ts +179 -171
  143. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
  144. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  145. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
  146. package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
  147. package/System.Runtime.Versioning/internal/index.d.ts +4 -4
  148. package/System.Security/internal/index.d.ts +45 -39
  149. package/System.Security.AccessControl/internal/index.d.ts +28 -26
  150. package/System.Security.Authentication/internal/index.d.ts +2 -2
  151. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
  152. package/System.Security.Claims/internal/index.d.ts +94 -90
  153. package/System.Security.Cryptography/bindings.json +111 -111
  154. package/System.Security.Cryptography/internal/index.d.ts +842 -794
  155. package/System.Security.Cryptography/internal/metadata.json +52 -59
  156. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
  157. package/System.Security.Policy/internal/index.d.ts +6 -6
  158. package/System.Security.Principal/internal/index.d.ts +36 -30
  159. package/System.Text/bindings.json +28 -28
  160. package/System.Text/internal/index.d.ts +325 -319
  161. package/System.Text/internal/metadata.json +4 -4
  162. package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
  163. package/System.Text.Json/internal/index.d.ts +184 -180
  164. package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
  165. package/System.Text.Json.Schema/internal/index.d.ts +3 -3
  166. package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
  167. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
  168. package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
  169. package/System.Text.RegularExpressions/internal/metadata.json +5 -40
  170. package/System.Text.Unicode/internal/index.d.ts +171 -171
  171. package/System.Threading/bindings.json +4 -4
  172. package/System.Threading/internal/index.d.ts +411 -377
  173. package/System.Threading/internal/metadata.json +2 -2
  174. package/System.Threading.Channels/internal/index.d.ts +8 -8
  175. package/System.Threading.Tasks/internal/index.d.ts +209 -205
  176. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
  177. package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
  178. package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
  179. package/System.Timers/internal/index.d.ts +11 -9
  180. package/System.Transactions/internal/index.d.ts +83 -67
  181. package/System.Web/internal/index.d.ts +31 -31
  182. package/System.Windows.Input/internal/index.d.ts +2 -2
  183. package/System.Xml/bindings.json +35 -35
  184. package/System.Xml/internal/index.d.ts +343 -325
  185. package/System.Xml/internal/metadata.json +17 -17
  186. package/System.Xml.Linq/internal/index.d.ts +122 -110
  187. package/System.Xml.Resolvers/internal/index.d.ts +3 -3
  188. package/System.Xml.Schema/internal/index.d.ts +71 -71
  189. package/System.Xml.Serialization/internal/index.d.ts +120 -120
  190. package/System.Xml.XPath/internal/index.d.ts +40 -34
  191. package/System.Xml.Xsl/internal/index.d.ts +27 -27
  192. package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
  193. package/__internal/extensions/index.d.ts +2294 -0
  194. package/package.json +1 -1
  195. package/internal/extensions/index.d.ts +0 -2280
@@ -79,61 +79,61 @@ export enum UIOption {
79
79
 
80
80
  export class FileSystem$instance {
81
81
  constructor();
82
- static readonly Drives: ReadOnlyCollection_1<DriveInfo>;
83
- static CurrentDirectory: string;
84
- static CombinePath(baseDirectory: string, relativePath: string): string;
85
- static CopyDirectory(sourceDirectoryName: string, destinationDirectoryName: string, showUI: UIOption, onUserCancel: UICancelOption): void;
86
- static CopyDirectory(sourceDirectoryName: string, destinationDirectoryName: string, showUI: UIOption): void;
87
- static CopyDirectory(sourceDirectoryName: string, destinationDirectoryName: string, overwrite: boolean): void;
88
- static CopyDirectory(sourceDirectoryName: string, destinationDirectoryName: string): void;
89
- static CopyFile(sourceFileName: string, destinationFileName: string, showUI: UIOption, onUserCancel: UICancelOption): void;
90
- static CopyFile(sourceFileName: string, destinationFileName: string, showUI: UIOption): void;
91
- static CopyFile(sourceFileName: string, destinationFileName: string, overwrite: boolean): void;
92
- static CopyFile(sourceFileName: string, destinationFileName: string): void;
93
- static CreateDirectory(directory: string): void;
94
- static DeleteDirectory(directory: string, onDirectoryNotEmpty: DeleteDirectoryOption): void;
95
- static DeleteDirectory(directory: string, showUI: UIOption, recycle: RecycleOption, onUserCancel: UICancelOption): void;
96
- static DeleteDirectory(directory: string, showUI: UIOption, recycle: RecycleOption): void;
97
- static DeleteFile(file: string, showUI: UIOption, recycle: RecycleOption, onUserCancel: UICancelOption): void;
98
- static DeleteFile(file: string, showUI: UIOption, recycle: RecycleOption): void;
99
- static DeleteFile(file: string): void;
100
- static DirectoryExists(directory: string): boolean;
101
- static FileExists(file: string): boolean;
102
- static FindInFiles(directory: string, containsText: string, ignoreCase: boolean, searchType: SearchOption, fileWildcards: string[]): ReadOnlyCollection_1<CLROf<string>>;
103
- static FindInFiles(directory: string, containsText: string, ignoreCase: boolean, searchType: SearchOption): ReadOnlyCollection_1<CLROf<string>>;
104
- static GetDirectories(directory: string, searchType: SearchOption, wildcards: string[]): ReadOnlyCollection_1<CLROf<string>>;
105
- static GetDirectories(directory: string): ReadOnlyCollection_1<CLROf<string>>;
106
- static GetDirectoryInfo(directory: string): DirectoryInfo;
107
- static GetDriveInfo(drive: string): DriveInfo;
108
- static GetFileInfo(file: string): FileInfo;
109
- static GetFiles(directory: string, searchType: SearchOption, wildcards: string[]): ReadOnlyCollection_1<CLROf<string>>;
110
- static GetFiles(directory: string): ReadOnlyCollection_1<CLROf<string>>;
111
- static GetName(path: string): string;
112
- static GetParentPath(path: string): string;
113
- static GetTempFileName(): string;
114
- static MoveDirectory(sourceDirectoryName: string, destinationDirectoryName: string, showUI: UIOption, onUserCancel: UICancelOption): void;
115
- static MoveDirectory(sourceDirectoryName: string, destinationDirectoryName: string, showUI: UIOption): void;
116
- static MoveDirectory(sourceDirectoryName: string, destinationDirectoryName: string, overwrite: boolean): void;
117
- static MoveDirectory(sourceDirectoryName: string, destinationDirectoryName: string): void;
118
- static MoveFile(sourceFileName: string, destinationFileName: string, showUI: UIOption, onUserCancel: UICancelOption): void;
119
- static MoveFile(sourceFileName: string, destinationFileName: string, showUI: UIOption): void;
120
- static MoveFile(sourceFileName: string, destinationFileName: string, overwrite: boolean): void;
121
- static MoveFile(sourceFileName: string, destinationFileName: string): void;
122
- static OpenTextFieldParser(file: string, fieldWidths: int[]): TextFieldParser;
123
- static OpenTextFieldParser(file: string, delimiters: string[]): TextFieldParser;
124
- static OpenTextFieldParser(file: string): TextFieldParser;
125
- static OpenTextFileReader(file: string, encoding: Encoding): StreamReader;
126
- static OpenTextFileReader(file: string): StreamReader;
127
- static OpenTextFileWriter(file: string, append: boolean, encoding: Encoding): StreamWriter;
128
- static OpenTextFileWriter(file: string, append: boolean): StreamWriter;
129
- static ReadAllBytes(file: string): byte[];
130
- static ReadAllText(file: string, encoding: Encoding): string;
131
- static ReadAllText(file: string): string;
132
- static RenameDirectory(directory: string, newName: string): void;
133
- static RenameFile(file: string, newName: string): void;
134
- static WriteAllBytes(file: string, data: byte[], append: boolean): void;
135
- static WriteAllText(file: string, text: string, append: boolean, encoding: Encoding): void;
136
- static WriteAllText(file: string, text: string, append: boolean): void;
82
+ static readonly drives: ReadOnlyCollection_1<DriveInfo>;
83
+ static currentDirectory: string;
84
+ static combinePath(baseDirectory: string, relativePath: string): string;
85
+ static copyDirectory4(sourceDirectoryName: string, destinationDirectoryName: string, showUI: UIOption, onUserCancel: UICancelOption): void;
86
+ static copyDirectory4(sourceDirectoryName: string, destinationDirectoryName: string, showUI: UIOption): void;
87
+ static copyDirectory4(sourceDirectoryName: string, destinationDirectoryName: string, overwrite: boolean): void;
88
+ static copyDirectory4(sourceDirectoryName: string, destinationDirectoryName: string): void;
89
+ static copyFile4(sourceFileName: string, destinationFileName: string, showUI: UIOption, onUserCancel: UICancelOption): void;
90
+ static copyFile4(sourceFileName: string, destinationFileName: string, showUI: UIOption): void;
91
+ static copyFile4(sourceFileName: string, destinationFileName: string, overwrite: boolean): void;
92
+ static copyFile4(sourceFileName: string, destinationFileName: string): void;
93
+ static createDirectory(directory: string): void;
94
+ static deleteDirectory(directory: string, onDirectoryNotEmpty: DeleteDirectoryOption): void;
95
+ static deleteDirectory(directory: string, showUI: UIOption, recycle: RecycleOption, onUserCancel: UICancelOption): void;
96
+ static deleteDirectory(directory: string, showUI: UIOption, recycle: RecycleOption): void;
97
+ static deleteFile3(file: string, showUI: UIOption, recycle: RecycleOption, onUserCancel: UICancelOption): void;
98
+ static deleteFile3(file: string, showUI: UIOption, recycle: RecycleOption): void;
99
+ static deleteFile3(file: string): void;
100
+ static directoryExists(directory: string): boolean;
101
+ static fileExists(file: string): boolean;
102
+ static findInFiles2(directory: string, containsText: string, ignoreCase: boolean, searchType: SearchOption, fileWildcards: string[]): ReadOnlyCollection_1<CLROf<string>>;
103
+ static findInFiles2(directory: string, containsText: string, ignoreCase: boolean, searchType: SearchOption): ReadOnlyCollection_1<CLROf<string>>;
104
+ static getDirectories2(directory: string, searchType: SearchOption, wildcards: string[]): ReadOnlyCollection_1<CLROf<string>>;
105
+ static getDirectories2(directory: string): ReadOnlyCollection_1<CLROf<string>>;
106
+ static getDirectoryInfo(directory: string): DirectoryInfo;
107
+ static getDriveInfo(drive: string): DriveInfo;
108
+ static getFileInfo(file: string): FileInfo;
109
+ static getFiles2(directory: string, searchType: SearchOption, wildcards: string[]): ReadOnlyCollection_1<CLROf<string>>;
110
+ static getFiles2(directory: string): ReadOnlyCollection_1<CLROf<string>>;
111
+ static getName(path: string): string;
112
+ static getParentPath(path: string): string;
113
+ static getTempFileName(): string;
114
+ static moveDirectory4(sourceDirectoryName: string, destinationDirectoryName: string, showUI: UIOption, onUserCancel: UICancelOption): void;
115
+ static moveDirectory4(sourceDirectoryName: string, destinationDirectoryName: string, showUI: UIOption): void;
116
+ static moveDirectory4(sourceDirectoryName: string, destinationDirectoryName: string, overwrite: boolean): void;
117
+ static moveDirectory4(sourceDirectoryName: string, destinationDirectoryName: string): void;
118
+ static moveFile4(sourceFileName: string, destinationFileName: string, showUI: UIOption, onUserCancel: UICancelOption): void;
119
+ static moveFile4(sourceFileName: string, destinationFileName: string, showUI: UIOption): void;
120
+ static moveFile4(sourceFileName: string, destinationFileName: string, overwrite: boolean): void;
121
+ static moveFile4(sourceFileName: string, destinationFileName: string): void;
122
+ static openTextFieldParser3(file: string, fieldWidths: int[]): TextFieldParser;
123
+ static openTextFieldParser3(file: string, delimiters: string[]): TextFieldParser;
124
+ static openTextFieldParser3(file: string): TextFieldParser;
125
+ static openTextFileReader2(file: string, encoding: Encoding): StreamReader;
126
+ static openTextFileReader2(file: string): StreamReader;
127
+ static openTextFileWriter2(file: string, append: boolean, encoding: Encoding): StreamWriter;
128
+ static openTextFileWriter2(file: string, append: boolean): StreamWriter;
129
+ static readAllBytes(file: string): byte[];
130
+ static readAllText2(file: string, encoding: Encoding): string;
131
+ static readAllText2(file: string): string;
132
+ static renameDirectory(directory: string, newName: string): void;
133
+ static renameFile(file: string, newName: string): void;
134
+ static writeAllBytes(file: string, data: byte[], append: boolean): void;
135
+ static writeAllText2(file: string, text: string, append: boolean, encoding: Encoding): void;
136
+ static writeAllText2(file: string, text: string, append: boolean): void;
137
137
  }
138
138
 
139
139
 
@@ -152,7 +152,7 @@ export class MalformedLineException$instance extends System_Internal.Exception$i
152
152
 
153
153
 
154
154
  export interface __MalformedLineException$views {
155
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
155
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
156
156
  }
157
157
 
158
158
  export type MalformedLineException = MalformedLineException$instance & __MalformedLineException$views;
@@ -160,15 +160,15 @@ export type MalformedLineException = MalformedLineException$instance & __Malform
160
160
 
161
161
  export class SpecialDirectories$instance {
162
162
  constructor();
163
- static readonly MyDocuments: string;
164
- static readonly MyMusic: string;
165
- static readonly MyPictures: string;
166
- static readonly Desktop: string;
167
- static readonly Programs: string;
168
- static readonly ProgramFiles: string;
169
- static readonly Temp: string;
170
- static readonly CurrentUserApplicationData: string;
171
- static readonly AllUsersApplicationData: string;
163
+ static readonly myDocuments: string;
164
+ static readonly myMusic: string;
165
+ static readonly myPictures: string;
166
+ static readonly desktop: string;
167
+ static readonly programs: string;
168
+ static readonly programFiles: string;
169
+ static readonly temp: string;
170
+ static readonly currentUserApplicationData: string;
171
+ static readonly allUsersApplicationData: string;
172
172
  }
173
173
 
174
174
 
@@ -205,9 +205,11 @@ export class TextFieldParser$instance {
205
205
 
206
206
 
207
207
  export interface __TextFieldParser$views {
208
- readonly As_IDisposable: System_Internal.IDisposable$instance;
208
+ As_IDisposable(): System_Internal.IDisposable$instance;
209
209
  }
210
210
 
211
+ export interface TextFieldParser$instance extends System_Internal.IDisposable$instance {}
212
+
211
213
  export type TextFieldParser = TextFieldParser$instance & __TextFieldParser$views;
212
214
 
213
215
 
@@ -109,9 +109,9 @@ export class RegistryKey$instance extends System_Internal.MarshalByRefObject$ins
109
109
  getAccessControl(): RegistrySecurity;
110
110
  getAccessControl(includeSections: AccessControlSections): RegistrySecurity;
111
111
  getSubKeyNames(): string[];
112
- getValue(name: string): any;
113
- getValue(name: string, defaultValue: any): any;
114
- getValue(name: string, defaultValue: any, options: RegistryValueOptions): any;
112
+ getValue(name: string): unknown;
113
+ getValue(name: string, defaultValue: unknown): unknown;
114
+ getValue(name: string, defaultValue: unknown, options: RegistryValueOptions): unknown;
115
115
  getValueKind(name: string): RegistryValueKind;
116
116
  getValueNames(): string[];
117
117
  openSubKey(name: string): RegistryKey;
@@ -120,21 +120,23 @@ export class RegistryKey$instance extends System_Internal.MarshalByRefObject$ins
120
120
  openSubKey(name: string, writable: boolean): RegistryKey;
121
121
  openSubKey(name: string, rights: RegistryRights): RegistryKey;
122
122
  setAccessControl(registrySecurity: RegistrySecurity): void;
123
- setValue(name: string, value: any): void;
124
- setValue(name: string, value: any, valueKind: RegistryValueKind): void;
123
+ setValue(name: string, value: unknown): void;
124
+ setValue(name: string, value: unknown, valueKind: RegistryValueKind): void;
125
125
  toString(): string;
126
- static FromHandle(handle: SafeRegistryHandle, view: RegistryView): RegistryKey;
127
- static FromHandle(handle: SafeRegistryHandle): RegistryKey;
128
- static OpenBaseKey(hKey: RegistryHive, view: RegistryView): RegistryKey;
129
- static OpenRemoteBaseKey(hKey: RegistryHive, machineName: string, view: RegistryView): RegistryKey;
130
- static OpenRemoteBaseKey(hKey: RegistryHive, machineName: string): RegistryKey;
126
+ static fromHandle2(handle: SafeRegistryHandle, view: RegistryView): RegistryKey;
127
+ static fromHandle2(handle: SafeRegistryHandle): RegistryKey;
128
+ static openBaseKey(hKey: RegistryHive, view: RegistryView): RegistryKey;
129
+ static openRemoteBaseKey2(hKey: RegistryHive, machineName: string, view: RegistryView): RegistryKey;
130
+ static openRemoteBaseKey2(hKey: RegistryHive, machineName: string): RegistryKey;
131
131
  }
132
132
 
133
133
 
134
134
  export interface __RegistryKey$views {
135
- readonly As_IDisposable: System_Internal.IDisposable$instance;
135
+ As_IDisposable(): System_Internal.IDisposable$instance;
136
136
  }
137
137
 
138
+ export interface RegistryKey$instance extends System_Internal.IDisposable$instance {}
139
+
138
140
  export type RegistryKey = RegistryKey$instance & __RegistryKey$views;
139
141
 
140
142
 
@@ -145,9 +147,9 @@ export abstract class Registry$instance {
145
147
  static readonly localMachine: RegistryKey;
146
148
  static readonly performanceData: RegistryKey;
147
149
  static readonly users: RegistryKey;
148
- static GetValue(keyName: string, valueName: string, defaultValue: any): any;
149
- static SetValue(keyName: string, valueName: string, value: any, valueKind: RegistryValueKind): void;
150
- static SetValue(keyName: string, valueName: string, value: any): void;
150
+ static getValue(keyName: string, valueName: string, defaultValue: unknown): unknown;
151
+ static setValue2(keyName: string, valueName: string, value: unknown, valueKind: RegistryValueKind): void;
152
+ static setValue2(keyName: string, valueName: string, value: unknown): void;
151
153
  }
152
154
 
153
155
 
@@ -43,7 +43,7 @@ export abstract class CriticalHandleMinusOneIsInvalid$instance extends System_Ru
43
43
 
44
44
 
45
45
  export interface __CriticalHandleMinusOneIsInvalid$views {
46
- readonly As_IDisposable: System_Internal.IDisposable$instance;
46
+ As_IDisposable(): System_Internal.IDisposable$instance;
47
47
  }
48
48
 
49
49
  export type CriticalHandleMinusOneIsInvalid = CriticalHandleMinusOneIsInvalid$instance & __CriticalHandleMinusOneIsInvalid$views;
@@ -56,7 +56,7 @@ export abstract class CriticalHandleZeroOrMinusOneIsInvalid$instance extends Sys
56
56
 
57
57
 
58
58
  export interface __CriticalHandleZeroOrMinusOneIsInvalid$views {
59
- readonly As_IDisposable: System_Internal.IDisposable$instance;
59
+ As_IDisposable(): System_Internal.IDisposable$instance;
60
60
  }
61
61
 
62
62
  export type CriticalHandleZeroOrMinusOneIsInvalid = CriticalHandleZeroOrMinusOneIsInvalid$instance & __CriticalHandleZeroOrMinusOneIsInvalid$views;
@@ -67,12 +67,12 @@ export class SafeAccessTokenHandle$instance extends System_Runtime_InteropServic
67
67
  constructor(handle: nint);
68
68
  readonly isInvalid: boolean;
69
69
  dispose(): void;
70
- static readonly InvalidHandle: SafeAccessTokenHandle;
70
+ static readonly invalidHandle: SafeAccessTokenHandle;
71
71
  }
72
72
 
73
73
 
74
74
  export interface __SafeAccessTokenHandle$views {
75
- readonly As_IDisposable: System_Internal.IDisposable$instance;
75
+ As_IDisposable(): System_Internal.IDisposable$instance;
76
76
  }
77
77
 
78
78
  export type SafeAccessTokenHandle = SafeAccessTokenHandle$instance & __SafeAccessTokenHandle$views;
@@ -88,7 +88,7 @@ export class SafeFileHandle$instance extends SafeHandleZeroOrMinusOneIsInvalid$i
88
88
 
89
89
 
90
90
  export interface __SafeFileHandle$views {
91
- readonly As_IDisposable: System_Internal.IDisposable$instance;
91
+ As_IDisposable(): System_Internal.IDisposable$instance;
92
92
  }
93
93
 
94
94
  export type SafeFileHandle = SafeFileHandle$instance & __SafeFileHandle$views;
@@ -101,7 +101,7 @@ export abstract class SafeHandleMinusOneIsInvalid$instance extends System_Runtim
101
101
 
102
102
 
103
103
  export interface __SafeHandleMinusOneIsInvalid$views {
104
- readonly As_IDisposable: System_Internal.IDisposable$instance;
104
+ As_IDisposable(): System_Internal.IDisposable$instance;
105
105
  }
106
106
 
107
107
  export type SafeHandleMinusOneIsInvalid = SafeHandleMinusOneIsInvalid$instance & __SafeHandleMinusOneIsInvalid$views;
@@ -114,7 +114,7 @@ export abstract class SafeHandleZeroOrMinusOneIsInvalid$instance extends System_
114
114
 
115
115
 
116
116
  export interface __SafeHandleZeroOrMinusOneIsInvalid$views {
117
- readonly As_IDisposable: System_Internal.IDisposable$instance;
117
+ As_IDisposable(): System_Internal.IDisposable$instance;
118
118
  }
119
119
 
120
120
  export type SafeHandleZeroOrMinusOneIsInvalid = SafeHandleZeroOrMinusOneIsInvalid$instance & __SafeHandleZeroOrMinusOneIsInvalid$views;
@@ -128,7 +128,7 @@ export class SafeMemoryMappedFileHandle$instance extends SafeHandleZeroOrMinusOn
128
128
 
129
129
 
130
130
  export interface __SafeMemoryMappedFileHandle$views {
131
- readonly As_IDisposable: System_Internal.IDisposable$instance;
131
+ As_IDisposable(): System_Internal.IDisposable$instance;
132
132
  }
133
133
 
134
134
  export type SafeMemoryMappedFileHandle = SafeMemoryMappedFileHandle$instance & __SafeMemoryMappedFileHandle$views;
@@ -141,7 +141,7 @@ export class SafeMemoryMappedViewHandle$instance extends System_Runtime_InteropS
141
141
 
142
142
 
143
143
  export interface __SafeMemoryMappedViewHandle$views {
144
- readonly As_IDisposable: System_Internal.IDisposable$instance;
144
+ As_IDisposable(): System_Internal.IDisposable$instance;
145
145
  }
146
146
 
147
147
  export type SafeMemoryMappedViewHandle = SafeMemoryMappedViewHandle$instance & __SafeMemoryMappedViewHandle$views;
@@ -153,7 +153,7 @@ export abstract class SafeNCryptHandle$instance extends SafeHandleZeroOrMinusOne
153
153
 
154
154
 
155
155
  export interface __SafeNCryptHandle$views {
156
- readonly As_IDisposable: System_Internal.IDisposable$instance;
156
+ As_IDisposable(): System_Internal.IDisposable$instance;
157
157
  }
158
158
 
159
159
  export type SafeNCryptHandle = SafeNCryptHandle$instance & __SafeNCryptHandle$views;
@@ -167,7 +167,7 @@ export class SafeNCryptKeyHandle$instance extends SafeNCryptHandle$instance {
167
167
 
168
168
 
169
169
  export interface __SafeNCryptKeyHandle$views {
170
- readonly As_IDisposable: System_Internal.IDisposable$instance;
170
+ As_IDisposable(): System_Internal.IDisposable$instance;
171
171
  }
172
172
 
173
173
  export type SafeNCryptKeyHandle = SafeNCryptKeyHandle$instance & __SafeNCryptKeyHandle$views;
@@ -180,7 +180,7 @@ export class SafeNCryptProviderHandle$instance extends SafeNCryptHandle$instance
180
180
 
181
181
 
182
182
  export interface __SafeNCryptProviderHandle$views {
183
- readonly As_IDisposable: System_Internal.IDisposable$instance;
183
+ As_IDisposable(): System_Internal.IDisposable$instance;
184
184
  }
185
185
 
186
186
  export type SafeNCryptProviderHandle = SafeNCryptProviderHandle$instance & __SafeNCryptProviderHandle$views;
@@ -193,7 +193,7 @@ export class SafeNCryptSecretHandle$instance extends SafeNCryptHandle$instance {
193
193
 
194
194
 
195
195
  export interface __SafeNCryptSecretHandle$views {
196
- readonly As_IDisposable: System_Internal.IDisposable$instance;
196
+ As_IDisposable(): System_Internal.IDisposable$instance;
197
197
  }
198
198
 
199
199
  export type SafeNCryptSecretHandle = SafeNCryptSecretHandle$instance & __SafeNCryptSecretHandle$views;
@@ -208,7 +208,7 @@ export class SafePipeHandle$instance extends SafeHandleZeroOrMinusOneIsInvalid$i
208
208
 
209
209
 
210
210
  export interface __SafePipeHandle$views {
211
- readonly As_IDisposable: System_Internal.IDisposable$instance;
211
+ As_IDisposable(): System_Internal.IDisposable$instance;
212
212
  }
213
213
 
214
214
  export type SafePipeHandle = SafePipeHandle$instance & __SafePipeHandle$views;
@@ -222,7 +222,7 @@ export class SafeProcessHandle$instance extends SafeHandleZeroOrMinusOneIsInvali
222
222
 
223
223
 
224
224
  export interface __SafeProcessHandle$views {
225
- readonly As_IDisposable: System_Internal.IDisposable$instance;
225
+ As_IDisposable(): System_Internal.IDisposable$instance;
226
226
  }
227
227
 
228
228
  export type SafeProcessHandle = SafeProcessHandle$instance & __SafeProcessHandle$views;
@@ -236,7 +236,7 @@ export class SafeRegistryHandle$instance extends SafeHandleZeroOrMinusOneIsInval
236
236
 
237
237
 
238
238
  export interface __SafeRegistryHandle$views {
239
- readonly As_IDisposable: System_Internal.IDisposable$instance;
239
+ As_IDisposable(): System_Internal.IDisposable$instance;
240
240
  }
241
241
 
242
242
  export type SafeRegistryHandle = SafeRegistryHandle$instance & __SafeRegistryHandle$views;
@@ -250,7 +250,7 @@ export class SafeWaitHandle$instance extends SafeHandleZeroOrMinusOneIsInvalid$i
250
250
 
251
251
 
252
252
  export interface __SafeWaitHandle$views {
253
- readonly As_IDisposable: System_Internal.IDisposable$instance;
253
+ As_IDisposable(): System_Internal.IDisposable$instance;
254
254
  }
255
255
 
256
256
  export type SafeWaitHandle = SafeWaitHandle$instance & __SafeWaitHandle$views;
@@ -263,7 +263,7 @@ export class SafeX509ChainHandle$instance extends SafeHandleZeroOrMinusOneIsInva
263
263
 
264
264
 
265
265
  export interface __SafeX509ChainHandle$views {
266
- readonly As_IDisposable: System_Internal.IDisposable$instance;
266
+ As_IDisposable(): System_Internal.IDisposable$instance;
267
267
  }
268
268
 
269
269
  export type SafeX509ChainHandle = SafeX509ChainHandle$instance & __SafeX509ChainHandle$views;
package/README.md CHANGED
@@ -92,6 +92,45 @@ import type { IPAddress, Socket } from "@tsonic/dotnet/System.Net";
92
92
  import type { JsonSerializer } from "@tsonic/dotnet/System.Text.Json";
93
93
  ```
94
94
 
95
+ ## Development
96
+
97
+ ### Regenerating Types
98
+
99
+ To regenerate TypeScript declarations from .NET assemblies:
100
+
101
+ ```bash
102
+ ./__build/scripts/generate.sh
103
+ ```
104
+
105
+ **Prerequisites:**
106
+ - .NET 10 SDK installed
107
+ - `tsbindgen` repository cloned at `../tsbindgen` (sibling directory)
108
+
109
+ The script will:
110
+ 1. Clean existing namespace directories
111
+ 2. Build tsbindgen
112
+ 3. Generate fresh TypeScript declarations
113
+
114
+ **Environment variables:**
115
+ - `DOTNET_VERSION` - .NET runtime version (default: `10.0.0-rc.1.25451.107`)
116
+ - `DOTNET_HOME` - .NET installation directory (default: `$HOME/dotnet`)
117
+
118
+ ### Package Structure
119
+
120
+ ```
121
+ @tsonic/dotnet/
122
+ ├── [Namespace]/ # .NET namespace directories (System, Microsoft, etc.)
123
+ │ ├── index.d.ts # Public type declarations
124
+ │ ├── index.js # ESM module stub
125
+ │ ├── bindings.json # CLR↔TS name mappings
126
+ │ └── internal/ # Internal implementation types
127
+ ├── __internal/ # Extension method buckets
128
+ │ └── extensions/
129
+ └── __build/ # Build tooling
130
+ └── scripts/
131
+ └── generate.sh # Type regeneration script
132
+ ```
133
+
95
134
  ## License
96
135
 
97
136
  MIT