@tsonic/dotnet 10.0.2 → 10.0.4

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 (109) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -3
  2. package/Microsoft.VisualBasic/internal/index.d.ts +1 -11
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +0 -22
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -9
  5. package/Microsoft.Win32/internal/index.d.ts +0 -1
  6. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +53 -127
  7. package/System/internal/index.d.ts +87 -200
  8. package/System.Buffers/internal/index.d.ts +10 -23
  9. package/System.CodeDom.Compiler/internal/index.d.ts +6 -10
  10. package/System.Collections/internal/index.d.ts +41 -57
  11. package/System.Collections.Concurrent/internal/index.d.ts +4 -10
  12. package/System.Collections.Generic/internal/index.d.ts +15 -37
  13. package/System.Collections.Immutable/internal/index.d.ts +7 -20
  14. package/System.Collections.ObjectModel/internal/index.d.ts +25 -48
  15. package/System.Collections.Specialized/internal/index.d.ts +15 -30
  16. package/System.ComponentModel/internal/index.d.ts +126 -216
  17. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +80 -161
  18. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +4 -3
  19. package/System.ComponentModel.Design/internal/index.d.ts +26 -53
  20. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +18 -29
  21. package/System.Data/internal/index.d.ts +110 -188
  22. package/System.Data.Common/internal/index.d.ts +155 -238
  23. package/System.Data.SqlTypes/internal/index.d.ts +6 -7
  24. package/System.Diagnostics/internal/index.d.ts +105 -169
  25. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +24 -21
  26. package/System.Diagnostics.Contracts/internal/index.d.ts +2 -2
  27. package/System.Diagnostics.Metrics/internal/index.d.ts +31 -66
  28. package/System.Diagnostics.Tracing/internal/index.d.ts +26 -35
  29. package/System.Dynamic/internal/index.d.ts +15 -29
  30. package/System.Formats.Asn1/internal/index.d.ts +0 -1
  31. package/System.Formats.Tar/internal/index.d.ts +1 -1
  32. package/System.Globalization/internal/index.d.ts +17 -51
  33. package/System.IO/internal/index.d.ts +47 -123
  34. package/System.IO.Compression/internal/index.d.ts +11 -33
  35. package/System.IO.Enumeration/internal/index.d.ts +11 -16
  36. package/System.IO.IsolatedStorage/internal/index.d.ts +6 -17
  37. package/System.IO.MemoryMappedFiles/internal/index.d.ts +6 -21
  38. package/System.IO.Pipelines/internal/index.d.ts +7 -18
  39. package/System.IO.Pipes/internal/index.d.ts +24 -50
  40. package/System.Linq/internal/index.d.ts +0 -4
  41. package/System.Linq.Expressions/internal/index.d.ts +108 -257
  42. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -1
  43. package/System.Net/internal/index.d.ts +133 -184
  44. package/System.Net.Http/internal/index.d.ts +128 -201
  45. package/System.Net.Http.Headers/internal/index.d.ts +37 -40
  46. package/System.Net.Http.Json/internal/index.d.ts +8 -13
  47. package/System.Net.Http.Metrics/internal/index.d.ts +2 -3
  48. package/System.Net.Mail/internal/index.d.ts +49 -105
  49. package/System.Net.Mime/internal/index.d.ts +4 -3
  50. package/System.Net.NetworkInformation/internal/index.d.ts +29 -60
  51. package/System.Net.Quic/internal/index.d.ts +5 -11
  52. package/System.Net.Security/internal/index.d.ts +30 -42
  53. package/System.Net.ServerSentEvents/internal/index.d.ts +1 -2
  54. package/System.Net.Sockets/internal/index.d.ts +33 -56
  55. package/System.Net.WebSockets/internal/index.d.ts +16 -23
  56. package/System.Numerics/internal/index.d.ts +5 -5
  57. package/System.Reflection/internal/index.d.ts +66 -102
  58. package/System.Reflection.Emit/internal/index.d.ts +104 -177
  59. package/System.Reflection.Metadata/internal/index.d.ts +11 -21
  60. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +0 -1
  61. package/System.Reflection.PortableExecutable/internal/index.d.ts +12 -30
  62. package/System.Resources/internal/index.d.ts +8 -20
  63. package/System.Runtime/internal/index.d.ts +5 -8
  64. package/System.Runtime.CompilerServices/internal/index.d.ts +15 -21
  65. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -8
  66. package/System.Runtime.ExceptionServices/internal/index.d.ts +0 -1
  67. package/System.Runtime.InteropServices/internal/index.d.ts +29 -62
  68. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +1 -22
  69. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +14 -23
  70. package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
  71. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -2
  72. package/System.Runtime.Loader/internal/index.d.ts +5 -11
  73. package/System.Runtime.Serialization/internal/index.d.ts +62 -65
  74. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +8 -10
  75. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  76. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -2
  77. package/System.Runtime.Serialization.Json/internal/index.d.ts +6 -4
  78. package/System.Runtime.Versioning/internal/index.d.ts +6 -6
  79. package/System.Security/internal/index.d.ts +22 -25
  80. package/System.Security.AccessControl/internal/index.d.ts +51 -89
  81. package/System.Security.Authentication/internal/index.d.ts +0 -2
  82. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -10
  83. package/System.Security.Claims/internal/index.d.ts +19 -38
  84. package/System.Security.Cryptography/internal/index.d.ts +492 -903
  85. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +19 -48
  86. package/System.Security.Permissions/internal/index.d.ts +2 -4
  87. package/System.Security.Policy/internal/index.d.ts +3 -4
  88. package/System.Security.Principal/internal/index.d.ts +11 -17
  89. package/System.Text/internal/index.d.ts +11 -23
  90. package/System.Text.Encodings.Web/internal/index.d.ts +4 -8
  91. package/System.Text.Json/internal/index.d.ts +10 -12
  92. package/System.Text.Json.Nodes/internal/index.d.ts +4 -3
  93. package/System.Text.Json.Schema/internal/index.d.ts +1 -1
  94. package/System.Text.Json.Serialization/internal/index.d.ts +19 -27
  95. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +36 -34
  96. package/System.Text.RegularExpressions/internal/index.d.ts +11 -31
  97. package/System.Threading/internal/index.d.ts +36 -106
  98. package/System.Threading.Channels/internal/index.d.ts +7 -12
  99. package/System.Threading.Tasks/internal/index.d.ts +18 -29
  100. package/System.Timers/internal/index.d.ts +4 -8
  101. package/System.Transactions/internal/index.d.ts +3 -14
  102. package/System.Xml/internal/index.d.ts +104 -167
  103. package/System.Xml.Linq/internal/index.d.ts +17 -13
  104. package/System.Xml.Schema/internal/index.d.ts +117 -112
  105. package/System.Xml.Serialization/internal/index.d.ts +92 -100
  106. package/System.Xml.XPath/internal/index.d.ts +5 -9
  107. package/System.Xml.Xsl/internal/index.d.ts +4 -9
  108. package/System.Xml.Xsl.Runtime/internal/index.d.ts +11 -29
  109. package/package.json +1 -1
@@ -38,7 +38,7 @@ export interface IImmutableDictionary_2$instance<TKey, TValue> extends IReadOnly
38
38
  export type IImmutableDictionary_2<TKey, TValue> = IImmutableDictionary_2$instance<TKey, TValue>;
39
39
 
40
40
  export interface IImmutableList_1$instance<T> extends IReadOnlyList_1<T>, IEnumerable_1<T>, IEnumerable, IReadOnlyCollection_1<T> {
41
- readonly Item: T;
41
+ readonly [index: number]: T;
42
42
  readonly Count: int;
43
43
  Add(value: T): IImmutableList_1<T>;
44
44
  AddRange(items: IEnumerable_1<T>): IImmutableList_1<T>;
@@ -106,7 +106,7 @@ export interface ImmutableArray_1$instance<T> {
106
106
  readonly IsDefault: boolean;
107
107
  readonly IsDefaultOrEmpty: boolean;
108
108
  readonly IsEmpty: boolean;
109
- readonly Item: T;
109
+ readonly [index: number]: T;
110
110
  readonly Length: int;
111
111
  Add(item: T): ImmutableArray_1<T>;
112
112
  AddRange(items: IEnumerable_1<T>): ImmutableArray_1<T>;
@@ -348,7 +348,7 @@ export type ImmutableStack_1_Enumerator<T> = ImmutableStack_1_Enumerator$instanc
348
348
  export interface ImmutableArray_1_Builder$instance<T> {
349
349
  Capacity: int;
350
350
  Count: int;
351
- Item: T;
351
+ [index: number]: T;
352
352
  Add(item: T): void;
353
353
  AddRange(items: IEnumerable_1<T>): void;
354
354
  AddRange(...items: T[]): void;
@@ -400,7 +400,6 @@ export interface ImmutableArray_1_Builder$instance<T> {
400
400
 
401
401
 
402
402
  export const ImmutableArray_1_Builder: {
403
- new<T>(): ImmutableArray_1_Builder<T>;
404
403
  };
405
404
 
406
405
 
@@ -443,7 +442,6 @@ export interface ImmutableDictionary_2$instance<TKey, TValue> {
443
442
 
444
443
 
445
444
  export const ImmutableDictionary_2: {
446
- new<TKey, TValue>(): ImmutableDictionary_2<TKey, TValue>;
447
445
  readonly Empty: unknown;
448
446
  };
449
447
 
@@ -490,7 +488,6 @@ export interface ImmutableDictionary_2_Builder$instance<TKey, TValue> {
490
488
 
491
489
 
492
490
  export const ImmutableDictionary_2_Builder: {
493
- new<TKey, TValue>(): ImmutableDictionary_2_Builder<TKey, TValue>;
494
491
  };
495
492
 
496
493
 
@@ -534,7 +531,6 @@ export interface ImmutableHashSet_1$instance<T> {
534
531
 
535
532
 
536
533
  export const ImmutableHashSet_1: {
537
- new<T>(): ImmutableHashSet_1<T>;
538
534
  readonly Empty: unknown;
539
535
  };
540
536
 
@@ -577,7 +573,6 @@ export interface ImmutableHashSet_1_Builder$instance<T> {
577
573
 
578
574
 
579
575
  export const ImmutableHashSet_1_Builder: {
580
- new<T>(): ImmutableHashSet_1_Builder<T>;
581
576
  };
582
577
 
583
578
 
@@ -595,7 +590,7 @@ export type ImmutableHashSet_1_Builder<T> = ImmutableHashSet_1_Builder$instance<
595
590
  export interface ImmutableList_1$instance<T> {
596
591
  readonly Count: int;
597
592
  readonly IsEmpty: boolean;
598
- readonly Item: T;
593
+ readonly [index: number]: T;
599
594
  Add(value: T): ImmutableList_1<T>;
600
595
  AddRange(items: IEnumerable_1<T>): ImmutableList_1<T>;
601
596
  BinarySearch(item: T): int;
@@ -648,7 +643,6 @@ export interface ImmutableList_1$instance<T> {
648
643
 
649
644
 
650
645
  export const ImmutableList_1: {
651
- new<T>(): ImmutableList_1<T>;
652
646
  readonly Empty: unknown;
653
647
  };
654
648
 
@@ -669,7 +663,7 @@ export type ImmutableList_1<T> = ImmutableList_1$instance<T> & __ImmutableList_1
669
663
 
670
664
  export interface ImmutableList_1_Builder$instance<T> {
671
665
  readonly Count: int;
672
- Item: T;
666
+ [index: number]: T;
673
667
  Add(item: T): void;
674
668
  AddRange(items: IEnumerable_1<T>): void;
675
669
  BinarySearch(item: T): int;
@@ -726,7 +720,6 @@ export interface ImmutableList_1_Builder$instance<T> {
726
720
 
727
721
 
728
722
  export const ImmutableList_1_Builder: {
729
- new<T>(): ImmutableList_1_Builder<T>;
730
723
  };
731
724
 
732
725
 
@@ -756,7 +749,6 @@ export interface ImmutableQueue_1$instance<T> {
756
749
 
757
750
 
758
751
  export const ImmutableQueue_1: {
759
- new<T>(): ImmutableQueue_1<T>;
760
752
  readonly Empty: unknown;
761
753
  };
762
754
 
@@ -799,7 +791,6 @@ export interface ImmutableSortedDictionary_2$instance<TKey, TValue> {
799
791
 
800
792
 
801
793
  export const ImmutableSortedDictionary_2: {
802
- new<TKey, TValue>(): ImmutableSortedDictionary_2<TKey, TValue>;
803
794
  readonly Empty: unknown;
804
795
  };
805
796
 
@@ -847,7 +838,6 @@ export interface ImmutableSortedDictionary_2_Builder$instance<TKey, TValue> {
847
838
 
848
839
 
849
840
  export const ImmutableSortedDictionary_2_Builder: {
850
- new<TKey, TValue>(): ImmutableSortedDictionary_2_Builder<TKey, TValue>;
851
841
  };
852
842
 
853
843
 
@@ -868,7 +858,7 @@ export type ImmutableSortedDictionary_2_Builder<TKey, TValue> = ImmutableSortedD
868
858
  export interface ImmutableSortedSet_1$instance<T> {
869
859
  readonly Count: int;
870
860
  readonly IsEmpty: boolean;
871
- readonly Item: T;
861
+ readonly [index: number]: T;
872
862
  readonly KeyComparer: IComparer_1<T>;
873
863
  readonly Max: T | undefined;
874
864
  readonly Min: T | undefined;
@@ -897,7 +887,6 @@ export interface ImmutableSortedSet_1$instance<T> {
897
887
 
898
888
 
899
889
  export const ImmutableSortedSet_1: {
900
- new<T>(): ImmutableSortedSet_1<T>;
901
890
  readonly Empty: unknown;
902
891
  };
903
892
 
@@ -920,7 +909,7 @@ export type ImmutableSortedSet_1<T> = ImmutableSortedSet_1$instance<T> & __Immut
920
909
 
921
910
  export interface ImmutableSortedSet_1_Builder$instance<T> {
922
911
  readonly Count: int;
923
- readonly Item: T;
912
+ readonly [index: number]: T;
924
913
  KeyComparer: IComparer_1<T>;
925
914
  readonly Max: T | undefined;
926
915
  readonly Min: T | undefined;
@@ -948,7 +937,6 @@ export interface ImmutableSortedSet_1_Builder$instance<T> {
948
937
 
949
938
 
950
939
  export const ImmutableSortedSet_1_Builder: {
951
- new<T>(): ImmutableSortedSet_1_Builder<T>;
952
940
  };
953
941
 
954
942
 
@@ -977,7 +965,6 @@ export interface ImmutableStack_1$instance<T> {
977
965
 
978
966
 
979
967
  export const ImmutableStack_1: {
980
- new<T>(): ImmutableStack_1<T>;
981
968
  readonly Empty: unknown;
982
969
  };
983
970
 
@@ -20,26 +20,22 @@ import type { INotifyPropertyChanged, PropertyChangedEventArgs, PropertyChangedE
20
20
  import * as System_Internal from "../../System/internal/index.js";
21
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 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> {
23
+ export interface Collection_1$instance<T> {
32
24
  readonly Count: int;
33
- Item: T;
25
+ [index: number]: T;
34
26
  Add(item: T): void;
35
27
  Clear(): void;
28
+ ClearItems(): void;
36
29
  Contains(item: T): boolean;
37
30
  CopyTo(array: T[], index: int): void;
38
31
  GetEnumerator(): IEnumerator_1<T>;
39
32
  IndexOf(item: T): int;
40
33
  Insert(index: int, item: T): void;
34
+ InsertItem(index: int, item: T): void;
41
35
  Remove(item: T): boolean;
42
36
  RemoveAt(index: int): void;
37
+ RemoveItem(index: int): void;
38
+ SetItem(index: int, item: T): void;
43
39
  }
44
40
 
45
41
 
@@ -62,42 +58,33 @@ export interface __Collection_1$views<T> {
62
58
  export type Collection_1<T> = Collection_1$instance<T> & __Collection_1$views<T>;
63
59
 
64
60
 
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> {
61
+ export interface KeyedCollection_2$instance<TKey, TItem> extends Collection_1$instance<TItem> {
77
62
  readonly Comparer: IEqualityComparer_1<TKey>;
78
63
  Add(item: TItem): void;
79
64
  Add(value: unknown): int;
80
65
  Clear(): void;
66
+ ClearItems(): void;
81
67
  Contains(item: TItem): boolean;
82
68
  Contains(value: unknown): boolean;
83
69
  CopyTo(array: TItem[], index: int): void;
84
70
  CopyTo(array: ClrArray, index: int): void;
85
71
  GetEnumerator(): IEnumerator_1<TItem>;
86
72
  GetEnumerator(): IEnumerator;
73
+ GetKeyForItem(item: TItem): TKey;
87
74
  IndexOf(item: TItem): int;
88
75
  Insert(index: int, item: TItem): void;
89
76
  Insert(index: int, value: unknown): void;
77
+ InsertItem(index: int, item: TItem): void;
90
78
  Remove(item: TItem): boolean;
91
79
  Remove(value: unknown): void;
92
80
  RemoveAt(index: int): void;
81
+ RemoveItem(index: int): void;
82
+ SetItem(index: int, item: TItem): void;
93
83
  TryGetValue(key: TKey, item: TItem): boolean;
94
84
  }
95
85
 
96
86
 
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>;
87
+ export const KeyedCollection_2: (abstract new<TKey, TItem>() => KeyedCollection_2<TKey, TItem>) & (abstract new<TKey, TItem>(comparer: IEqualityComparer_1<TKey>) => KeyedCollection_2<TKey, TItem>) & (abstract new<TKey, TItem>(comparer: IEqualityComparer_1<TKey>, dictionaryCreationThreshold: int) => KeyedCollection_2<TKey, TItem>) & {
101
88
  };
102
89
 
103
90
 
@@ -114,21 +101,11 @@ export interface __KeyedCollection_2$views<TKey, TItem> {
114
101
  export type KeyedCollection_2<TKey, TItem> = KeyedCollection_2$instance<TKey, TItem> & __KeyedCollection_2$views<TKey, TItem>;
115
102
 
116
103
 
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 {
104
+ export interface ObservableCollection_1$instance<T> extends Collection_1$instance<T>, INotifyCollectionChanged, INotifyPropertyChanged {
129
105
  Add(item: T): void;
130
106
  Add(value: unknown): int;
131
107
  Clear(): void;
108
+ ClearItems(): void;
132
109
  Contains(item: T): boolean;
133
110
  Contains(value: unknown): boolean;
134
111
  CopyTo(array: T[], index: int): void;
@@ -138,10 +115,16 @@ export interface ObservableCollection_1$instance<T> extends ObservableCollection
138
115
  IndexOf(item: T): int;
139
116
  Insert(index: int, item: T): void;
140
117
  Insert(index: int, value: unknown): void;
118
+ InsertItem(index: int, item: T): void;
141
119
  Move(oldIndex: int, newIndex: int): void;
120
+ MoveItem(oldIndex: int, newIndex: int): void;
121
+ OnCollectionChanged(e: NotifyCollectionChangedEventArgs): void;
122
+ OnPropertyChanged(e: PropertyChangedEventArgs): void;
142
123
  Remove(item: T): boolean;
143
124
  Remove(value: unknown): void;
144
125
  RemoveAt(index: int): void;
126
+ RemoveItem(index: int): void;
127
+ SetItem(index: int, item: T): void;
145
128
  }
146
129
 
147
130
 
@@ -169,7 +152,7 @@ export type ObservableCollection_1<T> = ObservableCollection_1$instance<T> & __O
169
152
 
170
153
  export interface ReadOnlyCollection_1$instance<T> {
171
154
  readonly Count: int;
172
- readonly Item: T;
155
+ readonly [index: number]: T;
173
156
  Contains(value: T): boolean;
174
157
  CopyTo(array: T[], index: int): void;
175
158
  GetEnumerator(): IEnumerator_1<T>;
@@ -236,7 +219,6 @@ export interface ReadOnlyDictionary_2_KeyCollection$instance<TKey, TValue> {
236
219
 
237
220
 
238
221
  export const ReadOnlyDictionary_2_KeyCollection: {
239
- new<TKey, TValue>(): ReadOnlyDictionary_2_KeyCollection<TKey, TValue>;
240
222
  };
241
223
 
242
224
 
@@ -259,7 +241,6 @@ export interface ReadOnlyDictionary_2_ValueCollection$instance<TKey, TValue> {
259
241
 
260
242
 
261
243
  export const ReadOnlyDictionary_2_ValueCollection: {
262
- new<TKey, TValue>(): ReadOnlyDictionary_2_ValueCollection<TKey, TValue>;
263
244
  };
264
245
 
265
246
 
@@ -274,13 +255,7 @@ export interface __ReadOnlyDictionary_2_ValueCollection$views<TKey, TValue> {
274
255
  export type ReadOnlyDictionary_2_ValueCollection<TKey, TValue> = ReadOnlyDictionary_2_ValueCollection$instance<TKey, TValue> & __ReadOnlyDictionary_2_ValueCollection$views<TKey, TValue>;
275
256
 
276
257
 
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 {
258
+ export interface ReadOnlyObservableCollection_1$instance<T> extends ReadOnlyCollection_1$instance<T>, INotifyCollectionChanged, INotifyPropertyChanged {
284
259
  Add(item: T): void;
285
260
  Add(value: unknown): int;
286
261
  Clear(): void;
@@ -293,6 +268,8 @@ export interface ReadOnlyObservableCollection_1$instance<T> extends ReadOnlyObse
293
268
  IndexOf(value: T): int;
294
269
  Insert(index: int, item: T): void;
295
270
  Insert(index: int, value: unknown): void;
271
+ OnCollectionChanged(args: NotifyCollectionChangedEventArgs): void;
272
+ OnPropertyChanged(args: PropertyChangedEventArgs): void;
296
273
  Remove(item: T): boolean;
297
274
  Remove(value: unknown): void;
298
275
  RemoveAt(index: int): void;
@@ -44,7 +44,7 @@ export interface IOrderedDictionary$instance extends IDictionary, ICollection, I
44
44
  Clear(): void;
45
45
  Contains(key: unknown): boolean;
46
46
  CopyTo(array: ClrArray, index: int): void;
47
- get_Item(index: int): unknown;
47
+ get_Item(index: int): unknown | undefined;
48
48
  get_Item(key: unknown): unknown | undefined;
49
49
  GetEnumerator(): IDictionaryEnumerator;
50
50
  GetEnumerator(): IEnumerator;
@@ -140,7 +140,7 @@ export interface HybridDictionary$instance {
140
140
  readonly IsReadOnly: boolean;
141
141
  readonly IsSynchronized: boolean;
142
142
  get Item(): unknown | undefined;
143
- set Item(value: unknown);
143
+ set Item(value: unknown | undefined);
144
144
  readonly Keys: ICollection;
145
145
  readonly SyncRoot: unknown;
146
146
  readonly Values: ICollection;
@@ -176,7 +176,7 @@ export interface ListDictionary$instance {
176
176
  readonly IsReadOnly: boolean;
177
177
  readonly IsSynchronized: boolean;
178
178
  get Item(): unknown | undefined;
179
- set Item(value: unknown);
179
+ set Item(value: unknown | undefined);
180
180
  readonly Keys: ICollection;
181
181
  readonly SyncRoot: unknown;
182
182
  readonly Values: ICollection;
@@ -227,14 +227,7 @@ export interface NameObjectCollectionBase$instance {
227
227
  }
228
228
 
229
229
 
230
- export const NameObjectCollectionBase: {
231
- new(): NameObjectCollectionBase;
232
- new(equalityComparer: IEqualityComparer): NameObjectCollectionBase;
233
- new(capacity: int, equalityComparer: IEqualityComparer): NameObjectCollectionBase;
234
- new(hashProvider: IHashCodeProvider, comparer: IComparer): NameObjectCollectionBase;
235
- new(capacity: int, hashProvider: IHashCodeProvider, comparer: IComparer): NameObjectCollectionBase;
236
- new(capacity: int): NameObjectCollectionBase;
237
- new(info: SerializationInfo, context: StreamingContext): NameObjectCollectionBase;
230
+ export const NameObjectCollectionBase: (abstract new() => NameObjectCollectionBase) & (abstract new(equalityComparer: IEqualityComparer) => NameObjectCollectionBase) & (abstract new(capacity: int, equalityComparer: IEqualityComparer) => NameObjectCollectionBase) & (abstract new(hashProvider: IHashCodeProvider, comparer: IComparer) => NameObjectCollectionBase) & (abstract new(capacity: int, hashProvider: IHashCodeProvider, comparer: IComparer) => NameObjectCollectionBase) & (abstract new(capacity: int) => NameObjectCollectionBase) & (abstract new(info: SerializationInfo, context: StreamingContext) => NameObjectCollectionBase) & {
238
231
  };
239
232
 
240
233
 
@@ -252,14 +245,13 @@ export type NameObjectCollectionBase = NameObjectCollectionBase$instance & __Nam
252
245
 
253
246
  export interface NameObjectCollectionBase_KeysCollection$instance {
254
247
  readonly Count: int;
255
- readonly Item: string;
248
+ readonly [index: number]: string | undefined;
256
249
  Get(index: int): string | undefined;
257
250
  GetEnumerator(): IEnumerator;
258
251
  }
259
252
 
260
253
 
261
254
  export const NameObjectCollectionBase_KeysCollection: {
262
- new(): NameObjectCollectionBase_KeysCollection;
263
255
  };
264
256
 
265
257
 
@@ -279,12 +271,12 @@ export interface NameValueCollection$instance extends NameObjectCollectionBase$i
279
271
  CopyTo(dest: ClrArray, index: int): void;
280
272
  Get(name: string): string | undefined;
281
273
  Get(index: int): string | undefined;
282
- get_Item(name: string): string;
283
- get_Item(index: int): string;
274
+ get_Item(name: string): string | undefined;
275
+ get_Item(index: int): string | undefined;
284
276
  GetEnumerator(): IEnumerator;
285
- GetKey(index: int): string;
277
+ GetKey(index: int): string | undefined;
286
278
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
287
- GetValues(name: string): string[];
279
+ GetValues(name: string): string[] | undefined;
288
280
  GetValues(index: int): string[] | undefined;
289
281
  HasKeys(): boolean;
290
282
  OnDeserialization(sender: unknown): void;
@@ -303,7 +295,6 @@ export const NameValueCollection: {
303
295
  new(capacity: int, equalityComparer: IEqualityComparer): NameValueCollection;
304
296
  new(capacity: int, col: NameValueCollection): NameValueCollection;
305
297
  new(capacity: int, hashProvider: IHashCodeProvider, comparer: IComparer): NameValueCollection;
306
- new(info: SerializationInfo, context: StreamingContext): NameValueCollection;
307
298
  };
308
299
 
309
300
 
@@ -345,12 +336,7 @@ export const NotifyCollectionChangedEventArgs: {
345
336
 
346
337
  export type NotifyCollectionChangedEventArgs = NotifyCollectionChangedEventArgs$instance;
347
338
 
348
- export abstract class OrderedDictionary$protected {
349
- protected OnDeserialization(sender: unknown): void;
350
- }
351
-
352
-
353
- export interface OrderedDictionary$instance extends OrderedDictionary$protected {
339
+ export interface OrderedDictionary$instance {
354
340
  readonly Count: int;
355
341
  readonly IsReadOnly: boolean;
356
342
  readonly Keys: ICollection;
@@ -360,11 +346,12 @@ export interface OrderedDictionary$instance extends OrderedDictionary$protected
360
346
  Clear(): void;
361
347
  Contains(key: unknown): boolean;
362
348
  CopyTo(array: ClrArray, index: int): void;
363
- get_Item(index: int): unknown;
349
+ get_Item(index: int): unknown | undefined;
364
350
  get_Item(key: unknown): unknown | undefined;
365
351
  GetEnumerator(): IDictionaryEnumerator;
366
352
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
367
353
  Insert(index: int, key: unknown, value: unknown): void;
354
+ OnDeserialization(sender: unknown): void;
368
355
  Remove(key: unknown): void;
369
356
  RemoveAt(index: int): void;
370
357
  set_Item(index: int, value: unknown | undefined): void;
@@ -377,7 +364,6 @@ export const OrderedDictionary: {
377
364
  new(capacity: int): OrderedDictionary;
378
365
  new(comparer: IEqualityComparer): OrderedDictionary;
379
366
  new(capacity: int, comparer: IEqualityComparer): OrderedDictionary;
380
- new(info: SerializationInfo, context: StreamingContext): OrderedDictionary;
381
367
  };
382
368
 
383
369
 
@@ -399,7 +385,7 @@ export interface StringCollection$instance {
399
385
  readonly Count: int;
400
386
  readonly IsReadOnly: boolean;
401
387
  readonly IsSynchronized: boolean;
402
- Item: string;
388
+ [index: number]: string;
403
389
  readonly SyncRoot: unknown;
404
390
  Add(value: string): int;
405
391
  AddRange(value: string[]): void;
@@ -431,7 +417,7 @@ export type StringCollection = StringCollection$instance & __StringCollection$vi
431
417
  export interface StringDictionary$instance {
432
418
  readonly Count: int;
433
419
  readonly IsSynchronized: boolean;
434
- Item: string;
420
+ [key: string]: string | undefined;
435
421
  readonly Keys: ICollection;
436
422
  readonly SyncRoot: unknown;
437
423
  readonly Values: ICollection;
@@ -460,14 +446,13 @@ export type StringDictionary = StringDictionary$instance & __StringDictionary$vi
460
446
 
461
447
 
462
448
  export interface StringEnumerator$instance {
463
- readonly Current: string;
449
+ readonly Current: string | undefined;
464
450
  MoveNext(): boolean;
465
451
  Reset(): void;
466
452
  }
467
453
 
468
454
 
469
455
  export const StringEnumerator: {
470
- new(): StringEnumerator;
471
456
  };
472
457
 
473
458