@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
@@ -64,17 +64,17 @@ export enum XmlMappingAccess {
64
64
 
65
65
 
66
66
  export interface IXmlSerializable$instance {
67
- GetSchema(): XmlSchema;
68
- ReadXml(reader: XmlReader): void;
69
- WriteXml(writer: XmlWriter): void;
67
+ getSchema(): XmlSchema;
68
+ readXml(reader: XmlReader): void;
69
+ writeXml(writer: XmlWriter): void;
70
70
  }
71
71
 
72
72
 
73
73
  export type IXmlSerializable = IXmlSerializable$instance;
74
74
 
75
75
  export interface IXmlTextParser$instance {
76
- Normalized: boolean;
77
- WhitespaceHandling: WhitespaceHandling;
76
+ normalized: boolean;
77
+ whitespaceHandling: WhitespaceHandling;
78
78
  }
79
79
 
80
80
 
@@ -92,9 +92,9 @@ export type XmlDeserializationEvents = XmlDeserializationEvents$instance;
92
92
 
93
93
  export class CodeIdentifier$instance {
94
94
  constructor();
95
- static MakeCamel(identifier: string): string;
96
- static MakePascal(identifier: string): string;
97
- static MakeValid(identifier: string): string;
95
+ static makeCamel(identifier: string): string;
96
+ static makePascal(identifier: string): string;
97
+ static makeValid(identifier: string): string;
98
98
  }
99
99
 
100
100
 
@@ -104,16 +104,16 @@ export class CodeIdentifiers$instance {
104
104
  constructor();
105
105
  constructor(caseSensitive: boolean);
106
106
  useCamelCasing: boolean;
107
- add(identifier: string, value: any): void;
107
+ add(identifier: string, value: unknown): void;
108
108
  addReserved(identifier: string): void;
109
- addUnique(identifier: string, value: any): string;
109
+ addUnique(identifier: string, value: unknown): string;
110
110
  clear(): void;
111
111
  isInUse(identifier: string): boolean;
112
112
  makeRightCase(identifier: string): string;
113
113
  makeUnique(identifier: string): string;
114
114
  remove(identifier: string): void;
115
115
  removeReserved(identifier: string): void;
116
- toArray(type_: Type): any;
116
+ toArray(type_: Type): unknown;
117
117
  }
118
118
 
119
119
 
@@ -161,7 +161,7 @@ export class SoapAttributes$instance {
161
161
  constructor();
162
162
  constructor(provider: ICustomAttributeProvider);
163
163
  soapAttribute: SoapAttributeAttribute;
164
- soapDefaultValue: any;
164
+ soapDefaultValue: unknown;
165
165
  soapElement: SoapElementAttribute;
166
166
  soapEnum: SoapEnumAttribute;
167
167
  soapIgnore: boolean;
@@ -246,27 +246,27 @@ export class SoapTypeAttribute$instance extends System_Internal.Attribute$instan
246
246
  export type SoapTypeAttribute = SoapTypeAttribute$instance;
247
247
 
248
248
  export class UnreferencedObjectEventArgs$instance extends System_Internal.EventArgs$instance {
249
- constructor(o: any, id: string);
249
+ constructor(o: unknown, id: string);
250
250
  readonly unreferencedId: string;
251
- readonly unreferencedObject: any;
251
+ readonly unreferencedObject: unknown;
252
252
  }
253
253
 
254
254
 
255
255
  export type UnreferencedObjectEventArgs = UnreferencedObjectEventArgs$instance;
256
256
 
257
257
  export class UnreferencedObjectEventHandler$instance extends Function {
258
- constructor(object_: any, method: nint);
259
- beginInvoke(sender: any, e: UnreferencedObjectEventArgs, callback: AsyncCallback, object_: any): IAsyncResult;
260
- clone(): any;
258
+ constructor(object_: unknown, method: nint);
259
+ beginInvoke(sender: unknown, e: UnreferencedObjectEventArgs, callback: AsyncCallback, object_: unknown): IAsyncResult;
260
+ clone(): unknown;
261
261
  endInvoke(result: IAsyncResult): void;
262
262
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
263
- invoke(sender: any, e: UnreferencedObjectEventArgs): void;
263
+ invoke(sender: unknown, e: UnreferencedObjectEventArgs): void;
264
264
  }
265
265
 
266
266
 
267
267
  export interface __UnreferencedObjectEventHandler$views {
268
- readonly As_ICloneable: System_Internal.ICloneable$instance;
269
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
268
+ As_ICloneable(): System_Internal.ICloneable$instance;
269
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
270
270
  }
271
271
 
272
272
  export type UnreferencedObjectEventHandler = UnreferencedObjectEventHandler$instance & __UnreferencedObjectEventHandler$views;
@@ -294,22 +294,22 @@ export type XmlAnyElementAttribute = XmlAnyElementAttribute$instance;
294
294
  export class XmlAnyElementAttributes$instance extends System_Collections_Internal.CollectionBase$instance {
295
295
  constructor();
296
296
  item: XmlAnyElementAttribute;
297
- add(value: any): int;
297
+ add(value: unknown): int;
298
298
  clear(): void;
299
- contains(value: any): boolean;
299
+ contains(value: unknown): boolean;
300
300
  copyTo(array: ClrArray, index: int): void;
301
301
  getEnumerator(): IEnumerator;
302
302
  indexOf(attribute: XmlAnyElementAttribute): int;
303
- insert(index: int, value: any): void;
304
- remove(value: any): void;
303
+ insert(index: int, value: unknown): void;
304
+ remove(value: unknown): void;
305
305
  removeAt(index: int): void;
306
306
  }
307
307
 
308
308
 
309
309
  export interface __XmlAnyElementAttributes$views {
310
- readonly As_ICollection: System_Collections_Internal.ICollection$instance;
311
- readonly As_IEnumerable: System_Collections_Internal.IEnumerable$instance;
312
- readonly As_IList: System_Collections_Internal.IList$instance;
310
+ As_ICollection(): System_Collections_Internal.ICollection$instance;
311
+ As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
312
+ As_IList(): System_Collections_Internal.IList$instance;
313
313
  }
314
314
 
315
315
  export type XmlAnyElementAttributes = XmlAnyElementAttributes$instance & __XmlAnyElementAttributes$views;
@@ -348,22 +348,22 @@ export type XmlArrayItemAttribute = XmlArrayItemAttribute$instance;
348
348
  export class XmlArrayItemAttributes$instance extends System_Collections_Internal.CollectionBase$instance {
349
349
  constructor();
350
350
  item: XmlArrayItemAttribute;
351
- add(value: any): int;
351
+ add(value: unknown): int;
352
352
  clear(): void;
353
- contains(value: any): boolean;
353
+ contains(value: unknown): boolean;
354
354
  copyTo(array: ClrArray, index: int): void;
355
355
  getEnumerator(): IEnumerator;
356
356
  indexOf(attribute: XmlArrayItemAttribute): int;
357
- insert(index: int, value: any): void;
358
- remove(value: any): void;
357
+ insert(index: int, value: unknown): void;
358
+ remove(value: unknown): void;
359
359
  removeAt(index: int): void;
360
360
  }
361
361
 
362
362
 
363
363
  export interface __XmlArrayItemAttributes$views {
364
- readonly As_ICollection: System_Collections_Internal.ICollection$instance;
365
- readonly As_IEnumerable: System_Collections_Internal.IEnumerable$instance;
366
- readonly As_IList: System_Collections_Internal.IList$instance;
364
+ As_ICollection(): System_Collections_Internal.ICollection$instance;
365
+ As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
366
+ As_IList(): System_Collections_Internal.IList$instance;
367
367
  }
368
368
 
369
369
  export type XmlArrayItemAttributes = XmlArrayItemAttributes$instance & __XmlArrayItemAttributes$views;
@@ -389,25 +389,25 @@ export class XmlAttributeEventArgs$instance extends System_Internal.EventArgs$in
389
389
  readonly expectedAttributes: string;
390
390
  readonly lineNumber: int;
391
391
  readonly linePosition: int;
392
- readonly objectBeingDeserialized: any;
392
+ readonly objectBeingDeserialized: unknown;
393
393
  }
394
394
 
395
395
 
396
396
  export type XmlAttributeEventArgs = XmlAttributeEventArgs$instance;
397
397
 
398
398
  export class XmlAttributeEventHandler$instance extends Function {
399
- constructor(object_: any, method: nint);
400
- beginInvoke(sender: any, e: XmlAttributeEventArgs, callback: AsyncCallback, object_: any): IAsyncResult;
401
- clone(): any;
399
+ constructor(object_: unknown, method: nint);
400
+ beginInvoke(sender: unknown, e: XmlAttributeEventArgs, callback: AsyncCallback, object_: unknown): IAsyncResult;
401
+ clone(): unknown;
402
402
  endInvoke(result: IAsyncResult): void;
403
403
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
404
- invoke(sender: any, e: XmlAttributeEventArgs): void;
404
+ invoke(sender: unknown, e: XmlAttributeEventArgs): void;
405
405
  }
406
406
 
407
407
 
408
408
  export interface __XmlAttributeEventHandler$views {
409
- readonly As_ICloneable: System_Internal.ICloneable$instance;
410
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
409
+ As_ICloneable(): System_Internal.ICloneable$instance;
410
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
411
411
  }
412
412
 
413
413
  export type XmlAttributeEventHandler = XmlAttributeEventHandler$instance & __XmlAttributeEventHandler$views;
@@ -433,7 +433,7 @@ export class XmlAttributes$instance {
433
433
  readonly xmlArrayItems: XmlArrayItemAttributes;
434
434
  xmlAttribute: XmlAttributeAttribute;
435
435
  readonly xmlChoiceIdentifier: XmlChoiceIdentifierAttribute;
436
- xmlDefaultValue: any;
436
+ xmlDefaultValue: unknown;
437
437
  readonly xmlElements: XmlElementAttributes;
438
438
  xmlEnum: XmlEnumAttribute;
439
439
  xmlIgnore: boolean;
@@ -475,22 +475,22 @@ export type XmlElementAttribute = XmlElementAttribute$instance;
475
475
  export class XmlElementAttributes$instance extends System_Collections_Internal.CollectionBase$instance {
476
476
  constructor();
477
477
  item: XmlElementAttribute;
478
- add(value: any): int;
478
+ add(value: unknown): int;
479
479
  clear(): void;
480
- contains(value: any): boolean;
480
+ contains(value: unknown): boolean;
481
481
  copyTo(array: ClrArray, index: int): void;
482
482
  getEnumerator(): IEnumerator;
483
483
  indexOf(attribute: XmlElementAttribute): int;
484
- insert(index: int, value: any): void;
485
- remove(value: any): void;
484
+ insert(index: int, value: unknown): void;
485
+ remove(value: unknown): void;
486
486
  removeAt(index: int): void;
487
487
  }
488
488
 
489
489
 
490
490
  export interface __XmlElementAttributes$views {
491
- readonly As_ICollection: System_Collections_Internal.ICollection$instance;
492
- readonly As_IEnumerable: System_Collections_Internal.IEnumerable$instance;
493
- readonly As_IList: System_Collections_Internal.IList$instance;
491
+ As_ICollection(): System_Collections_Internal.ICollection$instance;
492
+ As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
493
+ As_IList(): System_Collections_Internal.IList$instance;
494
494
  }
495
495
 
496
496
  export type XmlElementAttributes = XmlElementAttributes$instance & __XmlElementAttributes$views;
@@ -501,25 +501,25 @@ export class XmlElementEventArgs$instance extends System_Internal.EventArgs$inst
501
501
  readonly expectedElements: string;
502
502
  readonly lineNumber: int;
503
503
  readonly linePosition: int;
504
- readonly objectBeingDeserialized: any;
504
+ readonly objectBeingDeserialized: unknown;
505
505
  }
506
506
 
507
507
 
508
508
  export type XmlElementEventArgs = XmlElementEventArgs$instance;
509
509
 
510
510
  export class XmlElementEventHandler$instance extends Function {
511
- constructor(object_: any, method: nint);
512
- beginInvoke(sender: any, e: XmlElementEventArgs, callback: AsyncCallback, object_: any): IAsyncResult;
513
- clone(): any;
511
+ constructor(object_: unknown, method: nint);
512
+ beginInvoke(sender: unknown, e: XmlElementEventArgs, callback: AsyncCallback, object_: unknown): IAsyncResult;
513
+ clone(): unknown;
514
514
  endInvoke(result: IAsyncResult): void;
515
515
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
516
- invoke(sender: any, e: XmlElementEventArgs): void;
516
+ invoke(sender: unknown, e: XmlElementEventArgs): void;
517
517
  }
518
518
 
519
519
 
520
520
  export interface __XmlElementEventHandler$views {
521
- readonly As_ICloneable: System_Internal.ICloneable$instance;
522
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
521
+ As_ICloneable(): System_Internal.ICloneable$instance;
522
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
523
523
  }
524
524
 
525
525
  export type XmlElementEventHandler = XmlElementEventHandler$instance & __XmlElementEventHandler$views;
@@ -598,7 +598,7 @@ export class XmlNodeEventArgs$instance extends System_Internal.EventArgs$instanc
598
598
  readonly name: string;
599
599
  readonly namespaceURI: string;
600
600
  readonly nodeType: XmlNodeType;
601
- readonly objectBeingDeserialized: any;
601
+ readonly objectBeingDeserialized: unknown;
602
602
  readonly text: string;
603
603
  }
604
604
 
@@ -606,18 +606,18 @@ export class XmlNodeEventArgs$instance extends System_Internal.EventArgs$instanc
606
606
  export type XmlNodeEventArgs = XmlNodeEventArgs$instance;
607
607
 
608
608
  export class XmlNodeEventHandler$instance extends Function {
609
- constructor(object_: any, method: nint);
610
- beginInvoke(sender: any, e: XmlNodeEventArgs, callback: AsyncCallback, object_: any): IAsyncResult;
611
- clone(): any;
609
+ constructor(object_: unknown, method: nint);
610
+ beginInvoke(sender: unknown, e: XmlNodeEventArgs, callback: AsyncCallback, object_: unknown): IAsyncResult;
611
+ clone(): unknown;
612
612
  endInvoke(result: IAsyncResult): void;
613
613
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
614
- invoke(sender: any, e: XmlNodeEventArgs): void;
614
+ invoke(sender: unknown, e: XmlNodeEventArgs): void;
615
615
  }
616
616
 
617
617
 
618
618
  export interface __XmlNodeEventHandler$views {
619
- readonly As_ICloneable: System_Internal.ICloneable$instance;
620
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
619
+ As_ICloneable(): System_Internal.ICloneable$instance;
620
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
621
621
  }
622
622
 
623
623
  export type XmlNodeEventHandler = XmlNodeEventHandler$instance & __XmlNodeEventHandler$views;
@@ -668,7 +668,7 @@ export class XmlRootAttribute$instance extends System_Internal.Attribute$instanc
668
668
 
669
669
  export type XmlRootAttribute = XmlRootAttribute$instance;
670
670
 
671
- export class XmlSchemaEnumerator$instance {
671
+ export class XmlSchemaEnumerator$instance implements System_Internal.IDisposable$instance {
672
672
  constructor(list: XmlSchemas);
673
673
  readonly current: XmlSchema;
674
674
  dispose(): void;
@@ -677,8 +677,8 @@ export class XmlSchemaEnumerator$instance {
677
677
 
678
678
 
679
679
  export interface __XmlSchemaEnumerator$views {
680
- readonly As_IEnumerator_1: System_Collections_Generic_Internal.IEnumerator_1$instance<XmlSchema>;
681
- readonly As_IEnumerator: System_Collections_Internal.IEnumerator$instance;
680
+ As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<XmlSchema>;
681
+ As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
682
682
  }
683
683
 
684
684
  export type XmlSchemaEnumerator = XmlSchemaEnumerator$instance & __XmlSchemaEnumerator$views;
@@ -728,67 +728,67 @@ export type XmlSchemaProviderAttribute = XmlSchemaProviderAttribute$instance;
728
728
  export class XmlSchemas$instance extends System_Collections_Internal.CollectionBase$instance {
729
729
  constructor();
730
730
  readonly isCompiled: boolean;
731
- add(value: any): int;
731
+ add(value: unknown): int;
732
732
  addReference(schema: XmlSchema): void;
733
733
  clear(): void;
734
734
  compile(handler: ValidationEventHandler, fullCompile: boolean): void;
735
- contains(value: any): boolean;
735
+ contains(value: unknown): boolean;
736
736
  copyTo(array: ClrArray, index: int): void;
737
- find(name: XmlQualifiedName, type_: Type): any;
737
+ find(name: XmlQualifiedName, type_: Type): unknown;
738
738
  get_Item(index: int): XmlSchema;
739
739
  get_Item(ns: string): XmlSchema;
740
740
  getEnumerator(): IEnumerator;
741
741
  getSchemas(ns: string): IList;
742
742
  indexOf(schema: XmlSchema): int;
743
- insert(index: int, value: any): void;
744
- remove(value: any): void;
743
+ insert(index: int, value: unknown): void;
744
+ remove(value: unknown): void;
745
745
  removeAt(index: int): void;
746
746
  set_Item(index: int, value: XmlSchema): void;
747
- static IsDataSet(schema: XmlSchema): boolean;
747
+ static isDataSet(schema: XmlSchema): boolean;
748
748
  }
749
749
 
750
750
 
751
751
  export interface __XmlSchemas$views {
752
- readonly As_IEnumerable_1_of_Char: System_Collections_Generic_Internal.IEnumerable_1$instance<XmlSchema>;
753
- readonly As_ICollection: System_Collections_Internal.ICollection$instance;
754
- readonly As_IEnumerable: System_Collections_Internal.IEnumerable$instance;
755
- readonly As_IList: System_Collections_Internal.IList$instance;
752
+ As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<XmlSchema>;
753
+ As_ICollection(): System_Collections_Internal.ICollection$instance;
754
+ As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
755
+ As_IList(): System_Collections_Internal.IList$instance;
756
756
  }
757
757
 
758
758
  export type XmlSchemas = XmlSchemas$instance & __XmlSchemas$views;
759
759
 
760
760
 
761
761
  export class XmlSerializationCollectionFixupCallback$instance extends Function {
762
- constructor(object_: any, method: nint);
763
- beginInvoke(collection: any, collectionItems: any, callback: AsyncCallback, object_: any): IAsyncResult;
764
- clone(): any;
762
+ constructor(object_: unknown, method: nint);
763
+ beginInvoke(collection: unknown, collectionItems: unknown, callback: AsyncCallback, object_: unknown): IAsyncResult;
764
+ clone(): unknown;
765
765
  endInvoke(result: IAsyncResult): void;
766
766
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
767
- invoke(collection: any, collectionItems: any): void;
767
+ invoke(collection: unknown, collectionItems: unknown): void;
768
768
  }
769
769
 
770
770
 
771
771
  export interface __XmlSerializationCollectionFixupCallback$views {
772
- readonly As_ICloneable: System_Internal.ICloneable$instance;
773
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
772
+ As_ICloneable(): System_Internal.ICloneable$instance;
773
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
774
774
  }
775
775
 
776
776
  export type XmlSerializationCollectionFixupCallback = XmlSerializationCollectionFixupCallback$instance & __XmlSerializationCollectionFixupCallback$views;
777
777
 
778
778
 
779
779
  export class XmlSerializationFixupCallback$instance extends Function {
780
- constructor(object_: any, method: nint);
781
- beginInvoke(fixup: any, callback: AsyncCallback, object_: any): IAsyncResult;
782
- clone(): any;
780
+ constructor(object_: unknown, method: nint);
781
+ beginInvoke(fixup: unknown, callback: AsyncCallback, object_: unknown): IAsyncResult;
782
+ clone(): unknown;
783
783
  endInvoke(result: IAsyncResult): void;
784
784
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
785
- invoke(fixup: any): void;
785
+ invoke(fixup: unknown): void;
786
786
  }
787
787
 
788
788
 
789
789
  export interface __XmlSerializationFixupCallback$views {
790
- readonly As_ICloneable: System_Internal.ICloneable$instance;
791
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
790
+ As_ICloneable(): System_Internal.ICloneable$instance;
791
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
792
792
  }
793
793
 
794
794
  export type XmlSerializationFixupCallback = XmlSerializationFixupCallback$instance & __XmlSerializationFixupCallback$views;
@@ -801,18 +801,18 @@ export abstract class XmlSerializationGeneratedCode$instance {
801
801
  export type XmlSerializationGeneratedCode = XmlSerializationGeneratedCode$instance;
802
802
 
803
803
  export class XmlSerializationReadCallback$instance extends Function {
804
- constructor(object_: any, method: nint);
805
- beginInvoke(callback: AsyncCallback, object_: any): IAsyncResult;
806
- clone(): any;
807
- endInvoke(result: IAsyncResult): any;
804
+ constructor(object_: unknown, method: nint);
805
+ beginInvoke(callback: AsyncCallback, object_: unknown): IAsyncResult;
806
+ clone(): unknown;
807
+ endInvoke(result: IAsyncResult): unknown;
808
808
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
809
- invoke(): any;
809
+ invoke(): unknown;
810
810
  }
811
811
 
812
812
 
813
813
  export interface __XmlSerializationReadCallback$views {
814
- readonly As_ICloneable: System_Internal.ICloneable$instance;
815
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
814
+ As_ICloneable(): System_Internal.ICloneable$instance;
815
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
816
816
  }
817
817
 
818
818
  export type XmlSerializationReadCallback = XmlSerializationReadCallback$instance & __XmlSerializationReadCallback$views;
@@ -825,18 +825,18 @@ export abstract class XmlSerializationReader$instance extends XmlSerializationGe
825
825
  export type XmlSerializationReader = XmlSerializationReader$instance;
826
826
 
827
827
  export class XmlSerializationWriteCallback$instance extends Function {
828
- constructor(object_: any, method: nint);
829
- beginInvoke(o: any, callback: AsyncCallback, object_: any): IAsyncResult;
830
- clone(): any;
828
+ constructor(object_: unknown, method: nint);
829
+ beginInvoke(o: unknown, callback: AsyncCallback, object_: unknown): IAsyncResult;
830
+ clone(): unknown;
831
831
  endInvoke(result: IAsyncResult): void;
832
832
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
833
- invoke(o: any): void;
833
+ invoke(o: unknown): void;
834
834
  }
835
835
 
836
836
 
837
837
  export interface __XmlSerializationWriteCallback$views {
838
- readonly As_ICloneable: System_Internal.ICloneable$instance;
839
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
838
+ As_ICloneable(): System_Internal.ICloneable$instance;
839
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
840
840
  }
841
841
 
842
842
  export type XmlSerializationWriteCallback = XmlSerializationWriteCallback$instance & __XmlSerializationWriteCallback$views;
@@ -858,25 +858,25 @@ export class XmlSerializer$instance {
858
858
  constructor(type_: Type, defaultNamespace: string);
859
859
  constructor(type_: Type, overrides: XmlAttributeOverrides, extraTypes: Type[], root: XmlRootAttribute, defaultNamespace: string, location: string);
860
860
  canDeserialize(xmlReader: XmlReader): boolean;
861
- deserialize(stream: Stream): any;
862
- deserialize(textReader: TextReader): any;
863
- deserialize(xmlReader: XmlReader): any;
864
- deserialize(xmlReader: XmlReader, events: XmlDeserializationEvents): any;
865
- deserialize(xmlReader: XmlReader, encodingStyle: string): any;
866
- deserialize(xmlReader: XmlReader, encodingStyle: string, events: XmlDeserializationEvents): any;
867
- serialize(textWriter: TextWriter, o: any): void;
868
- serialize(textWriter: TextWriter, o: any, namespaces: XmlSerializerNamespaces): void;
869
- serialize(stream: Stream, o: any): void;
870
- serialize(stream: Stream, o: any, namespaces: XmlSerializerNamespaces): void;
871
- serialize(xmlWriter: XmlWriter, o: any): void;
872
- serialize(xmlWriter: XmlWriter, o: any, namespaces: XmlSerializerNamespaces): void;
873
- serialize(xmlWriter: XmlWriter, o: any, namespaces: XmlSerializerNamespaces, encodingStyle: string): void;
874
- serialize(xmlWriter: XmlWriter, o: any, namespaces: XmlSerializerNamespaces, encodingStyle: string, id: string): void;
875
- static FromMappings(mappings: XmlMapping[], type_: Type): XmlSerializer[];
876
- static FromMappings(mappings: XmlMapping[]): XmlSerializer[];
877
- static FromTypes(types: Type[]): XmlSerializer[];
878
- static GetXmlSerializerAssemblyName(type_: Type, defaultNamespace: string): string;
879
- static GetXmlSerializerAssemblyName(type_: Type): string;
861
+ deserialize(stream: Stream): unknown;
862
+ deserialize(textReader: TextReader): unknown;
863
+ deserialize(xmlReader: XmlReader): unknown;
864
+ deserialize(xmlReader: XmlReader, events: XmlDeserializationEvents): unknown;
865
+ deserialize(xmlReader: XmlReader, encodingStyle: string): unknown;
866
+ deserialize(xmlReader: XmlReader, encodingStyle: string, events: XmlDeserializationEvents): unknown;
867
+ serialize(textWriter: TextWriter, o: unknown): void;
868
+ serialize(textWriter: TextWriter, o: unknown, namespaces: XmlSerializerNamespaces): void;
869
+ serialize(stream: Stream, o: unknown): void;
870
+ serialize(stream: Stream, o: unknown, namespaces: XmlSerializerNamespaces): void;
871
+ serialize(xmlWriter: XmlWriter, o: unknown): void;
872
+ serialize(xmlWriter: XmlWriter, o: unknown, namespaces: XmlSerializerNamespaces): void;
873
+ serialize(xmlWriter: XmlWriter, o: unknown, namespaces: XmlSerializerNamespaces, encodingStyle: string): void;
874
+ serialize(xmlWriter: XmlWriter, o: unknown, namespaces: XmlSerializerNamespaces, encodingStyle: string, id: string): void;
875
+ static fromMappings2(mappings: XmlMapping[], type_: Type): XmlSerializer[];
876
+ static fromMappings2(mappings: XmlMapping[]): XmlSerializer[];
877
+ static fromTypes(types: Type[]): XmlSerializer[];
878
+ static getXmlSerializerAssemblyName2(type_: Type, defaultNamespace: string): string;
879
+ static getXmlSerializerAssemblyName2(type_: Type): string;
880
880
  }
881
881
 
882
882