@tsonic/dotnet 10.0.41 → 10.0.42
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.
- package/Internal/bindings.json +5 -5
- package/Internal/internal/index.d.ts +1 -1
- package/Internal.d.ts +4 -0
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +1 -1
- package/Microsoft.CSharp.RuntimeBinder.d.ts +4 -0
- package/Microsoft.VisualBasic/bindings.json +13 -13
- package/Microsoft.VisualBasic/internal/index.d.ts +51 -51
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +116 -116
- package/Microsoft.VisualBasic.CompilerServices.d.ts +4 -0
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
- package/Microsoft.VisualBasic.FileIO.d.ts +4 -0
- package/Microsoft.VisualBasic.d.ts +4 -0
- package/Microsoft.Win32/internal/index.d.ts +9 -9
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +1 -1
- package/Microsoft.Win32.SafeHandles.d.ts +4 -0
- package/Microsoft.Win32.d.ts +4 -0
- package/README.md +8 -1
- package/System/bindings.json +204 -124
- package/System/internal/index.d.ts +1041 -1026
- package/System.Buffers/internal/index.d.ts +51 -51
- package/System.Buffers.Binary/internal/index.d.ts +1 -1
- package/System.Buffers.Binary.d.ts +4 -0
- package/System.Buffers.Text/internal/index.d.ts +1 -1
- package/System.Buffers.Text.d.ts +4 -0
- package/System.Buffers.d.ts +10 -6
- package/System.CodeDom.Compiler/internal/index.d.ts +14 -14
- package/System.CodeDom.Compiler.d.ts +4 -0
- package/System.Collections/bindings.json +300 -300
- package/System.Collections/internal/index.d.ts +113 -113
- package/System.Collections.Concurrent/bindings.json +93 -93
- package/System.Collections.Concurrent/internal/index.d.ts +65 -65
- package/System.Collections.Concurrent.d.ts +7 -3
- package/System.Collections.Frozen/bindings.json +90 -50
- package/System.Collections.Frozen/internal/index.d.ts +35 -33
- package/System.Collections.Frozen.d.ts +6 -2
- package/System.Collections.Generic/bindings.json +932 -612
- package/System.Collections.Generic/internal/index.d.ts +303 -287
- package/System.Collections.Generic.d.ts +19 -15
- package/System.Collections.Immutable/bindings.json +189 -189
- package/System.Collections.Immutable/internal/index.d.ts +235 -234
- package/System.Collections.Immutable.d.ts +21 -17
- package/System.Collections.ObjectModel/bindings.json +229 -229
- package/System.Collections.ObjectModel/internal/index.d.ts +41 -41
- package/System.Collections.ObjectModel.d.ts +6 -2
- package/System.Collections.Specialized/bindings.json +79 -79
- package/System.Collections.Specialized/internal/index.d.ts +46 -46
- package/System.Collections.Specialized.d.ts +4 -0
- package/System.Collections.d.ts +4 -0
- package/System.ComponentModel/bindings.json +108 -108
- package/System.ComponentModel/internal/index.d.ts +368 -363
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +78 -78
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +1 -1
- package/System.ComponentModel.DataAnnotations.Schema.d.ts +4 -0
- package/System.ComponentModel.DataAnnotations.d.ts +4 -0
- package/System.ComponentModel.Design/bindings.json +18 -18
- package/System.ComponentModel.Design/internal/index.d.ts +47 -47
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +38 -38
- package/System.ComponentModel.Design.Serialization.d.ts +4 -0
- package/System.ComponentModel.Design.d.ts +4 -0
- package/System.ComponentModel.d.ts +4 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +1 -1
- package/System.Configuration.Assemblies.d.ts +4 -0
- package/System.Data/bindings.json +124 -124
- package/System.Data/internal/index.d.ts +156 -156
- package/System.Data.Common/bindings.json +68 -68
- package/System.Data.Common/internal/index.d.ts +42 -42
- package/System.Data.Common.d.ts +4 -0
- package/System.Data.SqlTypes/internal/index.d.ts +40 -40
- package/System.Data.SqlTypes.d.ts +4 -0
- package/System.Data.d.ts +8 -4
- package/System.Diagnostics/bindings.json +251 -231
- package/System.Diagnostics/internal/index.d.ts +167 -154
- package/System.Diagnostics.CodeAnalysis/bindings.json +121 -121
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +7 -7
- package/System.Diagnostics.CodeAnalysis.d.ts +4 -0
- package/System.Diagnostics.Contracts/bindings.json +62 -62
- package/System.Diagnostics.Contracts/internal/index.d.ts +9 -9
- package/System.Diagnostics.Contracts.d.ts +4 -0
- package/System.Diagnostics.Metrics/internal/index.d.ts +86 -86
- package/System.Diagnostics.Metrics.d.ts +7 -3
- package/System.Diagnostics.SymbolStore/bindings.json +2 -2
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +3 -3
- package/System.Diagnostics.SymbolStore.d.ts +4 -0
- package/System.Diagnostics.Tracing/bindings.json +212 -212
- package/System.Diagnostics.Tracing/internal/index.d.ts +7 -7
- package/System.Diagnostics.Tracing.d.ts +4 -0
- package/System.Diagnostics.d.ts +5 -1
- package/System.Drawing/internal/index.d.ts +48 -48
- package/System.Drawing.d.ts +4 -0
- package/System.Dynamic/bindings.json +13 -13
- package/System.Dynamic/internal/index.d.ts +36 -35
- package/System.Dynamic.d.ts +4 -0
- package/System.Formats.Asn1/internal/index.d.ts +11 -11
- package/System.Formats.Asn1.d.ts +4 -0
- package/System.Formats.Tar/internal/index.d.ts +1 -1
- package/System.Formats.Tar.d.ts +4 -0
- package/System.Globalization/bindings.json +3 -3
- package/System.Globalization/internal/index.d.ts +19 -19
- package/System.Globalization.d.ts +4 -0
- package/System.IO/bindings.json +957 -957
- package/System.IO/internal/index.d.ts +55 -55
- package/System.IO.Compression/internal/index.d.ts +13 -13
- package/System.IO.Compression.d.ts +4 -0
- package/System.IO.Enumeration/bindings.json +47 -47
- package/System.IO.Enumeration/internal/index.d.ts +11 -11
- package/System.IO.Enumeration.d.ts +4 -0
- package/System.IO.IsolatedStorage/internal/index.d.ts +10 -10
- package/System.IO.IsolatedStorage.d.ts +4 -0
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +1 -1
- package/System.IO.MemoryMappedFiles.d.ts +4 -0
- package/System.IO.Pipelines/internal/index.d.ts +4 -4
- package/System.IO.Pipelines.d.ts +4 -0
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.IO.Pipes.d.ts +4 -0
- package/System.IO.d.ts +4 -0
- package/System.Linq/bindings.json +22 -22
- package/System.Linq/internal/index.d.ts +703 -701
- package/System.Linq.Expressions/internal/index.d.ts +67 -41
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
- package/System.Linq.Expressions.Interpreter.d.ts +4 -0
- package/System.Linq.Expressions.d.ts +6 -2
- package/System.Linq.d.ts +18 -14
- package/System.Net/bindings.json +27 -27
- package/System.Net/internal/index.d.ts +53 -53
- package/System.Net.Cache/internal/index.d.ts +1 -1
- package/System.Net.Cache.d.ts +4 -0
- package/System.Net.Http/bindings.json +22 -22
- package/System.Net.Http/internal/index.d.ts +16 -16
- package/System.Net.Http.Headers/bindings.json +66 -26
- package/System.Net.Http.Headers/internal/index.d.ts +26 -24
- package/System.Net.Http.Headers.d.ts +4 -0
- package/System.Net.Http.Json/internal/index.d.ts +63 -63
- package/System.Net.Http.Json.d.ts +4 -0
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Http.Metrics.d.ts +4 -0
- package/System.Net.Http.d.ts +5 -1
- package/System.Net.Mail/bindings.json +96 -96
- package/System.Net.Mail/internal/index.d.ts +8 -8
- package/System.Net.Mail.d.ts +4 -0
- package/System.Net.Mime/internal/index.d.ts +3 -3
- package/System.Net.Mime.d.ts +4 -0
- package/System.Net.NetworkInformation/bindings.json +40 -40
- package/System.Net.NetworkInformation/internal/index.d.ts +15 -15
- package/System.Net.NetworkInformation.d.ts +4 -0
- package/System.Net.Quic/internal/index.d.ts +4 -4
- package/System.Net.Quic.d.ts +4 -0
- package/System.Net.Security/internal/index.d.ts +29 -29
- package/System.Net.Security.d.ts +4 -0
- package/System.Net.ServerSentEvents/internal/index.d.ts +9 -9
- package/System.Net.ServerSentEvents.d.ts +7 -3
- package/System.Net.Sockets/internal/index.d.ts +42 -42
- package/System.Net.Sockets.d.ts +4 -0
- package/System.Net.WebSockets/bindings.json +101 -101
- package/System.Net.WebSockets/internal/index.d.ts +5 -5
- package/System.Net.WebSockets.d.ts +4 -0
- package/System.Net.d.ts +4 -0
- package/System.Numerics/bindings.json +3 -3
- package/System.Numerics/internal/index.d.ts +218 -218
- package/System.Numerics.d.ts +38 -34
- package/System.Reflection/bindings.json +870 -870
- package/System.Reflection/internal/index.d.ts +107 -107
- package/System.Reflection.Emit/bindings.json +754 -754
- package/System.Reflection.Emit/internal/index.d.ts +27 -25
- package/System.Reflection.Emit.d.ts +4 -0
- package/System.Reflection.Metadata/bindings.json +607 -87
- package/System.Reflection.Metadata/internal/index.d.ts +144 -118
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +9 -9
- package/System.Reflection.Metadata.Ecma335.d.ts +4 -0
- package/System.Reflection.Metadata.d.ts +9 -5
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Reflection.PortableExecutable.d.ts +4 -0
- package/System.Reflection.d.ts +4 -0
- package/System.Resources/bindings.json +3 -3
- package/System.Resources/internal/index.d.ts +7 -7
- package/System.Resources.d.ts +4 -0
- package/System.Runtime/bindings.json +9 -9
- package/System.Runtime/internal/index.d.ts +7 -7
- package/System.Runtime.CompilerServices/bindings.json +383 -383
- package/System.Runtime.CompilerServices/internal/index.d.ts +226 -226
- package/System.Runtime.CompilerServices.d.ts +20 -16
- package/System.Runtime.ConstrainedExecution/bindings.json +9 -9
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +1 -1
- package/System.Runtime.ConstrainedExecution.d.ts +4 -0
- package/System.Runtime.ExceptionServices/bindings.json +9 -9
- package/System.Runtime.ExceptionServices/internal/index.d.ts +2 -2
- package/System.Runtime.ExceptionServices.d.ts +4 -0
- package/System.Runtime.InteropServices/bindings.json +559 -559
- package/System.Runtime.InteropServices/internal/index.d.ts +182 -182
- package/System.Runtime.InteropServices.ComTypes/bindings.json +349 -349
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +19 -19
- package/System.Runtime.InteropServices.ComTypes.d.ts +4 -0
- package/System.Runtime.InteropServices.Java/bindings.json +12 -12
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +2 -2
- package/System.Runtime.InteropServices.Java.d.ts +4 -0
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +38 -38
- package/System.Runtime.InteropServices.JavaScript.d.ts +6 -2
- package/System.Runtime.InteropServices.Marshalling/bindings.json +117 -117
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +81 -81
- package/System.Runtime.InteropServices.Marshalling.d.ts +4 -0
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +15 -15
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +2 -2
- package/System.Runtime.InteropServices.ObjectiveC.d.ts +4 -0
- package/System.Runtime.InteropServices.Swift/bindings.json +4 -4
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -4
- package/System.Runtime.InteropServices.Swift.d.ts +6 -2
- package/System.Runtime.InteropServices.d.ts +6 -2
- package/System.Runtime.Intrinsics/internal/index.d.ts +514 -514
- package/System.Runtime.Intrinsics.Arm/bindings.json +31 -31
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics.Arm.d.ts +4 -0
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics.Wasm.d.ts +4 -0
- package/System.Runtime.Intrinsics.X86/bindings.json +38 -38
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics.X86.d.ts +4 -0
- package/System.Runtime.Intrinsics.d.ts +12 -8
- package/System.Runtime.Loader/internal/index.d.ts +1 -1
- package/System.Runtime.Loader.d.ts +4 -0
- package/System.Runtime.Remoting/internal/index.d.ts +3 -3
- package/System.Runtime.Remoting.d.ts +4 -0
- package/System.Runtime.Serialization/bindings.json +13 -13
- package/System.Runtime.Serialization/internal/index.d.ts +102 -102
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +4 -4
- package/System.Runtime.Serialization.DataContracts.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -3
- package/System.Runtime.Serialization.Formatters.Binary.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters.d.ts +4 -0
- package/System.Runtime.Serialization.Json/internal/index.d.ts +13 -13
- package/System.Runtime.Serialization.Json.d.ts +4 -0
- package/System.Runtime.Serialization.d.ts +4 -0
- package/System.Runtime.Versioning/bindings.json +13 -13
- package/System.Runtime.Versioning/internal/index.d.ts +2 -2
- package/System.Runtime.Versioning.d.ts +4 -0
- package/System.Runtime.d.ts +4 -0
- package/System.Security/bindings.json +5 -5
- package/System.Security/internal/index.d.ts +10 -10
- package/System.Security.AccessControl/bindings.json +33 -33
- package/System.Security.AccessControl/internal/index.d.ts +21 -21
- package/System.Security.AccessControl.d.ts +10 -6
- package/System.Security.Authentication/internal/index.d.ts +1 -1
- package/System.Security.Authentication.ExtendedProtection/bindings.json +5 -5
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -3
- package/System.Security.Authentication.ExtendedProtection.d.ts +4 -0
- package/System.Security.Authentication.d.ts +4 -0
- package/System.Security.Claims/internal/index.d.ts +3 -3
- package/System.Security.Claims.d.ts +4 -0
- package/System.Security.Cryptography/bindings.json +40 -40
- package/System.Security.Cryptography/internal/index.d.ts +28 -27
- package/System.Security.Cryptography.X509Certificates/bindings.json +312 -312
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +10 -10
- package/System.Security.Cryptography.X509Certificates.d.ts +4 -0
- package/System.Security.Cryptography.d.ts +4 -0
- package/System.Security.Permissions/internal/index.d.ts +1 -1
- package/System.Security.Permissions.d.ts +4 -0
- package/System.Security.Policy/bindings.json +5 -5
- package/System.Security.Policy/internal/index.d.ts +9 -9
- package/System.Security.Policy.d.ts +4 -0
- package/System.Security.Principal/bindings.json +8 -8
- package/System.Security.Principal/internal/index.d.ts +8 -8
- package/System.Security.Principal.d.ts +4 -0
- package/System.Security.d.ts +4 -0
- package/System.Text/bindings.json +20 -20
- package/System.Text/internal/index.d.ts +48 -48
- package/System.Text.Encodings.Web/internal/index.d.ts +1 -1
- package/System.Text.Encodings.Web.d.ts +4 -0
- package/System.Text.Json/internal/index.d.ts +109 -109
- package/System.Text.Json.Nodes/bindings.json +27 -27
- package/System.Text.Json.Nodes/internal/index.d.ts +8 -8
- package/System.Text.Json.Nodes.d.ts +4 -0
- package/System.Text.Json.Schema/internal/index.d.ts +1 -1
- package/System.Text.Json.Schema.d.ts +4 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +18 -18
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +67 -67
- package/System.Text.Json.Serialization.Metadata.d.ts +6 -2
- package/System.Text.Json.Serialization.d.ts +10 -6
- package/System.Text.Json.d.ts +4 -0
- package/System.Text.RegularExpressions/bindings.json +158 -118
- package/System.Text.RegularExpressions/internal/index.d.ts +9 -7
- package/System.Text.RegularExpressions.d.ts +4 -0
- package/System.Text.Unicode/internal/index.d.ts +6 -6
- package/System.Text.Unicode.d.ts +4 -0
- package/System.Text.d.ts +4 -0
- package/System.Threading/bindings.json +19 -19
- package/System.Threading/internal/index.d.ts +97 -97
- package/System.Threading.Channels/internal/index.d.ts +23 -23
- package/System.Threading.Channels.d.ts +8 -4
- package/System.Threading.Tasks/bindings.json +138 -38
- package/System.Threading.Tasks/internal/index.d.ts +229 -227
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +95 -95
- package/System.Threading.Tasks.Dataflow.d.ts +18 -14
- package/System.Threading.Tasks.Sources/bindings.json +9 -9
- package/System.Threading.Tasks.Sources/internal/index.d.ts +9 -9
- package/System.Threading.Tasks.Sources.d.ts +6 -2
- package/System.Threading.Tasks.d.ts +12 -8
- package/System.Threading.d.ts +4 -0
- package/System.Timers/internal/index.d.ts +2 -2
- package/System.Timers.d.ts +4 -0
- package/System.Transactions/internal/index.d.ts +6 -6
- package/System.Transactions.d.ts +4 -0
- package/System.Web/internal/index.d.ts +2 -2
- package/System.Web.d.ts +4 -0
- package/System.Windows.Input/internal/index.d.ts +3 -3
- package/System.Windows.Input.d.ts +4 -0
- package/System.Windows.Markup/internal/index.d.ts +1 -1
- package/System.Windows.Markup.d.ts +4 -0
- package/System.Xml/bindings.json +27 -27
- package/System.Xml/internal/index.d.ts +29 -29
- package/System.Xml.Linq/bindings.json +6 -6
- package/System.Xml.Linq/internal/index.d.ts +49 -49
- package/System.Xml.Linq.d.ts +4 -0
- package/System.Xml.Resolvers/internal/index.d.ts +3 -3
- package/System.Xml.Resolvers.d.ts +4 -0
- package/System.Xml.Schema/bindings.json +24 -24
- package/System.Xml.Schema/internal/index.d.ts +24 -24
- package/System.Xml.Schema.d.ts +4 -0
- package/System.Xml.Serialization/bindings.json +57 -57
- package/System.Xml.Serialization/internal/index.d.ts +49 -49
- package/System.Xml.Serialization.d.ts +4 -0
- package/System.Xml.XPath/bindings.json +1 -1
- package/System.Xml.XPath/internal/index.d.ts +18 -18
- package/System.Xml.XPath.d.ts +4 -0
- package/System.Xml.Xsl/bindings.json +1 -1
- package/System.Xml.Xsl/internal/index.d.ts +12 -12
- package/System.Xml.Xsl.Runtime/bindings.json +70 -70
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +21 -21
- package/System.Xml.Xsl.Runtime.d.ts +4 -0
- package/System.Xml.Xsl.d.ts +4 -0
- package/System.Xml.d.ts +4 -0
- package/System.d.ts +126 -122
- package/__internal/extensions/index.d.ts +1288 -1293
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: System.Collections.Concurrent, System.Private.CoreLib
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
// Import types from other namespaces
|
|
@@ -21,11 +21,11 @@ export enum EnumerablePartitionerOptions {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
export interface IProducerConsumerCollection_1$instance<T> extends IEnumerable_1<T>, IEnumerable, ICollection {
|
|
24
|
+
export interface IProducerConsumerCollection_1$instance<T extends unknown> extends IEnumerable_1<T>, IEnumerable, ICollection {
|
|
25
25
|
readonly __tsonic_iface_System_Collections_Concurrent_IProducerConsumerCollection_1: never;
|
|
26
26
|
|
|
27
27
|
readonly Count: int;
|
|
28
|
-
readonly SyncRoot:
|
|
28
|
+
readonly SyncRoot: unknown;
|
|
29
29
|
readonly IsSynchronized: boolean;
|
|
30
30
|
CopyTo(array: T[], index: int): void;
|
|
31
31
|
CopyTo(array: ClrArray, index: int): void;
|
|
@@ -38,9 +38,9 @@ export interface IProducerConsumerCollection_1$instance<T> extends IEnumerable_1
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
export type IProducerConsumerCollection_1<T> = IProducerConsumerCollection_1$instance<T>;
|
|
41
|
+
export type IProducerConsumerCollection_1<T extends unknown> = IProducerConsumerCollection_1$instance<T>;
|
|
42
42
|
|
|
43
|
-
export interface BlockingCollection_1$instance<T> extends System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<T> {
|
|
43
|
+
export interface BlockingCollection_1$instance<T extends unknown> extends System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<T> {
|
|
44
44
|
readonly __tsonic_type_System_Collections_Concurrent_BlockingCollection_1: never;
|
|
45
45
|
|
|
46
46
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
@@ -76,26 +76,26 @@ export interface BlockingCollection_1$instance<T> extends System_Collections_Gen
|
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
export const BlockingCollection_1: {
|
|
79
|
-
new<T>(): BlockingCollection_1<T>;
|
|
80
|
-
new<T>(boundedCapacity: int): BlockingCollection_1<T>;
|
|
81
|
-
new<T>(collection: IProducerConsumerCollection_1<T>, boundedCapacity: int): BlockingCollection_1<T>;
|
|
82
|
-
new<T>(collection: IProducerConsumerCollection_1<T>): BlockingCollection_1<T>;
|
|
83
|
-
AddToAny<T>(collections: BlockingCollection_1<T>[], item: T, cancellationToken: CancellationToken): int;
|
|
84
|
-
AddToAny<T>(collections: BlockingCollection_1<T>[], item: T): int;
|
|
85
|
-
TakeFromAny<T>(collections: BlockingCollection_1<T>[], item: T | null, cancellationToken: CancellationToken): int;
|
|
86
|
-
TakeFromAny<T>(collections: BlockingCollection_1<T>[], item: T | null): int;
|
|
87
|
-
TryAddToAny<T>(collections: BlockingCollection_1<T>[], item: T, millisecondsTimeout: int, cancellationToken: CancellationToken): int;
|
|
88
|
-
TryAddToAny<T>(collections: BlockingCollection_1<T>[], item: T, millisecondsTimeout: int): int;
|
|
89
|
-
TryAddToAny<T>(collections: BlockingCollection_1<T>[], item: T, timeout: TimeSpan): int;
|
|
90
|
-
TryAddToAny<T>(collections: BlockingCollection_1<T>[], item: T): int;
|
|
91
|
-
TryTakeFromAny<T>(collections: BlockingCollection_1<T>[], item: T | null, millisecondsTimeout: int, cancellationToken: CancellationToken): int;
|
|
92
|
-
TryTakeFromAny<T>(collections: BlockingCollection_1<T>[], item: T | null, millisecondsTimeout: int): int;
|
|
93
|
-
TryTakeFromAny<T>(collections: BlockingCollection_1<T>[], item: T | null, timeout: TimeSpan): int;
|
|
94
|
-
TryTakeFromAny<T>(collections: BlockingCollection_1<T>[], item: T | null): int;
|
|
79
|
+
new<T extends unknown>(): BlockingCollection_1<T>;
|
|
80
|
+
new<T extends unknown>(boundedCapacity: int): BlockingCollection_1<T>;
|
|
81
|
+
new<T extends unknown>(collection: IProducerConsumerCollection_1<T>, boundedCapacity: int): BlockingCollection_1<T>;
|
|
82
|
+
new<T extends unknown>(collection: IProducerConsumerCollection_1<T>): BlockingCollection_1<T>;
|
|
83
|
+
AddToAny<T extends unknown>(collections: BlockingCollection_1<T>[], item: T, cancellationToken: CancellationToken): int;
|
|
84
|
+
AddToAny<T extends unknown>(collections: BlockingCollection_1<T>[], item: T): int;
|
|
85
|
+
TakeFromAny<T extends unknown>(collections: BlockingCollection_1<T>[], item: T | null, cancellationToken: CancellationToken): int;
|
|
86
|
+
TakeFromAny<T extends unknown>(collections: BlockingCollection_1<T>[], item: T | null): int;
|
|
87
|
+
TryAddToAny<T extends unknown>(collections: BlockingCollection_1<T>[], item: T, millisecondsTimeout: int, cancellationToken: CancellationToken): int;
|
|
88
|
+
TryAddToAny<T extends unknown>(collections: BlockingCollection_1<T>[], item: T, millisecondsTimeout: int): int;
|
|
89
|
+
TryAddToAny<T extends unknown>(collections: BlockingCollection_1<T>[], item: T, timeout: TimeSpan): int;
|
|
90
|
+
TryAddToAny<T extends unknown>(collections: BlockingCollection_1<T>[], item: T): int;
|
|
91
|
+
TryTakeFromAny<T extends unknown>(collections: BlockingCollection_1<T>[], item: T | null, millisecondsTimeout: int, cancellationToken: CancellationToken): int;
|
|
92
|
+
TryTakeFromAny<T extends unknown>(collections: BlockingCollection_1<T>[], item: T | null, millisecondsTimeout: int): int;
|
|
93
|
+
TryTakeFromAny<T extends unknown>(collections: BlockingCollection_1<T>[], item: T | null, timeout: TimeSpan): int;
|
|
94
|
+
TryTakeFromAny<T extends unknown>(collections: BlockingCollection_1<T>[], item: T | null): int;
|
|
95
95
|
};
|
|
96
96
|
|
|
97
97
|
|
|
98
|
-
export interface __BlockingCollection_1$views<T> {
|
|
98
|
+
export interface __BlockingCollection_1$views<T extends unknown> {
|
|
99
99
|
As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<T>;
|
|
100
100
|
As_IReadOnlyCollection_1(): System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<T>;
|
|
101
101
|
As_ICollection(): System_Collections_Internal.ICollection$instance;
|
|
@@ -103,10 +103,10 @@ export interface __BlockingCollection_1$views<T> {
|
|
|
103
103
|
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
export type BlockingCollection_1<T> = BlockingCollection_1$instance<T> & __BlockingCollection_1$views<T>;
|
|
106
|
+
export type BlockingCollection_1<T extends unknown> = BlockingCollection_1$instance<T> & __BlockingCollection_1$views<T>;
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
export interface ConcurrentBag_1$instance<T> {
|
|
109
|
+
export interface ConcurrentBag_1$instance<T extends unknown> {
|
|
110
110
|
readonly __tsonic_type_System_Collections_Concurrent_ConcurrentBag_1: never;
|
|
111
111
|
|
|
112
112
|
readonly __tsonic_iface_System_Collections_Concurrent_IProducerConsumerCollection_1: never;
|
|
@@ -128,12 +128,12 @@ export interface ConcurrentBag_1$instance<T> {
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
export const ConcurrentBag_1: {
|
|
131
|
-
new<T>(): ConcurrentBag_1<T>;
|
|
132
|
-
new<T>(collection: IEnumerable_1<T>): ConcurrentBag_1<T>;
|
|
131
|
+
new<T extends unknown>(): ConcurrentBag_1<T>;
|
|
132
|
+
new<T extends unknown>(collection: IEnumerable_1<T>): ConcurrentBag_1<T>;
|
|
133
133
|
};
|
|
134
134
|
|
|
135
135
|
|
|
136
|
-
export interface __ConcurrentBag_1$views<T> {
|
|
136
|
+
export interface __ConcurrentBag_1$views<T extends unknown> {
|
|
137
137
|
As_IProducerConsumerCollection_1(): IProducerConsumerCollection_1$instance<T>;
|
|
138
138
|
As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<T>;
|
|
139
139
|
As_IReadOnlyCollection_1(): System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<T>;
|
|
@@ -141,10 +141,10 @@ export interface __ConcurrentBag_1$views<T> {
|
|
|
141
141
|
As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
export type ConcurrentBag_1<T> = ConcurrentBag_1$instance<T> & __ConcurrentBag_1$views<T>;
|
|
144
|
+
export type ConcurrentBag_1<T extends unknown> = ConcurrentBag_1$instance<T> & __ConcurrentBag_1$views<T>;
|
|
145
145
|
|
|
146
146
|
|
|
147
|
-
export interface ConcurrentDictionary_2$instance<TKey, TValue> {
|
|
147
|
+
export interface ConcurrentDictionary_2$instance<TKey extends unknown, TValue extends unknown> {
|
|
148
148
|
readonly __tsonic_type_System_Collections_Concurrent_ConcurrentDictionary_2: never;
|
|
149
149
|
|
|
150
150
|
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
@@ -162,19 +162,19 @@ export interface ConcurrentDictionary_2$instance<TKey, TValue> {
|
|
|
162
162
|
Item: TValue;
|
|
163
163
|
readonly Keys: ICollection_1<TKey>;
|
|
164
164
|
readonly Values: ICollection_1<TValue>;
|
|
165
|
-
AddOrUpdate<TArg>(key: TKey, addValueFactory: Func_3<TKey, TArg, TValue>, updateValueFactory: Func_4<TKey, TValue, TArg, TValue>, factoryArgument: TArg): TValue;
|
|
165
|
+
AddOrUpdate<TArg extends unknown>(key: TKey, addValueFactory: Func_3<TKey, TArg, TValue>, updateValueFactory: Func_4<TKey, TValue, TArg, TValue>, factoryArgument: TArg): TValue;
|
|
166
166
|
AddOrUpdate(key: TKey, addValueFactory: Func_2<TKey, TValue>, updateValueFactory: Func_3<TKey, TValue, TValue>): TValue;
|
|
167
167
|
AddOrUpdate(key: TKey, addValue: TValue, updateValueFactory: Func_3<TKey, TValue, TValue>): TValue;
|
|
168
168
|
Clear(): void;
|
|
169
169
|
ContainsKey(key: TKey): boolean;
|
|
170
|
-
GetAlternateLookup<TAlternateKey>(): ConcurrentDictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>;
|
|
170
|
+
GetAlternateLookup<TAlternateKey extends unknown>(): ConcurrentDictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>;
|
|
171
171
|
GetEnumerator(): IEnumerator_1<KeyValuePair_2<TKey, TValue>>;
|
|
172
172
|
GetOrAdd(key: TKey, valueFactory: Func_2<TKey, TValue>): TValue;
|
|
173
|
-
GetOrAdd<TArg>(key: TKey, valueFactory: Func_3<TKey, TArg, TValue>, factoryArgument: TArg): TValue;
|
|
173
|
+
GetOrAdd<TArg extends unknown>(key: TKey, valueFactory: Func_3<TKey, TArg, TValue>, factoryArgument: TArg): TValue;
|
|
174
174
|
GetOrAdd(key: TKey, value: TValue): TValue;
|
|
175
175
|
ToArray(): KeyValuePair_2<TKey, TValue>[];
|
|
176
176
|
TryAdd(key: TKey, value: TValue): boolean;
|
|
177
|
-
TryGetAlternateLookup<TAlternateKey>(lookup: ConcurrentDictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>): boolean;
|
|
177
|
+
TryGetAlternateLookup<TAlternateKey extends unknown>(lookup: ConcurrentDictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>): boolean;
|
|
178
178
|
TryGetValue(key: TKey, value: TValue): boolean;
|
|
179
179
|
TryRemove(key: TKey, value: TValue): boolean;
|
|
180
180
|
TryRemove(item: KeyValuePair_2<TKey, TValue>): boolean;
|
|
@@ -183,17 +183,17 @@ export interface ConcurrentDictionary_2$instance<TKey, TValue> {
|
|
|
183
183
|
|
|
184
184
|
|
|
185
185
|
export const ConcurrentDictionary_2: {
|
|
186
|
-
new<TKey, TValue>(): ConcurrentDictionary_2<TKey, TValue>;
|
|
187
|
-
new<TKey, TValue>(concurrencyLevel: int, capacity: int): ConcurrentDictionary_2<TKey, TValue>;
|
|
188
|
-
new<TKey, TValue>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ConcurrentDictionary_2<TKey, TValue>;
|
|
189
|
-
new<TKey, TValue>(comparer: IEqualityComparer_1<TKey> | null): ConcurrentDictionary_2<TKey, TValue>;
|
|
190
|
-
new<TKey, TValue>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, comparer: IEqualityComparer_1<TKey> | null): ConcurrentDictionary_2<TKey, TValue>;
|
|
191
|
-
new<TKey, TValue>(concurrencyLevel: int, collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, comparer: IEqualityComparer_1<TKey> | null): ConcurrentDictionary_2<TKey, TValue>;
|
|
192
|
-
new<TKey, TValue>(concurrencyLevel: int, capacity: int, comparer: IEqualityComparer_1<TKey> | null): ConcurrentDictionary_2<TKey, TValue>;
|
|
186
|
+
new<TKey extends unknown, TValue extends unknown>(): ConcurrentDictionary_2<TKey, TValue>;
|
|
187
|
+
new<TKey extends unknown, TValue extends unknown>(concurrencyLevel: int, capacity: int): ConcurrentDictionary_2<TKey, TValue>;
|
|
188
|
+
new<TKey extends unknown, TValue extends unknown>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ConcurrentDictionary_2<TKey, TValue>;
|
|
189
|
+
new<TKey extends unknown, TValue extends unknown>(comparer: IEqualityComparer_1<TKey> | null): ConcurrentDictionary_2<TKey, TValue>;
|
|
190
|
+
new<TKey extends unknown, TValue extends unknown>(collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, comparer: IEqualityComparer_1<TKey> | null): ConcurrentDictionary_2<TKey, TValue>;
|
|
191
|
+
new<TKey extends unknown, TValue extends unknown>(concurrencyLevel: int, collection: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, comparer: IEqualityComparer_1<TKey> | null): ConcurrentDictionary_2<TKey, TValue>;
|
|
192
|
+
new<TKey extends unknown, TValue extends unknown>(concurrencyLevel: int, capacity: int, comparer: IEqualityComparer_1<TKey> | null): ConcurrentDictionary_2<TKey, TValue>;
|
|
193
193
|
};
|
|
194
194
|
|
|
195
195
|
|
|
196
|
-
export interface __ConcurrentDictionary_2$views<TKey, TValue> {
|
|
196
|
+
export interface __ConcurrentDictionary_2$views<TKey extends unknown, TValue extends unknown> {
|
|
197
197
|
As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<KeyValuePair_2<TKey, TValue>>;
|
|
198
198
|
As_IDictionary_2(): System_Collections_Generic_Internal.IDictionary_2$instance<TKey, TValue>;
|
|
199
199
|
As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<KeyValuePair_2<TKey, TValue>>;
|
|
@@ -204,10 +204,10 @@ export interface __ConcurrentDictionary_2$views<TKey, TValue> {
|
|
|
204
204
|
As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
export type ConcurrentDictionary_2<TKey, TValue> = ConcurrentDictionary_2$instance<TKey, TValue> & __ConcurrentDictionary_2$views<TKey, TValue>;
|
|
207
|
+
export type ConcurrentDictionary_2<TKey extends unknown, TValue extends unknown> = ConcurrentDictionary_2$instance<TKey, TValue> & __ConcurrentDictionary_2$views<TKey, TValue>;
|
|
208
208
|
|
|
209
209
|
|
|
210
|
-
export interface ConcurrentDictionary_2_AlternateLookup_1$instance<TKey, TValue, TAlternateKey> {
|
|
210
|
+
export interface ConcurrentDictionary_2_AlternateLookup_1$instance<TKey extends unknown, TValue extends unknown, TAlternateKey extends unknown> {
|
|
211
211
|
readonly __tsonic_type_System_Collections_Concurrent_ConcurrentDictionary_2_AlternateLookup_1: never;
|
|
212
212
|
|
|
213
213
|
readonly Dictionary: ConcurrentDictionary_2<TKey, TValue>;
|
|
@@ -222,13 +222,13 @@ export interface ConcurrentDictionary_2_AlternateLookup_1$instance<TKey, TValue,
|
|
|
222
222
|
|
|
223
223
|
|
|
224
224
|
export const ConcurrentDictionary_2_AlternateLookup_1: {
|
|
225
|
-
new<TKey, TValue, TAlternateKey>(): ConcurrentDictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>;
|
|
225
|
+
new<TKey extends unknown, TValue extends unknown, TAlternateKey extends unknown>(): ConcurrentDictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>;
|
|
226
226
|
};
|
|
227
227
|
|
|
228
228
|
|
|
229
|
-
export type ConcurrentDictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey> = ConcurrentDictionary_2_AlternateLookup_1$instance<TKey, TValue, TAlternateKey>;
|
|
229
|
+
export type ConcurrentDictionary_2_AlternateLookup_1<TKey extends unknown, TValue extends unknown, TAlternateKey extends unknown> = ConcurrentDictionary_2_AlternateLookup_1$instance<TKey, TValue, TAlternateKey>;
|
|
230
230
|
|
|
231
|
-
export interface ConcurrentQueue_1$instance<T> {
|
|
231
|
+
export interface ConcurrentQueue_1$instance<T extends unknown> {
|
|
232
232
|
readonly __tsonic_type_System_Collections_Concurrent_ConcurrentQueue_1: never;
|
|
233
233
|
|
|
234
234
|
readonly __tsonic_iface_System_Collections_Concurrent_IProducerConsumerCollection_1: never;
|
|
@@ -250,12 +250,12 @@ export interface ConcurrentQueue_1$instance<T> {
|
|
|
250
250
|
|
|
251
251
|
|
|
252
252
|
export const ConcurrentQueue_1: {
|
|
253
|
-
new<T>(): ConcurrentQueue_1<T>;
|
|
254
|
-
new<T>(collection: IEnumerable_1<T>): ConcurrentQueue_1<T>;
|
|
253
|
+
new<T extends unknown>(): ConcurrentQueue_1<T>;
|
|
254
|
+
new<T extends unknown>(collection: IEnumerable_1<T>): ConcurrentQueue_1<T>;
|
|
255
255
|
};
|
|
256
256
|
|
|
257
257
|
|
|
258
|
-
export interface __ConcurrentQueue_1$views<T> {
|
|
258
|
+
export interface __ConcurrentQueue_1$views<T extends unknown> {
|
|
259
259
|
As_IProducerConsumerCollection_1(): IProducerConsumerCollection_1$instance<T>;
|
|
260
260
|
As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<T>;
|
|
261
261
|
As_IReadOnlyCollection_1(): System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<T>;
|
|
@@ -263,10 +263,10 @@ export interface __ConcurrentQueue_1$views<T> {
|
|
|
263
263
|
As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
export type ConcurrentQueue_1<T> = ConcurrentQueue_1$instance<T> & __ConcurrentQueue_1$views<T>;
|
|
266
|
+
export type ConcurrentQueue_1<T extends unknown> = ConcurrentQueue_1$instance<T> & __ConcurrentQueue_1$views<T>;
|
|
267
267
|
|
|
268
268
|
|
|
269
|
-
export interface ConcurrentStack_1$instance<T> {
|
|
269
|
+
export interface ConcurrentStack_1$instance<T extends unknown> {
|
|
270
270
|
readonly __tsonic_type_System_Collections_Concurrent_ConcurrentStack_1: never;
|
|
271
271
|
|
|
272
272
|
readonly __tsonic_iface_System_Collections_Concurrent_IProducerConsumerCollection_1: never;
|
|
@@ -292,12 +292,12 @@ export interface ConcurrentStack_1$instance<T> {
|
|
|
292
292
|
|
|
293
293
|
|
|
294
294
|
export const ConcurrentStack_1: {
|
|
295
|
-
new<T>(): ConcurrentStack_1<T>;
|
|
296
|
-
new<T>(collection: IEnumerable_1<T>): ConcurrentStack_1<T>;
|
|
295
|
+
new<T extends unknown>(): ConcurrentStack_1<T>;
|
|
296
|
+
new<T extends unknown>(collection: IEnumerable_1<T>): ConcurrentStack_1<T>;
|
|
297
297
|
};
|
|
298
298
|
|
|
299
299
|
|
|
300
|
-
export interface __ConcurrentStack_1$views<T> {
|
|
300
|
+
export interface __ConcurrentStack_1$views<T extends unknown> {
|
|
301
301
|
As_IProducerConsumerCollection_1(): IProducerConsumerCollection_1$instance<T>;
|
|
302
302
|
As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<T>;
|
|
303
303
|
As_IReadOnlyCollection_1(): System_Collections_Generic_Internal.IReadOnlyCollection_1$instance<T>;
|
|
@@ -305,10 +305,10 @@ export interface __ConcurrentStack_1$views<T> {
|
|
|
305
305
|
As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
export type ConcurrentStack_1<T> = ConcurrentStack_1$instance<T> & __ConcurrentStack_1$views<T>;
|
|
308
|
+
export type ConcurrentStack_1<T extends unknown> = ConcurrentStack_1$instance<T> & __ConcurrentStack_1$views<T>;
|
|
309
309
|
|
|
310
310
|
|
|
311
|
-
export interface OrderablePartitioner_1$instance<TSource> extends Partitioner_1<TSource> {
|
|
311
|
+
export interface OrderablePartitioner_1$instance<TSource extends unknown> extends Partitioner_1<TSource> {
|
|
312
312
|
readonly __tsonic_type_System_Collections_Concurrent_OrderablePartitioner_1: never;
|
|
313
313
|
|
|
314
314
|
readonly KeysNormalized: boolean;
|
|
@@ -321,13 +321,13 @@ export interface OrderablePartitioner_1$instance<TSource> extends Partitioner_1<
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
|
|
324
|
-
export const OrderablePartitioner_1: (abstract new<TSource>(keysOrderedInEachPartition: boolean, keysOrderedAcrossPartitions: boolean, keysNormalized: boolean) => OrderablePartitioner_1<TSource>) & {
|
|
324
|
+
export const OrderablePartitioner_1: (abstract new<TSource extends unknown>(keysOrderedInEachPartition: boolean, keysOrderedAcrossPartitions: boolean, keysNormalized: boolean) => OrderablePartitioner_1<TSource>) & {
|
|
325
325
|
};
|
|
326
326
|
|
|
327
327
|
|
|
328
|
-
export type OrderablePartitioner_1<TSource> = OrderablePartitioner_1$instance<TSource>;
|
|
328
|
+
export type OrderablePartitioner_1<TSource extends unknown> = OrderablePartitioner_1$instance<TSource>;
|
|
329
329
|
|
|
330
|
-
export interface Partitioner_1$instance<TSource> {
|
|
330
|
+
export interface Partitioner_1$instance<TSource extends unknown> {
|
|
331
331
|
readonly __tsonic_type_System_Collections_Concurrent_Partitioner_1: never;
|
|
332
332
|
|
|
333
333
|
readonly SupportsDynamicPartitions: boolean;
|
|
@@ -336,21 +336,21 @@ export interface Partitioner_1$instance<TSource> {
|
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
|
|
339
|
-
export const Partitioner_1: (abstract new<TSource>() => Partitioner_1<TSource>) & {
|
|
339
|
+
export const Partitioner_1: (abstract new<TSource extends unknown>() => Partitioner_1<TSource>) & {
|
|
340
340
|
};
|
|
341
341
|
|
|
342
342
|
|
|
343
|
-
export type Partitioner_1<TSource> = Partitioner_1$instance<TSource>;
|
|
343
|
+
export type Partitioner_1<TSource extends unknown> = Partitioner_1$instance<TSource>;
|
|
344
344
|
|
|
345
345
|
export abstract class Partitioner$instance {
|
|
346
|
-
static Create<TSource>(source: IEnumerable_1<TSource>, partitionerOptions: EnumerablePartitionerOptions): OrderablePartitioner_1<TSource>;
|
|
347
|
-
static Create<TSource>(source: IEnumerable_1<TSource>): OrderablePartitioner_1<TSource>;
|
|
348
|
-
static Create<TSource>(list: IList_1<TSource>, loadBalance: boolean): OrderablePartitioner_1<TSource>;
|
|
346
|
+
static Create<TSource extends unknown>(source: IEnumerable_1<TSource>, partitionerOptions: EnumerablePartitionerOptions): OrderablePartitioner_1<TSource>;
|
|
347
|
+
static Create<TSource extends unknown>(source: IEnumerable_1<TSource>): OrderablePartitioner_1<TSource>;
|
|
348
|
+
static Create<TSource extends unknown>(list: IList_1<TSource>, loadBalance: boolean): OrderablePartitioner_1<TSource>;
|
|
349
349
|
static Create(fromInclusive: int, toExclusive: int, rangeSize: int): OrderablePartitioner_1<Tuple_2<System_Internal.Int32, System_Internal.Int32>>;
|
|
350
350
|
static Create(fromInclusive: int, toExclusive: int): OrderablePartitioner_1<Tuple_2<System_Internal.Int32, System_Internal.Int32>>;
|
|
351
351
|
static Create(fromInclusive: long, toExclusive: long, rangeSize: long): OrderablePartitioner_1<Tuple_2<System_Internal.Int64, System_Internal.Int64>>;
|
|
352
352
|
static Create(fromInclusive: long, toExclusive: long): OrderablePartitioner_1<Tuple_2<System_Internal.Int64, System_Internal.Int64>>;
|
|
353
|
-
static Create<TSource>(array: TSource[], loadBalance: boolean): OrderablePartitioner_1<TSource>;
|
|
353
|
+
static Create<TSource extends unknown>(array: TSource[], loadBalance: boolean): OrderablePartitioner_1<TSource>;
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Collections.Concurrent/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { ICollection_1, IDictionary_2, IEnumerable_1, IEnumerator_1, IEqualityComparer_1, IList_1, IReadOnlyCollection_1, IReadOnlyDictionary_2, KeyValuePair_2 } from './System.Collections.Generic/internal/index.js';
|
|
10
14
|
import type { ICollection, IDictionary, IDictionaryEnumerator, IEnumerable, IEnumerator } from './System.Collections/internal/index.js';
|
|
@@ -19,7 +23,7 @@ export { ConcurrentStack_1 as ConcurrentStack } from './System.Collections.Concu
|
|
|
19
23
|
export { OrderablePartitioner_1 as OrderablePartitioner } from './System.Collections.Concurrent/internal/index.js';
|
|
20
24
|
export { EnumerablePartitionerOptions as EnumerablePartitionerOptions } from './System.Collections.Concurrent/internal/index.js';
|
|
21
25
|
export { ConcurrentQueue_1 as ConcurrentQueue } from './System.Collections.Concurrent/internal/index.js';
|
|
22
|
-
export type IProducerConsumerCollection<T> = Internal.IProducerConsumerCollection_1<T>;
|
|
26
|
+
export type IProducerConsumerCollection<T extends unknown> = Internal.IProducerConsumerCollection_1<T>;
|
|
23
27
|
|
|
24
28
|
// Multi-arity family value exports (arity-0 constructors/static namespaces)
|
|
25
29
|
export const Partitioner: typeof Internal.Partitioner$instance;
|
|
@@ -29,8 +33,8 @@ declare const __unspecified: unique symbol;
|
|
|
29
33
|
export type __ = typeof __unspecified;
|
|
30
34
|
|
|
31
35
|
export type Partitioner<
|
|
32
|
-
T1 = __,
|
|
36
|
+
T1 extends unknown | __ = __,
|
|
33
37
|
> =
|
|
34
38
|
[T1] extends [__] ? Internal.Partitioner :
|
|
35
|
-
Internal.Partitioner_1<T1
|
|
39
|
+
[T1] extends [unknown] ? Internal.Partitioner_1<T1> : never;
|
|
36
40
|
|