@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
@@ -48,20 +48,20 @@ export interface AllowNullAttribute$instance extends Attribute {
48
48
 
49
49
 
50
50
  export const AllowNullAttribute: {
51
- new(): AllowNullAttribute$instance;
51
+ new(): AllowNullAttribute;
52
52
  };
53
53
 
54
54
 
55
55
  export type AllowNullAttribute = AllowNullAttribute$instance;
56
56
 
57
57
  export interface ConstantExpectedAttribute$instance extends Attribute {
58
- max: unknown;
59
- min: unknown;
58
+ max: unknown | undefined;
59
+ min: unknown | undefined;
60
60
  }
61
61
 
62
62
 
63
63
  export const ConstantExpectedAttribute: {
64
- new(): ConstantExpectedAttribute$instance;
64
+ new(): ConstantExpectedAttribute;
65
65
  };
66
66
 
67
67
 
@@ -72,7 +72,7 @@ export interface DisallowNullAttribute$instance extends Attribute {
72
72
 
73
73
 
74
74
  export const DisallowNullAttribute: {
75
- new(): DisallowNullAttribute$instance;
75
+ new(): DisallowNullAttribute;
76
76
  };
77
77
 
78
78
 
@@ -83,7 +83,7 @@ export interface DoesNotReturnAttribute$instance extends Attribute {
83
83
 
84
84
 
85
85
  export const DoesNotReturnAttribute: {
86
- new(): DoesNotReturnAttribute$instance;
86
+ new(): DoesNotReturnAttribute;
87
87
  };
88
88
 
89
89
 
@@ -95,7 +95,7 @@ export interface DoesNotReturnIfAttribute$instance extends Attribute {
95
95
 
96
96
 
97
97
  export const DoesNotReturnIfAttribute: {
98
- new(parameterValue: boolean): DoesNotReturnIfAttribute$instance;
98
+ new(parameterValue: boolean): DoesNotReturnIfAttribute;
99
99
  };
100
100
 
101
101
 
@@ -107,7 +107,7 @@ export interface DynamicallyAccessedMembersAttribute$instance extends Attribute
107
107
 
108
108
 
109
109
  export const DynamicallyAccessedMembersAttribute: {
110
- new(memberTypes: DynamicallyAccessedMemberTypes): DynamicallyAccessedMembersAttribute$instance;
110
+ new(memberTypes: DynamicallyAccessedMemberTypes): DynamicallyAccessedMembersAttribute;
111
111
  };
112
112
 
113
113
 
@@ -115,8 +115,8 @@ export type DynamicallyAccessedMembersAttribute = DynamicallyAccessedMembersAttr
115
115
 
116
116
  export interface DynamicDependencyAttribute$instance extends Attribute {
117
117
  readonly assemblyName: string;
118
- condition: string;
119
- readonly memberSignature: string;
118
+ condition: string | undefined;
119
+ readonly memberSignature: string | undefined;
120
120
  readonly memberTypes: DynamicallyAccessedMemberTypes;
121
121
  readonly type_: Type;
122
122
  readonly typeName: string;
@@ -124,23 +124,23 @@ export interface DynamicDependencyAttribute$instance extends Attribute {
124
124
 
125
125
 
126
126
  export const DynamicDependencyAttribute: {
127
- new(memberSignature: string): DynamicDependencyAttribute$instance;
128
- new(memberSignature: string, type_: Type): DynamicDependencyAttribute$instance;
129
- new(memberSignature: string, typeName: string, assemblyName: string): DynamicDependencyAttribute$instance;
130
- new(memberTypes: DynamicallyAccessedMemberTypes, type_: Type): DynamicDependencyAttribute$instance;
131
- new(memberTypes: DynamicallyAccessedMemberTypes, typeName: string, assemblyName: string): DynamicDependencyAttribute$instance;
127
+ new(memberSignature: string | undefined): DynamicDependencyAttribute;
128
+ new(memberSignature: string | undefined, type_: Type | undefined): DynamicDependencyAttribute;
129
+ new(memberSignature: string | undefined, typeName: string | undefined, assemblyName: string | undefined): DynamicDependencyAttribute;
130
+ new(memberTypes: DynamicallyAccessedMemberTypes, type_: Type | undefined): DynamicDependencyAttribute;
131
+ new(memberTypes: DynamicallyAccessedMemberTypes, typeName: string | undefined, assemblyName: string | undefined): DynamicDependencyAttribute;
132
132
  };
133
133
 
134
134
 
135
135
  export type DynamicDependencyAttribute = DynamicDependencyAttribute$instance;
136
136
 
137
137
  export interface ExcludeFromCodeCoverageAttribute$instance extends Attribute {
138
- justification: string;
138
+ justification: string | undefined;
139
139
  }
140
140
 
141
141
 
142
142
  export const ExcludeFromCodeCoverageAttribute: {
143
- new(): ExcludeFromCodeCoverageAttribute$instance;
143
+ new(): ExcludeFromCodeCoverageAttribute;
144
144
  };
145
145
 
146
146
 
@@ -149,12 +149,12 @@ export type ExcludeFromCodeCoverageAttribute = ExcludeFromCodeCoverageAttribute$
149
149
  export interface ExperimentalAttribute$instance extends Attribute {
150
150
  readonly diagnosticId: string;
151
151
  message: string;
152
- urlFormat: string;
152
+ urlFormat: string | undefined;
153
153
  }
154
154
 
155
155
 
156
156
  export const ExperimentalAttribute: {
157
- new(diagnosticId: string): ExperimentalAttribute$instance;
157
+ new(diagnosticId: string | undefined): ExperimentalAttribute;
158
158
  };
159
159
 
160
160
 
@@ -166,7 +166,7 @@ export interface FeatureGuardAttribute$instance extends Attribute {
166
166
 
167
167
 
168
168
  export const FeatureGuardAttribute: {
169
- new(featureType: Type): FeatureGuardAttribute$instance;
169
+ new(featureType: Type): FeatureGuardAttribute;
170
170
  };
171
171
 
172
172
 
@@ -178,7 +178,7 @@ export interface FeatureSwitchDefinitionAttribute$instance extends Attribute {
178
178
 
179
179
 
180
180
  export const FeatureSwitchDefinitionAttribute: {
181
- new(switchName: string): FeatureSwitchDefinitionAttribute$instance;
181
+ new(switchName: string): FeatureSwitchDefinitionAttribute;
182
182
  };
183
183
 
184
184
 
@@ -189,7 +189,7 @@ export interface MaybeNullAttribute$instance extends Attribute {
189
189
 
190
190
 
191
191
  export const MaybeNullAttribute: {
192
- new(): MaybeNullAttribute$instance;
192
+ new(): MaybeNullAttribute;
193
193
  };
194
194
 
195
195
 
@@ -201,7 +201,7 @@ export interface MaybeNullWhenAttribute$instance extends Attribute {
201
201
 
202
202
 
203
203
  export const MaybeNullWhenAttribute: {
204
- new(returnValue: boolean): MaybeNullWhenAttribute$instance;
204
+ new(returnValue: boolean): MaybeNullWhenAttribute;
205
205
  };
206
206
 
207
207
 
@@ -213,8 +213,8 @@ export interface MemberNotNullAttribute$instance extends Attribute {
213
213
 
214
214
 
215
215
  export const MemberNotNullAttribute: {
216
- new(member: string): MemberNotNullAttribute$instance;
217
- new(members: string[]): MemberNotNullAttribute$instance;
216
+ new(member: string): MemberNotNullAttribute;
217
+ new(members: string[]): MemberNotNullAttribute;
218
218
  };
219
219
 
220
220
 
@@ -227,8 +227,8 @@ export interface MemberNotNullWhenAttribute$instance extends Attribute {
227
227
 
228
228
 
229
229
  export const MemberNotNullWhenAttribute: {
230
- new(returnValue: boolean, member: string): MemberNotNullWhenAttribute$instance;
231
- new(returnValue: boolean, members: string[]): MemberNotNullWhenAttribute$instance;
230
+ new(returnValue: boolean, member: string): MemberNotNullWhenAttribute;
231
+ new(returnValue: boolean, members: string[]): MemberNotNullWhenAttribute;
232
232
  };
233
233
 
234
234
 
@@ -239,7 +239,7 @@ export interface NotNullAttribute$instance extends Attribute {
239
239
 
240
240
 
241
241
  export const NotNullAttribute: {
242
- new(): NotNullAttribute$instance;
242
+ new(): NotNullAttribute;
243
243
  };
244
244
 
245
245
 
@@ -251,7 +251,7 @@ export interface NotNullIfNotNullAttribute$instance extends Attribute {
251
251
 
252
252
 
253
253
  export const NotNullIfNotNullAttribute: {
254
- new(parameterName: string): NotNullIfNotNullAttribute$instance;
254
+ new(parameterName: string): NotNullIfNotNullAttribute;
255
255
  };
256
256
 
257
257
 
@@ -263,7 +263,7 @@ export interface NotNullWhenAttribute$instance extends Attribute {
263
263
 
264
264
 
265
265
  export const NotNullWhenAttribute: {
266
- new(returnValue: boolean): NotNullWhenAttribute$instance;
266
+ new(returnValue: boolean): NotNullWhenAttribute;
267
267
  };
268
268
 
269
269
 
@@ -271,13 +271,13 @@ export type NotNullWhenAttribute = NotNullWhenAttribute$instance;
271
271
 
272
272
  export interface RequiresAssemblyFilesAttribute$instance extends Attribute {
273
273
  readonly message: string;
274
- url: string;
274
+ url: string | undefined;
275
275
  }
276
276
 
277
277
 
278
278
  export const RequiresAssemblyFilesAttribute: {
279
- new(): RequiresAssemblyFilesAttribute$instance;
280
- new(message: string): RequiresAssemblyFilesAttribute$instance;
279
+ new(): RequiresAssemblyFilesAttribute;
280
+ new(message: string | undefined): RequiresAssemblyFilesAttribute;
281
281
  };
282
282
 
283
283
 
@@ -286,12 +286,12 @@ export type RequiresAssemblyFilesAttribute = RequiresAssemblyFilesAttribute$inst
286
286
  export interface RequiresDynamicCodeAttribute$instance extends Attribute {
287
287
  excludeStatics: boolean;
288
288
  readonly message: string;
289
- url: string;
289
+ url: string | undefined;
290
290
  }
291
291
 
292
292
 
293
293
  export const RequiresDynamicCodeAttribute: {
294
- new(message: string): RequiresDynamicCodeAttribute$instance;
294
+ new(message: string): RequiresDynamicCodeAttribute;
295
295
  };
296
296
 
297
297
 
@@ -300,12 +300,12 @@ export type RequiresDynamicCodeAttribute = RequiresDynamicCodeAttribute$instance
300
300
  export interface RequiresUnreferencedCodeAttribute$instance extends Attribute {
301
301
  excludeStatics: boolean;
302
302
  readonly message: string;
303
- url: string;
303
+ url: string | undefined;
304
304
  }
305
305
 
306
306
 
307
307
  export const RequiresUnreferencedCodeAttribute: {
308
- new(message: string): RequiresUnreferencedCodeAttribute$instance;
308
+ new(message: string): RequiresUnreferencedCodeAttribute;
309
309
  };
310
310
 
311
311
 
@@ -316,21 +316,21 @@ export interface SetsRequiredMembersAttribute$instance extends Attribute {
316
316
 
317
317
 
318
318
  export const SetsRequiredMembersAttribute: {
319
- new(): SetsRequiredMembersAttribute$instance;
319
+ new(): SetsRequiredMembersAttribute;
320
320
  };
321
321
 
322
322
 
323
323
  export type SetsRequiredMembersAttribute = SetsRequiredMembersAttribute$instance;
324
324
 
325
325
  export interface StringSyntaxAttribute$instance extends Attribute {
326
- readonly arguments: unknown[];
326
+ readonly arguments: (unknown | undefined)[];
327
327
  readonly syntax: string;
328
328
  }
329
329
 
330
330
 
331
331
  export const StringSyntaxAttribute: {
332
- new(syntax: string): StringSyntaxAttribute$instance;
333
- new(syntax: string, arguments: unknown[]): StringSyntaxAttribute$instance;
332
+ new(syntax: string): StringSyntaxAttribute;
333
+ new(syntax: string, arguments: unknown[]): StringSyntaxAttribute;
334
334
  readonly compositeFormat: string;
335
335
  readonly dateOnlyFormat: string;
336
336
  readonly dateTimeFormat: string;
@@ -351,15 +351,15 @@ export type StringSyntaxAttribute = StringSyntaxAttribute$instance;
351
351
  export interface SuppressMessageAttribute$instance extends Attribute {
352
352
  readonly category: string;
353
353
  readonly checkId: string;
354
- justification: string;
355
- messageId: string;
356
- scope: string;
354
+ justification: string | undefined;
355
+ messageId: string | undefined;
356
+ scope: string | undefined;
357
357
  target: string;
358
358
  }
359
359
 
360
360
 
361
361
  export const SuppressMessageAttribute: {
362
- new(category: string, checkId: string): SuppressMessageAttribute$instance;
362
+ new(category: string | undefined, checkId: string | undefined): SuppressMessageAttribute;
363
363
  };
364
364
 
365
365
 
@@ -368,15 +368,15 @@ export type SuppressMessageAttribute = SuppressMessageAttribute$instance;
368
368
  export interface UnconditionalSuppressMessageAttribute$instance extends Attribute {
369
369
  readonly category: string;
370
370
  readonly checkId: string;
371
- justification: string;
372
- messageId: string;
373
- scope: string;
371
+ justification: string | undefined;
372
+ messageId: string | undefined;
373
+ scope: string | undefined;
374
374
  target: string;
375
375
  }
376
376
 
377
377
 
378
378
  export const UnconditionalSuppressMessageAttribute: {
379
- new(category: string, checkId: string): UnconditionalSuppressMessageAttribute$instance;
379
+ new(category: string | undefined, checkId: string | undefined): UnconditionalSuppressMessageAttribute;
380
380
  };
381
381
 
382
382
 
@@ -387,7 +387,7 @@ export interface UnscopedRefAttribute$instance extends Attribute {
387
387
 
388
388
 
389
389
  export const UnscopedRefAttribute: {
390
- new(): UnscopedRefAttribute$instance;
390
+ new(): UnscopedRefAttribute;
391
391
  };
392
392
 
393
393
 
@@ -32,7 +32,7 @@ export interface ContractAbbreviatorAttribute$instance extends Attribute {
32
32
 
33
33
 
34
34
  export const ContractAbbreviatorAttribute: {
35
- new(): ContractAbbreviatorAttribute$instance;
35
+ new(): ContractAbbreviatorAttribute;
36
36
  };
37
37
 
38
38
 
@@ -43,7 +43,7 @@ export interface ContractArgumentValidatorAttribute$instance extends Attribute {
43
43
 
44
44
 
45
45
  export const ContractArgumentValidatorAttribute: {
46
- new(): ContractArgumentValidatorAttribute$instance;
46
+ new(): ContractArgumentValidatorAttribute;
47
47
  };
48
48
 
49
49
 
@@ -55,7 +55,7 @@ export interface ContractClassAttribute$instance extends Attribute {
55
55
 
56
56
 
57
57
  export const ContractClassAttribute: {
58
- new(typeContainingContracts: Type): ContractClassAttribute$instance;
58
+ new(typeContainingContracts: Type): ContractClassAttribute;
59
59
  };
60
60
 
61
61
 
@@ -67,23 +67,23 @@ export interface ContractClassForAttribute$instance extends Attribute {
67
67
 
68
68
 
69
69
  export const ContractClassForAttribute: {
70
- new(typeContractsAreFor: Type): ContractClassForAttribute$instance;
70
+ new(typeContractsAreFor: Type): ContractClassForAttribute;
71
71
  };
72
72
 
73
73
 
74
74
  export type ContractClassForAttribute = ContractClassForAttribute$instance;
75
75
 
76
76
  export interface ContractException$instance extends Exception {
77
- readonly condition: string;
77
+ readonly condition: string | undefined;
78
78
  readonly failure: string;
79
79
  readonly kind: ContractFailureKind;
80
- readonly userMessage: string;
81
- getObjectData(info: SerializationInfo, context: StreamingContext): void;
80
+ readonly userMessage: string | undefined;
81
+ getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
82
82
  }
83
83
 
84
84
 
85
85
  export const ContractException: {
86
- new(kind: ContractFailureKind, failure: string, userMessage: string, condition: string, innerException: Exception): ContractException$instance;
86
+ new(kind: ContractFailureKind, failure: string | undefined, userMessage: string | undefined, condition: string | undefined, innerException: Exception | undefined): ContractException;
87
87
  };
88
88
 
89
89
 
@@ -95,11 +95,11 @@ export type ContractException = ContractException$instance & __ContractException
95
95
 
96
96
 
97
97
  export interface ContractFailedEventArgs$instance extends EventArgs {
98
- readonly condition: string;
98
+ readonly condition: string | undefined;
99
99
  readonly failureKind: ContractFailureKind;
100
100
  readonly handled: boolean;
101
101
  readonly message: string;
102
- readonly originalException: Exception;
102
+ readonly originalException: Exception | undefined;
103
103
  readonly unwind: boolean;
104
104
  setHandled(): void;
105
105
  setUnwind(): void;
@@ -107,7 +107,7 @@ export interface ContractFailedEventArgs$instance extends EventArgs {
107
107
 
108
108
 
109
109
  export const ContractFailedEventArgs: {
110
- new(failureKind: ContractFailureKind, message: string, condition: string, originalException: Exception): ContractFailedEventArgs$instance;
110
+ new(failureKind: ContractFailureKind, message: string | undefined, condition: string | undefined, originalException: Exception | undefined): ContractFailedEventArgs;
111
111
  };
112
112
 
113
113
 
@@ -118,7 +118,7 @@ export interface ContractInvariantMethodAttribute$instance extends Attribute {
118
118
 
119
119
 
120
120
  export const ContractInvariantMethodAttribute: {
121
- new(): ContractInvariantMethodAttribute$instance;
121
+ new(): ContractInvariantMethodAttribute;
122
122
  };
123
123
 
124
124
 
@@ -133,8 +133,8 @@ export interface ContractOptionAttribute$instance extends Attribute {
133
133
 
134
134
 
135
135
  export const ContractOptionAttribute: {
136
- new(category: string, setting: string, enabled: boolean): ContractOptionAttribute$instance;
137
- new(category: string, setting: string, value: string): ContractOptionAttribute$instance;
136
+ new(category: string, setting: string, enabled: boolean): ContractOptionAttribute;
137
+ new(category: string, setting: string, value: string): ContractOptionAttribute;
138
138
  };
139
139
 
140
140
 
@@ -146,7 +146,7 @@ export interface ContractPublicPropertyNameAttribute$instance extends Attribute
146
146
 
147
147
 
148
148
  export const ContractPublicPropertyNameAttribute: {
149
- new(name: string): ContractPublicPropertyNameAttribute$instance;
149
+ new(name: string): ContractPublicPropertyNameAttribute;
150
150
  };
151
151
 
152
152
 
@@ -157,7 +157,7 @@ export interface ContractReferenceAssemblyAttribute$instance extends Attribute {
157
157
 
158
158
 
159
159
  export const ContractReferenceAssemblyAttribute: {
160
- new(): ContractReferenceAssemblyAttribute$instance;
160
+ new(): ContractReferenceAssemblyAttribute;
161
161
  };
162
162
 
163
163
 
@@ -168,7 +168,7 @@ export interface ContractRuntimeIgnoredAttribute$instance extends Attribute {
168
168
 
169
169
 
170
170
  export const ContractRuntimeIgnoredAttribute: {
171
- new(): ContractRuntimeIgnoredAttribute$instance;
171
+ new(): ContractRuntimeIgnoredAttribute;
172
172
  };
173
173
 
174
174
 
@@ -180,7 +180,7 @@ export interface ContractVerificationAttribute$instance extends Attribute {
180
180
 
181
181
 
182
182
  export const ContractVerificationAttribute: {
183
- new(value: boolean): ContractVerificationAttribute$instance;
183
+ new(value: boolean): ContractVerificationAttribute;
184
184
  };
185
185
 
186
186
 
@@ -191,7 +191,7 @@ export interface PureAttribute$instance extends Attribute {
191
191
 
192
192
 
193
193
  export const PureAttribute: {
194
- new(): PureAttribute$instance;
194
+ new(): PureAttribute;
195
195
  };
196
196
 
197
197
 
@@ -205,7 +205,7 @@ export abstract class Contract$instance {
205
205
  static endContractBlock(): void;
206
206
  static ensures(condition: boolean, userMessage: string): void;
207
207
  static ensures(condition: boolean): void;
208
- static ensuresOnThrow<TException extends Exception>(condition: boolean, userMessage: string): void;
208
+ static ensuresOnThrow<TException extends Exception>(condition: boolean, userMessage: string | undefined): void;
209
209
  static ensuresOnThrow<TException extends Exception>(condition: boolean): void;
210
210
  static exists<T>(collection: IEnumerable_1<T>, predicate: Predicate_1<T>): boolean;
211
211
  static exists(fromInclusive: int, toExclusive: int, predicate: Predicate_1<System_Internal.Int32>): boolean;