@tsonic/dotnet 0.7.4 → 0.7.7

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 (263) hide show
  1. package/Internal/internal/index.d.ts +0 -25
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -25
  3. package/Microsoft.VisualBasic/bindings.json +203 -29
  4. package/Microsoft.VisualBasic/internal/index.d.ts +30 -55
  5. package/Microsoft.VisualBasic/internal/metadata.json +203 -29
  6. package/Microsoft.VisualBasic.CompilerServices/bindings.json +25 -3
  7. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +4 -29
  8. package/Microsoft.VisualBasic.CompilerServices/internal/metadata.json +25 -3
  9. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +6 -31
  10. package/Microsoft.Win32/internal/index.d.ts +0 -25
  11. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +0 -25
  12. package/System/bindings.json +4800 -552
  13. package/System/internal/index.d.ts +2537 -395
  14. package/System/internal/metadata.json +4800 -552
  15. package/System.Buffers/bindings.json +196 -24
  16. package/System.Buffers/internal/index.d.ts +29 -54
  17. package/System.Buffers/internal/metadata.json +196 -24
  18. package/System.Buffers.Binary/bindings.json +182 -26
  19. package/System.Buffers.Binary/internal/index.d.ts +115 -140
  20. package/System.Buffers.Binary/internal/metadata.json +182 -26
  21. package/System.Buffers.Text/bindings.json +431 -49
  22. package/System.Buffers.Text/internal/index.d.ts +64 -89
  23. package/System.Buffers.Text/internal/metadata.json +431 -49
  24. package/System.CodeDom.Compiler/internal/index.d.ts +6 -31
  25. package/System.Collections/bindings.json +11 -1
  26. package/System.Collections/internal/index.d.ts +2 -27
  27. package/System.Collections/internal/metadata.json +11 -1
  28. package/System.Collections.Concurrent/bindings.json +211 -29
  29. package/System.Collections.Concurrent/internal/index.d.ts +31 -56
  30. package/System.Collections.Concurrent/internal/metadata.json +211 -29
  31. package/System.Collections.Frozen/bindings.json +56 -8
  32. package/System.Collections.Frozen/internal/index.d.ts +9 -34
  33. package/System.Collections.Frozen/internal/metadata.json +56 -8
  34. package/System.Collections.Generic/bindings.json +273 -35
  35. package/System.Collections.Generic/internal/index.d.ts +36 -61
  36. package/System.Collections.Generic/internal/metadata.json +273 -35
  37. package/System.Collections.Immutable/bindings.json +362 -50
  38. package/System.Collections.Immutable/internal/index.d.ts +49 -74
  39. package/System.Collections.Immutable/internal/metadata.json +362 -50
  40. package/System.Collections.ObjectModel/bindings.json +28 -4
  41. package/System.Collections.ObjectModel/internal/index.d.ts +3 -28
  42. package/System.Collections.ObjectModel/internal/metadata.json +28 -4
  43. package/System.Collections.Specialized/internal/index.d.ts +0 -25
  44. package/System.ComponentModel/bindings.json +174 -18
  45. package/System.ComponentModel/internal/index.d.ts +22 -47
  46. package/System.ComponentModel/internal/metadata.json +174 -18
  47. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +9 -34
  48. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +0 -25
  49. package/System.ComponentModel.Design/internal/index.d.ts +0 -25
  50. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +0 -25
  51. package/System.Configuration.Assemblies/internal/index.d.ts +0 -25
  52. package/System.Data/internal/index.d.ts +7 -32
  53. package/System.Data.Common/bindings.json +14 -2
  54. package/System.Data.Common/internal/index.d.ts +27 -52
  55. package/System.Data.Common/internal/metadata.json +14 -2
  56. package/System.Data.SqlTypes/internal/index.d.ts +1 -26
  57. package/System.Diagnostics/bindings.json +181 -23
  58. package/System.Diagnostics/internal/index.d.ts +87 -112
  59. package/System.Diagnostics/internal/metadata.json +181 -23
  60. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +0 -25
  61. package/System.Diagnostics.Contracts/bindings.json +7 -1
  62. package/System.Diagnostics.Contracts/internal/index.d.ts +4 -29
  63. package/System.Diagnostics.Contracts/internal/metadata.json +7 -1
  64. package/System.Diagnostics.Metrics/bindings.json +35 -5
  65. package/System.Diagnostics.Metrics/internal/index.d.ts +44 -69
  66. package/System.Diagnostics.Metrics/internal/metadata.json +35 -5
  67. package/System.Diagnostics.SymbolStore/internal/index.d.ts +0 -25
  68. package/System.Diagnostics.Tracing/bindings.json +37 -3
  69. package/System.Diagnostics.Tracing/internal/index.d.ts +10 -35
  70. package/System.Diagnostics.Tracing/internal/metadata.json +37 -3
  71. package/System.Drawing/internal/index.d.ts +0 -25
  72. package/System.Dynamic/bindings.json +63 -9
  73. package/System.Dynamic/internal/index.d.ts +17 -42
  74. package/System.Dynamic/internal/metadata.json +63 -9
  75. package/System.Formats.Asn1/bindings.json +451 -49
  76. package/System.Formats.Asn1/internal/index.d.ts +69 -94
  77. package/System.Formats.Asn1/internal/metadata.json +451 -49
  78. package/System.Formats.Tar/internal/index.d.ts +4 -29
  79. package/System.Globalization/bindings.json +28 -4
  80. package/System.Globalization/internal/index.d.ts +18 -43
  81. package/System.Globalization/internal/metadata.json +28 -4
  82. package/System.IO/bindings.json +35 -5
  83. package/System.IO/internal/index.d.ts +197 -222
  84. package/System.IO/internal/metadata.json +35 -5
  85. package/System.IO.Compression/bindings.json +50 -6
  86. package/System.IO.Compression/internal/index.d.ts +51 -76
  87. package/System.IO.Compression/internal/metadata.json +50 -6
  88. package/System.IO.Enumeration/bindings.json +42 -6
  89. package/System.IO.Enumeration/internal/index.d.ts +11 -36
  90. package/System.IO.Enumeration/internal/metadata.json +42 -6
  91. package/System.IO.IsolatedStorage/internal/index.d.ts +11 -36
  92. package/System.IO.MemoryMappedFiles/internal/index.d.ts +0 -25
  93. package/System.IO.Pipelines/bindings.json +7 -1
  94. package/System.IO.Pipelines/internal/index.d.ts +17 -42
  95. package/System.IO.Pipelines/internal/metadata.json +7 -1
  96. package/System.IO.Pipes/internal/index.d.ts +11 -36
  97. package/System.Linq/bindings.json +7 -1
  98. package/System.Linq/internal/index.d.ts +332 -357
  99. package/System.Linq/internal/metadata.json +7 -1
  100. package/System.Linq.Expressions/bindings.json +14 -2
  101. package/System.Linq.Expressions/internal/index.d.ts +3 -28
  102. package/System.Linq.Expressions/internal/metadata.json +14 -2
  103. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -25
  104. package/System.Net/bindings.json +175 -25
  105. package/System.Net/internal/index.d.ts +36 -61
  106. package/System.Net/internal/metadata.json +175 -25
  107. package/System.Net.Cache/internal/index.d.ts +0 -25
  108. package/System.Net.Http/bindings.json +21 -3
  109. package/System.Net.Http/internal/index.d.ts +21 -46
  110. package/System.Net.Http/internal/metadata.json +21 -3
  111. package/System.Net.Http.Headers/bindings.json +154 -22
  112. package/System.Net.Http.Headers/internal/index.d.ts +67 -92
  113. package/System.Net.Http.Headers/internal/metadata.json +154 -22
  114. package/System.Net.Http.Json/internal/index.d.ts +0 -25
  115. package/System.Net.Http.Metrics/internal/index.d.ts +0 -25
  116. package/System.Net.Mail/bindings.json +21 -3
  117. package/System.Net.Mail/internal/index.d.ts +4 -29
  118. package/System.Net.Mail/internal/metadata.json +21 -3
  119. package/System.Net.Mime/internal/index.d.ts +0 -25
  120. package/System.Net.NetworkInformation/bindings.json +14 -2
  121. package/System.Net.NetworkInformation/internal/index.d.ts +4 -29
  122. package/System.Net.NetworkInformation/internal/metadata.json +14 -2
  123. package/System.Net.Quic/internal/index.d.ts +14 -39
  124. package/System.Net.Security/bindings.json +43 -5
  125. package/System.Net.Security/internal/index.d.ts +29 -54
  126. package/System.Net.Security/internal/metadata.json +43 -5
  127. package/System.Net.ServerSentEvents/internal/index.d.ts +4 -29
  128. package/System.Net.Sockets/bindings.json +224 -28
  129. package/System.Net.Sockets/internal/index.d.ts +108 -133
  130. package/System.Net.Sockets/internal/metadata.json +224 -28
  131. package/System.Net.WebSockets/internal/index.d.ts +29 -54
  132. package/System.Numerics/bindings.json +1030 -142
  133. package/System.Numerics/internal/index.d.ts +264 -289
  134. package/System.Numerics/internal/metadata.json +1030 -142
  135. package/System.Reflection/bindings.json +29 -3
  136. package/System.Reflection/internal/index.d.ts +4 -29
  137. package/System.Reflection/internal/metadata.json +29 -3
  138. package/System.Reflection.Emit/bindings.json +26 -2
  139. package/System.Reflection.Emit/internal/index.d.ts +3 -28
  140. package/System.Reflection.Emit/internal/metadata.json +26 -2
  141. package/System.Reflection.Metadata/bindings.json +46 -6
  142. package/System.Reflection.Metadata/internal/index.d.ts +31 -56
  143. package/System.Reflection.Metadata/internal/metadata.json +46 -6
  144. package/System.Reflection.Metadata.Ecma335/bindings.json +126 -14
  145. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +24 -49
  146. package/System.Reflection.Metadata.Ecma335/internal/metadata.json +126 -14
  147. package/System.Reflection.PortableExecutable/bindings.json +18 -2
  148. package/System.Reflection.PortableExecutable/internal/index.d.ts +8 -33
  149. package/System.Reflection.PortableExecutable/internal/metadata.json +18 -2
  150. package/System.Resources/bindings.json +11 -1
  151. package/System.Resources/internal/index.d.ts +3 -28
  152. package/System.Resources/internal/metadata.json +11 -1
  153. package/System.Runtime/internal/index.d.ts +0 -25
  154. package/System.Runtime.CompilerServices/bindings.json +495 -57
  155. package/System.Runtime.CompilerServices/internal/index.d.ts +68 -93
  156. package/System.Runtime.CompilerServices/internal/metadata.json +495 -57
  157. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +0 -25
  158. package/System.Runtime.ExceptionServices/internal/index.d.ts +1 -26
  159. package/System.Runtime.InteropServices/bindings.json +377 -47
  160. package/System.Runtime.InteropServices/internal/index.d.ts +68 -93
  161. package/System.Runtime.InteropServices/internal/metadata.json +377 -47
  162. package/System.Runtime.InteropServices.ComTypes/bindings.json +832 -96
  163. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +107 -132
  164. package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +832 -96
  165. package/System.Runtime.InteropServices.Java/internal/index.d.ts +1 -26
  166. package/System.Runtime.InteropServices.JavaScript/bindings.json +411 -57
  167. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +72 -97
  168. package/System.Runtime.InteropServices.JavaScript/internal/metadata.json +411 -57
  169. package/System.Runtime.InteropServices.Marshalling/bindings.json +85 -11
  170. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +26 -51
  171. package/System.Runtime.InteropServices.Marshalling/internal/metadata.json +85 -11
  172. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +28 -4
  173. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +3 -28
  174. package/System.Runtime.InteropServices.ObjectiveC/internal/metadata.json +28 -4
  175. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -26
  176. package/System.Runtime.Intrinsics/bindings.json +112 -16
  177. package/System.Runtime.Intrinsics/internal/index.d.ts +800 -825
  178. package/System.Runtime.Intrinsics/internal/metadata.json +112 -16
  179. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +4787 -4812
  180. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -496
  181. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +3513 -3538
  182. package/System.Runtime.Loader/internal/index.d.ts +0 -25
  183. package/System.Runtime.Remoting/internal/index.d.ts +0 -25
  184. package/System.Runtime.Serialization/bindings.json +71 -9
  185. package/System.Runtime.Serialization/internal/index.d.ts +9 -34
  186. package/System.Runtime.Serialization/internal/metadata.json +71 -9
  187. package/System.Runtime.Serialization.DataContracts/bindings.json +26 -2
  188. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -28
  189. package/System.Runtime.Serialization.DataContracts/internal/metadata.json +26 -2
  190. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +0 -25
  191. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +0 -25
  192. package/System.Runtime.Serialization.Json/internal/index.d.ts +0 -25
  193. package/System.Runtime.Versioning/internal/index.d.ts +0 -25
  194. package/System.Security/internal/index.d.ts +1 -26
  195. package/System.Security.AccessControl/bindings.json +14 -2
  196. package/System.Security.AccessControl/internal/index.d.ts +3 -28
  197. package/System.Security.AccessControl/internal/metadata.json +14 -2
  198. package/System.Security.Authentication/internal/index.d.ts +0 -25
  199. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +0 -25
  200. package/System.Security.Claims/internal/index.d.ts +1 -26
  201. package/System.Security.Cryptography/bindings.json +1348 -192
  202. package/System.Security.Cryptography/internal/index.d.ts +593 -618
  203. package/System.Security.Cryptography/internal/metadata.json +1348 -192
  204. package/System.Security.Cryptography.X509Certificates/bindings.json +81 -11
  205. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +67 -92
  206. package/System.Security.Cryptography.X509Certificates/internal/metadata.json +81 -11
  207. package/System.Security.Permissions/internal/index.d.ts +0 -25
  208. package/System.Security.Policy/internal/index.d.ts +0 -25
  209. package/System.Security.Principal/internal/index.d.ts +0 -25
  210. package/System.Text/bindings.json +494 -58
  211. package/System.Text/internal/index.d.ts +137 -162
  212. package/System.Text/internal/metadata.json +494 -58
  213. package/System.Text.Encodings.Web/bindings.json +29 -3
  214. package/System.Text.Encodings.Web/internal/index.d.ts +7 -32
  215. package/System.Text.Encodings.Web/internal/metadata.json +29 -3
  216. package/System.Text.Json/bindings.json +309 -43
  217. package/System.Text.Json/internal/index.d.ts +141 -166
  218. package/System.Text.Json/internal/metadata.json +309 -43
  219. package/System.Text.Json.Nodes/bindings.json +46 -6
  220. package/System.Text.Json.Nodes/internal/index.d.ts +29 -54
  221. package/System.Text.Json.Nodes/internal/metadata.json +46 -6
  222. package/System.Text.Json.Schema/internal/index.d.ts +1 -26
  223. package/System.Text.Json.Serialization/bindings.json +21 -3
  224. package/System.Text.Json.Serialization/internal/index.d.ts +4 -29
  225. package/System.Text.Json.Serialization/internal/metadata.json +21 -3
  226. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +20 -45
  227. package/System.Text.RegularExpressions/bindings.json +14 -2
  228. package/System.Text.RegularExpressions/internal/index.d.ts +26 -51
  229. package/System.Text.RegularExpressions/internal/metadata.json +14 -2
  230. package/System.Text.Unicode/bindings.json +58 -6
  231. package/System.Text.Unicode/internal/index.d.ts +12 -37
  232. package/System.Text.Unicode/internal/metadata.json +58 -6
  233. package/System.Threading/bindings.json +1012 -140
  234. package/System.Threading/internal/index.d.ts +149 -174
  235. package/System.Threading/internal/metadata.json +1012 -140
  236. package/System.Threading.Channels/bindings.json +14 -2
  237. package/System.Threading.Channels/internal/index.d.ts +5 -30
  238. package/System.Threading.Channels/internal/metadata.json +14 -2
  239. package/System.Threading.Tasks/internal/index.d.ts +23 -48
  240. package/System.Threading.Tasks.Dataflow/bindings.json +378 -54
  241. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +33 -58
  242. package/System.Threading.Tasks.Dataflow/internal/metadata.json +378 -54
  243. package/System.Threading.Tasks.Sources/internal/index.d.ts +0 -25
  244. package/System.Timers/internal/index.d.ts +0 -25
  245. package/System.Transactions/internal/index.d.ts +0 -25
  246. package/System.Web/internal/index.d.ts +0 -25
  247. package/System.Windows.Input/internal/index.d.ts +0 -25
  248. package/System.Windows.Markup/internal/index.d.ts +0 -25
  249. package/System.Xml/bindings.json +197 -27
  250. package/System.Xml/internal/index.d.ts +35 -60
  251. package/System.Xml/internal/metadata.json +197 -27
  252. package/System.Xml.Linq/internal/index.d.ts +0 -25
  253. package/System.Xml.Resolvers/internal/index.d.ts +0 -25
  254. package/System.Xml.Schema/internal/index.d.ts +0 -25
  255. package/System.Xml.Serialization/internal/index.d.ts +0 -25
  256. package/System.Xml.XPath/internal/index.d.ts +1 -26
  257. package/System.Xml.Xsl/internal/index.d.ts +1 -26
  258. package/System.Xml.Xsl.Runtime/bindings.json +35 -5
  259. package/System.Xml.Xsl.Runtime/internal/index.d.ts +7 -32
  260. package/System.Xml.Xsl.Runtime/internal/metadata.json +35 -5
  261. package/System.d.ts +21 -0
  262. package/__internal/extensions/index.d.ts +463 -463
  263. package/package.json +1 -1
@@ -6,7 +6,7 @@
6
6
  import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/types';
7
7
 
8
8
  // Import support types from @tsonic/types
9
- import type { ptr, ref } from "@tsonic/types";
9
+ import type { ptr } from "@tsonic/types";
10
10
 
11
11
  // Import types from other namespaces
12
12
  import * as System_Collections_Generic_Internal from "../../System.Collections.Generic/internal/index.js";
@@ -16,31 +16,6 @@ import type { ICollection, IComparer, IDictionary, IDictionaryEnumerator, IEnume
16
16
  import * as System_Internal from "../../System/internal/index.js";
17
17
  import type { Action_1, Array as ClrArray, Boolean as ClrBoolean, Comparison_1, Func_2, Func_3, IDisposable, IEquatable_1, Int32, Object as ClrObject, Predicate_1, Range, ReadOnlyMemory_1, ReadOnlySpan_1, Span_1, String as ClrString, Type, ValueType, Void } from "../../System/internal/index.js";
18
18
 
19
- // CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
20
- // This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
21
- // Value positions (parameters, return types) use lowercase primitives for ergonomics
22
- export type CLROf<T> =
23
- T extends sbyte ? System_Internal.SByte :
24
- T extends short ? System_Internal.Int16 :
25
- T extends int ? System_Internal.Int32 :
26
- T extends long ? System_Internal.Int64 :
27
- T extends int128 ? System_Internal.Int128 :
28
- T extends nint ? System_Internal.IntPtr :
29
- T extends byte ? System_Internal.Byte :
30
- T extends ushort ? System_Internal.UInt16 :
31
- T extends uint ? System_Internal.UInt32 :
32
- T extends ulong ? System_Internal.UInt64 :
33
- T extends uint128 ? System_Internal.UInt128 :
34
- T extends nuint ? System_Internal.UIntPtr :
35
- T extends half ? System_Internal.Half :
36
- T extends float ? System_Internal.Single :
37
- T extends double ? System_Internal.Double :
38
- T extends decimal ? System_Internal.Decimal :
39
- T extends char ? System_Internal.Char :
40
- T extends boolean ? System_Internal.Boolean :
41
- T extends string ? System_Internal.String :
42
- T; // Identity fallback for non-primitive types
43
-
44
19
  export interface IImmutableDictionary_2$instance<TKey, TValue> extends IReadOnlyDictionary_2<TKey, TValue>, IEnumerable_1<KeyValuePair_2<TKey, TValue>>, IEnumerable, IReadOnlyCollection_1<KeyValuePair_2<TKey, TValue>> {
45
20
  readonly item: TValue;
46
21
  readonly keys: IEnumerable_1<TKey>;
@@ -54,8 +29,8 @@ export interface IImmutableDictionary_2$instance<TKey, TValue> extends IReadOnly
54
29
  getEnumerator(): IEnumerator_1<KeyValuePair_2<TKey, TValue>>;
55
30
  getEnumerator(): IEnumerator;
56
31
  remove(key: TKey): IImmutableDictionary_2<TKey, TValue>;
57
- tryGetKey(equalKey: TKey, actualKey: { value: ref<TKey> }): boolean;
58
- tryGetValue(key: TKey, value: { value: ref<TValue> }): boolean;
32
+ tryGetKey(equalKey: TKey, actualKey: TKey): boolean;
33
+ tryGetValue(key: TKey, value: TValue): boolean;
59
34
  getEnumerator2(): IEnumerator;
60
35
  }
61
36
 
@@ -107,7 +82,7 @@ export interface IImmutableSet_1$instance<T> extends IReadOnlyCollection_1<T>, I
107
82
  getEnumerator(): IEnumerator;
108
83
  intersect(other: IEnumerable_1<T>): IImmutableSet_1<T>;
109
84
  setEquals(other: IEnumerable_1<T>): boolean;
110
- tryGetValue(equalValue: T, actualValue: { value: ref<T> }): boolean;
85
+ tryGetValue(equalValue: T, actualValue: T): boolean;
111
86
  getEnumerator2(): IEnumerator;
112
87
  }
113
88
 
@@ -168,7 +143,7 @@ export interface ImmutableArray_1$instance<T> {
168
143
  insertRange(index: int, items: ImmutableArray_1<T>): ImmutableArray_1<T>;
169
144
  insertRange(index: int, items: T[]): ImmutableArray_1<T>;
170
145
  insertRange(index: int, items: ReadOnlySpan_1<T>): ImmutableArray_1<T>;
171
- itemRef(index: int): ref<T>;
146
+ itemRef(index: int): T;
172
147
  lastIndexOf(item: T): int;
173
148
  lastIndexOf(item: T, startIndex: int): int;
174
149
  lastIndexOf(item: T, startIndex: int, count: int): int;
@@ -399,7 +374,7 @@ export interface ImmutableArray_1_Builder$instance<T> {
399
374
  insert(index: int, item: T): void;
400
375
  insertRange(index: int, items: IEnumerable_1<T>): void;
401
376
  insertRange(index: int, items: ImmutableArray_1<T>): void;
402
- itemRef(index: int): ref<T>;
377
+ itemRef(index: int): T;
403
378
  lastIndexOf(item: T): int;
404
379
  lastIndexOf(item: T, startIndex: int): int;
405
380
  lastIndexOf(item: T, startIndex: int, count: int): int;
@@ -460,8 +435,8 @@ export interface ImmutableDictionary_2$instance<TKey, TValue> {
460
435
  setItem(key: TKey, value: TValue): ImmutableDictionary_2<TKey, TValue>;
461
436
  setItems(items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
462
437
  toBuilder(): ImmutableDictionary_2_Builder<TKey, TValue>;
463
- tryGetKey(equalKey: TKey, actualKey: { value: ref<TKey> }): boolean;
464
- tryGetValue(key: TKey, value: { value: ref<TValue> }): boolean;
438
+ tryGetKey(equalKey: TKey, actualKey: TKey): boolean;
439
+ tryGetValue(key: TKey, value: TValue): boolean;
465
440
  withComparers(keyComparer: IEqualityComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>): ImmutableDictionary_2<TKey, TValue>;
466
441
  withComparers(keyComparer: IEqualityComparer_1<TKey>): ImmutableDictionary_2<TKey, TValue>;
467
442
  }
@@ -509,8 +484,8 @@ export interface ImmutableDictionary_2_Builder$instance<TKey, TValue> {
509
484
  remove(item: KeyValuePair_2<TKey, TValue>): boolean;
510
485
  removeRange(keys: IEnumerable_1<TKey>): void;
511
486
  toImmutable(): ImmutableDictionary_2<TKey, TValue>;
512
- tryGetKey(equalKey: TKey, actualKey: { value: ref<TKey> }): boolean;
513
- tryGetValue(key: TKey, value: { value: ref<TValue> }): boolean;
487
+ tryGetKey(equalKey: TKey, actualKey: TKey): boolean;
488
+ tryGetValue(key: TKey, value: TValue): boolean;
514
489
  }
515
490
 
516
491
 
@@ -552,7 +527,7 @@ export interface ImmutableHashSet_1$instance<T> {
552
527
  setEquals(other: IEnumerable_1<T>): boolean;
553
528
  symmetricExcept(other: IEnumerable_1<T>): ImmutableHashSet_1<T>;
554
529
  toBuilder(): ImmutableHashSet_1_Builder<T>;
555
- tryGetValue(equalValue: T, actualValue: { value: ref<T> }): boolean;
530
+ tryGetValue(equalValue: T, actualValue: T): boolean;
556
531
  union(other: IEnumerable_1<T>): ImmutableHashSet_1<T>;
557
532
  withComparer(equalityComparer: IEqualityComparer_1<T>): ImmutableHashSet_1<T>;
558
533
  }
@@ -596,7 +571,7 @@ export interface ImmutableHashSet_1_Builder$instance<T> {
596
571
  setEquals(other: IEnumerable_1<T>): boolean;
597
572
  symmetricExceptWith(other: IEnumerable_1<T>): void;
598
573
  toImmutable(): ImmutableHashSet_1<T>;
599
- tryGetValue(equalValue: T, actualValue: { value: ref<T> }): boolean;
574
+ tryGetValue(equalValue: T, actualValue: T): boolean;
600
575
  unionWith(other: IEnumerable_1<T>): void;
601
576
  }
602
577
 
@@ -649,7 +624,7 @@ export interface ImmutableList_1$instance<T> {
649
624
  indexOf(value: T): int;
650
625
  insert(index: int, item: T): ImmutableList_1<T>;
651
626
  insertRange(index: int, items: IEnumerable_1<T>): ImmutableList_1<T>;
652
- itemRef(index: int): ref<T>;
627
+ itemRef(index: int): T;
653
628
  lastIndexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
654
629
  remove(value: T): ImmutableList_1<T>;
655
630
  remove(value: T, equalityComparer: IEqualityComparer_1<T>): ImmutableList_1<T>;
@@ -725,7 +700,7 @@ export interface ImmutableList_1_Builder$instance<T> {
725
700
  indexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
726
701
  insert(index: int, item: T): void;
727
702
  insertRange(index: int, items: IEnumerable_1<T>): void;
728
- itemRef(index: int): ref<T>;
703
+ itemRef(index: int): T;
729
704
  lastIndexOf(item: T): int;
730
705
  lastIndexOf(item: T, startIndex: int): int;
731
706
  lastIndexOf(item: T, startIndex: int, count: int): int;
@@ -772,11 +747,11 @@ export interface ImmutableQueue_1$instance<T> {
772
747
  readonly isEmpty: boolean;
773
748
  clear(): ImmutableQueue_1<T>;
774
749
  dequeue(): ImmutableQueue_1<T>;
775
- dequeue(value: { value: ref<T> }): ImmutableQueue_1<T>;
750
+ dequeue(value: T): ImmutableQueue_1<T>;
776
751
  enqueue(value: T): ImmutableQueue_1<T>;
777
752
  getEnumerator(): ImmutableQueue_1_Enumerator<T>;
778
753
  peek(): T;
779
- peekRef(): ref<T>;
754
+ peekRef(): T;
780
755
  }
781
756
 
782
757
 
@@ -815,9 +790,9 @@ export interface ImmutableSortedDictionary_2$instance<TKey, TValue> {
815
790
  setItem(key: TKey, value: TValue): ImmutableSortedDictionary_2<TKey, TValue>;
816
791
  setItems(items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableSortedDictionary_2<TKey, TValue>;
817
792
  toBuilder(): ImmutableSortedDictionary_2_Builder<TKey, TValue>;
818
- tryGetKey(equalKey: TKey, actualKey: { value: ref<TKey> }): boolean;
819
- tryGetValue(key: TKey, value: { value: ref<TValue> }): boolean;
820
- valueRef(key: TKey): ref<TValue>;
793
+ tryGetKey(equalKey: TKey, actualKey: TKey): boolean;
794
+ tryGetValue(key: TKey, value: TValue): boolean;
795
+ valueRef(key: TKey): TValue;
821
796
  withComparers(keyComparer: IComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>): ImmutableSortedDictionary_2<TKey, TValue>;
822
797
  withComparers(keyComparer: IComparer_1<TKey>): ImmutableSortedDictionary_2<TKey, TValue>;
823
798
  }
@@ -865,9 +840,9 @@ export interface ImmutableSortedDictionary_2_Builder$instance<TKey, TValue> {
865
840
  remove(item: KeyValuePair_2<TKey, TValue>): boolean;
866
841
  removeRange(keys: IEnumerable_1<TKey>): void;
867
842
  toImmutable(): ImmutableSortedDictionary_2<TKey, TValue>;
868
- tryGetKey(equalKey: TKey, actualKey: { value: ref<TKey> }): boolean;
869
- tryGetValue(key: TKey, value: { value: ref<TValue> }): boolean;
870
- valueRef(key: TKey): ref<TValue>;
843
+ tryGetKey(equalKey: TKey, actualKey: TKey): boolean;
844
+ tryGetValue(key: TKey, value: TValue): boolean;
845
+ valueRef(key: TKey): TValue;
871
846
  }
872
847
 
873
848
 
@@ -908,14 +883,14 @@ export interface ImmutableSortedSet_1$instance<T> {
908
883
  isProperSupersetOf(other: IEnumerable_1<T>): boolean;
909
884
  isSubsetOf(other: IEnumerable_1<T>): boolean;
910
885
  isSupersetOf(other: IEnumerable_1<T>): boolean;
911
- itemRef(index: int): ref<T>;
886
+ itemRef(index: int): T;
912
887
  overlaps(other: IEnumerable_1<T>): boolean;
913
888
  remove(value: T): ImmutableSortedSet_1<T>;
914
889
  reverse(): IEnumerable_1<T>;
915
890
  setEquals(other: IEnumerable_1<T>): boolean;
916
891
  symmetricExcept(other: IEnumerable_1<T>): ImmutableSortedSet_1<T>;
917
892
  toBuilder(): ImmutableSortedSet_1_Builder<T>;
918
- tryGetValue(equalValue: T, actualValue: { value: ref<T> }): boolean;
893
+ tryGetValue(equalValue: T, actualValue: T): boolean;
919
894
  union(other: IEnumerable_1<T>): ImmutableSortedSet_1<T>;
920
895
  withComparer(comparer: IComparer_1<T>): ImmutableSortedSet_1<T>;
921
896
  }
@@ -960,14 +935,14 @@ export interface ImmutableSortedSet_1_Builder$instance<T> {
960
935
  isProperSupersetOf(other: IEnumerable_1<T>): boolean;
961
936
  isSubsetOf(other: IEnumerable_1<T>): boolean;
962
937
  isSupersetOf(other: IEnumerable_1<T>): boolean;
963
- itemRef(index: int): ref<T>;
938
+ itemRef(index: int): T;
964
939
  overlaps(other: IEnumerable_1<T>): boolean;
965
940
  remove(item: T): boolean;
966
941
  reverse(): IEnumerable_1<T>;
967
942
  setEquals(other: IEnumerable_1<T>): boolean;
968
943
  symmetricExceptWith(other: IEnumerable_1<T>): void;
969
944
  toImmutable(): ImmutableSortedSet_1<T>;
970
- tryGetValue(equalValue: T, actualValue: { value: ref<T> }): boolean;
945
+ tryGetValue(equalValue: T, actualValue: T): boolean;
971
946
  unionWith(other: IEnumerable_1<T>): void;
972
947
  }
973
948
 
@@ -994,9 +969,9 @@ export interface ImmutableStack_1$instance<T> {
994
969
  clear(): ImmutableStack_1<T>;
995
970
  getEnumerator(): ImmutableStack_1_Enumerator<T>;
996
971
  peek(): T;
997
- peekRef(): ref<T>;
972
+ peekRef(): T;
998
973
  pop(): ImmutableStack_1<T>;
999
- pop(value: { value: ref<T> }): ImmutableStack_1<T>;
974
+ pop(value: T): ImmutableStack_1<T>;
1000
975
  push(value: T): ImmutableStack_1<T>;
1001
976
  }
1002
977
 
@@ -1098,25 +1073,25 @@ export abstract class ImmutableHashSet$instance {
1098
1073
  export type ImmutableHashSet = ImmutableHashSet$instance;
1099
1074
 
1100
1075
  export abstract class ImmutableInterlocked$instance {
1101
- static addOrUpdate<TKey, TValue>(location: { value: ref<ImmutableDictionary_2<TKey, TValue>> }, key: TKey, addValueFactory: Func_2<TKey, TValue>, updateValueFactory: Func_3<TKey, TValue, TValue>): TValue;
1102
- static addOrUpdate<TKey, TValue>(location: { value: ref<ImmutableDictionary_2<TKey, TValue>> }, key: TKey, addValue: TValue, updateValueFactory: Func_3<TKey, TValue, TValue>): TValue;
1103
- static enqueue<T>(location: { value: ref<ImmutableQueue_1<T>> }, value: T): void;
1104
- static getOrAdd<TKey, TValue>(location: { value: ref<ImmutableDictionary_2<TKey, TValue>> }, key: TKey, valueFactory: Func_2<TKey, TValue>): TValue;
1105
- static getOrAdd<TKey, TValue, TArg>(location: { value: ref<ImmutableDictionary_2<TKey, TValue>> }, key: TKey, valueFactory: Func_3<TKey, TArg, TValue>, factoryArgument: TArg): TValue;
1106
- static getOrAdd<TKey, TValue>(location: { value: ref<ImmutableDictionary_2<TKey, TValue>> }, key: TKey, value: TValue): TValue;
1107
- static interlockedCompareExchange<T>(location: { value: ref<ImmutableArray_1<T>> }, value: ImmutableArray_1<T>, comparand: ImmutableArray_1<T>): ImmutableArray_1<T>;
1108
- static interlockedExchange<T>(location: { value: ref<ImmutableArray_1<T>> }, value: ImmutableArray_1<T>): ImmutableArray_1<T>;
1109
- static interlockedInitialize<T>(location: { value: ref<ImmutableArray_1<T>> }, value: ImmutableArray_1<T>): boolean;
1110
- static push<T>(location: { value: ref<ImmutableStack_1<T>> }, value: T): void;
1111
- static tryAdd<TKey, TValue>(location: { value: ref<ImmutableDictionary_2<TKey, TValue>> }, key: TKey, value: TValue): boolean;
1112
- static tryDequeue<T>(location: { value: ref<ImmutableQueue_1<T>> }, value: { value: ref<T> }): boolean;
1113
- static tryPop<T>(location: { value: ref<ImmutableStack_1<T>> }, value: { value: ref<T> }): boolean;
1114
- static tryRemove<TKey, TValue>(location: { value: ref<ImmutableDictionary_2<TKey, TValue>> }, key: TKey, value: { value: ref<TValue> }): boolean;
1115
- static tryUpdate<TKey, TValue>(location: { value: ref<ImmutableDictionary_2<TKey, TValue>> }, key: TKey, newValue: TValue, comparisonValue: TValue): boolean;
1116
- static update<T>(location: { value: ref<ImmutableArray_1<T>> }, transformer: Func_2<ImmutableArray_1<T>, ImmutableArray_1<T>>): boolean;
1117
- static update<T, TArg>(location: { value: ref<ImmutableArray_1<T>> }, transformer: Func_3<ImmutableArray_1<T>, TArg, ImmutableArray_1<T>>, transformerArgument: TArg): boolean;
1118
- static update<T>(location: { value: ref<T> }, transformer: Func_2<T, T>): boolean;
1119
- static update<T, TArg>(location: { value: ref<T> }, transformer: Func_3<T, TArg, T>, transformerArgument: TArg): boolean;
1076
+ static addOrUpdate<TKey, TValue>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, addValueFactory: Func_2<TKey, TValue>, updateValueFactory: Func_3<TKey, TValue, TValue>): TValue;
1077
+ static addOrUpdate<TKey, TValue>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, addValue: TValue, updateValueFactory: Func_3<TKey, TValue, TValue>): TValue;
1078
+ static enqueue<T>(location: ImmutableQueue_1<T>, value: T): void;
1079
+ static getOrAdd<TKey, TValue>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, valueFactory: Func_2<TKey, TValue>): TValue;
1080
+ static getOrAdd<TKey, TValue, TArg>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, valueFactory: Func_3<TKey, TArg, TValue>, factoryArgument: TArg): TValue;
1081
+ static getOrAdd<TKey, TValue>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, value: TValue): TValue;
1082
+ static interlockedCompareExchange<T>(location: ImmutableArray_1<T>, value: ImmutableArray_1<T>, comparand: ImmutableArray_1<T>): ImmutableArray_1<T>;
1083
+ static interlockedExchange<T>(location: ImmutableArray_1<T>, value: ImmutableArray_1<T>): ImmutableArray_1<T>;
1084
+ static interlockedInitialize<T>(location: ImmutableArray_1<T>, value: ImmutableArray_1<T>): boolean;
1085
+ static push<T>(location: ImmutableStack_1<T>, value: T): void;
1086
+ static tryAdd<TKey, TValue>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, value: TValue): boolean;
1087
+ static tryDequeue<T>(location: ImmutableQueue_1<T>, value: T): boolean;
1088
+ static tryPop<T>(location: ImmutableStack_1<T>, value: T): boolean;
1089
+ static tryRemove<TKey, TValue>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, value: TValue): boolean;
1090
+ static tryUpdate<TKey, TValue>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, newValue: TValue, comparisonValue: TValue): boolean;
1091
+ static update<T>(location: ImmutableArray_1<T>, transformer: Func_2<ImmutableArray_1<T>, ImmutableArray_1<T>>): boolean;
1092
+ static update<T, TArg>(location: ImmutableArray_1<T>, transformer: Func_3<ImmutableArray_1<T>, TArg, ImmutableArray_1<T>>, transformerArgument: TArg): boolean;
1093
+ static update<T>(location: T, transformer: Func_2<T, T>): boolean;
1094
+ static update<T, TArg>(location: T, transformer: Func_3<T, TArg, T>, transformerArgument: TArg): boolean;
1120
1095
  }
1121
1096
 
1122
1097
 
@@ -1153,7 +1128,7 @@ export abstract class ImmutableQueue$instance {
1153
1128
  static create<T>(item: T): ImmutableQueue_1<T>;
1154
1129
  static create<T>(...items: T[]): ImmutableQueue_1<T>;
1155
1130
  static createRange<T>(items: IEnumerable_1<T>): ImmutableQueue_1<T>;
1156
- static dequeue<T>(queue: IImmutableQueue_1<T>, value: { value: ref<T> }): IImmutableQueue_1<T>;
1131
+ static dequeue<T>(queue: IImmutableQueue_1<T>, value: T): IImmutableQueue_1<T>;
1157
1132
  }
1158
1133
 
1159
1134
 
@@ -1208,7 +1183,7 @@ export abstract class ImmutableStack$instance {
1208
1183
  static create<T>(item: T): ImmutableStack_1<T>;
1209
1184
  static create<T>(...items: T[]): ImmutableStack_1<T>;
1210
1185
  static createRange<T>(items: IEnumerable_1<T>): ImmutableStack_1<T>;
1211
- static pop<T>(stack: IImmutableStack_1<T>, value: { value: ref<T> }): IImmutableStack_1<T>;
1186
+ static pop<T>(stack: IImmutableStack_1<T>, value: T): IImmutableStack_1<T>;
1212
1187
  }
1213
1188
 
1214
1189