@tsonic/dotnet 10.0.1 → 10.0.2

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 (283) hide show
  1. package/Internal/bindings.json +5 -0
  2. package/Microsoft.CSharp.RuntimeBinder/bindings.json +71 -8
  3. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +2 -0
  4. package/Microsoft.VisualBasic/bindings.json +635 -68
  5. package/Microsoft.VisualBasic.CompilerServices/bindings.json +210 -0
  6. package/Microsoft.VisualBasic.FileIO/bindings.json +195 -24
  7. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +8 -3
  8. package/Microsoft.Win32/bindings.json +107 -24
  9. package/Microsoft.Win32.SafeHandles/bindings.json +769 -15
  10. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +123 -18
  11. package/System/bindings.json +11622 -2308
  12. package/System/internal/index.d.ts +165 -15
  13. package/System.Buffers/bindings.json +371 -62
  14. package/System.Buffers/internal/index.d.ts +25 -13
  15. package/System.Buffers.Binary/bindings.json +126 -0
  16. package/System.Buffers.Text/bindings.json +67 -0
  17. package/System.Buffers.Text/internal/index.d.ts +1 -1
  18. package/System.Buffers.Text.d.ts +1 -1
  19. package/System.Buffers.d.ts +1 -1
  20. package/System.CodeDom.Compiler/bindings.json +142 -4
  21. package/System.CodeDom.Compiler/internal/index.d.ts +10 -3
  22. package/System.CodeDom.Compiler.d.ts +1 -1
  23. package/System.Collections/bindings.json +1094 -69
  24. package/System.Collections/internal/index.d.ts +41 -3
  25. package/System.Collections.Concurrent/bindings.json +353 -90
  26. package/System.Collections.Concurrent/internal/index.d.ts +9 -2
  27. package/System.Collections.Frozen/bindings.json +158 -48
  28. package/System.Collections.Generic/bindings.json +1910 -634
  29. package/System.Collections.Generic/internal/index.d.ts +24 -9
  30. package/System.Collections.Immutable/bindings.json +1321 -292
  31. package/System.Collections.ObjectModel/bindings.json +1123 -199
  32. package/System.Collections.ObjectModel/internal/index.d.ts +46 -7
  33. package/System.Collections.ObjectModel.d.ts +3 -3
  34. package/System.Collections.Specialized/bindings.json +763 -58
  35. package/System.Collections.Specialized/internal/index.d.ts +15 -1
  36. package/System.ComponentModel/bindings.json +3590 -166
  37. package/System.ComponentModel/internal/index.d.ts +173 -27
  38. package/System.ComponentModel.DataAnnotations/bindings.json +743 -13
  39. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +152 -43
  40. package/System.ComponentModel.DataAnnotations.Schema/bindings.json +24 -4
  41. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +1 -1
  42. package/System.ComponentModel.DataAnnotations.Schema.d.ts +1 -1
  43. package/System.ComponentModel.DataAnnotations.d.ts +2 -2
  44. package/System.ComponentModel.Design/bindings.json +714 -40
  45. package/System.ComponentModel.Design/internal/index.d.ts +43 -12
  46. package/System.ComponentModel.Design.Serialization/bindings.json +261 -12
  47. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +17 -4
  48. package/System.ComponentModel.Design.d.ts +1 -1
  49. package/System.ComponentModel.d.ts +2 -2
  50. package/System.Configuration.Assemblies/bindings.json +19 -8
  51. package/System.Configuration.Assemblies/internal/index.d.ts +1 -1
  52. package/System.Configuration.Assemblies.d.ts +1 -1
  53. package/System.Data/bindings.json +3325 -302
  54. package/System.Data/internal/index.d.ts +145 -24
  55. package/System.Data.Common/bindings.json +3047 -241
  56. package/System.Data.Common/internal/index.d.ts +228 -55
  57. package/System.Data.Common.d.ts +3 -3
  58. package/System.Data.SqlTypes/bindings.json +754 -71
  59. package/System.Data.SqlTypes/internal/index.d.ts +1 -0
  60. package/System.Data.d.ts +3 -3
  61. package/System.Diagnostics/bindings.json +1737 -130
  62. package/System.Diagnostics/internal/index.d.ts +121 -41
  63. package/System.Diagnostics.CodeAnalysis/bindings.json +125 -4
  64. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +1 -1
  65. package/System.Diagnostics.CodeAnalysis.d.ts +1 -1
  66. package/System.Diagnostics.Contracts/bindings.json +68 -4
  67. package/System.Diagnostics.Metrics/bindings.json +565 -55
  68. package/System.Diagnostics.Metrics/internal/index.d.ts +49 -12
  69. package/System.Diagnostics.SymbolStore/bindings.json +106 -4
  70. package/System.Diagnostics.Tracing/bindings.json +979 -160
  71. package/System.Diagnostics.Tracing/internal/index.d.ts +37 -17
  72. package/System.Diagnostics.d.ts +2 -2
  73. package/System.Drawing/bindings.json +611 -4
  74. package/System.Drawing/internal/index.d.ts +1 -1
  75. package/System.Drawing.d.ts +1 -1
  76. package/System.Dynamic/bindings.json +346 -24
  77. package/System.Dynamic/internal/index.d.ts +13 -0
  78. package/System.Formats.Asn1/bindings.json +229 -12
  79. package/System.Formats.Asn1/internal/index.d.ts +1 -0
  80. package/System.Formats.Tar/bindings.json +120 -16
  81. package/System.Globalization/bindings.json +1088 -53
  82. package/System.Globalization/internal/index.d.ts +44 -7
  83. package/System.IO/bindings.json +2163 -110
  84. package/System.IO/internal/index.d.ts +119 -27
  85. package/System.IO.Compression/bindings.json +466 -38
  86. package/System.IO.Compression/internal/index.d.ts +36 -9
  87. package/System.IO.Compression.d.ts +2 -2
  88. package/System.IO.Enumeration/bindings.json +221 -22
  89. package/System.IO.Enumeration/internal/index.d.ts +15 -4
  90. package/System.IO.IsolatedStorage/bindings.json +250 -11
  91. package/System.IO.IsolatedStorage/internal/index.d.ts +18 -5
  92. package/System.IO.IsolatedStorage.d.ts +2 -2
  93. package/System.IO.MemoryMappedFiles/bindings.json +138 -16
  94. package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -8
  95. package/System.IO.MemoryMappedFiles.d.ts +4 -3
  96. package/System.IO.Pipelines/bindings.json +147 -3
  97. package/System.IO.Pipelines/internal/index.d.ts +15 -2
  98. package/System.IO.Pipes/bindings.json +889 -54
  99. package/System.IO.Pipes/internal/index.d.ts +64 -23
  100. package/System.IO.Pipes.d.ts +4 -3
  101. package/System.IO.d.ts +2 -2
  102. package/System.Linq/bindings.json +944 -79
  103. package/System.Linq.Expressions/bindings.json +1998 -57
  104. package/System.Linq.Expressions/internal/index.d.ts +207 -29
  105. package/System.Linq.Expressions.Interpreter/bindings.json +2 -0
  106. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +1 -1
  107. package/System.Linq.Expressions.Interpreter.d.ts +1 -1
  108. package/System.Linq.Expressions.d.ts +1 -1
  109. package/System.Net/bindings.json +2083 -248
  110. package/System.Net/internal/index.d.ts +102 -40
  111. package/System.Net.Cache/bindings.json +53 -12
  112. package/System.Net.Cache/internal/index.d.ts +1 -1
  113. package/System.Net.Cache.d.ts +1 -1
  114. package/System.Net.Http/bindings.json +2104 -105
  115. package/System.Net.Http/internal/index.d.ts +174 -31
  116. package/System.Net.Http.Headers/bindings.json +456 -24
  117. package/System.Net.Http.Headers/internal/index.d.ts +8 -2
  118. package/System.Net.Http.Json/bindings.json +171 -0
  119. package/System.Net.Http.Json/internal/index.d.ts +14 -2
  120. package/System.Net.Http.Metrics/bindings.json +5 -0
  121. package/System.Net.Mail/bindings.json +1127 -101
  122. package/System.Net.Mail/internal/index.d.ts +87 -16
  123. package/System.Net.Mime/bindings.json +82 -4
  124. package/System.Net.Mime/internal/index.d.ts +1 -1
  125. package/System.Net.Mime.d.ts +1 -1
  126. package/System.Net.NetworkInformation/bindings.json +857 -61
  127. package/System.Net.NetworkInformation/internal/index.d.ts +27 -5
  128. package/System.Net.NetworkInformation.d.ts +2 -2
  129. package/System.Net.Quic/bindings.json +157 -16
  130. package/System.Net.Quic/internal/index.d.ts +8 -3
  131. package/System.Net.Quic.d.ts +2 -2
  132. package/System.Net.Security/bindings.json +798 -37
  133. package/System.Net.Security/internal/index.d.ts +22 -5
  134. package/System.Net.Security.d.ts +2 -2
  135. package/System.Net.ServerSentEvents/bindings.json +31 -13
  136. package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
  137. package/System.Net.Sockets/bindings.json +1157 -78
  138. package/System.Net.Sockets/internal/index.d.ts +53 -21
  139. package/System.Net.Sockets.d.ts +2 -2
  140. package/System.Net.WebSockets/bindings.json +311 -26
  141. package/System.Net.WebSockets/internal/index.d.ts +12 -3
  142. package/System.Net.WebSockets.d.ts +2 -2
  143. package/System.Net.d.ts +2 -2
  144. package/System.Numerics/bindings.json +3546 -957
  145. package/System.Reflection/bindings.json +1913 -132
  146. package/System.Reflection/internal/index.d.ts +49 -5
  147. package/System.Reflection.Emit/bindings.json +2509 -57
  148. package/System.Reflection.Emit/internal/index.d.ts +158 -15
  149. package/System.Reflection.Emit.d.ts +1 -1
  150. package/System.Reflection.Metadata/bindings.json +1936 -231
  151. package/System.Reflection.Metadata/internal/index.d.ts +8 -1
  152. package/System.Reflection.Metadata.Ecma335/bindings.json +480 -24
  153. package/System.Reflection.PortableExecutable/bindings.json +583 -39
  154. package/System.Reflection.PortableExecutable/internal/index.d.ts +25 -3
  155. package/System.Resources/bindings.json +323 -17
  156. package/System.Resources/internal/index.d.ts +21 -5
  157. package/System.Resources.d.ts +1 -1
  158. package/System.Runtime/bindings.json +65 -8
  159. package/System.Runtime/internal/index.d.ts +6 -1
  160. package/System.Runtime.CompilerServices/bindings.json +718 -139
  161. package/System.Runtime.CompilerServices/internal/index.d.ts +3 -0
  162. package/System.Runtime.ConstrainedExecution/bindings.json +56 -10
  163. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +8 -2
  164. package/System.Runtime.ConstrainedExecution.d.ts +1 -1
  165. package/System.Runtime.ExceptionServices/bindings.json +11 -0
  166. package/System.Runtime.InteropServices/bindings.json +1858 -265
  167. package/System.Runtime.InteropServices/internal/index.d.ts +51 -11
  168. package/System.Runtime.InteropServices.ComTypes/bindings.json +478 -72
  169. package/System.Runtime.InteropServices.Java/bindings.json +12 -0
  170. package/System.Runtime.InteropServices.JavaScript/bindings.json +205 -30
  171. package/System.Runtime.InteropServices.Marshalling/bindings.json +484 -89
  172. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +22 -4
  173. package/System.Runtime.InteropServices.Marshalling.d.ts +2 -1
  174. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +19 -4
  175. package/System.Runtime.InteropServices.Swift/bindings.json +11 -3
  176. package/System.Runtime.InteropServices.d.ts +1 -1
  177. package/System.Runtime.Intrinsics/bindings.json +1296 -40
  178. package/System.Runtime.Intrinsics.Arm/bindings.json +4959 -8
  179. package/System.Runtime.Intrinsics.Wasm/bindings.json +484 -1
  180. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -0
  181. package/System.Runtime.Intrinsics.X86/bindings.json +3765 -8
  182. package/System.Runtime.Loader/bindings.json +130 -0
  183. package/System.Runtime.Loader/internal/index.d.ts +10 -1
  184. package/System.Runtime.Remoting/bindings.json +2 -0
  185. package/System.Runtime.Remoting/internal/index.d.ts +1 -1
  186. package/System.Runtime.Remoting.d.ts +1 -1
  187. package/System.Runtime.Serialization/bindings.json +920 -17
  188. package/System.Runtime.Serialization/internal/index.d.ts +36 -5
  189. package/System.Runtime.Serialization.DataContracts/bindings.json +85 -38
  190. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +27 -19
  191. package/System.Runtime.Serialization.Formatters/bindings.json +24 -12
  192. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +1 -1
  193. package/System.Runtime.Serialization.Formatters.Binary/bindings.json +15 -0
  194. package/System.Runtime.Serialization.Formatters.d.ts +1 -1
  195. package/System.Runtime.Serialization.Json/bindings.json +56 -0
  196. package/System.Runtime.Serialization.d.ts +2 -2
  197. package/System.Runtime.Versioning/bindings.json +62 -8
  198. package/System.Runtime.Versioning/internal/index.d.ts +1 -1
  199. package/System.Runtime.Versioning.d.ts +1 -1
  200. package/System.Security/bindings.json +265 -12
  201. package/System.Security/internal/index.d.ts +12 -1
  202. package/System.Security.AccessControl/bindings.json +4082 -797
  203. package/System.Security.AccessControl/internal/index.d.ts +131 -72
  204. package/System.Security.AccessControl.d.ts +2 -1
  205. package/System.Security.Authentication/bindings.json +80 -16
  206. package/System.Security.Authentication/internal/index.d.ts +2 -0
  207. package/System.Security.Authentication.ExtendedProtection/bindings.json +108 -13
  208. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -3
  209. package/System.Security.Authentication.ExtendedProtection.d.ts +2 -2
  210. package/System.Security.Claims/bindings.json +436 -0
  211. package/System.Security.Claims/internal/index.d.ts +34 -4
  212. package/System.Security.Claims.d.ts +2 -1
  213. package/System.Security.Cryptography/bindings.json +11592 -237
  214. package/System.Security.Cryptography/internal/index.d.ts +822 -102
  215. package/System.Security.Cryptography.X509Certificates/bindings.json +1000 -114
  216. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +36 -9
  217. package/System.Security.Cryptography.X509Certificates.d.ts +1 -1
  218. package/System.Security.Cryptography.d.ts +2 -2
  219. package/System.Security.Permissions/bindings.json +88 -14
  220. package/System.Security.Permissions/internal/index.d.ts +3 -1
  221. package/System.Security.Permissions.d.ts +1 -1
  222. package/System.Security.Policy/bindings.json +42 -1
  223. package/System.Security.Policy/internal/index.d.ts +1 -0
  224. package/System.Security.Principal/bindings.json +355 -28
  225. package/System.Security.Principal/internal/index.d.ts +11 -3
  226. package/System.Security.Principal.d.ts +1 -1
  227. package/System.Text/bindings.json +800 -31
  228. package/System.Text/internal/index.d.ts +10 -1
  229. package/System.Text.Encodings.Web/bindings.json +87 -4
  230. package/System.Text.Encodings.Web/internal/index.d.ts +4 -0
  231. package/System.Text.Json/bindings.json +574 -49
  232. package/System.Text.Json/internal/index.d.ts +12 -10
  233. package/System.Text.Json.Nodes/bindings.json +152 -19
  234. package/System.Text.Json.Nodes/internal/index.d.ts +1 -1
  235. package/System.Text.Json.Schema/bindings.json +10 -0
  236. package/System.Text.Json.Schema/internal/index.d.ts +1 -1
  237. package/System.Text.Json.Schema.d.ts +1 -1
  238. package/System.Text.Json.Serialization/bindings.json +295 -54
  239. package/System.Text.Json.Serialization/internal/index.d.ts +13 -1
  240. package/System.Text.Json.Serialization.Metadata/bindings.json +198 -24
  241. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +7 -4
  242. package/System.Text.RegularExpressions/bindings.json +1319 -103
  243. package/System.Text.RegularExpressions/internal/index.d.ts +25 -5
  244. package/System.Text.RegularExpressions.d.ts +1 -1
  245. package/System.Text.Unicode/bindings.json +185 -0
  246. package/System.Text.Unicode/internal/index.d.ts +1 -1
  247. package/System.Text.Unicode.d.ts +1 -1
  248. package/System.Threading/bindings.json +1270 -64
  249. package/System.Threading/internal/index.d.ts +104 -36
  250. package/System.Threading.Channels/bindings.json +143 -29
  251. package/System.Threading.Channels/internal/index.d.ts +8 -2
  252. package/System.Threading.Tasks/bindings.json +719 -29
  253. package/System.Threading.Tasks/internal/index.d.ts +25 -4
  254. package/System.Threading.Tasks.Dataflow/bindings.json +442 -143
  255. package/System.Threading.Tasks.Sources/bindings.json +34 -11
  256. package/System.Timers/bindings.json +50 -4
  257. package/System.Timers/internal/index.d.ts +9 -4
  258. package/System.Timers.d.ts +2 -2
  259. package/System.Transactions/bindings.json +269 -32
  260. package/System.Transactions/internal/index.d.ts +5 -0
  261. package/System.Web/bindings.json +32 -0
  262. package/System.Windows.Input/bindings.json +3 -0
  263. package/System.Windows.Markup/bindings.json +4 -0
  264. package/System.Windows.Markup/internal/index.d.ts +1 -1
  265. package/System.Windows.Markup.d.ts +1 -1
  266. package/System.Xml/bindings.json +2447 -210
  267. package/System.Xml/internal/index.d.ts +100 -30
  268. package/System.Xml.Linq/bindings.json +361 -24
  269. package/System.Xml.Resolvers/bindings.json +26 -4
  270. package/System.Xml.Schema/bindings.json +830 -56
  271. package/System.Xml.Schema/internal/index.d.ts +20 -1
  272. package/System.Xml.Serialization/bindings.json +4421 -149
  273. package/System.Xml.Serialization/internal/index.d.ts +74 -8
  274. package/System.Xml.Serialization.d.ts +4 -4
  275. package/System.Xml.XPath/bindings.json +287 -35
  276. package/System.Xml.XPath/internal/index.d.ts +4 -0
  277. package/System.Xml.Xsl/bindings.json +174 -8
  278. package/System.Xml.Xsl/internal/index.d.ts +8 -2
  279. package/System.Xml.Xsl.Runtime/bindings.json +613 -58
  280. package/System.Xml.Xsl.Runtime/internal/index.d.ts +19 -3
  281. package/System.Xml.Xsl.d.ts +1 -1
  282. package/System.d.ts +1 -1
  283. package/package.json +1 -1
@@ -12,15 +12,23 @@ import type { ptr } from "@tsonic/core/types.js";
12
12
  import * as System_Collections_Generic_Internal from "../../System.Collections.Generic/internal/index.js";
13
13
  import type { ICollection_1, IDictionary_2, IEnumerable_1, IEnumerator_1, IEqualityComparer_1, IList_1, IReadOnlyCollection_1, IReadOnlyDictionary_2, IReadOnlyList_1, IReadOnlySet_1, ISet_1, KeyValuePair_2, List_1 } from "../../System.Collections.Generic/internal/index.js";
14
14
  import * as System_Collections_Specialized_Internal from "../../System.Collections.Specialized/internal/index.js";
15
- import type { INotifyCollectionChanged, NotifyCollectionChangedEventHandler } from "../../System.Collections.Specialized/internal/index.js";
15
+ import type { INotifyCollectionChanged, NotifyCollectionChangedEventArgs, NotifyCollectionChangedEventHandler } from "../../System.Collections.Specialized/internal/index.js";
16
16
  import * as System_Collections_Internal from "../../System.Collections/internal/index.js";
17
17
  import type { ICollection, IDictionary, IDictionaryEnumerator, IEnumerable, IEnumerator, IList } from "../../System.Collections/internal/index.js";
18
18
  import * as System_ComponentModel_Internal from "../../System.ComponentModel/internal/index.js";
19
- import type { INotifyPropertyChanged } from "../../System.ComponentModel/internal/index.js";
19
+ import type { INotifyPropertyChanged, PropertyChangedEventArgs, PropertyChangedEventHandler } from "../../System.ComponentModel/internal/index.js";
20
20
  import * as System_Internal from "../../System/internal/index.js";
21
- import type { Array as ClrArray, Boolean as ClrBoolean, Int32, Object as ClrObject, ReadOnlySpan_1, String as ClrString, Type, Void } from "../../System/internal/index.js";
21
+ import type { Array as ClrArray, Boolean as ClrBoolean, IDisposable, Int32, Object as ClrObject, ReadOnlySpan_1, String as ClrString, Type, Void } from "../../System/internal/index.js";
22
22
 
23
- export interface Collection_1$instance<T> {
23
+ export abstract class Collection_1$protected<T> {
24
+ protected ClearItems(): void;
25
+ protected InsertItem(index: int, item: T): void;
26
+ protected RemoveItem(index: int): void;
27
+ protected SetItem(index: int, item: T): void;
28
+ }
29
+
30
+
31
+ export interface Collection_1$instance<T> extends Collection_1$protected<T> {
24
32
  readonly Count: int;
25
33
  Item: T;
26
34
  Add(item: T): void;
@@ -54,7 +62,18 @@ export interface __Collection_1$views<T> {
54
62
  export type Collection_1<T> = Collection_1$instance<T> & __Collection_1$views<T>;
55
63
 
56
64
 
57
- export interface KeyedCollection_2$instance<TKey, TItem> extends Collection_1$instance<TItem> {
65
+ export abstract class KeyedCollection_2$protected<TKey, TItem> {
66
+ protected ClearItems(): void;
67
+ protected abstract GetKeyForItem(item: TItem): TKey;
68
+ protected InsertItem2(index: int, item: TItem): void;
69
+ protected InsertItem(index: int, item: unknown): void;
70
+ protected RemoveItem(index: int): void;
71
+ protected SetItem2(index: int, item: TItem): void;
72
+ protected SetItem(index: int, item: unknown): void;
73
+ }
74
+
75
+
76
+ export interface KeyedCollection_2$instance<TKey, TItem> extends KeyedCollection_2$protected<TKey, TItem>, Collection_1$instance<TItem> {
58
77
  readonly Comparer: IEqualityComparer_1<TKey>;
59
78
  Add(item: TItem): void;
60
79
  Add(value: unknown): int;
@@ -76,6 +95,9 @@ export interface KeyedCollection_2$instance<TKey, TItem> extends Collection_1$in
76
95
 
77
96
 
78
97
  export const KeyedCollection_2: {
98
+ new<TKey, TItem>(): KeyedCollection_2<TKey, TItem>;
99
+ new<TKey, TItem>(comparer: IEqualityComparer_1<TKey>): KeyedCollection_2<TKey, TItem>;
100
+ new<TKey, TItem>(comparer: IEqualityComparer_1<TKey>, dictionaryCreationThreshold: int): KeyedCollection_2<TKey, TItem>;
79
101
  };
80
102
 
81
103
 
@@ -92,7 +114,18 @@ export interface __KeyedCollection_2$views<TKey, TItem> {
92
114
  export type KeyedCollection_2<TKey, TItem> = KeyedCollection_2$instance<TKey, TItem> & __KeyedCollection_2$views<TKey, TItem>;
93
115
 
94
116
 
95
- export interface ObservableCollection_1$instance<T> extends Collection_1$instance<T>, INotifyCollectionChanged, INotifyPropertyChanged {
117
+ export abstract class ObservableCollection_1$protected<T> {
118
+ protected ClearItems(): void;
119
+ protected InsertItem(index: int, item: T): void;
120
+ protected MoveItem(oldIndex: int, newIndex: int): void;
121
+ protected OnCollectionChanged(e: NotifyCollectionChangedEventArgs): void;
122
+ protected OnPropertyChanged(e: PropertyChangedEventArgs): void;
123
+ protected RemoveItem(index: int): void;
124
+ protected SetItem(index: int, item: T): void;
125
+ }
126
+
127
+
128
+ export interface ObservableCollection_1$instance<T> extends ObservableCollection_1$protected<T>, Collection_1$instance<T>, INotifyCollectionChanged, INotifyPropertyChanged {
96
129
  Add(item: T): void;
97
130
  Add(value: unknown): int;
98
131
  Clear(): void;
@@ -241,7 +274,13 @@ export interface __ReadOnlyDictionary_2_ValueCollection$views<TKey, TValue> {
241
274
  export type ReadOnlyDictionary_2_ValueCollection<TKey, TValue> = ReadOnlyDictionary_2_ValueCollection$instance<TKey, TValue> & __ReadOnlyDictionary_2_ValueCollection$views<TKey, TValue>;
242
275
 
243
276
 
244
- export interface ReadOnlyObservableCollection_1$instance<T> extends ReadOnlyCollection_1$instance<T>, INotifyCollectionChanged, INotifyPropertyChanged {
277
+ export abstract class ReadOnlyObservableCollection_1$protected<T> {
278
+ protected OnCollectionChanged(args: NotifyCollectionChangedEventArgs): void;
279
+ protected OnPropertyChanged(args: PropertyChangedEventArgs): void;
280
+ }
281
+
282
+
283
+ export interface ReadOnlyObservableCollection_1$instance<T> extends ReadOnlyObservableCollection_1$protected<T>, ReadOnlyCollection_1$instance<T>, INotifyCollectionChanged, INotifyPropertyChanged {
245
284
  Add(item: T): void;
246
285
  Add(value: unknown): int;
247
286
  Clear(): void;
@@ -7,10 +7,10 @@ import * as Internal from './System.Collections.ObjectModel/internal/index.js';
7
7
 
8
8
  // Cross-namespace type imports for constraints
9
9
  import type { ICollection_1, IDictionary_2, IEnumerable_1, IEnumerator_1, IEqualityComparer_1, IList_1, IReadOnlyCollection_1, IReadOnlyDictionary_2, IReadOnlyList_1, IReadOnlySet_1, ISet_1, KeyValuePair_2, List_1 } from './System.Collections.Generic/internal/index.js';
10
- import type { INotifyCollectionChanged, NotifyCollectionChangedEventHandler } from './System.Collections.Specialized/internal/index.js';
10
+ import type { INotifyCollectionChanged, NotifyCollectionChangedEventArgs, NotifyCollectionChangedEventHandler } from './System.Collections.Specialized/internal/index.js';
11
11
  import type { ICollection, IDictionary, IDictionaryEnumerator, IEnumerable, IEnumerator, IList } from './System.Collections/internal/index.js';
12
- import type { INotifyPropertyChanged } from './System.ComponentModel/internal/index.js';
13
- import type { Array as ClrArray, Boolean as ClrBoolean, Int32, Object as ClrObject, ReadOnlySpan_1, String as ClrString, Type, Void } from './System/internal/index.js';
12
+ import type { INotifyPropertyChanged, PropertyChangedEventArgs, PropertyChangedEventHandler } from './System.ComponentModel/internal/index.js';
13
+ import type { Array as ClrArray, Boolean as ClrBoolean, IDisposable, Int32, Object as ClrObject, ReadOnlySpan_1, String as ClrString, Type, Void } from './System/internal/index.js';
14
14
 
15
15
  // Public API exports (curated - no internal $instance/$views leakage)
16
16
  export { KeyedCollection_2 as KeyedCollection } from './System.Collections.ObjectModel/internal/index.js';