@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
@@ -91,50 +91,56 @@ export enum TransactionStatus {
91
91
 
92
92
 
93
93
  export interface IDtcTransaction$instance {
94
- Abort(reason: nint, retaining: int, async_: int): void;
95
- Commit(retaining: int, commitType: int, reserved: int): void;
96
- GetTransactionInfo(transactionInformation: nint): void;
94
+ abort(reason: nint, retaining: int, async_: int): void;
95
+ commit(retaining: int, commitType: int, reserved: int): void;
96
+ getTransactionInfo(transactionInformation: nint): void;
97
97
  }
98
98
 
99
99
 
100
100
  export type IDtcTransaction = IDtcTransaction$instance;
101
101
 
102
102
  export interface IEnlistmentNotification$instance {
103
- Commit(enlistment: Enlistment): void;
104
- Prepare(preparingEnlistment: PreparingEnlistment): void;
103
+ commit(enlistment: Enlistment): void;
104
+ prepare(preparingEnlistment: PreparingEnlistment): void;
105
105
  }
106
106
 
107
107
 
108
108
  export type IEnlistmentNotification = IEnlistmentNotification$instance;
109
109
 
110
- export interface IPromotableSinglePhaseNotification$instance {
111
- Initialize(): void;
112
- Promote(): byte[];
113
- SinglePhaseCommit(singlePhaseEnlistment: SinglePhaseEnlistment): void;
110
+ export interface IPromotableSinglePhaseNotification$instance extends ITransactionPromoter {
111
+ initialize(): void;
112
+ promote(): byte[];
113
+ singlePhaseCommit(singlePhaseEnlistment: SinglePhaseEnlistment): void;
114
114
  }
115
115
 
116
116
 
117
+ export interface IPromotableSinglePhaseNotification$instance extends ITransactionPromoter$instance {}
118
+
117
119
  export type IPromotableSinglePhaseNotification = IPromotableSinglePhaseNotification$instance;
118
120
 
119
- export interface ISimpleTransactionSuperior$instance {
120
- Promote(): byte[];
121
- Rollback(): void;
121
+ export interface ISimpleTransactionSuperior$instance extends ITransactionPromoter {
122
+ promote(): byte[];
123
+ rollback(): void;
122
124
  }
123
125
 
124
126
 
127
+ export interface ISimpleTransactionSuperior$instance extends ITransactionPromoter$instance {}
128
+
125
129
  export type ISimpleTransactionSuperior = ISimpleTransactionSuperior$instance;
126
130
 
127
- export interface ISinglePhaseNotification$instance {
128
- Commit(enlistment: Enlistment): void;
129
- Prepare(preparingEnlistment: PreparingEnlistment): void;
130
- SinglePhaseCommit(singlePhaseEnlistment: SinglePhaseEnlistment): void;
131
+ export interface ISinglePhaseNotification$instance extends IEnlistmentNotification {
132
+ commit(enlistment: Enlistment): void;
133
+ prepare(preparingEnlistment: PreparingEnlistment): void;
134
+ singlePhaseCommit(singlePhaseEnlistment: SinglePhaseEnlistment): void;
131
135
  }
132
136
 
133
137
 
138
+ export interface ISinglePhaseNotification$instance extends IEnlistmentNotification$instance {}
139
+
134
140
  export type ISinglePhaseNotification = ISinglePhaseNotification$instance;
135
141
 
136
142
  export interface ITransactionPromoter$instance {
137
- Promote(): byte[];
143
+ promote(): byte[];
138
144
  }
139
145
 
140
146
 
@@ -143,14 +149,14 @@ export type ITransactionPromoter = ITransactionPromoter$instance;
143
149
  export class TransactionOptions$instance {
144
150
  isolationLevel: IsolationLevel;
145
151
  timeout: TimeSpan;
146
- equals(obj: any): boolean;
152
+ equals(obj: unknown): boolean;
147
153
  equals(other: TransactionOptions): boolean;
148
154
  getHashCode(): int;
149
155
  }
150
156
 
151
157
 
152
158
  export interface __TransactionOptions$views {
153
- readonly As_IEquatable_1_of_ConsoleKeyInfo: System_Internal.IEquatable_1$instance<TransactionOptions>;
159
+ As_IEquatable_1(): System_Internal.IEquatable_1$instance<TransactionOptions>;
154
160
 
155
161
  // Structural method bridges for numeric interface constraints
156
162
  Equals(other: TransactionOptions): boolean;
@@ -163,7 +169,7 @@ export class CommittableTransaction$instance extends Transaction$instance {
163
169
  constructor();
164
170
  constructor(timeout: TimeSpan);
165
171
  constructor(options: TransactionOptions);
166
- beginCommit(asyncCallback: AsyncCallback, asyncState: any): IAsyncResult;
172
+ beginCommit(asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
167
173
  commit(): void;
168
174
  dispose(): void;
169
175
  endCommit(asyncResult: IAsyncResult): void;
@@ -172,11 +178,13 @@ export class CommittableTransaction$instance extends Transaction$instance {
172
178
 
173
179
 
174
180
  export interface __CommittableTransaction$views {
175
- readonly As_IAsyncResult: System_Internal.IAsyncResult$instance;
176
- readonly As_IDisposable: System_Internal.IDisposable$instance;
177
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
181
+ As_IAsyncResult(): System_Internal.IAsyncResult$instance;
182
+ As_IDisposable(): System_Internal.IDisposable$instance;
183
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
178
184
  }
179
185
 
186
+ export interface CommittableTransaction$instance extends System_Internal.IAsyncResult$instance, System_Runtime_Serialization_Internal.ISerializable$instance {}
187
+
180
188
  export type CommittableTransaction = CommittableTransaction$instance & __CommittableTransaction$views;
181
189
 
182
190
 
@@ -188,10 +196,12 @@ export class DependentTransaction$instance extends Transaction$instance {
188
196
 
189
197
 
190
198
  export interface __DependentTransaction$views {
191
- readonly As_IDisposable: System_Internal.IDisposable$instance;
192
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
199
+ As_IDisposable(): System_Internal.IDisposable$instance;
200
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
193
201
  }
194
202
 
203
+ export interface DependentTransaction$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
204
+
195
205
  export type DependentTransaction = DependentTransaction$instance & __DependentTransaction$views;
196
206
 
197
207
 
@@ -203,9 +213,9 @@ export class Enlistment$instance {
203
213
  export type Enlistment = Enlistment$instance;
204
214
 
205
215
  export class HostCurrentTransactionCallback$instance extends Function {
206
- constructor(object_: any, method: nint);
207
- beginInvoke(callback: AsyncCallback, object_: any): IAsyncResult;
208
- clone(): any;
216
+ constructor(object_: unknown, method: nint);
217
+ beginInvoke(callback: AsyncCallback, object_: unknown): IAsyncResult;
218
+ clone(): unknown;
209
219
  endInvoke(result: IAsyncResult): Transaction;
210
220
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
211
221
  invoke(): Transaction;
@@ -213,8 +223,8 @@ export class HostCurrentTransactionCallback$instance extends Function {
213
223
 
214
224
 
215
225
  export interface __HostCurrentTransactionCallback$views {
216
- readonly As_ICloneable: System_Internal.ICloneable$instance;
217
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
226
+ As_ICloneable(): System_Internal.ICloneable$instance;
227
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
218
228
  }
219
229
 
220
230
  export type HostCurrentTransactionCallback = HostCurrentTransactionCallback$instance & __HostCurrentTransactionCallback$views;
@@ -249,10 +259,12 @@ export class SubordinateTransaction$instance extends Transaction$instance {
249
259
 
250
260
 
251
261
  export interface __SubordinateTransaction$views {
252
- readonly As_IDisposable: System_Internal.IDisposable$instance;
253
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
262
+ As_IDisposable(): System_Internal.IDisposable$instance;
263
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
254
264
  }
255
265
 
266
+ export interface SubordinateTransaction$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
267
+
256
268
  export type SubordinateTransaction = SubordinateTransaction$instance & __SubordinateTransaction$views;
257
269
 
258
270
 
@@ -269,22 +281,24 @@ export class Transaction$instance {
269
281
  enlistPromotableSinglePhase(promotableSinglePhaseNotification: IPromotableSinglePhaseNotification, promoterType: Guid): boolean;
270
282
  enlistVolatile(enlistmentNotification: IEnlistmentNotification, enlistmentOptions: EnlistmentOptions): Enlistment;
271
283
  enlistVolatile(singlePhaseNotification: ISinglePhaseNotification, enlistmentOptions: EnlistmentOptions): Enlistment;
272
- equals(obj: any): boolean;
284
+ equals(obj: unknown): boolean;
273
285
  getHashCode(): int;
274
286
  getPromotedToken(): byte[];
275
287
  promoteAndEnlistDurable(resourceManagerIdentifier: Guid, promotableNotification: IPromotableSinglePhaseNotification, enlistmentNotification: ISinglePhaseNotification, enlistmentOptions: EnlistmentOptions): Enlistment;
276
288
  rollback(): void;
277
289
  rollback(e: Exception): void;
278
290
  setDistributedTransactionIdentifier(promotableNotification: IPromotableSinglePhaseNotification, distributedTransactionIdentifier: Guid): void;
279
- static Current: Transaction;
291
+ static current: Transaction;
280
292
  }
281
293
 
282
294
 
283
295
  export interface __Transaction$views {
284
- readonly As_IDisposable: System_Internal.IDisposable$instance;
285
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
296
+ As_IDisposable(): System_Internal.IDisposable$instance;
297
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
286
298
  }
287
299
 
300
+ export interface Transaction$instance extends System_Internal.IDisposable$instance, System_Runtime_Serialization_Internal.ISerializable$instance {}
301
+
288
302
  export type Transaction = Transaction$instance & __Transaction$views;
289
303
 
290
304
 
@@ -297,25 +311,25 @@ export class TransactionAbortedException$instance extends TransactionException$i
297
311
 
298
312
 
299
313
  export interface __TransactionAbortedException$views {
300
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
314
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
301
315
  }
302
316
 
303
317
  export type TransactionAbortedException = TransactionAbortedException$instance & __TransactionAbortedException$views;
304
318
 
305
319
 
306
320
  export class TransactionCompletedEventHandler$instance extends Function {
307
- constructor(object_: any, method: nint);
308
- beginInvoke(sender: any, e: TransactionEventArgs, callback: AsyncCallback, object_: any): IAsyncResult;
309
- clone(): any;
321
+ constructor(object_: unknown, method: nint);
322
+ beginInvoke(sender: unknown, e: TransactionEventArgs, callback: AsyncCallback, object_: unknown): IAsyncResult;
323
+ clone(): unknown;
310
324
  endInvoke(result: IAsyncResult): void;
311
325
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
312
- invoke(sender: any, e: TransactionEventArgs): void;
326
+ invoke(sender: unknown, e: TransactionEventArgs): void;
313
327
  }
314
328
 
315
329
 
316
330
  export interface __TransactionCompletedEventHandler$views {
317
- readonly As_ICloneable: System_Internal.ICloneable$instance;
318
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
331
+ As_ICloneable(): System_Internal.ICloneable$instance;
332
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
319
333
  }
320
334
 
321
335
  export type TransactionCompletedEventHandler = TransactionCompletedEventHandler$instance & __TransactionCompletedEventHandler$views;
@@ -338,7 +352,7 @@ export class TransactionException$instance extends System_Internal.SystemExcepti
338
352
 
339
353
 
340
354
  export interface __TransactionException$views {
341
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
355
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
342
356
  }
343
357
 
344
358
  export type TransactionException = TransactionException$instance & __TransactionException$views;
@@ -353,7 +367,7 @@ export class TransactionInDoubtException$instance extends TransactionException$i
353
367
 
354
368
 
355
369
  export interface __TransactionInDoubtException$views {
356
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
370
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
357
371
  }
358
372
 
359
373
  export type TransactionInDoubtException = TransactionInDoubtException$instance & __TransactionInDoubtException$views;
@@ -378,7 +392,7 @@ export class TransactionManagerCommunicationException$instance extends Transacti
378
392
 
379
393
 
380
394
  export interface __TransactionManagerCommunicationException$views {
381
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
395
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
382
396
  }
383
397
 
384
398
  export type TransactionManagerCommunicationException = TransactionManagerCommunicationException$instance & __TransactionManagerCommunicationException$views;
@@ -393,7 +407,7 @@ export class TransactionPromotionException$instance extends TransactionException
393
407
 
394
408
 
395
409
  export interface __TransactionPromotionException$views {
396
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
410
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
397
411
  }
398
412
 
399
413
  export type TransactionPromotionException = TransactionPromotionException$instance & __TransactionPromotionException$views;
@@ -420,25 +434,27 @@ export class TransactionScope$instance {
420
434
 
421
435
 
422
436
  export interface __TransactionScope$views {
423
- readonly As_IDisposable: System_Internal.IDisposable$instance;
437
+ As_IDisposable(): System_Internal.IDisposable$instance;
424
438
  }
425
439
 
440
+ export interface TransactionScope$instance extends System_Internal.IDisposable$instance {}
441
+
426
442
  export type TransactionScope = TransactionScope$instance & __TransactionScope$views;
427
443
 
428
444
 
429
445
  export class TransactionStartedEventHandler$instance extends Function {
430
- constructor(object_: any, method: nint);
431
- beginInvoke(sender: any, e: TransactionEventArgs, callback: AsyncCallback, object_: any): IAsyncResult;
432
- clone(): any;
446
+ constructor(object_: unknown, method: nint);
447
+ beginInvoke(sender: unknown, e: TransactionEventArgs, callback: AsyncCallback, object_: unknown): IAsyncResult;
448
+ clone(): unknown;
433
449
  endInvoke(result: IAsyncResult): void;
434
450
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
435
- invoke(sender: any, e: TransactionEventArgs): void;
451
+ invoke(sender: unknown, e: TransactionEventArgs): void;
436
452
  }
437
453
 
438
454
 
439
455
  export interface __TransactionStartedEventHandler$views {
440
- readonly As_ICloneable: System_Internal.ICloneable$instance;
441
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
456
+ As_ICloneable(): System_Internal.ICloneable$instance;
457
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
442
458
  }
443
459
 
444
460
  export type TransactionStartedEventHandler = TransactionStartedEventHandler$instance & __TransactionStartedEventHandler$views;
@@ -446,25 +462,25 @@ export type TransactionStartedEventHandler = TransactionStartedEventHandler$inst
446
462
 
447
463
  export abstract class TransactionInterop$instance {
448
464
  static readonly promoterTypeDtc: Guid;
449
- static GetDtcTransaction(transaction: Transaction): IDtcTransaction;
450
- static GetExportCookie(transaction: Transaction, whereabouts: byte[]): byte[];
451
- static GetTransactionFromDtcTransaction(transactionNative: IDtcTransaction): Transaction;
452
- static GetTransactionFromExportCookie(cookie: byte[]): Transaction;
453
- static GetTransactionFromTransmitterPropagationToken(propagationToken: byte[]): Transaction;
454
- static GetTransmitterPropagationToken(transaction: Transaction): byte[];
455
- static GetWhereabouts(): byte[];
465
+ static getDtcTransaction(transaction: Transaction): IDtcTransaction;
466
+ static getExportCookie(transaction: Transaction, whereabouts: byte[]): byte[];
467
+ static getTransactionFromDtcTransaction(transactionNative: IDtcTransaction): Transaction;
468
+ static getTransactionFromExportCookie(cookie: byte[]): Transaction;
469
+ static getTransactionFromTransmitterPropagationToken(propagationToken: byte[]): Transaction;
470
+ static getTransmitterPropagationToken(transaction: Transaction): byte[];
471
+ static getWhereabouts(): byte[];
456
472
  }
457
473
 
458
474
 
459
475
  export type TransactionInterop = TransactionInterop$instance;
460
476
 
461
477
  export abstract class TransactionManager$instance {
462
- static HostCurrentCallback: HostCurrentTransactionCallback;
463
- static DefaultTimeout: TimeSpan;
464
- static MaximumTimeout: TimeSpan;
465
- static ImplicitDistributedTransactions: boolean;
466
- static RecoveryComplete(resourceManagerIdentifier: Guid): void;
467
- static Reenlist(resourceManagerIdentifier: Guid, recoveryInformation: byte[], enlistmentNotification: IEnlistmentNotification): Enlistment;
478
+ static hostCurrentCallback: HostCurrentTransactionCallback;
479
+ static defaultTimeout: TimeSpan;
480
+ static maximumTimeout: TimeSpan;
481
+ static implicitDistributedTransactions: boolean;
482
+ static recoveryComplete(resourceManagerIdentifier: Guid): void;
483
+ static reenlist(resourceManagerIdentifier: Guid, recoveryInformation: byte[], enlistmentNotification: IEnlistmentNotification): Enlistment;
468
484
  }
469
485
 
470
486
 
@@ -38,7 +38,7 @@ export type CLROf<T> =
38
38
  T; // Identity fallback for non-primitive types
39
39
 
40
40
  export interface IHtmlString$instance {
41
- ToHtmlString(): string;
41
+ toHtmlString(): string;
42
42
  }
43
43
 
44
44
 
@@ -46,36 +46,36 @@ export type IHtmlString = IHtmlString$instance;
46
46
 
47
47
  export class HttpUtility$instance {
48
48
  constructor();
49
- static HtmlAttributeEncode(s: string, output: TextWriter): void;
50
- static HtmlAttributeEncode(s: string): string;
51
- static HtmlDecode(s: string, output: TextWriter): void;
52
- static HtmlDecode(s: string): string;
53
- static HtmlEncode(value: any): string;
54
- static HtmlEncode(s: string, output: TextWriter): void;
55
- static HtmlEncode(s: string): string;
56
- static JavaScriptStringEncode(value: string, addDoubleQuotes: boolean): string;
57
- static JavaScriptStringEncode(value: string): string;
58
- static ParseQueryString(query: string, encoding: Encoding): NameValueCollection;
59
- static ParseQueryString(query: string): NameValueCollection;
60
- static UrlDecode(bytes: byte[], offset: int, count: int, e: Encoding): string;
61
- static UrlDecode(bytes: byte[], e: Encoding): string;
62
- static UrlDecode(str: string, e: Encoding): string;
63
- static UrlDecode(str: string): string;
64
- static UrlDecodeToBytes(bytes: byte[], offset: int, count: int): byte[];
65
- static UrlDecodeToBytes(bytes: byte[]): byte[];
66
- static UrlDecodeToBytes(str: string, e: Encoding): byte[];
67
- static UrlDecodeToBytes(str: string): byte[];
68
- static UrlEncode(bytes: byte[], offset: int, count: int): string;
69
- static UrlEncode(bytes: byte[]): string;
70
- static UrlEncode(str: string, e: Encoding): string;
71
- static UrlEncode(str: string): string;
72
- static UrlEncodeToBytes(bytes: byte[], offset: int, count: int): byte[];
73
- static UrlEncodeToBytes(bytes: byte[]): byte[];
74
- static UrlEncodeToBytes(str: string, e: Encoding): byte[];
75
- static UrlEncodeToBytes(str: string): byte[];
76
- static UrlEncodeUnicode(str: string): string;
77
- static UrlEncodeUnicodeToBytes(str: string): byte[];
78
- static UrlPathEncode(str: string): string;
49
+ static htmlAttributeEncode2(s: string, output: TextWriter): void;
50
+ static htmlAttributeEncode2(s: string): string;
51
+ static htmlDecode2(s: string, output: TextWriter): void;
52
+ static htmlDecode2(s: string): string;
53
+ static htmlEncode2(value: unknown): string;
54
+ static htmlEncode2(s: string, output: TextWriter): void;
55
+ static htmlEncode2(s: string): string;
56
+ static javaScriptStringEncode2(value: string, addDoubleQuotes: boolean): string;
57
+ static javaScriptStringEncode2(value: string): string;
58
+ static parseQueryString2(query: string, encoding: Encoding): NameValueCollection;
59
+ static parseQueryString2(query: string): NameValueCollection;
60
+ static urlDecode4(bytes: byte[], offset: int, count: int, e: Encoding): string;
61
+ static urlDecode4(bytes: byte[], e: Encoding): string;
62
+ static urlDecode4(str: string, e: Encoding): string;
63
+ static urlDecode4(str: string): string;
64
+ static urlDecodeToBytes4(bytes: byte[], offset: int, count: int): byte[];
65
+ static urlDecodeToBytes4(bytes: byte[]): byte[];
66
+ static urlDecodeToBytes4(str: string, e: Encoding): byte[];
67
+ static urlDecodeToBytes4(str: string): byte[];
68
+ static urlEncode4(bytes: byte[], offset: int, count: int): string;
69
+ static urlEncode4(bytes: byte[]): string;
70
+ static urlEncode4(str: string, e: Encoding): string;
71
+ static urlEncode4(str: string): string;
72
+ static urlEncodeToBytes4(bytes: byte[], offset: int, count: int): byte[];
73
+ static urlEncodeToBytes4(bytes: byte[]): byte[];
74
+ static urlEncodeToBytes4(str: string, e: Encoding): byte[];
75
+ static urlEncodeToBytes4(str: string): byte[];
76
+ static urlEncodeUnicode(str: string): string;
77
+ static urlEncodeUnicodeToBytes(str: string): byte[];
78
+ static urlPathEncode(str: string): string;
79
79
  }
80
80
 
81
81
 
@@ -35,8 +35,8 @@ export type CLROf<T> =
35
35
  T; // Identity fallback for non-primitive types
36
36
 
37
37
  export interface ICommand$instance {
38
- CanExecute(parameter: any): boolean;
39
- Execute(parameter: any): void;
38
+ canExecute(parameter: unknown): boolean;
39
+ execute(parameter: unknown): void;
40
40
  }
41
41
 
42
42