@tsonic/dotnet 0.8.0 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +21 -21
  2. package/Microsoft.VisualBasic/internal/index.d.ts +24 -24
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +30 -30
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +16 -16
  5. package/Microsoft.Win32/internal/index.d.ts +12 -12
  6. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +19 -19
  7. package/System/bindings.json +114 -114
  8. package/System/internal/index.d.ts +1277 -1289
  9. package/System/internal/metadata.json +73 -73
  10. package/System.Buffers/internal/index.d.ts +13 -13
  11. package/System.CodeDom.Compiler/internal/index.d.ts +13 -13
  12. package/System.Collections/internal/index.d.ts +66 -68
  13. package/System.Collections.Concurrent/internal/index.d.ts +24 -24
  14. package/System.Collections.Frozen/bindings.json +20 -20
  15. package/System.Collections.Frozen/internal/index.d.ts +10 -10
  16. package/System.Collections.Frozen/internal/metadata.json +10 -10
  17. package/System.Collections.Generic/bindings.json +44 -20
  18. package/System.Collections.Generic/internal/index.d.ts +141 -133
  19. package/System.Collections.Generic/internal/metadata.json +26 -10
  20. package/System.Collections.Immutable/internal/index.d.ts +121 -121
  21. package/System.Collections.ObjectModel/internal/index.d.ts +23 -23
  22. package/System.Collections.Specialized/internal/index.d.ts +85 -87
  23. package/System.ComponentModel/internal/index.d.ts +595 -597
  24. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +105 -105
  25. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +9 -9
  26. package/System.ComponentModel.Design/internal/index.d.ts +90 -90
  27. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +37 -37
  28. package/System.Data/internal/index.d.ts +225 -225
  29. package/System.Data.Common/internal/index.d.ts +62 -62
  30. package/System.Data.SqlTypes/internal/index.d.ts +73 -73
  31. package/System.Diagnostics/internal/index.d.ts +343 -343
  32. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +50 -50
  33. package/System.Diagnostics.Contracts/internal/index.d.ts +20 -20
  34. package/System.Diagnostics.Metrics/internal/index.d.ts +46 -46
  35. package/System.Diagnostics.SymbolStore/internal/index.d.ts +9 -9
  36. package/System.Diagnostics.Tracing/internal/index.d.ts +44 -44
  37. package/System.Drawing/internal/index.d.ts +99 -99
  38. package/System.Dynamic/internal/index.d.ts +33 -33
  39. package/System.Formats.Asn1/internal/index.d.ts +12 -12
  40. package/System.Formats.Tar/internal/index.d.ts +17 -17
  41. package/System.Globalization/internal/index.d.ts +51 -51
  42. package/System.IO/internal/index.d.ts +172 -172
  43. package/System.IO.Compression/internal/index.d.ts +56 -56
  44. package/System.IO.Enumeration/internal/index.d.ts +6 -6
  45. package/System.IO.IsolatedStorage/internal/index.d.ts +17 -17
  46. package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -11
  47. package/System.IO.Pipelines/internal/index.d.ts +13 -13
  48. package/System.IO.Pipes/internal/index.d.ts +32 -32
  49. package/System.Linq/internal/index.d.ts +187 -187
  50. package/System.Linq.Expressions/internal/index.d.ts +203 -203
  51. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
  52. package/System.Net/internal/index.d.ts +218 -220
  53. package/System.Net.Cache/internal/index.d.ts +10 -10
  54. package/System.Net.Http/internal/index.d.ts +89 -89
  55. package/System.Net.Http.Headers/internal/index.d.ts +86 -86
  56. package/System.Net.Http.Json/internal/index.d.ts +59 -59
  57. package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
  58. package/System.Net.Mail/internal/index.d.ts +92 -92
  59. package/System.Net.Mime/internal/index.d.ts +6 -6
  60. package/System.Net.NetworkInformation/internal/index.d.ts +39 -39
  61. package/System.Net.Quic/internal/index.d.ts +13 -13
  62. package/System.Net.Security/internal/index.d.ts +70 -70
  63. package/System.Net.ServerSentEvents/internal/index.d.ts +3 -3
  64. package/System.Net.Sockets/internal/index.d.ts +94 -94
  65. package/System.Net.WebSockets/internal/index.d.ts +46 -46
  66. package/System.Numerics/bindings.json +384 -0
  67. package/System.Numerics/internal/index.d.ts +128 -130
  68. package/System.Numerics/internal/metadata.json +256 -0
  69. package/System.Reflection/internal/index.d.ts +271 -271
  70. package/System.Reflection.Emit/internal/index.d.ts +123 -123
  71. package/System.Reflection.Metadata/bindings.json +48 -0
  72. package/System.Reflection.Metadata/internal/index.d.ts +179 -179
  73. package/System.Reflection.Metadata/internal/metadata.json +32 -0
  74. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +40 -40
  75. package/System.Reflection.PortableExecutable/internal/index.d.ts +26 -26
  76. package/System.Resources/internal/index.d.ts +38 -38
  77. package/System.Runtime/internal/index.d.ts +9 -9
  78. package/System.Runtime.CompilerServices/internal/index.d.ts +168 -168
  79. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +2 -2
  80. package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -3
  81. package/System.Runtime.InteropServices/bindings.json +22 -22
  82. package/System.Runtime.InteropServices/internal/index.d.ts +184 -184
  83. package/System.Runtime.InteropServices/internal/metadata.json +13 -13
  84. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +30 -30
  85. package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -3
  86. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +50 -50
  87. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +63 -63
  88. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +1 -1
  89. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -4
  90. package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
  91. package/System.Runtime.Loader/internal/index.d.ts +9 -9
  92. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  93. package/System.Runtime.Serialization/internal/index.d.ts +113 -115
  94. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +19 -19
  95. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  96. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -5
  97. package/System.Runtime.Serialization.Json/internal/index.d.ts +28 -28
  98. package/System.Runtime.Versioning/internal/index.d.ts +22 -22
  99. package/System.Security/internal/index.d.ts +63 -63
  100. package/System.Security.AccessControl/internal/index.d.ts +84 -84
  101. package/System.Security.Authentication/internal/index.d.ts +6 -6
  102. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +13 -13
  103. package/System.Security.Claims/internal/index.d.ts +38 -40
  104. package/System.Security.Cryptography/internal/index.d.ts +378 -378
  105. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +172 -172
  106. package/System.Security.Permissions/internal/index.d.ts +1 -1
  107. package/System.Security.Policy/internal/index.d.ts +6 -6
  108. package/System.Security.Principal/internal/index.d.ts +29 -31
  109. package/System.Text/internal/index.d.ts +94 -94
  110. package/System.Text.Encodings.Web/internal/index.d.ts +3 -3
  111. package/System.Text.Json/internal/index.d.ts +103 -103
  112. package/System.Text.Json.Nodes/internal/index.d.ts +73 -73
  113. package/System.Text.Json.Schema/internal/index.d.ts +7 -7
  114. package/System.Text.Json.Serialization/internal/index.d.ts +34 -34
  115. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +57 -57
  116. package/System.Text.RegularExpressions/internal/index.d.ts +29 -29
  117. package/System.Text.Unicode/internal/index.d.ts +6 -6
  118. package/System.Threading/internal/index.d.ts +160 -160
  119. package/System.Threading.Channels/internal/index.d.ts +12 -12
  120. package/System.Threading.Tasks/internal/index.d.ts +125 -135
  121. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +54 -51
  122. package/System.Threading.Tasks.Sources/internal/index.d.ts +5 -5
  123. package/System.Timers/internal/index.d.ts +8 -8
  124. package/System.Transactions/internal/index.d.ts +51 -51
  125. package/System.Web/internal/index.d.ts +32 -32
  126. package/System.Windows.Input/internal/index.d.ts +2 -2
  127. package/System.Windows.Markup/internal/index.d.ts +2 -2
  128. package/System.Xml/internal/index.d.ts +281 -281
  129. package/System.Xml.Linq/internal/index.d.ts +76 -76
  130. package/System.Xml.Resolvers/internal/index.d.ts +8 -8
  131. package/System.Xml.Schema/internal/index.d.ts +173 -173
  132. package/System.Xml.Serialization/internal/index.d.ts +200 -200
  133. package/System.Xml.XPath/internal/index.d.ts +28 -28
  134. package/System.Xml.Xsl/internal/index.d.ts +53 -53
  135. package/System.Xml.Xsl.Runtime/internal/index.d.ts +72 -72
  136. package/__internal/extensions/index.d.ts +415 -414
  137. package/package.json +1 -1
@@ -46,22 +46,22 @@ export interface CSharpArgumentInfo$instance {
46
46
 
47
47
 
48
48
  export const CSharpArgumentInfo: {
49
- new(): CSharpArgumentInfo$instance;
50
- create(flags: CSharpArgumentInfoFlags, name: string): CSharpArgumentInfo;
49
+ new(): CSharpArgumentInfo;
50
+ create(flags: CSharpArgumentInfoFlags, name: string | undefined): CSharpArgumentInfo;
51
51
  };
52
52
 
53
53
 
54
54
  export type CSharpArgumentInfo = CSharpArgumentInfo$instance;
55
55
 
56
56
  export interface RuntimeBinderException$instance extends Exception {
57
- getObjectData(info: SerializationInfo, context: StreamingContext): void;
57
+ getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
58
58
  }
59
59
 
60
60
 
61
61
  export const RuntimeBinderException: {
62
- new(): RuntimeBinderException$instance;
63
- new(message: string): RuntimeBinderException$instance;
64
- new(message: string, innerException: Exception): RuntimeBinderException$instance;
62
+ new(): RuntimeBinderException;
63
+ new(message: string | undefined): RuntimeBinderException;
64
+ new(message: string | undefined, innerException: Exception | undefined): RuntimeBinderException;
65
65
  };
66
66
 
67
67
 
@@ -73,14 +73,14 @@ export type RuntimeBinderException = RuntimeBinderException$instance & __Runtime
73
73
 
74
74
 
75
75
  export interface RuntimeBinderInternalCompilerException$instance extends Exception {
76
- getObjectData(info: SerializationInfo, context: StreamingContext): void;
76
+ getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
77
77
  }
78
78
 
79
79
 
80
80
  export const RuntimeBinderInternalCompilerException: {
81
- new(): RuntimeBinderInternalCompilerException$instance;
82
- new(message: string): RuntimeBinderInternalCompilerException$instance;
83
- new(message: string, innerException: Exception): RuntimeBinderInternalCompilerException$instance;
81
+ new(): RuntimeBinderInternalCompilerException;
82
+ new(message: string | undefined): RuntimeBinderInternalCompilerException;
83
+ new(message: string | undefined, innerException: Exception | undefined): RuntimeBinderInternalCompilerException;
84
84
  };
85
85
 
86
86
 
@@ -92,17 +92,17 @@ export type RuntimeBinderInternalCompilerException = RuntimeBinderInternalCompil
92
92
 
93
93
 
94
94
  export abstract class Binder$instance {
95
- static binaryOperation(flags: CSharpBinderFlags, operation: ExpressionType, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
96
- static convert(flags: CSharpBinderFlags, type_: Type, context: Type): CallSiteBinder;
97
- static getIndex(flags: CSharpBinderFlags, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
98
- static getMember(flags: CSharpBinderFlags, name: string, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
99
- static invoke(flags: CSharpBinderFlags, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
100
- static invokeConstructor(flags: CSharpBinderFlags, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
101
- static invokeMember(flags: CSharpBinderFlags, name: string, typeArguments: IEnumerable_1<Type>, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
102
- static isEvent(flags: CSharpBinderFlags, name: string, context: Type): CallSiteBinder;
103
- static setIndex(flags: CSharpBinderFlags, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
104
- static setMember(flags: CSharpBinderFlags, name: string, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
105
- static unaryOperation(flags: CSharpBinderFlags, operation: ExpressionType, context: Type, argumentInfo: IEnumerable_1<CSharpArgumentInfo>): CallSiteBinder;
95
+ static binaryOperation(flags: CSharpBinderFlags, operation: ExpressionType, context: Type | undefined, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | undefined): CallSiteBinder;
96
+ static convert(flags: CSharpBinderFlags, type_: Type, context: Type | undefined): CallSiteBinder;
97
+ static getIndex(flags: CSharpBinderFlags, context: Type | undefined, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | undefined): CallSiteBinder;
98
+ static getMember(flags: CSharpBinderFlags, name: string, context: Type | undefined, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | undefined): CallSiteBinder;
99
+ static invoke(flags: CSharpBinderFlags, context: Type | undefined, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | undefined): CallSiteBinder;
100
+ static invokeConstructor(flags: CSharpBinderFlags, context: Type | undefined, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | undefined): CallSiteBinder;
101
+ static invokeMember(flags: CSharpBinderFlags, name: string, typeArguments: IEnumerable_1<Type> | undefined, context: Type | undefined, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | undefined): CallSiteBinder;
102
+ static isEvent(flags: CSharpBinderFlags, name: string, context: Type | undefined): CallSiteBinder;
103
+ static setIndex(flags: CSharpBinderFlags, context: Type | undefined, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | undefined): CallSiteBinder;
104
+ static setMember(flags: CSharpBinderFlags, name: string, context: Type | undefined, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | undefined): CallSiteBinder;
105
+ static unaryOperation(flags: CSharpBinderFlags, operation: ExpressionType, context: Type | undefined, argumentInfo: IEnumerable_1<CSharpArgumentInfo> | undefined): CallSiteBinder;
106
106
  }
107
107
 
108
108
 
@@ -210,7 +210,7 @@ export interface SpcInfo$instance {
210
210
 
211
211
 
212
212
  export const SpcInfo: {
213
- new(): SpcInfo$instance;
213
+ new(): SpcInfo;
214
214
  };
215
215
 
216
216
 
@@ -222,7 +222,7 @@ export interface TabInfo$instance {
222
222
 
223
223
 
224
224
  export const TabInfo: {
225
- new(): TabInfo$instance;
225
+ new(): TabInfo;
226
226
  };
227
227
 
228
228
 
@@ -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;
238
+ get_Item(Index: unknown): unknown | undefined;
239
239
  getEnumerator(): IEnumerator;
240
240
  remove(Key: string): void;
241
241
  remove(Index: int): void;
@@ -243,7 +243,7 @@ export interface Collection$instance {
243
243
 
244
244
 
245
245
  export const Collection: {
246
- new(): Collection$instance;
246
+ new(): Collection;
247
247
  };
248
248
 
249
249
 
@@ -265,10 +265,10 @@ export interface ComClassAttribute$instance extends Attribute {
265
265
 
266
266
 
267
267
  export const ComClassAttribute: {
268
- new(): ComClassAttribute$instance;
269
- new(_ClassID: string): ComClassAttribute$instance;
270
- new(_ClassID: string, _InterfaceID: string): ComClassAttribute$instance;
271
- new(_ClassID: string, _InterfaceID: string, _EventId: string): ComClassAttribute$instance;
268
+ new(): ComClassAttribute;
269
+ new(_ClassID: string): ComClassAttribute;
270
+ new(_ClassID: string, _InterfaceID: string): ComClassAttribute;
271
+ new(_ClassID: string, _InterfaceID: string, _EventId: string): ComClassAttribute;
272
272
  };
273
273
 
274
274
 
@@ -279,7 +279,7 @@ export interface Constants$instance {
279
279
 
280
280
 
281
281
  export const Constants: {
282
- new(): Constants$instance;
282
+ new(): Constants;
283
283
  readonly vbCrLf: string;
284
284
  readonly vbObjectError: int;
285
285
  readonly vbNewLine: string;
@@ -392,7 +392,7 @@ export interface ControlChars$instance {
392
392
 
393
393
 
394
394
  export const ControlChars: {
395
- new(): ControlChars$instance;
395
+ new(): ControlChars;
396
396
  readonly crLf: string;
397
397
  readonly newLine: string;
398
398
  readonly cr: char;
@@ -413,7 +413,7 @@ export interface Conversion$instance {
413
413
 
414
414
 
415
415
  export const Conversion: {
416
- new(): Conversion$instance;
416
+ new(): Conversion;
417
417
  cTypeDynamic(Expression: unknown, TargetType: Type): unknown;
418
418
  cTypeDynamic<TargetType>(Expression: unknown): TargetType;
419
419
  errorToString(): string;
@@ -464,7 +464,7 @@ export interface DateAndTime$instance {
464
464
 
465
465
 
466
466
  export const DateAndTime: {
467
- new(): DateAndTime$instance;
467
+ new(): DateAndTime;
468
468
  today: DateTime;
469
469
  readonly now: DateTime;
470
470
  timeOfDay: DateTime;
@@ -510,7 +510,7 @@ export interface ErrObject$instance {
510
510
 
511
511
 
512
512
  export const ErrObject: {
513
- new(): ErrObject$instance;
513
+ new(): ErrObject;
514
514
  };
515
515
 
516
516
 
@@ -521,7 +521,7 @@ export interface FileSystem$instance {
521
521
 
522
522
 
523
523
  export const FileSystem: {
524
- new(): FileSystem$instance;
524
+ new(): FileSystem;
525
525
  chDir(Path: string): void;
526
526
  chDrive(Drive: char): void;
527
527
  chDrive(Drive: string): void;
@@ -615,7 +615,7 @@ export interface Financial$instance {
615
615
 
616
616
 
617
617
  export const Financial: {
618
- new(): Financial$instance;
618
+ new(): Financial;
619
619
  DDB(Cost: double, Salvage: double, Life: double, Period: double, Factor?: double): double;
620
620
  FV(Rate: double, NPer: double, Pmt: double, PV?: double, Due?: DueDate): double;
621
621
  iPmt(Rate: double, Per: double, NPer: double, PV: double, FV?: double, Due?: DueDate): double;
@@ -639,7 +639,7 @@ export interface HideModuleNameAttribute$instance extends Attribute {
639
639
 
640
640
 
641
641
  export const HideModuleNameAttribute: {
642
- new(): HideModuleNameAttribute$instance;
642
+ new(): HideModuleNameAttribute;
643
643
  };
644
644
 
645
645
 
@@ -650,7 +650,7 @@ export interface Information$instance {
650
650
 
651
651
 
652
652
  export const Information: {
653
- new(): Information$instance;
653
+ new(): Information;
654
654
  erl(): int;
655
655
  err(): ErrObject;
656
656
  isArray(VarName: unknown): boolean;
@@ -678,7 +678,7 @@ export interface Interaction$instance {
678
678
 
679
679
 
680
680
  export const Interaction: {
681
- new(): Interaction$instance;
681
+ new(): Interaction;
682
682
  appActivate(ProcessId: int): void;
683
683
  appActivate(Title: string): void;
684
684
  beep(): void;
@@ -713,7 +713,7 @@ export interface MyGroupCollectionAttribute$instance extends Attribute {
713
713
 
714
714
 
715
715
  export const MyGroupCollectionAttribute: {
716
- new(typeToCollect: string, createInstanceMethodName: string, disposeInstanceMethodName: string, defaultInstanceAlias: string): MyGroupCollectionAttribute$instance;
716
+ new(typeToCollect: string, createInstanceMethodName: string, disposeInstanceMethodName: string, defaultInstanceAlias: string): MyGroupCollectionAttribute;
717
717
  };
718
718
 
719
719
 
@@ -724,7 +724,7 @@ export interface Strings$instance {
724
724
 
725
725
 
726
726
  export const Strings: {
727
- new(): Strings$instance;
727
+ new(): Strings;
728
728
  asc(String: char): int;
729
729
  asc(String: string): int;
730
730
  ascW(String: char): int;
@@ -794,8 +794,8 @@ export interface VBFixedArrayAttribute$instance extends Attribute {
794
794
 
795
795
 
796
796
  export const VBFixedArrayAttribute: {
797
- new(UpperBound1: int): VBFixedArrayAttribute$instance;
798
- new(UpperBound1: int, UpperBound2: int): VBFixedArrayAttribute$instance;
797
+ new(UpperBound1: int): VBFixedArrayAttribute;
798
+ new(UpperBound1: int, UpperBound2: int): VBFixedArrayAttribute;
799
799
  };
800
800
 
801
801
 
@@ -807,7 +807,7 @@ export interface VBFixedStringAttribute$instance extends Attribute {
807
807
 
808
808
 
809
809
  export const VBFixedStringAttribute: {
810
- new(Length: int): VBFixedStringAttribute$instance;
810
+ new(Length: int): VBFixedStringAttribute;
811
811
  };
812
812
 
813
813
 
@@ -818,7 +818,7 @@ export interface VBMath$instance {
818
818
 
819
819
 
820
820
  export const VBMath: {
821
- new(): VBMath$instance;
821
+ new(): VBMath;
822
822
  randomize(): void;
823
823
  randomize(Number: double): void;
824
824
  rnd(): float;
@@ -23,7 +23,7 @@ export interface BooleanType$instance {
23
23
 
24
24
 
25
25
  export const BooleanType: {
26
- new(): BooleanType$instance;
26
+ new(): BooleanType;
27
27
  fromObject(Value: unknown): boolean;
28
28
  fromString(Value: string): boolean;
29
29
  };
@@ -36,7 +36,7 @@ export interface ByteType$instance {
36
36
 
37
37
 
38
38
  export const ByteType: {
39
- new(): ByteType$instance;
39
+ new(): ByteType;
40
40
  fromObject(Value: unknown): byte;
41
41
  fromString(Value: string): byte;
42
42
  };
@@ -49,7 +49,7 @@ export interface CharArrayType$instance {
49
49
 
50
50
 
51
51
  export const CharArrayType: {
52
- new(): CharArrayType$instance;
52
+ new(): CharArrayType;
53
53
  fromObject(Value: unknown): char[];
54
54
  fromString(Value: string): char[];
55
55
  };
@@ -62,7 +62,7 @@ export interface CharType$instance {
62
62
 
63
63
 
64
64
  export const CharType: {
65
- new(): CharType$instance;
65
+ new(): CharType;
66
66
  fromObject(Value: unknown): char;
67
67
  fromString(Value: string): char;
68
68
  };
@@ -75,7 +75,7 @@ export interface Conversions$instance {
75
75
 
76
76
 
77
77
  export const Conversions: {
78
- new(): Conversions$instance;
78
+ new(): Conversions;
79
79
  changeType(Expression: unknown, TargetType: Type): unknown;
80
80
  fallbackUserDefinedConversion(Expression: unknown, TargetType: Type): unknown;
81
81
  fromCharAndCount(Value: char, Count: int): string;
@@ -139,7 +139,7 @@ export interface DateType$instance {
139
139
 
140
140
 
141
141
  export const DateType: {
142
- new(): DateType$instance;
142
+ new(): DateType;
143
143
  fromObject(Value: unknown): DateTime;
144
144
  fromString(Value: string, culture: CultureInfo): DateTime;
145
145
  fromString(Value: string): DateTime;
@@ -153,7 +153,7 @@ export interface DecimalType$instance {
153
153
 
154
154
 
155
155
  export const DecimalType: {
156
- new(): DecimalType$instance;
156
+ new(): DecimalType;
157
157
  fromBoolean(Value: boolean): decimal;
158
158
  fromObject(Value: unknown, NumberFormat: NumberFormatInfo): decimal;
159
159
  fromObject(Value: unknown): decimal;
@@ -170,7 +170,7 @@ export interface DesignerGeneratedAttribute$instance extends Attribute {
170
170
 
171
171
 
172
172
  export const DesignerGeneratedAttribute: {
173
- new(): DesignerGeneratedAttribute$instance;
173
+ new(): DesignerGeneratedAttribute;
174
174
  };
175
175
 
176
176
 
@@ -181,7 +181,7 @@ export interface DoubleType$instance {
181
181
 
182
182
 
183
183
  export const DoubleType: {
184
- new(): DoubleType$instance;
184
+ new(): DoubleType;
185
185
  fromObject(Value: unknown, NumberFormat: NumberFormatInfo): double;
186
186
  fromObject(Value: unknown): double;
187
187
  fromString(Value: string, NumberFormat: NumberFormatInfo): double;
@@ -194,12 +194,12 @@ export const DoubleType: {
194
194
  export type DoubleType = DoubleType$instance;
195
195
 
196
196
  export interface IncompleteInitialization$instance extends Exception {
197
- getObjectData(info: SerializationInfo, context: StreamingContext): void;
197
+ getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
198
198
  }
199
199
 
200
200
 
201
201
  export const IncompleteInitialization: {
202
- new(): IncompleteInitialization$instance;
202
+ new(): IncompleteInitialization;
203
203
  };
204
204
 
205
205
 
@@ -215,7 +215,7 @@ export interface IntegerType$instance {
215
215
 
216
216
 
217
217
  export const IntegerType: {
218
- new(): IntegerType$instance;
218
+ new(): IntegerType;
219
219
  fromObject(Value: unknown): int;
220
220
  fromString(Value: string): int;
221
221
  };
@@ -228,7 +228,7 @@ export interface LateBinding$instance {
228
228
 
229
229
 
230
230
  export const LateBinding: {
231
- new(): LateBinding$instance;
231
+ new(): LateBinding;
232
232
  lateCall(o: unknown, objType: Type, name: string, args: unknown[], paramnames: string[], CopyBack: boolean[]): void;
233
233
  lateGet(o: unknown, objType: Type, name: string, args: unknown[], paramnames: string[], CopyBack: boolean[]): unknown;
234
234
  lateIndexGet(o: unknown, args: unknown[], paramnames: string[]): unknown;
@@ -246,7 +246,7 @@ export interface LikeOperator$instance {
246
246
 
247
247
 
248
248
  export const LikeOperator: {
249
- new(): LikeOperator$instance;
249
+ new(): LikeOperator;
250
250
  likeObject(Source: unknown, Pattern: unknown, CompareOption: CompareMethod): unknown;
251
251
  likeString(Source: string, Pattern: string, CompareOption: CompareMethod): boolean;
252
252
  };
@@ -259,7 +259,7 @@ export interface LongType$instance {
259
259
 
260
260
 
261
261
  export const LongType: {
262
- new(): LongType$instance;
262
+ new(): LongType;
263
263
  fromObject(Value: unknown): long;
264
264
  fromString(Value: string): long;
265
265
  };
@@ -272,7 +272,7 @@ export interface NewLateBinding$instance {
272
272
 
273
273
 
274
274
  export const NewLateBinding: {
275
- new(): NewLateBinding$instance;
275
+ new(): NewLateBinding;
276
276
  fallbackCall(Instance: unknown, MemberName: string, Arguments: unknown[], ArgumentNames: string[], IgnoreReturn: boolean): unknown;
277
277
  fallbackGet(Instance: unknown, MemberName: string, Arguments: unknown[], ArgumentNames: string[]): unknown;
278
278
  fallbackIndexSet(Instance: unknown, Arguments: unknown[], ArgumentNames: string[]): void;
@@ -301,7 +301,7 @@ export interface ObjectFlowControl$instance {
301
301
 
302
302
 
303
303
  export const ObjectFlowControl: {
304
- new(): ObjectFlowControl$instance;
304
+ new(): ObjectFlowControl;
305
305
  checkForSyncLockOnValueType(Expression: unknown): void;
306
306
  };
307
307
 
@@ -313,7 +313,7 @@ export interface ObjectFlowControl_ForLoopControl$instance {
313
313
 
314
314
 
315
315
  export const ObjectFlowControl_ForLoopControl: {
316
- new(): ObjectFlowControl_ForLoopControl$instance;
316
+ new(): ObjectFlowControl_ForLoopControl;
317
317
  forLoopInitObj(Counter: unknown, Start: unknown, Limit: unknown, StepValue: unknown, LoopForResult: unknown, CounterResult: unknown): boolean;
318
318
  forNextCheckDec(count: decimal, limit: decimal, StepValue: decimal): boolean;
319
319
  forNextCheckObj(Counter: unknown, LoopObj: unknown, CounterResult: unknown): boolean;
@@ -329,7 +329,7 @@ export interface ObjectType$instance {
329
329
 
330
330
 
331
331
  export const ObjectType: {
332
- new(): ObjectType$instance;
332
+ new(): ObjectType;
333
333
  addObj(o1: unknown, o2: unknown): unknown;
334
334
  bitAndObj(obj1: unknown, obj2: unknown): unknown;
335
335
  bitOrObj(obj1: unknown, obj2: unknown): unknown;
@@ -360,7 +360,7 @@ export interface Operators$instance {
360
360
 
361
361
 
362
362
  export const Operators: {
363
- new(): Operators$instance;
363
+ new(): Operators;
364
364
  addObject(Left: unknown, Right: unknown): unknown;
365
365
  andObject(Left: unknown, Right: unknown): unknown;
366
366
  compareObjectEqual(Left: unknown, Right: unknown, TextCompare: boolean): unknown;
@@ -401,7 +401,7 @@ export interface OptionCompareAttribute$instance extends Attribute {
401
401
 
402
402
 
403
403
  export const OptionCompareAttribute: {
404
- new(): OptionCompareAttribute$instance;
404
+ new(): OptionCompareAttribute;
405
405
  };
406
406
 
407
407
 
@@ -412,7 +412,7 @@ export interface OptionTextAttribute$instance extends Attribute {
412
412
 
413
413
 
414
414
  export const OptionTextAttribute: {
415
- new(): OptionTextAttribute$instance;
415
+ new(): OptionTextAttribute;
416
416
  };
417
417
 
418
418
 
@@ -423,7 +423,7 @@ export interface ProjectData$instance {
423
423
 
424
424
 
425
425
  export const ProjectData: {
426
- new(): ProjectData$instance;
426
+ new(): ProjectData;
427
427
  clearProjectError(): void;
428
428
  createProjectError(hr: int): Exception;
429
429
  endApp(): void;
@@ -439,7 +439,7 @@ export interface ShortType$instance {
439
439
 
440
440
 
441
441
  export const ShortType: {
442
- new(): ShortType$instance;
442
+ new(): ShortType;
443
443
  fromObject(Value: unknown): short;
444
444
  fromString(Value: string): short;
445
445
  };
@@ -452,7 +452,7 @@ export interface SingleType$instance {
452
452
 
453
453
 
454
454
  export const SingleType: {
455
- new(): SingleType$instance;
455
+ new(): SingleType;
456
456
  fromObject(Value: unknown, NumberFormat: NumberFormatInfo): float;
457
457
  fromObject(Value: unknown): float;
458
458
  fromString(Value: string, NumberFormat: NumberFormatInfo): float;
@@ -467,7 +467,7 @@ export interface StandardModuleAttribute$instance extends Attribute {
467
467
 
468
468
 
469
469
  export const StandardModuleAttribute: {
470
- new(): StandardModuleAttribute$instance;
470
+ new(): StandardModuleAttribute;
471
471
  };
472
472
 
473
473
 
@@ -479,7 +479,7 @@ export interface StaticLocalInitFlag$instance {
479
479
 
480
480
 
481
481
  export const StaticLocalInitFlag: {
482
- new(): StaticLocalInitFlag$instance;
482
+ new(): StaticLocalInitFlag;
483
483
  };
484
484
 
485
485
 
@@ -490,7 +490,7 @@ export interface StringType$instance {
490
490
 
491
491
 
492
492
  export const StringType: {
493
- new(): StringType$instance;
493
+ new(): StringType;
494
494
  fromBoolean(Value: boolean): string;
495
495
  fromByte(Value: byte): string;
496
496
  fromChar(Value: char): string;
@@ -520,7 +520,7 @@ export interface Utils$instance {
520
520
 
521
521
 
522
522
  export const Utils: {
523
- new(): Utils$instance;
523
+ new(): Utils;
524
524
  copyArray(arySrc: ClrArray, aryDest: ClrArray): ClrArray;
525
525
  getResourceString(ResourceKey: string, ...Args: string[]): string;
526
526
  };
@@ -533,7 +533,7 @@ export interface Versioned$instance {
533
533
 
534
534
 
535
535
  export const Versioned: {
536
- new(): Versioned$instance;
536
+ new(): Versioned;
537
537
  callByName(Instance: unknown, MethodName: string, UseCallType: CallType, ...Arguments: unknown[]): unknown;
538
538
  isNumeric(Expression: unknown): boolean;
539
539
  systemTypeName(VbName: string): string;
@@ -57,7 +57,7 @@ export interface FileSystem$instance {
57
57
 
58
58
 
59
59
  export const FileSystem: {
60
- new(): FileSystem$instance;
60
+ new(): FileSystem;
61
61
  readonly drives: ReadOnlyCollection_1<DriveInfo>;
62
62
  currentDirectory: string;
63
63
  combinePath(baseDirectory: string, relativePath: string): string;
@@ -121,16 +121,16 @@ export type FileSystem = FileSystem$instance;
121
121
  export interface MalformedLineException$instance extends Exception {
122
122
  lineNumber: long;
123
123
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
124
- toString(): string;
124
+ toString(): string | undefined;
125
125
  }
126
126
 
127
127
 
128
128
  export const MalformedLineException: {
129
- new(): MalformedLineException$instance;
130
- new(message: string, lineNumber: long): MalformedLineException$instance;
131
- new(message: string): MalformedLineException$instance;
132
- new(message: string, lineNumber: long, innerException: Exception): MalformedLineException$instance;
133
- new(message: string, innerException: Exception): MalformedLineException$instance;
129
+ new(): MalformedLineException;
130
+ new(message: string, lineNumber: long): MalformedLineException;
131
+ new(message: string): MalformedLineException;
132
+ new(message: string, lineNumber: long, innerException: Exception): MalformedLineException;
133
+ new(message: string, innerException: Exception): MalformedLineException;
134
134
  };
135
135
 
136
136
 
@@ -146,7 +146,7 @@ export interface SpecialDirectories$instance {
146
146
 
147
147
 
148
148
  export const SpecialDirectories: {
149
- new(): SpecialDirectories$instance;
149
+ new(): SpecialDirectories;
150
150
  readonly myDocuments: string;
151
151
  readonly myMusic: string;
152
152
  readonly myPictures: string;
@@ -184,14 +184,14 @@ export interface TextFieldParser$instance {
184
184
 
185
185
 
186
186
  export const TextFieldParser: {
187
- new(path: string): TextFieldParser$instance;
188
- new(path: string, defaultEncoding: Encoding): TextFieldParser$instance;
189
- new(path: string, defaultEncoding: Encoding, detectEncoding: boolean): TextFieldParser$instance;
190
- new(stream: Stream): TextFieldParser$instance;
191
- new(stream: Stream, defaultEncoding: Encoding): TextFieldParser$instance;
192
- new(stream: Stream, defaultEncoding: Encoding, detectEncoding: boolean): TextFieldParser$instance;
193
- new(stream: Stream, defaultEncoding: Encoding, detectEncoding: boolean, leaveOpen: boolean): TextFieldParser$instance;
194
- new(reader: TextReader): TextFieldParser$instance;
187
+ new(path: string): TextFieldParser;
188
+ new(path: string, defaultEncoding: Encoding): TextFieldParser;
189
+ new(path: string, defaultEncoding: Encoding, detectEncoding: boolean): TextFieldParser;
190
+ new(stream: Stream): TextFieldParser;
191
+ new(stream: Stream, defaultEncoding: Encoding): TextFieldParser;
192
+ new(stream: Stream, defaultEncoding: Encoding, detectEncoding: boolean): TextFieldParser;
193
+ new(stream: Stream, defaultEncoding: Encoding, detectEncoding: boolean, leaveOpen: boolean): TextFieldParser;
194
+ new(reader: TextReader): TextFieldParser;
195
195
  };
196
196
 
197
197
 
@@ -69,8 +69,8 @@ export interface RegistryKey$instance extends MarshalByRefObject {
69
69
  createSubKey(subkey: string): RegistryKey;
70
70
  createSubKey(subkey: string, permissionCheck: RegistryKeyPermissionCheck): RegistryKey;
71
71
  createSubKey(subkey: string, permissionCheck: RegistryKeyPermissionCheck, registryOptions: RegistryOptions): RegistryKey;
72
- createSubKey(subkey: string, permissionCheck: RegistryKeyPermissionCheck, registryOptions: RegistryOptions, registrySecurity: RegistrySecurity): RegistryKey;
73
- createSubKey(subkey: string, permissionCheck: RegistryKeyPermissionCheck, registrySecurity: RegistrySecurity): RegistryKey;
72
+ createSubKey(subkey: string, permissionCheck: RegistryKeyPermissionCheck, registryOptions: RegistryOptions, registrySecurity: RegistrySecurity | undefined): RegistryKey;
73
+ createSubKey(subkey: string, permissionCheck: RegistryKeyPermissionCheck, registrySecurity: RegistrySecurity | undefined): RegistryKey;
74
74
  createSubKey(subkey: string, writable: boolean): RegistryKey;
75
75
  createSubKey(subkey: string, writable: boolean, options: RegistryOptions): RegistryKey;
76
76
  deleteSubKey(subkey: string): void;
@@ -89,20 +89,20 @@ export interface RegistryKey$instance extends MarshalByRefObject {
89
89
  getValue(name: string, defaultValue: unknown, options: RegistryValueOptions): unknown;
90
90
  getValueKind(name: string): RegistryValueKind;
91
91
  getValueNames(): string[];
92
- openSubKey(name: string): RegistryKey;
93
- openSubKey(name: string, permissionCheck: RegistryKeyPermissionCheck): RegistryKey;
94
- openSubKey(name: string, permissionCheck: RegistryKeyPermissionCheck, rights: RegistryRights): RegistryKey;
95
- openSubKey(name: string, writable: boolean): RegistryKey;
96
- openSubKey(name: string, rights: RegistryRights): RegistryKey;
92
+ openSubKey(name: string): RegistryKey | undefined;
93
+ openSubKey(name: string, permissionCheck: RegistryKeyPermissionCheck): RegistryKey | undefined;
94
+ openSubKey(name: string, permissionCheck: RegistryKeyPermissionCheck, rights: RegistryRights): RegistryKey | undefined;
95
+ openSubKey(name: string, writable: boolean): RegistryKey | undefined;
96
+ openSubKey(name: string, rights: RegistryRights): RegistryKey | undefined;
97
97
  setAccessControl(registrySecurity: RegistrySecurity): void;
98
- setValue(name: string, value: unknown): void;
99
- setValue(name: string, value: unknown, valueKind: RegistryValueKind): void;
98
+ setValue(name: string | undefined, value: unknown): void;
99
+ setValue(name: string | undefined, value: unknown, valueKind: RegistryValueKind): void;
100
100
  toString(): string;
101
101
  }
102
102
 
103
103
 
104
104
  export const RegistryKey: {
105
- new(): RegistryKey$instance;
105
+ new(): RegistryKey;
106
106
  fromHandle(handle: SafeRegistryHandle, view: RegistryView): RegistryKey;
107
107
  fromHandle(handle: SafeRegistryHandle): RegistryKey;
108
108
  openBaseKey(hKey: RegistryHive, view: RegistryView): RegistryKey;
@@ -128,8 +128,8 @@ export abstract class Registry$instance {
128
128
  static readonly performanceData: RegistryKey;
129
129
  static readonly users: RegistryKey;
130
130
  static getValue(keyName: string, valueName: string, defaultValue: unknown): unknown;
131
- static setValue(keyName: string, valueName: string, value: unknown, valueKind: RegistryValueKind): void;
132
- static setValue(keyName: string, valueName: string, value: unknown): void;
131
+ static setValue(keyName: string, valueName: string | undefined, value: unknown, valueKind: RegistryValueKind): void;
132
+ static setValue(keyName: string, valueName: string | undefined, value: unknown): void;
133
133
  }
134
134
 
135
135