@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
@@ -40,128 +40,132 @@ export type CLROf<T> =
40
40
  T extends string ? System_Internal.String :
41
41
  T; // Identity fallback for non-primitive types
42
42
 
43
- export interface ICollection$instance {
44
- readonly Count: int;
45
- readonly SyncRoot: any;
46
- readonly IsSynchronized: boolean;
47
- CopyTo(array: ClrArray, index: int): void;
48
- GetEnumerator(): IEnumerator;
43
+ export interface ICollection$instance extends IEnumerable {
44
+ readonly count: int;
45
+ readonly syncRoot: unknown;
46
+ readonly isSynchronized: boolean;
47
+ copyTo(array: ClrArray, index: int): void;
48
+ getEnumerator(): IEnumerator;
49
49
  }
50
50
 
51
51
 
52
+ export interface ICollection$instance extends IEnumerable$instance {}
53
+
52
54
  export type ICollection = ICollection$instance;
53
55
 
54
56
  export interface IComparer$instance {
55
- Compare(x: any, y: any): int;
57
+ compare(x: unknown, y: unknown): int;
56
58
  }
57
59
 
58
60
 
59
61
  export type IComparer = IComparer$instance;
60
62
 
61
- export interface IDictionary$instance {
62
- Item: any;
63
- readonly Keys: ICollection;
64
- readonly Values: ICollection;
65
- readonly IsReadOnly: boolean;
66
- readonly IsFixedSize: boolean;
67
- readonly Count: int;
68
- readonly SyncRoot: any;
69
- readonly IsSynchronized: boolean;
70
- Add(key: any, value: any): void;
71
- Clear(): void;
72
- Contains(key: any): boolean;
73
- CopyTo(array: ClrArray, index: int): void;
74
- GetEnumerator(): IDictionaryEnumerator;
75
- GetEnumerator(): IEnumerator;
76
- Remove(key: any): void;
63
+ export interface IDictionary$instance extends ICollection, IEnumerable {
64
+ item: unknown;
65
+ readonly keys: ICollection;
66
+ readonly values: ICollection;
67
+ readonly isReadOnly: boolean;
68
+ readonly isFixedSize: boolean;
69
+ readonly count: int;
70
+ readonly syncRoot: unknown;
71
+ readonly isSynchronized: boolean;
72
+ add(key: unknown, value: unknown): void;
73
+ clear(): void;
74
+ contains(key: unknown): boolean;
75
+ copyTo(array: ClrArray, index: int): void;
76
+ getEnumerator(): IDictionaryEnumerator;
77
+ getEnumerator(): IEnumerator;
78
+ remove(key: unknown): void;
77
79
  }
78
80
 
79
81
 
80
82
  export type IDictionary = IDictionary$instance;
81
83
 
82
- export interface IDictionaryEnumerator$instance {
83
- readonly Key: any;
84
- readonly Value: any;
85
- readonly Entry: DictionaryEntry;
86
- readonly Current: any;
87
- MoveNext(): boolean;
88
- Reset(): void;
84
+ export interface IDictionaryEnumerator$instance extends IEnumerator {
85
+ readonly key: unknown;
86
+ readonly value: unknown;
87
+ readonly entry: DictionaryEntry;
88
+ readonly current: unknown;
89
+ moveNext(): boolean;
90
+ reset(): void;
89
91
  }
90
92
 
91
93
 
94
+ export interface IDictionaryEnumerator$instance extends IEnumerator$instance {}
95
+
92
96
  export type IDictionaryEnumerator = IDictionaryEnumerator$instance;
93
97
 
94
98
  export interface IEnumerable$instance {
95
- GetEnumerator(): IEnumerator;
99
+ getEnumerator(): IEnumerator;
96
100
  }
97
101
 
98
102
 
99
103
  export type IEnumerable = IEnumerable$instance;
100
104
 
101
105
  export interface IEnumerator$instance {
102
- readonly Current: any;
103
- MoveNext(): boolean;
104
- Reset(): void;
106
+ readonly current: unknown;
107
+ moveNext(): boolean;
108
+ reset(): void;
105
109
  }
106
110
 
107
111
 
108
112
  export type IEnumerator = IEnumerator$instance;
109
113
 
110
114
  export interface IEqualityComparer$instance {
111
- Equals(x: any, y: any): boolean;
112
- GetHashCode(obj: any): int;
115
+ equals(x: unknown, y: unknown): boolean;
116
+ getHashCode(obj: unknown): int;
113
117
  }
114
118
 
115
119
 
116
120
  export type IEqualityComparer = IEqualityComparer$instance;
117
121
 
118
122
  export interface IHashCodeProvider$instance {
119
- GetHashCode(obj: any): int;
123
+ getHashCode(obj: unknown): int;
120
124
  }
121
125
 
122
126
 
123
127
  export type IHashCodeProvider = IHashCodeProvider$instance;
124
128
 
125
- export interface IList$instance {
126
- Item: any;
127
- readonly IsReadOnly: boolean;
128
- readonly IsFixedSize: boolean;
129
- readonly Count: int;
130
- readonly SyncRoot: any;
131
- readonly IsSynchronized: boolean;
132
- Add(value: any): int;
133
- Clear(): void;
134
- Contains(value: any): boolean;
135
- CopyTo(array: ClrArray, index: int): void;
136
- GetEnumerator(): IEnumerator;
137
- Insert(index: int, value: any): void;
138
- Remove(value: any): void;
139
- RemoveAt(index: int): void;
129
+ export interface IList$instance extends ICollection, IEnumerable {
130
+ item: unknown;
131
+ readonly isReadOnly: boolean;
132
+ readonly isFixedSize: boolean;
133
+ readonly count: int;
134
+ readonly syncRoot: unknown;
135
+ readonly isSynchronized: boolean;
136
+ add(value: unknown): int;
137
+ clear(): void;
138
+ contains(value: unknown): boolean;
139
+ copyTo(array: ClrArray, index: int): void;
140
+ getEnumerator(): IEnumerator;
141
+ insert(index: int, value: unknown): void;
142
+ remove(value: unknown): void;
143
+ removeAt(index: int): void;
140
144
  }
141
145
 
142
146
 
143
147
  export type IList = IList$instance;
144
148
 
145
149
  export interface IStructuralComparable$instance {
146
- CompareTo(other: any, comparer: IComparer): int;
150
+ compareTo(other: unknown, comparer: IComparer): int;
147
151
  }
148
152
 
149
153
 
150
154
  export type IStructuralComparable = IStructuralComparable$instance;
151
155
 
152
156
  export interface IStructuralEquatable$instance {
153
- Equals(other: any, comparer: IEqualityComparer): boolean;
154
- GetHashCode(comparer: IEqualityComparer): int;
157
+ equals(other: unknown, comparer: IEqualityComparer): boolean;
158
+ getHashCode(comparer: IEqualityComparer): int;
155
159
  }
156
160
 
157
161
 
158
162
  export type IStructuralEquatable = IStructuralEquatable$instance;
159
163
 
160
164
  export class DictionaryEntry$instance {
161
- constructor(key: any, value: any);
162
- key: any;
163
- value: any;
164
- deconstruct(key: { value: ref<any> }, value: { value: ref<any> }): void;
165
+ constructor(key: unknown, value: unknown);
166
+ key: unknown;
167
+ value: unknown;
168
+ deconstruct(key: { value: ref<unknown> }, value: { value: ref<unknown> }): void;
165
169
  toString(): string;
166
170
  }
167
171
 
@@ -177,31 +181,31 @@ export class ArrayList$instance {
177
181
  readonly isFixedSize: boolean;
178
182
  readonly isReadOnly: boolean;
179
183
  readonly isSynchronized: boolean;
180
- item: any;
181
- readonly syncRoot: any;
182
- add(value: any): int;
184
+ item: unknown;
185
+ readonly syncRoot: unknown;
186
+ add(value: unknown): int;
183
187
  addRange(c: ICollection): void;
184
- binarySearch(index: int, count: int, value: any, comparer: IComparer): int;
185
- binarySearch(value: any): int;
186
- binarySearch(value: any, comparer: IComparer): int;
188
+ binarySearch(index: int, count: int, value: unknown, comparer: IComparer): int;
189
+ binarySearch(value: unknown): int;
190
+ binarySearch(value: unknown, comparer: IComparer): int;
187
191
  clear(): void;
188
- clone(): any;
189
- contains(item: any): boolean;
192
+ clone(): unknown;
193
+ contains(item: unknown): boolean;
190
194
  copyTo(array: ClrArray): void;
191
195
  copyTo(array: ClrArray, arrayIndex: int): void;
192
196
  copyTo(index: int, array: ClrArray, arrayIndex: int, count: int): void;
193
197
  getEnumerator(): IEnumerator;
194
198
  getEnumerator(index: int, count: int): IEnumerator;
195
199
  getRange(index: int, count: int): ArrayList;
196
- indexOf(value: any): int;
197
- indexOf(value: any, startIndex: int): int;
198
- indexOf(value: any, startIndex: int, count: int): int;
199
- insert(index: int, value: any): void;
200
+ indexOf(value: unknown): int;
201
+ indexOf(value: unknown, startIndex: int): int;
202
+ indexOf(value: unknown, startIndex: int, count: int): int;
203
+ insert(index: int, value: unknown): void;
200
204
  insertRange(index: int, c: ICollection): void;
201
- lastIndexOf(value: any): int;
202
- lastIndexOf(value: any, startIndex: int): int;
203
- lastIndexOf(value: any, startIndex: int, count: int): int;
204
- remove(obj: any): void;
205
+ lastIndexOf(value: unknown): int;
206
+ lastIndexOf(value: unknown, startIndex: int): int;
207
+ lastIndexOf(value: unknown, startIndex: int, count: int): int;
208
+ remove(obj: unknown): void;
205
209
  removeAt(index: int): void;
206
210
  removeRange(index: int, count: int): void;
207
211
  reverse(): void;
@@ -210,27 +214,29 @@ export class ArrayList$instance {
210
214
  sort(): void;
211
215
  sort(comparer: IComparer): void;
212
216
  sort(index: int, count: int, comparer: IComparer): void;
213
- toArray(): any[];
217
+ toArray(): unknown[];
214
218
  toArray(type_: Type): ClrArray;
215
219
  trimToSize(): void;
216
- static Adapter(list: IList): ArrayList;
217
- static FixedSize(list: ArrayList): ArrayList;
218
- static FixedSize(list: IList): IList;
219
- static ReadOnly(list: ArrayList): ArrayList;
220
- static ReadOnly(list: IList): IList;
221
- static Repeat(value: any, count: int): ArrayList;
222
- static Synchronized(list: ArrayList): ArrayList;
223
- static Synchronized(list: IList): IList;
220
+ static adapter(list: IList): ArrayList;
221
+ static fixedSize2(list: ArrayList): ArrayList;
222
+ static fixedSize2(list: IList): IList;
223
+ static readOnly2(list: ArrayList): ArrayList;
224
+ static readOnly2(list: IList): IList;
225
+ static repeat(value: unknown, count: int): ArrayList;
226
+ static synchronized2(list: ArrayList): ArrayList;
227
+ static synchronized2(list: IList): IList;
224
228
  }
225
229
 
226
230
 
227
231
  export interface __ArrayList$views {
228
- readonly As_ICollection: ICollection$instance;
229
- readonly As_IEnumerable: IEnumerable$instance;
230
- readonly As_IList: IList$instance;
231
- readonly As_ICloneable: System_Internal.ICloneable$instance;
232
+ As_ICollection(): ICollection$instance;
233
+ As_IEnumerable(): IEnumerable$instance;
234
+ As_IList(): IList$instance;
235
+ As_ICloneable(): System_Internal.ICloneable$instance;
232
236
  }
233
237
 
238
+ export interface ArrayList$instance extends System_Internal.ICloneable$instance {}
239
+
234
240
  export type ArrayList = ArrayList$instance & __ArrayList$views;
235
241
 
236
242
 
@@ -246,9 +252,9 @@ export class BitArray$instance {
246
252
  readonly isSynchronized: boolean;
247
253
  item: boolean;
248
254
  length: int;
249
- readonly syncRoot: any;
255
+ readonly syncRoot: unknown;
250
256
  and(value: BitArray): BitArray;
251
- clone(): any;
257
+ clone(): unknown;
252
258
  copyTo(array: ClrArray, index: int): void;
253
259
  get_(index: int): boolean;
254
260
  getEnumerator(): IEnumerator;
@@ -265,42 +271,46 @@ export class BitArray$instance {
265
271
 
266
272
 
267
273
  export interface __BitArray$views {
268
- readonly As_ICollection: ICollection$instance;
269
- readonly As_IEnumerable: IEnumerable$instance;
270
- readonly As_ICloneable: System_Internal.ICloneable$instance;
271
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
274
+ As_ICollection(): ICollection$instance;
275
+ As_IEnumerable(): IEnumerable$instance;
276
+ As_ICloneable(): System_Internal.ICloneable$instance;
277
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
272
278
  }
273
279
 
280
+ export interface BitArray$instance extends System_Internal.ICloneable$instance, System_Runtime_Serialization_Internal.ISerializable$instance {}
281
+
274
282
  export type BitArray = BitArray$instance & __BitArray$views;
275
283
 
276
284
 
277
285
  export class CaseInsensitiveComparer$instance {
278
286
  constructor();
279
287
  constructor(culture: CultureInfo);
280
- compare(a: any, b: any): int;
281
- static readonly Default: CaseInsensitiveComparer;
282
- static readonly DefaultInvariant: CaseInsensitiveComparer;
288
+ compare(a: unknown, b: unknown): int;
289
+ static readonly default_: CaseInsensitiveComparer;
290
+ static readonly defaultInvariant: CaseInsensitiveComparer;
283
291
  }
284
292
 
285
293
 
286
294
  export interface __CaseInsensitiveComparer$views {
287
- readonly As_IComparer: IComparer$instance;
295
+ As_IComparer(): IComparer$instance;
288
296
  }
289
297
 
298
+ export interface CaseInsensitiveComparer$instance extends IComparer$instance {}
299
+
290
300
  export type CaseInsensitiveComparer = CaseInsensitiveComparer$instance & __CaseInsensitiveComparer$views;
291
301
 
292
302
 
293
303
  export class CaseInsensitiveHashCodeProvider$instance {
294
304
  constructor();
295
305
  constructor(culture: CultureInfo);
296
- getHashCode(obj: any): int;
297
- static readonly Default: CaseInsensitiveHashCodeProvider;
298
- static readonly DefaultInvariant: CaseInsensitiveHashCodeProvider;
306
+ getHashCode(obj: unknown): int;
307
+ static readonly default_: CaseInsensitiveHashCodeProvider;
308
+ static readonly defaultInvariant: CaseInsensitiveHashCodeProvider;
299
309
  }
300
310
 
301
311
 
302
312
  export interface __CaseInsensitiveHashCodeProvider$views {
303
- readonly As_IHashCodeProvider: IHashCodeProvider$instance;
313
+ As_IHashCodeProvider(): IHashCodeProvider$instance;
304
314
  }
305
315
 
306
316
  export type CaseInsensitiveHashCodeProvider = CaseInsensitiveHashCodeProvider$instance & __CaseInsensitiveHashCodeProvider$views;
@@ -316,9 +326,9 @@ export abstract class CollectionBase$instance {
316
326
 
317
327
 
318
328
  export interface __CollectionBase$views {
319
- readonly As_ICollection: ICollection$instance;
320
- readonly As_IEnumerable: IEnumerable$instance;
321
- readonly As_IList: IList$instance;
329
+ As_ICollection(): ICollection$instance;
330
+ As_IEnumerable(): IEnumerable$instance;
331
+ As_IList(): IList$instance;
322
332
  }
323
333
 
324
334
  export type CollectionBase = CollectionBase$instance & __CollectionBase$views;
@@ -326,7 +336,7 @@ export type CollectionBase = CollectionBase$instance & __CollectionBase$views;
326
336
 
327
337
  export class Comparer$instance {
328
338
  constructor(culture: CultureInfo);
329
- compare(a: any, b: any): int;
339
+ compare(a: unknown, b: unknown): int;
330
340
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
331
341
  static readonly default_: Comparer;
332
342
  static readonly defaultInvariant: Comparer;
@@ -334,10 +344,12 @@ export class Comparer$instance {
334
344
 
335
345
 
336
346
  export interface __Comparer$views {
337
- readonly As_IComparer: IComparer$instance;
338
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
347
+ As_IComparer(): IComparer$instance;
348
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
339
349
  }
340
350
 
351
+ export interface Comparer$instance extends IComparer$instance, System_Runtime_Serialization_Internal.ISerializable$instance {}
352
+
341
353
  export type Comparer = Comparer$instance & __Comparer$views;
342
354
 
343
355
 
@@ -350,9 +362,9 @@ export abstract class DictionaryBase$instance {
350
362
 
351
363
 
352
364
  export interface __DictionaryBase$views {
353
- readonly As_ICollection: ICollection$instance;
354
- readonly As_IDictionary: IDictionary$instance;
355
- readonly As_IEnumerable: IEnumerable$instance;
365
+ As_ICollection(): ICollection$instance;
366
+ As_IDictionary(): IDictionary$instance;
367
+ As_IEnumerable(): IEnumerable$instance;
356
368
  }
357
369
 
358
370
  export type DictionaryBase = DictionaryBase$instance & __DictionaryBase$views;
@@ -378,34 +390,36 @@ export class Hashtable$instance {
378
390
  readonly isFixedSize: boolean;
379
391
  readonly isReadOnly: boolean;
380
392
  readonly isSynchronized: boolean;
381
- item: any;
393
+ item: unknown;
382
394
  readonly keys: ICollection;
383
- readonly syncRoot: any;
395
+ readonly syncRoot: unknown;
384
396
  readonly values: ICollection;
385
- add(key: any, value: any): void;
397
+ add(key: unknown, value: unknown): void;
386
398
  clear(): void;
387
- clone(): any;
388
- contains(key: any): boolean;
389
- containsKey(key: any): boolean;
390
- containsValue(value: any): boolean;
399
+ clone(): unknown;
400
+ contains(key: unknown): boolean;
401
+ containsKey(key: unknown): boolean;
402
+ containsValue(value: unknown): boolean;
391
403
  copyTo(array: ClrArray, arrayIndex: int): void;
392
404
  getEnumerator(): IDictionaryEnumerator;
393
405
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
394
- onDeserialization(sender: any): void;
395
- remove(key: any): void;
396
- static Synchronized(table: Hashtable): Hashtable;
406
+ onDeserialization(sender: unknown): void;
407
+ remove(key: unknown): void;
408
+ static synchronized(table: Hashtable): Hashtable;
397
409
  }
398
410
 
399
411
 
400
412
  export interface __Hashtable$views {
401
- readonly As_ICollection: ICollection$instance;
402
- readonly As_IDictionary: IDictionary$instance;
403
- readonly As_IEnumerable: IEnumerable$instance;
404
- readonly As_ICloneable: System_Internal.ICloneable$instance;
405
- readonly As_IDeserializationCallback: System_Runtime_Serialization_Internal.IDeserializationCallback$instance;
406
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
413
+ As_ICollection(): ICollection$instance;
414
+ As_IDictionary(): IDictionary$instance;
415
+ As_IEnumerable(): IEnumerable$instance;
416
+ As_ICloneable(): System_Internal.ICloneable$instance;
417
+ As_IDeserializationCallback(): System_Runtime_Serialization_Internal.IDeserializationCallback$instance;
418
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
407
419
  }
408
420
 
421
+ export interface Hashtable$instance extends System_Internal.ICloneable$instance, System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {}
422
+
409
423
  export type Hashtable = Hashtable$instance & __Hashtable$views;
410
424
 
411
425
 
@@ -415,23 +429,23 @@ export class ListDictionaryInternal$instance {
415
429
  readonly isFixedSize: boolean;
416
430
  readonly isReadOnly: boolean;
417
431
  readonly isSynchronized: boolean;
418
- item: any;
432
+ item: unknown;
419
433
  readonly keys: ICollection;
420
- readonly syncRoot: any;
434
+ readonly syncRoot: unknown;
421
435
  readonly values: ICollection;
422
- add(key: any, value: any): void;
436
+ add(key: unknown, value: unknown): void;
423
437
  clear(): void;
424
- contains(key: any): boolean;
438
+ contains(key: unknown): boolean;
425
439
  copyTo(array: ClrArray, index: int): void;
426
440
  getEnumerator(): IDictionaryEnumerator;
427
- remove(key: any): void;
441
+ remove(key: unknown): void;
428
442
  }
429
443
 
430
444
 
431
445
  export interface __ListDictionaryInternal$views {
432
- readonly As_ICollection: ICollection$instance;
433
- readonly As_IDictionary: IDictionary$instance;
434
- readonly As_IEnumerable: IEnumerable$instance;
446
+ As_ICollection(): ICollection$instance;
447
+ As_IDictionary(): IDictionary$instance;
448
+ As_IEnumerable(): IEnumerable$instance;
435
449
  }
436
450
 
437
451
  export type ListDictionaryInternal = ListDictionaryInternal$instance & __ListDictionaryInternal$views;
@@ -444,27 +458,29 @@ export class Queue$instance {
444
458
  constructor(col: ICollection);
445
459
  readonly count: int;
446
460
  readonly isSynchronized: boolean;
447
- readonly syncRoot: any;
461
+ readonly syncRoot: unknown;
448
462
  clear(): void;
449
- clone(): any;
450
- contains(obj: any): boolean;
463
+ clone(): unknown;
464
+ contains(obj: unknown): boolean;
451
465
  copyTo(array: ClrArray, index: int): void;
452
- dequeue(): any;
453
- enqueue(obj: any): void;
466
+ dequeue(): unknown;
467
+ enqueue(obj: unknown): void;
454
468
  getEnumerator(): IEnumerator;
455
- peek(): any;
456
- toArray(): any[];
469
+ peek(): unknown;
470
+ toArray(): unknown[];
457
471
  trimToSize(): void;
458
- static Synchronized(queue: Queue): Queue;
472
+ static synchronized(queue: Queue): Queue;
459
473
  }
460
474
 
461
475
 
462
476
  export interface __Queue$views {
463
- readonly As_ICollection: ICollection$instance;
464
- readonly As_IEnumerable: IEnumerable$instance;
465
- readonly As_ICloneable: System_Internal.ICloneable$instance;
477
+ As_ICollection(): ICollection$instance;
478
+ As_IEnumerable(): IEnumerable$instance;
479
+ As_ICloneable(): System_Internal.ICloneable$instance;
466
480
  }
467
481
 
482
+ export interface Queue$instance extends System_Internal.ICloneable$instance {}
483
+
468
484
  export type Queue = Queue$instance & __Queue$views;
469
485
 
470
486
 
@@ -475,8 +491,8 @@ export abstract class ReadOnlyCollectionBase$instance {
475
491
 
476
492
 
477
493
  export interface __ReadOnlyCollectionBase$views {
478
- readonly As_ICollection: ICollection$instance;
479
- readonly As_IEnumerable: IEnumerable$instance;
494
+ As_ICollection(): ICollection$instance;
495
+ As_IEnumerable(): IEnumerable$instance;
480
496
  }
481
497
 
482
498
  export type ReadOnlyCollectionBase = ReadOnlyCollectionBase$instance & __ReadOnlyCollectionBase$views;
@@ -494,39 +510,41 @@ export class SortedList$instance {
494
510
  readonly isFixedSize: boolean;
495
511
  readonly isReadOnly: boolean;
496
512
  readonly isSynchronized: boolean;
497
- item: any;
513
+ item: unknown;
498
514
  readonly keys: ICollection;
499
- readonly syncRoot: any;
515
+ readonly syncRoot: unknown;
500
516
  readonly values: ICollection;
501
- add(key: any, value: any): void;
517
+ add(key: unknown, value: unknown): void;
502
518
  clear(): void;
503
- clone(): any;
504
- contains(key: any): boolean;
505
- containsKey(key: any): boolean;
506
- containsValue(value: any): boolean;
519
+ clone(): unknown;
520
+ contains(key: unknown): boolean;
521
+ containsKey(key: unknown): boolean;
522
+ containsValue(value: unknown): boolean;
507
523
  copyTo(array: ClrArray, arrayIndex: int): void;
508
- getByIndex(index: int): any;
524
+ getByIndex(index: int): unknown;
509
525
  getEnumerator(): IDictionaryEnumerator;
510
- getKey(index: int): any;
526
+ getKey(index: int): unknown;
511
527
  getKeyList(): IList;
512
528
  getValueList(): IList;
513
- indexOfKey(key: any): int;
514
- indexOfValue(value: any): int;
515
- remove(key: any): void;
529
+ indexOfKey(key: unknown): int;
530
+ indexOfValue(value: unknown): int;
531
+ remove(key: unknown): void;
516
532
  removeAt(index: int): void;
517
- setByIndex(index: int, value: any): void;
533
+ setByIndex(index: int, value: unknown): void;
518
534
  trimToSize(): void;
519
- static Synchronized(list: SortedList): SortedList;
535
+ static synchronized(list: SortedList): SortedList;
520
536
  }
521
537
 
522
538
 
523
539
  export interface __SortedList$views {
524
- readonly As_ICollection: ICollection$instance;
525
- readonly As_IDictionary: IDictionary$instance;
526
- readonly As_IEnumerable: IEnumerable$instance;
527
- readonly As_ICloneable: System_Internal.ICloneable$instance;
540
+ As_ICollection(): ICollection$instance;
541
+ As_IDictionary(): IDictionary$instance;
542
+ As_IEnumerable(): IEnumerable$instance;
543
+ As_ICloneable(): System_Internal.ICloneable$instance;
528
544
  }
529
545
 
546
+ export interface SortedList$instance extends System_Internal.ICloneable$instance {}
547
+
530
548
  export type SortedList = SortedList$instance & __SortedList$views;
531
549
 
532
550
 
@@ -536,32 +554,34 @@ export class Stack$instance {
536
554
  constructor(col: ICollection);
537
555
  readonly count: int;
538
556
  readonly isSynchronized: boolean;
539
- readonly syncRoot: any;
557
+ readonly syncRoot: unknown;
540
558
  clear(): void;
541
- clone(): any;
542
- contains(obj: any): boolean;
559
+ clone(): unknown;
560
+ contains(obj: unknown): boolean;
543
561
  copyTo(array: ClrArray, index: int): void;
544
562
  getEnumerator(): IEnumerator;
545
- peek(): any;
546
- pop(): any;
547
- push(obj: any): void;
548
- toArray(): any[];
549
- static Synchronized(stack: Stack): Stack;
563
+ peek(): unknown;
564
+ pop(): unknown;
565
+ push(obj: unknown): void;
566
+ toArray(): unknown[];
567
+ static synchronized(stack: Stack): Stack;
550
568
  }
551
569
 
552
570
 
553
571
  export interface __Stack$views {
554
- readonly As_ICollection: ICollection$instance;
555
- readonly As_IEnumerable: IEnumerable$instance;
556
- readonly As_ICloneable: System_Internal.ICloneable$instance;
572
+ As_ICollection(): ICollection$instance;
573
+ As_IEnumerable(): IEnumerable$instance;
574
+ As_ICloneable(): System_Internal.ICloneable$instance;
557
575
  }
558
576
 
577
+ export interface Stack$instance extends System_Internal.ICloneable$instance {}
578
+
559
579
  export type Stack = Stack$instance & __Stack$views;
560
580
 
561
581
 
562
582
  export abstract class StructuralComparisons$instance {
563
- static readonly StructuralComparer: IComparer;
564
- static readonly StructuralEqualityComparer: IEqualityComparer;
583
+ static readonly structuralComparer: IComparer;
584
+ static readonly structuralEqualityComparer: IEqualityComparer;
565
585
  }
566
586
 
567
587