@tsonic/dotnet 10.0.2 → 10.0.3

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 (107) 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 +83 -196
  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 +38 -54
  11. package/System.Collections.Concurrent/internal/index.d.ts +4 -10
  12. package/System.Collections.Generic/internal/index.d.ts +10 -32
  13. package/System.Collections.Immutable/internal/index.d.ts +0 -13
  14. package/System.Collections.ObjectModel/internal/index.d.ts +23 -46
  15. package/System.Collections.Specialized/internal/index.d.ts +15 -29
  16. package/System.ComponentModel/internal/index.d.ts +121 -211
  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 +25 -52
  20. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +18 -29
  21. package/System.Data/internal/index.d.ts +108 -186
  22. package/System.Data.Common/internal/index.d.ts +153 -236
  23. package/System.Data.SqlTypes/internal/index.d.ts +3 -4
  24. package/System.Diagnostics/internal/index.d.ts +103 -166
  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 +132 -183
  44. package/System.Net.Http/internal/index.d.ts +128 -201
  45. package/System.Net.Http.Headers/internal/index.d.ts +36 -39
  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 +24 -55
  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.Reflection/internal/index.d.ts +65 -101
  57. package/System.Reflection.Emit/internal/index.d.ts +104 -177
  58. package/System.Reflection.Metadata/internal/index.d.ts +9 -19
  59. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +0 -1
  60. package/System.Reflection.PortableExecutable/internal/index.d.ts +12 -30
  61. package/System.Resources/internal/index.d.ts +8 -20
  62. package/System.Runtime/internal/index.d.ts +5 -8
  63. package/System.Runtime.CompilerServices/internal/index.d.ts +13 -18
  64. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -8
  65. package/System.Runtime.ExceptionServices/internal/index.d.ts +0 -1
  66. package/System.Runtime.InteropServices/internal/index.d.ts +29 -62
  67. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +1 -22
  68. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +14 -23
  69. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -2
  70. package/System.Runtime.Loader/internal/index.d.ts +5 -11
  71. package/System.Runtime.Serialization/internal/index.d.ts +62 -65
  72. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +8 -10
  73. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  74. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -2
  75. package/System.Runtime.Serialization.Json/internal/index.d.ts +6 -4
  76. package/System.Runtime.Versioning/internal/index.d.ts +6 -6
  77. package/System.Security/internal/index.d.ts +22 -25
  78. package/System.Security.AccessControl/internal/index.d.ts +48 -86
  79. package/System.Security.Authentication/internal/index.d.ts +0 -2
  80. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -10
  81. package/System.Security.Claims/internal/index.d.ts +19 -38
  82. package/System.Security.Cryptography/internal/index.d.ts +491 -902
  83. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +17 -46
  84. package/System.Security.Permissions/internal/index.d.ts +2 -4
  85. package/System.Security.Policy/internal/index.d.ts +3 -4
  86. package/System.Security.Principal/internal/index.d.ts +10 -16
  87. package/System.Text/internal/index.d.ts +10 -22
  88. package/System.Text.Encodings.Web/internal/index.d.ts +4 -8
  89. package/System.Text.Json/internal/index.d.ts +9 -11
  90. package/System.Text.Json.Nodes/internal/index.d.ts +4 -3
  91. package/System.Text.Json.Schema/internal/index.d.ts +1 -1
  92. package/System.Text.Json.Serialization/internal/index.d.ts +19 -27
  93. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +36 -34
  94. package/System.Text.RegularExpressions/internal/index.d.ts +9 -29
  95. package/System.Threading/internal/index.d.ts +36 -106
  96. package/System.Threading.Channels/internal/index.d.ts +7 -12
  97. package/System.Threading.Tasks/internal/index.d.ts +14 -29
  98. package/System.Timers/internal/index.d.ts +4 -8
  99. package/System.Transactions/internal/index.d.ts +3 -14
  100. package/System.Xml/internal/index.d.ts +103 -166
  101. package/System.Xml.Linq/internal/index.d.ts +17 -13
  102. package/System.Xml.Schema/internal/index.d.ts +116 -111
  103. package/System.Xml.Serialization/internal/index.d.ts +88 -96
  104. package/System.Xml.XPath/internal/index.d.ts +5 -9
  105. package/System.Xml.Xsl/internal/index.d.ts +4 -9
  106. package/System.Xml.Xsl.Runtime/internal/index.d.ts +10 -28
  107. package/package.json +1 -1
@@ -46,7 +46,6 @@ export interface CSharpArgumentInfo$instance {
46
46
 
47
47
 
48
48
  export const CSharpArgumentInfo: {
49
- new(): CSharpArgumentInfo;
50
49
  Create(flags: CSharpArgumentInfoFlags, name: string): CSharpArgumentInfo;
51
50
  };
52
51
 
@@ -62,7 +61,6 @@ export const RuntimeBinderException: {
62
61
  new(): RuntimeBinderException;
63
62
  new(message: string): RuntimeBinderException;
64
63
  new(message: string, innerException: Exception): RuntimeBinderException;
65
- new(info: SerializationInfo, context: StreamingContext): RuntimeBinderException;
66
64
  };
67
65
 
68
66
 
@@ -82,7 +80,6 @@ export const RuntimeBinderInternalCompilerException: {
82
80
  new(): RuntimeBinderInternalCompilerException;
83
81
  new(message: string): RuntimeBinderInternalCompilerException;
84
82
  new(message: string, innerException: Exception): RuntimeBinderInternalCompilerException;
85
- new(info: SerializationInfo, context: StreamingContext): RuntimeBinderInternalCompilerException;
86
83
  };
87
84
 
88
85
 
@@ -235,7 +235,7 @@ export interface Collection$instance {
235
235
  Contains(Key: string): boolean;
236
236
  get_Item(Index: int): unknown;
237
237
  get_Item(Key: string): unknown;
238
- get_Item(Index: unknown): unknown | undefined;
238
+ get_Item(Index: unknown): unknown;
239
239
  GetEnumerator(): IEnumerator;
240
240
  Remove(Key: string): void;
241
241
  Remove(Index: int): void;
@@ -279,7 +279,6 @@ export interface Constants$instance {
279
279
 
280
280
 
281
281
  export const Constants: {
282
- new(): Constants;
283
282
  readonly vbCrLf: string;
284
283
  readonly vbObjectError: int;
285
284
  readonly vbNewLine: string;
@@ -413,7 +412,6 @@ export interface Conversion$instance {
413
412
 
414
413
 
415
414
  export const Conversion: {
416
- new(): Conversion;
417
415
  CTypeDynamic(Expression: unknown, TargetType: Type): unknown;
418
416
  CTypeDynamic<TargetType>(Expression: unknown): TargetType;
419
417
  ErrorToString(): string;
@@ -464,7 +462,6 @@ export interface DateAndTime$instance {
464
462
 
465
463
 
466
464
  export const DateAndTime: {
467
- new(): DateAndTime;
468
465
  Today: DateTime;
469
466
  readonly Now: DateTime;
470
467
  TimeOfDay: DateTime;
@@ -510,7 +507,6 @@ export interface ErrObject$instance {
510
507
 
511
508
 
512
509
  export const ErrObject: {
513
- new(): ErrObject;
514
510
  };
515
511
 
516
512
 
@@ -521,7 +517,6 @@ export interface FileSystem$instance {
521
517
 
522
518
 
523
519
  export const FileSystem: {
524
- new(): FileSystem;
525
520
  ChDir(Path: string): void;
526
521
  ChDrive(Drive: char): void;
527
522
  ChDrive(Drive: string): void;
@@ -615,7 +610,6 @@ export interface Financial$instance {
615
610
 
616
611
 
617
612
  export const Financial: {
618
- new(): Financial;
619
613
  DDB(Cost: double, Salvage: double, Life: double, Period: double, Factor?: double): double;
620
614
  FV(Rate: double, NPer: double, Pmt: double, PV?: double, Due?: DueDate): double;
621
615
  IPmt(Rate: double, Per: double, NPer: double, PV: double, FV?: double, Due?: DueDate): double;
@@ -650,7 +644,6 @@ export interface Information$instance {
650
644
 
651
645
 
652
646
  export const Information: {
653
- new(): Information;
654
647
  Erl(): int;
655
648
  Err(): ErrObject;
656
649
  IsArray(VarName: unknown): boolean;
@@ -678,7 +671,6 @@ export interface Interaction$instance {
678
671
 
679
672
 
680
673
  export const Interaction: {
681
- new(): Interaction;
682
674
  AppActivate(ProcessId: int): void;
683
675
  AppActivate(Title: string): void;
684
676
  Beep(): void;
@@ -724,7 +716,6 @@ export interface Strings$instance {
724
716
 
725
717
 
726
718
  export const Strings: {
727
- new(): Strings;
728
719
  Asc(String: char): int;
729
720
  Asc(String: string): int;
730
721
  AscW(String: char): int;
@@ -818,7 +809,6 @@ export interface VBMath$instance {
818
809
 
819
810
 
820
811
  export const VBMath: {
821
- new(): VBMath;
822
812
  Randomize(): void;
823
813
  Randomize(Number: double): void;
824
814
  Rnd(): float;
@@ -23,7 +23,6 @@ export interface BooleanType$instance {
23
23
 
24
24
 
25
25
  export const BooleanType: {
26
- new(): BooleanType;
27
26
  FromObject(Value: unknown): boolean;
28
27
  FromString(Value: string): boolean;
29
28
  };
@@ -36,7 +35,6 @@ export interface ByteType$instance {
36
35
 
37
36
 
38
37
  export const ByteType: {
39
- new(): ByteType;
40
38
  FromObject(Value: unknown): byte;
41
39
  FromString(Value: string): byte;
42
40
  };
@@ -49,7 +47,6 @@ export interface CharArrayType$instance {
49
47
 
50
48
 
51
49
  export const CharArrayType: {
52
- new(): CharArrayType;
53
50
  FromObject(Value: unknown): char[];
54
51
  FromString(Value: string): char[];
55
52
  };
@@ -62,7 +59,6 @@ export interface CharType$instance {
62
59
 
63
60
 
64
61
  export const CharType: {
65
- new(): CharType;
66
62
  FromObject(Value: unknown): char;
67
63
  FromString(Value: string): char;
68
64
  };
@@ -75,7 +71,6 @@ export interface Conversions$instance {
75
71
 
76
72
 
77
73
  export const Conversions: {
78
- new(): Conversions;
79
74
  ChangeType(Expression: unknown, TargetType: Type): unknown;
80
75
  FallbackUserDefinedConversion(Expression: unknown, TargetType: Type): unknown;
81
76
  FromCharAndCount(Value: char, Count: int): string;
@@ -139,7 +134,6 @@ export interface DateType$instance {
139
134
 
140
135
 
141
136
  export const DateType: {
142
- new(): DateType;
143
137
  FromObject(Value: unknown): DateTime;
144
138
  FromString(Value: string, culture: CultureInfo): DateTime;
145
139
  FromString(Value: string): DateTime;
@@ -153,7 +147,6 @@ export interface DecimalType$instance {
153
147
 
154
148
 
155
149
  export const DecimalType: {
156
- new(): DecimalType;
157
150
  FromBoolean(Value: boolean): decimal;
158
151
  FromObject(Value: unknown, NumberFormat: NumberFormatInfo): decimal;
159
152
  FromObject(Value: unknown): decimal;
@@ -181,7 +174,6 @@ export interface DoubleType$instance {
181
174
 
182
175
 
183
176
  export const DoubleType: {
184
- new(): DoubleType;
185
177
  FromObject(Value: unknown, NumberFormat: NumberFormatInfo): double;
186
178
  FromObject(Value: unknown): double;
187
179
  FromString(Value: string, NumberFormat: NumberFormatInfo): double;
@@ -215,7 +207,6 @@ export interface IntegerType$instance {
215
207
 
216
208
 
217
209
  export const IntegerType: {
218
- new(): IntegerType;
219
210
  FromObject(Value: unknown): int;
220
211
  FromString(Value: string): int;
221
212
  };
@@ -228,7 +219,6 @@ export interface LateBinding$instance {
228
219
 
229
220
 
230
221
  export const LateBinding: {
231
- new(): LateBinding;
232
222
  LateCall(o: unknown, objType: Type, name: string, args: unknown[], paramnames: string[], CopyBack: boolean[]): void;
233
223
  LateGet(o: unknown, objType: Type, name: string, args: unknown[], paramnames: string[], CopyBack: boolean[]): unknown;
234
224
  LateIndexGet(o: unknown, args: unknown[], paramnames: string[]): unknown;
@@ -246,7 +236,6 @@ export interface LikeOperator$instance {
246
236
 
247
237
 
248
238
  export const LikeOperator: {
249
- new(): LikeOperator;
250
239
  LikeObject(Source: unknown, Pattern: unknown, CompareOption: CompareMethod): unknown;
251
240
  LikeString(Source: string, Pattern: string, CompareOption: CompareMethod): boolean;
252
241
  };
@@ -259,7 +248,6 @@ export interface LongType$instance {
259
248
 
260
249
 
261
250
  export const LongType: {
262
- new(): LongType;
263
251
  FromObject(Value: unknown): long;
264
252
  FromString(Value: string): long;
265
253
  };
@@ -272,7 +260,6 @@ export interface NewLateBinding$instance {
272
260
 
273
261
 
274
262
  export const NewLateBinding: {
275
- new(): NewLateBinding;
276
263
  FallbackCall(Instance: unknown, MemberName: string, Arguments: unknown[], ArgumentNames: string[], IgnoreReturn: boolean): unknown;
277
264
  FallbackGet(Instance: unknown, MemberName: string, Arguments: unknown[], ArgumentNames: string[]): unknown;
278
265
  FallbackIndexSet(Instance: unknown, Arguments: unknown[], ArgumentNames: string[]): void;
@@ -301,7 +288,6 @@ export interface ObjectFlowControl$instance {
301
288
 
302
289
 
303
290
  export const ObjectFlowControl: {
304
- new(): ObjectFlowControl;
305
291
  CheckForSyncLockOnValueType(Expression: unknown): void;
306
292
  };
307
293
 
@@ -313,7 +299,6 @@ export interface ObjectFlowControl_ForLoopControl$instance {
313
299
 
314
300
 
315
301
  export const ObjectFlowControl_ForLoopControl: {
316
- new(): ObjectFlowControl_ForLoopControl;
317
302
  ForLoopInitObj(Counter: unknown, Start: unknown, Limit: unknown, StepValue: unknown, LoopForResult: unknown, CounterResult: unknown): boolean;
318
303
  ForNextCheckDec(count: decimal, limit: decimal, StepValue: decimal): boolean;
319
304
  ForNextCheckObj(Counter: unknown, LoopObj: unknown, CounterResult: unknown): boolean;
@@ -360,7 +345,6 @@ export interface Operators$instance {
360
345
 
361
346
 
362
347
  export const Operators: {
363
- new(): Operators;
364
348
  AddObject(Left: unknown, Right: unknown): unknown;
365
349
  AndObject(Left: unknown, Right: unknown): unknown;
366
350
  CompareObjectEqual(Left: unknown, Right: unknown, TextCompare: boolean): unknown;
@@ -423,7 +407,6 @@ export interface ProjectData$instance {
423
407
 
424
408
 
425
409
  export const ProjectData: {
426
- new(): ProjectData;
427
410
  ClearProjectError(): void;
428
411
  CreateProjectError(hr: int): Exception;
429
412
  EndApp(): void;
@@ -439,7 +422,6 @@ export interface ShortType$instance {
439
422
 
440
423
 
441
424
  export const ShortType: {
442
- new(): ShortType;
443
425
  FromObject(Value: unknown): short;
444
426
  FromString(Value: string): short;
445
427
  };
@@ -452,7 +434,6 @@ export interface SingleType$instance {
452
434
 
453
435
 
454
436
  export const SingleType: {
455
- new(): SingleType;
456
437
  FromObject(Value: unknown, NumberFormat: NumberFormatInfo): float;
457
438
  FromObject(Value: unknown): float;
458
439
  FromString(Value: string, NumberFormat: NumberFormatInfo): float;
@@ -490,7 +471,6 @@ export interface StringType$instance {
490
471
 
491
472
 
492
473
  export const StringType: {
493
- new(): StringType;
494
474
  FromBoolean(Value: boolean): string;
495
475
  FromByte(Value: byte): string;
496
476
  FromChar(Value: char): string;
@@ -520,7 +500,6 @@ export interface Utils$instance {
520
500
 
521
501
 
522
502
  export const Utils: {
523
- new(): Utils;
524
503
  CopyArray(arySrc: ClrArray, aryDest: ClrArray): ClrArray;
525
504
  GetResourceString(ResourceKey: string, ...Args: string[]): string;
526
505
  };
@@ -533,7 +512,6 @@ export interface Versioned$instance {
533
512
 
534
513
 
535
514
  export const Versioned: {
536
- new(): Versioned;
537
515
  CallByName(Instance: unknown, MethodName: string, UseCallType: CallType, ...Arguments: unknown[]): unknown;
538
516
  IsNumeric(Expression: unknown): boolean;
539
517
  SystemTypeName(VbName: string): string;
@@ -131,7 +131,6 @@ export const MalformedLineException: {
131
131
  new(message: string): MalformedLineException;
132
132
  new(message: string, lineNumber: long, innerException: Exception): MalformedLineException;
133
133
  new(message: string, innerException: Exception): MalformedLineException;
134
- new(info: SerializationInfo, context: StreamingContext): MalformedLineException;
135
134
  };
136
135
 
137
136
 
@@ -162,13 +161,7 @@ export const SpecialDirectories: {
162
161
 
163
162
  export type SpecialDirectories = SpecialDirectories$instance;
164
163
 
165
- export abstract class TextFieldParser$protected {
166
- protected Dispose(disposing: boolean): void;
167
- protected Finalize(): void;
168
- }
169
-
170
-
171
- export interface TextFieldParser$instance extends TextFieldParser$protected {
164
+ export interface TextFieldParser$instance {
172
165
  CommentTokens: string[];
173
166
  Delimiters: string[];
174
167
  readonly EndOfData: boolean;
@@ -181,9 +174,11 @@ export interface TextFieldParser$instance extends TextFieldParser$protected {
181
174
  TrimWhiteSpace: boolean;
182
175
  Close(): void;
183
176
  Dispose(): void;
177
+ Dispose(disposing: boolean): void;
178
+ Finalize(): void;
184
179
  PeekChars(numberOfChars: int): string;
185
180
  ReadFields(): string[];
186
- ReadLine(): string | undefined;
181
+ ReadLine(): string;
187
182
  ReadToEnd(): string;
188
183
  SetDelimiters(...delimiters: string[]): void;
189
184
  SetFieldWidths(...fieldWidths: int[]): void;
@@ -102,7 +102,6 @@ export interface RegistryKey$instance extends MarshalByRefObject {
102
102
 
103
103
 
104
104
  export const RegistryKey: {
105
- new(): RegistryKey;
106
105
  FromHandle(handle: SafeRegistryHandle, view: RegistryView): RegistryKey;
107
106
  FromHandle(handle: SafeRegistryHandle): RegistryKey;
108
107
  OpenBaseKey(hKey: RegistryHive, view: RegistryView): RegistryKey;
@@ -11,19 +11,14 @@ import type { CriticalHandle, SafeBuffer, SafeHandle } from "../../System.Runtim
11
11
  import * as System_Internal from "../../System/internal/index.js";
12
12
  import type { Boolean as ClrBoolean, Byte, IDisposable, Int32, IntPtr, Object as ClrObject, ReadOnlySpan_1, Span_1, String as ClrString, Type, UInt32, UInt64, Void } from "../../System/internal/index.js";
13
13
 
14
- export abstract class CriticalHandleMinusOneIsInvalid$protected {
15
- protected Dispose2(disposing: boolean): void;
16
- }
17
-
18
-
19
- export interface CriticalHandleMinusOneIsInvalid$instance extends CriticalHandleMinusOneIsInvalid$protected, CriticalHandle {
14
+ export interface CriticalHandleMinusOneIsInvalid$instance extends CriticalHandle {
20
15
  readonly IsInvalid: boolean;
21
16
  Dispose(): void;
17
+ Dispose(disposing: boolean): void;
22
18
  }
23
19
 
24
20
 
25
- export const CriticalHandleMinusOneIsInvalid: {
26
- new(): CriticalHandleMinusOneIsInvalid;
21
+ export const CriticalHandleMinusOneIsInvalid: (abstract new() => CriticalHandleMinusOneIsInvalid) & {
27
22
  };
28
23
 
29
24
 
@@ -34,19 +29,14 @@ export interface __CriticalHandleMinusOneIsInvalid$views {
34
29
  export type CriticalHandleMinusOneIsInvalid = CriticalHandleMinusOneIsInvalid$instance & __CriticalHandleMinusOneIsInvalid$views;
35
30
 
36
31
 
37
- export abstract class CriticalHandleZeroOrMinusOneIsInvalid$protected {
38
- protected Dispose2(disposing: boolean): void;
39
- }
40
-
41
-
42
- export interface CriticalHandleZeroOrMinusOneIsInvalid$instance extends CriticalHandleZeroOrMinusOneIsInvalid$protected, CriticalHandle {
32
+ export interface CriticalHandleZeroOrMinusOneIsInvalid$instance extends CriticalHandle {
43
33
  readonly IsInvalid: boolean;
44
34
  Dispose(): void;
35
+ Dispose(disposing: boolean): void;
45
36
  }
46
37
 
47
38
 
48
- export const CriticalHandleZeroOrMinusOneIsInvalid: {
49
- new(): CriticalHandleZeroOrMinusOneIsInvalid;
39
+ export const CriticalHandleZeroOrMinusOneIsInvalid: (abstract new() => CriticalHandleZeroOrMinusOneIsInvalid) & {
50
40
  };
51
41
 
52
42
 
@@ -57,15 +47,11 @@ export interface __CriticalHandleZeroOrMinusOneIsInvalid$views {
57
47
  export type CriticalHandleZeroOrMinusOneIsInvalid = CriticalHandleZeroOrMinusOneIsInvalid$instance & __CriticalHandleZeroOrMinusOneIsInvalid$views;
58
48
 
59
49
 
60
- export abstract class SafeAccessTokenHandle$protected {
61
- protected Dispose2(disposing: boolean): void;
62
- protected ReleaseHandle(): boolean;
63
- }
64
-
65
-
66
- export interface SafeAccessTokenHandle$instance extends SafeAccessTokenHandle$protected, SafeHandle {
50
+ export interface SafeAccessTokenHandle$instance extends SafeHandle {
67
51
  readonly IsInvalid: boolean;
68
52
  Dispose(): void;
53
+ Dispose(disposing: boolean): void;
54
+ ReleaseHandle(): boolean;
69
55
  }
70
56
 
71
57
 
@@ -83,16 +69,12 @@ export interface __SafeAccessTokenHandle$views {
83
69
  export type SafeAccessTokenHandle = SafeAccessTokenHandle$instance & __SafeAccessTokenHandle$views;
84
70
 
85
71
 
86
- export abstract class SafeFileHandle$protected {
87
- protected Dispose3(disposing: boolean): void;
88
- protected ReleaseHandle(): boolean;
89
- }
90
-
91
-
92
- export interface SafeFileHandle$instance extends SafeFileHandle$protected, SafeHandleZeroOrMinusOneIsInvalid$instance {
72
+ export interface SafeFileHandle$instance extends SafeHandleZeroOrMinusOneIsInvalid$instance {
93
73
  IsAsync: boolean;
94
74
  readonly IsInvalid: boolean;
95
75
  Dispose(): void;
76
+ Dispose(disposing: boolean): void;
77
+ ReleaseHandle(): boolean;
96
78
  }
97
79
 
98
80
 
@@ -109,19 +91,14 @@ export interface __SafeFileHandle$views {
109
91
  export type SafeFileHandle = SafeFileHandle$instance & __SafeFileHandle$views;
110
92
 
111
93
 
112
- export abstract class SafeHandleMinusOneIsInvalid$protected {
113
- protected Dispose2(disposing: boolean): void;
114
- }
115
-
116
-
117
- export interface SafeHandleMinusOneIsInvalid$instance extends SafeHandleMinusOneIsInvalid$protected, SafeHandle {
94
+ export interface SafeHandleMinusOneIsInvalid$instance extends SafeHandle {
118
95
  readonly IsInvalid: boolean;
119
96
  Dispose(): void;
97
+ Dispose(disposing: boolean): void;
120
98
  }
121
99
 
122
100
 
123
- export const SafeHandleMinusOneIsInvalid: {
124
- new(ownsHandle: boolean): SafeHandleMinusOneIsInvalid;
101
+ export const SafeHandleMinusOneIsInvalid: (abstract new(ownsHandle: boolean) => SafeHandleMinusOneIsInvalid) & {
125
102
  };
126
103
 
127
104
 
@@ -132,19 +109,14 @@ export interface __SafeHandleMinusOneIsInvalid$views {
132
109
  export type SafeHandleMinusOneIsInvalid = SafeHandleMinusOneIsInvalid$instance & __SafeHandleMinusOneIsInvalid$views;
133
110
 
134
111
 
135
- export abstract class SafeHandleZeroOrMinusOneIsInvalid$protected {
136
- protected Dispose2(disposing: boolean): void;
137
- }
138
-
139
-
140
- export interface SafeHandleZeroOrMinusOneIsInvalid$instance extends SafeHandleZeroOrMinusOneIsInvalid$protected, SafeHandle {
112
+ export interface SafeHandleZeroOrMinusOneIsInvalid$instance extends SafeHandle {
141
113
  readonly IsInvalid: boolean;
142
114
  Dispose(): void;
115
+ Dispose(disposing: boolean): void;
143
116
  }
144
117
 
145
118
 
146
- export const SafeHandleZeroOrMinusOneIsInvalid: {
147
- new(ownsHandle: boolean): SafeHandleZeroOrMinusOneIsInvalid;
119
+ export const SafeHandleZeroOrMinusOneIsInvalid: (abstract new(ownsHandle: boolean) => SafeHandleZeroOrMinusOneIsInvalid) & {
148
120
  };
149
121
 
150
122
 
@@ -155,15 +127,11 @@ export interface __SafeHandleZeroOrMinusOneIsInvalid$views {
155
127
  export type SafeHandleZeroOrMinusOneIsInvalid = SafeHandleZeroOrMinusOneIsInvalid$instance & __SafeHandleZeroOrMinusOneIsInvalid$views;
156
128
 
157
129
 
158
- export abstract class SafeMemoryMappedFileHandle$protected {
159
- protected Dispose3(disposing: boolean): void;
160
- protected ReleaseHandle(): boolean;
161
- }
162
-
163
-
164
- export interface SafeMemoryMappedFileHandle$instance extends SafeMemoryMappedFileHandle$protected, SafeHandleZeroOrMinusOneIsInvalid$instance {
130
+ export interface SafeMemoryMappedFileHandle$instance extends SafeHandleZeroOrMinusOneIsInvalid$instance {
165
131
  readonly IsInvalid: boolean;
166
132
  Dispose(): void;
133
+ Dispose(disposing: boolean): void;
134
+ ReleaseHandle(): boolean;
167
135
  }
168
136
 
169
137
 
@@ -179,14 +147,10 @@ export interface __SafeMemoryMappedFileHandle$views {
179
147
  export type SafeMemoryMappedFileHandle = SafeMemoryMappedFileHandle$instance & __SafeMemoryMappedFileHandle$views;
180
148
 
181
149
 
182
- export abstract class SafeMemoryMappedViewHandle$protected {
183
- protected Dispose4(disposing: boolean): void;
184
- protected ReleaseHandle(): boolean;
185
- }
186
-
187
-
188
- export interface SafeMemoryMappedViewHandle$instance extends SafeMemoryMappedViewHandle$protected, SafeBuffer {
150
+ export interface SafeMemoryMappedViewHandle$instance extends SafeBuffer {
189
151
  Dispose(): void;
152
+ Dispose(disposing: boolean): void;
153
+ ReleaseHandle(): boolean;
190
154
  }
191
155
 
192
156
 
@@ -202,21 +166,15 @@ export interface __SafeMemoryMappedViewHandle$views {
202
166
  export type SafeMemoryMappedViewHandle = SafeMemoryMappedViewHandle$instance & __SafeMemoryMappedViewHandle$views;
203
167
 
204
168
 
205
- export abstract class SafeNCryptHandle$protected {
206
- protected Dispose3(disposing: boolean): void;
207
- protected ReleaseHandle(): boolean;
208
- protected abstract ReleaseNativeHandle(): boolean;
209
- }
210
-
211
-
212
- export interface SafeNCryptHandle$instance extends SafeNCryptHandle$protected, SafeHandleZeroOrMinusOneIsInvalid$instance {
169
+ export interface SafeNCryptHandle$instance extends SafeHandleZeroOrMinusOneIsInvalid$instance {
213
170
  Dispose(): void;
171
+ Dispose(disposing: boolean): void;
172
+ ReleaseHandle(): boolean;
173
+ ReleaseNativeHandle(): boolean;
214
174
  }
215
175
 
216
176
 
217
- export const SafeNCryptHandle: {
218
- new(): SafeNCryptHandle;
219
- new(handle: nint, parentHandle: SafeHandle): SafeNCryptHandle;
177
+ export const SafeNCryptHandle: (abstract new() => SafeNCryptHandle) & (abstract new(handle: nint, parentHandle: SafeHandle) => SafeNCryptHandle) & {
220
178
  };
221
179
 
222
180
 
@@ -227,14 +185,10 @@ export interface __SafeNCryptHandle$views {
227
185
  export type SafeNCryptHandle = SafeNCryptHandle$instance & __SafeNCryptHandle$views;
228
186
 
229
187
 
230
- export abstract class SafeNCryptKeyHandle$protected {
231
- protected Dispose4(disposing: boolean): void;
232
- protected ReleaseNativeHandle(): boolean;
233
- }
234
-
235
-
236
- export interface SafeNCryptKeyHandle$instance extends SafeNCryptKeyHandle$protected, SafeNCryptHandle$instance {
188
+ export interface SafeNCryptKeyHandle$instance extends SafeNCryptHandle$instance {
237
189
  Dispose(): void;
190
+ Dispose(disposing: boolean): void;
191
+ ReleaseNativeHandle(): boolean;
238
192
  }
239
193
 
240
194
 
@@ -251,14 +205,10 @@ export interface __SafeNCryptKeyHandle$views {
251
205
  export type SafeNCryptKeyHandle = SafeNCryptKeyHandle$instance & __SafeNCryptKeyHandle$views;
252
206
 
253
207
 
254
- export abstract class SafeNCryptProviderHandle$protected {
255
- protected Dispose4(disposing: boolean): void;
256
- protected ReleaseNativeHandle(): boolean;
257
- }
258
-
259
-
260
- export interface SafeNCryptProviderHandle$instance extends SafeNCryptProviderHandle$protected, SafeNCryptHandle$instance {
208
+ export interface SafeNCryptProviderHandle$instance extends SafeNCryptHandle$instance {
261
209
  Dispose(): void;
210
+ Dispose(disposing: boolean): void;
211
+ ReleaseNativeHandle(): boolean;
262
212
  }
263
213
 
264
214
 
@@ -274,14 +224,10 @@ export interface __SafeNCryptProviderHandle$views {
274
224
  export type SafeNCryptProviderHandle = SafeNCryptProviderHandle$instance & __SafeNCryptProviderHandle$views;
275
225
 
276
226
 
277
- export abstract class SafeNCryptSecretHandle$protected {
278
- protected Dispose4(disposing: boolean): void;
279
- protected ReleaseNativeHandle(): boolean;
280
- }
281
-
282
-
283
- export interface SafeNCryptSecretHandle$instance extends SafeNCryptSecretHandle$protected, SafeNCryptHandle$instance {
227
+ export interface SafeNCryptSecretHandle$instance extends SafeNCryptHandle$instance {
284
228
  Dispose(): void;
229
+ Dispose(disposing: boolean): void;
230
+ ReleaseNativeHandle(): boolean;
285
231
  }
286
232
 
287
233
 
@@ -297,15 +243,11 @@ export interface __SafeNCryptSecretHandle$views {
297
243
  export type SafeNCryptSecretHandle = SafeNCryptSecretHandle$instance & __SafeNCryptSecretHandle$views;
298
244
 
299
245
 
300
- export abstract class SafePipeHandle$protected {
301
- protected Dispose2(disposing: boolean): void;
302
- protected ReleaseHandle(): boolean;
303
- }
304
-
305
-
306
- export interface SafePipeHandle$instance extends SafePipeHandle$protected, SafeHandleZeroOrMinusOneIsInvalid$instance {
246
+ export interface SafePipeHandle$instance extends SafeHandleZeroOrMinusOneIsInvalid$instance {
307
247
  readonly IsInvalid: boolean;
248
+ Dispose(disposing: boolean): void;
308
249
  Dispose(): void;
250
+ ReleaseHandle(): boolean;
309
251
  }
310
252
 
311
253
 
@@ -322,14 +264,10 @@ export interface __SafePipeHandle$views {
322
264
  export type SafePipeHandle = SafePipeHandle$instance & __SafePipeHandle$views;
323
265
 
324
266
 
325
- export abstract class SafeProcessHandle$protected {
326
- protected Dispose3(disposing: boolean): void;
327
- protected ReleaseHandle(): boolean;
328
- }
329
-
330
-
331
- export interface SafeProcessHandle$instance extends SafeProcessHandle$protected, SafeHandleZeroOrMinusOneIsInvalid$instance {
267
+ export interface SafeProcessHandle$instance extends SafeHandleZeroOrMinusOneIsInvalid$instance {
332
268
  Dispose(): void;
269
+ Dispose(disposing: boolean): void;
270
+ ReleaseHandle(): boolean;
333
271
  }
334
272
 
335
273
 
@@ -346,14 +284,10 @@ export interface __SafeProcessHandle$views {
346
284
  export type SafeProcessHandle = SafeProcessHandle$instance & __SafeProcessHandle$views;
347
285
 
348
286
 
349
- export abstract class SafeRegistryHandle$protected {
350
- protected Dispose3(disposing: boolean): void;
351
- protected ReleaseHandle(): boolean;
352
- }
353
-
354
-
355
- export interface SafeRegistryHandle$instance extends SafeRegistryHandle$protected, SafeHandleZeroOrMinusOneIsInvalid$instance {
287
+ export interface SafeRegistryHandle$instance extends SafeHandleZeroOrMinusOneIsInvalid$instance {
356
288
  Dispose(): void;
289
+ Dispose(disposing: boolean): void;
290
+ ReleaseHandle(): boolean;
357
291
  }
358
292
 
359
293
 
@@ -370,14 +304,10 @@ export interface __SafeRegistryHandle$views {
370
304
  export type SafeRegistryHandle = SafeRegistryHandle$instance & __SafeRegistryHandle$views;
371
305
 
372
306
 
373
- export abstract class SafeWaitHandle$protected {
374
- protected Dispose3(disposing: boolean): void;
375
- protected ReleaseHandle(): boolean;
376
- }
377
-
378
-
379
- export interface SafeWaitHandle$instance extends SafeWaitHandle$protected, SafeHandleZeroOrMinusOneIsInvalid$instance {
307
+ export interface SafeWaitHandle$instance extends SafeHandleZeroOrMinusOneIsInvalid$instance {
380
308
  Dispose(): void;
309
+ Dispose(disposing: boolean): void;
310
+ ReleaseHandle(): boolean;
381
311
  }
382
312
 
383
313
 
@@ -394,14 +324,10 @@ export interface __SafeWaitHandle$views {
394
324
  export type SafeWaitHandle = SafeWaitHandle$instance & __SafeWaitHandle$views;
395
325
 
396
326
 
397
- export abstract class SafeX509ChainHandle$protected {
398
- protected Dispose2(disposing: boolean): void;
399
- protected ReleaseHandle(): boolean;
400
- }
401
-
402
-
403
- export interface SafeX509ChainHandle$instance extends SafeX509ChainHandle$protected, SafeHandleZeroOrMinusOneIsInvalid$instance {
327
+ export interface SafeX509ChainHandle$instance extends SafeHandleZeroOrMinusOneIsInvalid$instance {
328
+ Dispose(disposing: boolean): void;
404
329
  Dispose(): void;
330
+ ReleaseHandle(): boolean;
405
331
  }
406
332
 
407
333