@tsonic/dotnet 0.8.1 → 0.8.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.
- package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
- package/Microsoft.Win32/internal/index.d.ts +9 -9
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +156 -154
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +1 -1
- package/System.CodeDom.Compiler/internal/index.d.ts +1 -1
- package/System.Collections/internal/index.d.ts +12 -8
- package/System.Collections.Generic/internal/index.d.ts +22 -14
- package/System.Collections.Immutable/internal/index.d.ts +11 -11
- package/System.Collections.Specialized/internal/index.d.ts +20 -18
- package/System.ComponentModel/internal/index.d.ts +219 -209
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +42 -32
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -1
- package/System.ComponentModel.Design/internal/index.d.ts +40 -40
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +17 -17
- package/System.Data/internal/index.d.ts +54 -46
- package/System.Data.Common/internal/index.d.ts +52 -44
- package/System.Data.SqlTypes/internal/index.d.ts +2 -2
- package/System.Diagnostics/internal/index.d.ts +85 -63
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +30 -16
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
- package/System.Diagnostics.Metrics/internal/index.d.ts +14 -9
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
- package/System.Diagnostics.Tracing/internal/index.d.ts +11 -9
- package/System.Drawing/internal/index.d.ts +33 -33
- package/System.Dynamic/internal/index.d.ts +1 -1
- package/System.Formats.Tar/internal/index.d.ts +3 -2
- package/System.Globalization/internal/index.d.ts +8 -6
- package/System.IO/internal/index.d.ts +30 -27
- package/System.IO.Compression/internal/index.d.ts +1 -1
- package/System.IO.Enumeration/internal/index.d.ts +4 -2
- package/System.Linq/internal/index.d.ts +63 -63
- package/System.Linq.Expressions/internal/index.d.ts +13 -13
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/internal/index.d.ts +87 -63
- package/System.Net.Http/internal/index.d.ts +37 -21
- package/System.Net.Http.Headers/internal/index.d.ts +37 -20
- package/System.Net.Http.Json/internal/index.d.ts +39 -39
- package/System.Net.Mail/internal/index.d.ts +22 -12
- package/System.Net.Mime/internal/index.d.ts +4 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +1 -1
- package/System.Net.Quic/internal/index.d.ts +3 -2
- package/System.Net.Security/internal/index.d.ts +38 -22
- package/System.Net.ServerSentEvents/internal/index.d.ts +2 -1
- package/System.Net.Sockets/internal/index.d.ts +23 -16
- package/System.Net.WebSockets/internal/index.d.ts +17 -11
- package/System.Numerics/bindings.json +408 -0
- package/System.Numerics/internal/metadata.json +272 -0
- package/System.Reflection/internal/index.d.ts +185 -182
- package/System.Reflection.Emit/internal/index.d.ts +82 -82
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +5 -5
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +1 -1
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Resources/internal/index.d.ts +13 -12
- package/System.Runtime/internal/index.d.ts +2 -1
- package/System.Runtime.CompilerServices/internal/index.d.ts +15 -13
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +46 -44
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +1 -1
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +16 -14
- package/System.Runtime.Loader/internal/index.d.ts +4 -4
- package/System.Runtime.Remoting/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization/internal/index.d.ts +53 -43
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +14 -14
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +2 -1
- package/System.Runtime.Serialization.Json/internal/index.d.ts +9 -8
- package/System.Runtime.Versioning/internal/index.d.ts +6 -3
- package/System.Security/internal/index.d.ts +35 -25
- package/System.Security.AccessControl/internal/index.d.ts +14 -10
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +4 -4
- package/System.Security.Claims/internal/index.d.ts +16 -12
- package/System.Security.Cryptography/internal/index.d.ts +80 -66
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +33 -32
- package/System.Security.Permissions/internal/index.d.ts +2 -2
- package/System.Security.Policy/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +8 -10
- package/System.Text/internal/index.d.ts +13 -11
- package/System.Text.Json/internal/index.d.ts +67 -61
- package/System.Text.Json.Nodes/internal/index.d.ts +31 -31
- package/System.Text.Json.Schema/internal/index.d.ts +4 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +67 -42
- package/System.Threading/internal/index.d.ts +16 -15
- package/System.Threading.Tasks/internal/index.d.ts +4 -14
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +3 -1
- package/System.Timers/internal/index.d.ts +4 -2
- package/System.Transactions/internal/index.d.ts +8 -6
- package/System.Web/internal/index.d.ts +24 -24
- package/System.Xml/internal/index.d.ts +100 -99
- package/System.Xml.Linq/internal/index.d.ts +16 -15
- package/System.Xml.Resolvers/internal/index.d.ts +1 -1
- package/System.Xml.Schema/internal/index.d.ts +129 -84
- package/System.Xml.Serialization/internal/index.d.ts +68 -47
- package/System.Xml.XPath/internal/index.d.ts +10 -10
- package/System.Xml.Xsl/internal/index.d.ts +7 -7
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +8 -8
- package/__internal/extensions/index.d.ts +177 -176
- package/package.json +1 -1
|
@@ -54,14 +54,16 @@ export interface IDeserializationCallback$instance {
|
|
|
54
54
|
export type IDeserializationCallback = IDeserializationCallback$instance;
|
|
55
55
|
|
|
56
56
|
export interface IExtensibleDataObject$instance {
|
|
57
|
-
extensionData: ExtensionDataObject;
|
|
57
|
+
get extensionData(): ExtensionDataObject | undefined;
|
|
58
|
+
set extensionData(value: ExtensionDataObject);
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
|
|
61
62
|
export type IExtensibleDataObject = IExtensibleDataObject$instance;
|
|
62
63
|
|
|
63
64
|
export interface IFormatter$instance {
|
|
64
|
-
surrogateSelector: ISurrogateSelector;
|
|
65
|
+
get surrogateSelector(): ISurrogateSelector | undefined;
|
|
66
|
+
set surrogateSelector(value: ISurrogateSelector);
|
|
65
67
|
binder: SerializationBinder;
|
|
66
68
|
context: StreamingContext;
|
|
67
69
|
deserialize(serializationStream: Stream): unknown;
|
|
@@ -85,7 +87,7 @@ export interface IFormatterConverter$instance {
|
|
|
85
87
|
toInt64(value: unknown): long;
|
|
86
88
|
toSByte(value: unknown): sbyte;
|
|
87
89
|
toSingle(value: unknown): float;
|
|
88
|
-
toString(value: unknown): string;
|
|
90
|
+
toString(value: unknown): string | undefined;
|
|
89
91
|
toUInt16(value: unknown): ushort;
|
|
90
92
|
toUInt32(value: unknown): uint;
|
|
91
93
|
toUInt64(value: unknown): ulong;
|
|
@@ -132,11 +134,11 @@ export interface ISerializationSurrogateProvider$instance {
|
|
|
132
134
|
export type ISerializationSurrogateProvider = ISerializationSurrogateProvider$instance;
|
|
133
135
|
|
|
134
136
|
export interface ISerializationSurrogateProvider2$instance extends ISerializationSurrogateProvider {
|
|
135
|
-
getCustomDataToExport(memberInfo: MemberInfo, dataContractType: Type): unknown;
|
|
136
|
-
getCustomDataToExport(runtimeType: Type, dataContractType: Type): unknown;
|
|
137
|
+
getCustomDataToExport(memberInfo: MemberInfo, dataContractType: Type): unknown | undefined;
|
|
138
|
+
getCustomDataToExport(runtimeType: Type, dataContractType: Type): unknown | undefined;
|
|
137
139
|
getKnownCustomDataTypes(customDataTypes: Collection_1<Type>): void;
|
|
138
140
|
getObjectToSerialize(obj: unknown, targetType: Type): unknown;
|
|
139
|
-
getReferencedTypeOnImport(typeName: string, typeNamespace: string, customData: unknown): Type;
|
|
141
|
+
getReferencedTypeOnImport(typeName: string, typeNamespace: string, customData: unknown): Type | undefined;
|
|
140
142
|
getSurrogateType(type_: Type): Type;
|
|
141
143
|
}
|
|
142
144
|
|
|
@@ -147,8 +149,8 @@ export type ISerializationSurrogateProvider2 = ISerializationSurrogateProvider2$
|
|
|
147
149
|
|
|
148
150
|
export interface ISurrogateSelector$instance {
|
|
149
151
|
chainSelector(selector: ISurrogateSelector): void;
|
|
150
|
-
getNextSelector(): ISurrogateSelector;
|
|
151
|
-
getSurrogate(type_: Type, context: StreamingContext, selector: ISurrogateSelector): ISerializationSurrogate;
|
|
152
|
+
getNextSelector(): ISurrogateSelector | undefined;
|
|
153
|
+
getSurrogate(type_: Type, context: StreamingContext, selector: ISurrogateSelector): ISerializationSurrogate | undefined;
|
|
152
154
|
}
|
|
153
155
|
|
|
154
156
|
|
|
@@ -188,7 +190,7 @@ export const SerializationEntry: {
|
|
|
188
190
|
export type SerializationEntry = SerializationEntry$instance;
|
|
189
191
|
|
|
190
192
|
export interface StreamingContext$instance {
|
|
191
|
-
readonly context: unknown;
|
|
193
|
+
readonly context: unknown | undefined;
|
|
192
194
|
readonly state: StreamingContextStates;
|
|
193
195
|
equals(obj: unknown): boolean;
|
|
194
196
|
getHashCode(): int;
|
|
@@ -211,11 +213,13 @@ export interface CollectionDataContractAttribute$instance extends Attribute {
|
|
|
211
213
|
isReference: boolean;
|
|
212
214
|
readonly isReferenceSetExplicitly: boolean;
|
|
213
215
|
readonly isValueNameSetExplicitly: boolean;
|
|
214
|
-
itemName: string;
|
|
216
|
+
get itemName(): string | undefined;
|
|
217
|
+
set itemName(value: string);
|
|
215
218
|
keyName: string;
|
|
216
219
|
name: string;
|
|
217
220
|
namespace_: string;
|
|
218
|
-
valueName: string;
|
|
221
|
+
get valueName(): string | undefined;
|
|
222
|
+
set valueName(value: string);
|
|
219
223
|
}
|
|
220
224
|
|
|
221
225
|
|
|
@@ -227,7 +231,8 @@ export const CollectionDataContractAttribute: {
|
|
|
227
231
|
export type CollectionDataContractAttribute = CollectionDataContractAttribute$instance;
|
|
228
232
|
|
|
229
233
|
export interface ContractNamespaceAttribute$instance extends Attribute {
|
|
230
|
-
clrNamespace: string;
|
|
234
|
+
get clrNamespace(): string | undefined;
|
|
235
|
+
set clrNamespace(value: string);
|
|
231
236
|
readonly contractNamespace: string;
|
|
232
237
|
}
|
|
233
238
|
|
|
@@ -257,7 +262,7 @@ export const DataContractAttribute: {
|
|
|
257
262
|
export type DataContractAttribute = DataContractAttribute$instance;
|
|
258
263
|
|
|
259
264
|
export interface DataContractResolver$instance {
|
|
260
|
-
resolveName(typeName: string, typeNamespace: string, declaredType: Type, knownTypeResolver: DataContractResolver): Type;
|
|
265
|
+
resolveName(typeName: string, typeNamespace: string, declaredType: Type, knownTypeResolver: DataContractResolver): Type | undefined;
|
|
261
266
|
tryResolveType(type_: Type, declaredType: Type, knownTypeResolver: DataContractResolver, typeName: XmlDictionaryString, typeNamespace: XmlDictionaryString): boolean;
|
|
262
267
|
}
|
|
263
268
|
|
|
@@ -269,7 +274,7 @@ export const DataContractResolver: {
|
|
|
269
274
|
export type DataContractResolver = DataContractResolver$instance;
|
|
270
275
|
|
|
271
276
|
export interface DataContractSerializer$instance extends XmlObjectSerializer {
|
|
272
|
-
readonly dataContractResolver: DataContractResolver;
|
|
277
|
+
readonly dataContractResolver: DataContractResolver | undefined;
|
|
273
278
|
readonly ignoreExtensionDataObject: boolean;
|
|
274
279
|
readonly knownTypes: ReadOnlyCollection_1<Type>;
|
|
275
280
|
readonly maxItemsInObjectGraph: int;
|
|
@@ -277,12 +282,12 @@ export interface DataContractSerializer$instance extends XmlObjectSerializer {
|
|
|
277
282
|
readonly serializeReadOnlyTypes: boolean;
|
|
278
283
|
isStartObject(reader: XmlReader): boolean;
|
|
279
284
|
isStartObject(reader: XmlDictionaryReader): boolean;
|
|
280
|
-
readObject(reader: XmlReader): unknown;
|
|
281
|
-
readObject(reader: XmlReader, verifyObjectName: boolean): unknown;
|
|
282
|
-
readObject(reader: XmlDictionaryReader, verifyObjectName: boolean): unknown;
|
|
283
|
-
readObject(reader: XmlDictionaryReader, verifyObjectName: boolean, dataContractResolver: DataContractResolver): unknown;
|
|
284
|
-
readObject(stream: Stream): unknown;
|
|
285
|
-
readObject(reader: XmlDictionaryReader): unknown;
|
|
285
|
+
readObject(reader: XmlReader): unknown | undefined;
|
|
286
|
+
readObject(reader: XmlReader, verifyObjectName: boolean): unknown | undefined;
|
|
287
|
+
readObject(reader: XmlDictionaryReader, verifyObjectName: boolean): unknown | undefined;
|
|
288
|
+
readObject(reader: XmlDictionaryReader, verifyObjectName: boolean, dataContractResolver: DataContractResolver): unknown | undefined;
|
|
289
|
+
readObject(stream: Stream): unknown | undefined;
|
|
290
|
+
readObject(reader: XmlDictionaryReader): unknown | undefined;
|
|
286
291
|
writeEndObject(writer: XmlWriter): void;
|
|
287
292
|
writeEndObject(writer: XmlDictionaryWriter): void;
|
|
288
293
|
writeObject(writer: XmlWriter, graph: unknown): void;
|
|
@@ -310,13 +315,16 @@ export const DataContractSerializer: {
|
|
|
310
315
|
export type DataContractSerializer = DataContractSerializer$instance;
|
|
311
316
|
|
|
312
317
|
export interface DataContractSerializerSettings$instance {
|
|
313
|
-
dataContractResolver: DataContractResolver;
|
|
318
|
+
get dataContractResolver(): DataContractResolver | undefined;
|
|
319
|
+
set dataContractResolver(value: DataContractResolver);
|
|
314
320
|
ignoreExtensionDataObject: boolean;
|
|
315
321
|
knownTypes: IEnumerable_1<Type>;
|
|
316
322
|
maxItemsInObjectGraph: int;
|
|
317
323
|
preserveObjectReferences: boolean;
|
|
318
|
-
rootName: XmlDictionaryString;
|
|
319
|
-
|
|
324
|
+
get rootName(): XmlDictionaryString | undefined;
|
|
325
|
+
set rootName(value: XmlDictionaryString);
|
|
326
|
+
get rootNamespace(): XmlDictionaryString | undefined;
|
|
327
|
+
set rootNamespace(value: XmlDictionaryString);
|
|
320
328
|
serializeReadOnlyTypes: boolean;
|
|
321
329
|
}
|
|
322
330
|
|
|
@@ -373,7 +381,8 @@ export const EnumMemberAttribute: {
|
|
|
373
381
|
export type EnumMemberAttribute = EnumMemberAttribute$instance;
|
|
374
382
|
|
|
375
383
|
export interface ExportOptions$instance {
|
|
376
|
-
dataContractSurrogate: ISerializationSurrogateProvider;
|
|
384
|
+
get dataContractSurrogate(): ISerializationSurrogateProvider | undefined;
|
|
385
|
+
set dataContractSurrogate(value: ISerializationSurrogateProvider);
|
|
377
386
|
readonly knownTypes: Collection_1<Type>;
|
|
378
387
|
}
|
|
379
388
|
|
|
@@ -399,7 +408,8 @@ export type ExtensionDataObject = ExtensionDataObject$instance;
|
|
|
399
408
|
export interface Formatter$instance {
|
|
400
409
|
binder: SerializationBinder;
|
|
401
410
|
context: StreamingContext;
|
|
402
|
-
surrogateSelector: ISurrogateSelector;
|
|
411
|
+
get surrogateSelector(): ISurrogateSelector | undefined;
|
|
412
|
+
set surrogateSelector(value: ISurrogateSelector);
|
|
403
413
|
deserialize(serializationStream: Stream): unknown;
|
|
404
414
|
serialize(serializationStream: Stream, graph: unknown): void;
|
|
405
415
|
}
|
|
@@ -432,7 +442,7 @@ export interface FormatterConverter$instance {
|
|
|
432
442
|
toInt64(value: unknown): long;
|
|
433
443
|
toSByte(value: unknown): sbyte;
|
|
434
444
|
toSingle(value: unknown): float;
|
|
435
|
-
toString(value: unknown): string;
|
|
445
|
+
toString(value: unknown): string | undefined;
|
|
436
446
|
toUInt16(value: unknown): ushort;
|
|
437
447
|
toUInt32(value: unknown): uint;
|
|
438
448
|
toUInt64(value: unknown): ulong;
|
|
@@ -510,7 +520,7 @@ export type ObjectIDGenerator = ObjectIDGenerator$instance;
|
|
|
510
520
|
|
|
511
521
|
export interface ObjectManager$instance {
|
|
512
522
|
doFixups(): void;
|
|
513
|
-
getObject(objectID: long): unknown;
|
|
523
|
+
getObject(objectID: long): unknown | undefined;
|
|
514
524
|
raiseDeserializationEvent(): void;
|
|
515
525
|
raiseOnDeserializingEvent(obj: unknown): void;
|
|
516
526
|
recordArrayElementFixup(arrayToBeFixed: long, index: int, objectRequired: long): void;
|
|
@@ -602,7 +612,7 @@ export type SafeSerializationEventArgs = SafeSerializationEventArgs$instance;
|
|
|
602
612
|
|
|
603
613
|
export interface SerializationBinder$instance {
|
|
604
614
|
bindToName(serializedType: Type, assemblyName: string, typeName: string): void;
|
|
605
|
-
bindToType(assemblyName: string, typeName: string): Type;
|
|
615
|
+
bindToType(assemblyName: string, typeName: string): Type | undefined;
|
|
606
616
|
}
|
|
607
617
|
|
|
608
618
|
|
|
@@ -666,11 +676,11 @@ export interface SerializationInfo$instance {
|
|
|
666
676
|
getInt64(name: string): long;
|
|
667
677
|
getSByte(name: string): sbyte;
|
|
668
678
|
getSingle(name: string): float;
|
|
669
|
-
getString(name: string): string;
|
|
679
|
+
getString(name: string): string | undefined;
|
|
670
680
|
getUInt16(name: string): ushort;
|
|
671
681
|
getUInt32(name: string): uint;
|
|
672
682
|
getUInt64(name: string): ulong;
|
|
673
|
-
getValue(name: string, type_: Type): unknown;
|
|
683
|
+
getValue(name: string, type_: Type): unknown | undefined;
|
|
674
684
|
setType(type_: Type): void;
|
|
675
685
|
}
|
|
676
686
|
|
|
@@ -685,7 +695,7 @@ export const SerializationInfo: {
|
|
|
685
695
|
export type SerializationInfo = SerializationInfo$instance;
|
|
686
696
|
|
|
687
697
|
export interface SerializationInfoEnumerator$instance {
|
|
688
|
-
readonly current: SerializationEntry
|
|
698
|
+
readonly current: SerializationEntry;
|
|
689
699
|
readonly name: string;
|
|
690
700
|
readonly objectType: Type;
|
|
691
701
|
readonly value: unknown;
|
|
@@ -722,8 +732,8 @@ export type SerializationObjectManager = SerializationObjectManager$instance;
|
|
|
722
732
|
export interface SurrogateSelector$instance {
|
|
723
733
|
addSurrogate(type_: Type, context: StreamingContext, surrogate: ISerializationSurrogate): void;
|
|
724
734
|
chainSelector(selector: ISurrogateSelector): void;
|
|
725
|
-
getNextSelector(): ISurrogateSelector;
|
|
726
|
-
getSurrogate(type_: Type, context: StreamingContext, selector: ISurrogateSelector): ISerializationSurrogate;
|
|
735
|
+
getNextSelector(): ISurrogateSelector | undefined;
|
|
736
|
+
getSurrogate(type_: Type, context: StreamingContext, selector: ISurrogateSelector): ISerializationSurrogate | undefined;
|
|
727
737
|
removeSurrogate(type_: Type, context: StreamingContext): void;
|
|
728
738
|
}
|
|
729
739
|
|
|
@@ -756,11 +766,11 @@ export type TypeLoadExceptionHolder = TypeLoadExceptionHolder$instance;
|
|
|
756
766
|
export interface XmlObjectSerializer$instance {
|
|
757
767
|
isStartObject(reader: XmlReader): boolean;
|
|
758
768
|
isStartObject(reader: XmlDictionaryReader): boolean;
|
|
759
|
-
readObject(stream: Stream): unknown;
|
|
760
|
-
readObject(reader: XmlReader): unknown;
|
|
761
|
-
readObject(reader: XmlDictionaryReader): unknown;
|
|
762
|
-
readObject(reader: XmlReader, verifyObjectName: boolean): unknown;
|
|
763
|
-
readObject(reader: XmlDictionaryReader, verifyObjectName: boolean): unknown;
|
|
769
|
+
readObject(stream: Stream): unknown | undefined;
|
|
770
|
+
readObject(reader: XmlReader): unknown | undefined;
|
|
771
|
+
readObject(reader: XmlDictionaryReader): unknown | undefined;
|
|
772
|
+
readObject(reader: XmlReader, verifyObjectName: boolean): unknown | undefined;
|
|
773
|
+
readObject(reader: XmlDictionaryReader, verifyObjectName: boolean): unknown | undefined;
|
|
764
774
|
writeEndObject(writer: XmlDictionaryWriter): void;
|
|
765
775
|
writeEndObject(writer: XmlWriter): void;
|
|
766
776
|
writeObject(stream: Stream, graph: unknown): void;
|
|
@@ -788,8 +798,8 @@ export interface XsdDataContractExporter$instance {
|
|
|
788
798
|
export_(assemblies: ICollection_1<Assembly>): void;
|
|
789
799
|
export_(types: ICollection_1<Type>): void;
|
|
790
800
|
export_(type_: Type): void;
|
|
791
|
-
getRootElementName(type_: Type): XmlQualifiedName;
|
|
792
|
-
getSchemaType(type_: Type): XmlSchemaType;
|
|
801
|
+
getRootElementName(type_: Type): XmlQualifiedName | undefined;
|
|
802
|
+
getSchemaType(type_: Type): XmlSchemaType | undefined;
|
|
793
803
|
getSchemaTypeName(type_: Type): XmlQualifiedName;
|
|
794
804
|
}
|
|
795
805
|
|
|
@@ -803,7 +813,7 @@ export const XsdDataContractExporter: {
|
|
|
803
813
|
export type XsdDataContractExporter = XsdDataContractExporter$instance;
|
|
804
814
|
|
|
805
815
|
export abstract class DataContractSerializerExtensions$instance {
|
|
806
|
-
static getSerializationSurrogateProvider(serializer: DataContractSerializer): ISerializationSurrogateProvider;
|
|
816
|
+
static getSerializationSurrogateProvider(serializer: DataContractSerializer): ISerializationSurrogateProvider | undefined;
|
|
807
817
|
static setSerializationSurrogateProvider(serializer: DataContractSerializer, provider: ISerializationSurrogateProvider): void;
|
|
808
818
|
}
|
|
809
819
|
|
|
@@ -812,12 +822,12 @@ export type DataContractSerializerExtensions = DataContractSerializerExtensions$
|
|
|
812
822
|
|
|
813
823
|
export abstract class FormatterServices$instance {
|
|
814
824
|
static checkTypeSecurity(t: Type, securityLevel: TypeFilterLevel): void;
|
|
815
|
-
static getObjectData(obj: unknown, members: MemberInfo[]): unknown[];
|
|
825
|
+
static getObjectData(obj: unknown, members: MemberInfo[]): (unknown | undefined)[];
|
|
816
826
|
static getSafeUninitializedObject(type_: Type): unknown;
|
|
817
827
|
static getSerializableMembers(type_: Type, context: StreamingContext): MemberInfo[];
|
|
818
828
|
static getSerializableMembers(type_: Type): MemberInfo[];
|
|
819
829
|
static getSurrogateForCyclicalReference(innerSurrogate: ISerializationSurrogate): ISerializationSurrogate;
|
|
820
|
-
static getTypeFromAssembly(assem: Assembly, name: string): Type;
|
|
830
|
+
static getTypeFromAssembly(assem: Assembly, name: string): Type | undefined;
|
|
821
831
|
static getUninitializedObject(type_: Type): unknown;
|
|
822
832
|
static populateObjectMembers(obj: unknown, members: MemberInfo[], data: unknown[]): unknown;
|
|
823
833
|
}
|
|
@@ -19,17 +19,17 @@ import * as System_Internal from "../../System/internal/index.js";
|
|
|
19
19
|
import type { Boolean as ClrBoolean, Int32, Int64, Nullable_1, Object as ClrObject, String as ClrString, Type, Void } from "../../System/internal/index.js";
|
|
20
20
|
|
|
21
21
|
export interface DataContract$instance {
|
|
22
|
-
readonly baseContract: DataContract;
|
|
23
|
-
readonly contractType: string;
|
|
22
|
+
readonly baseContract: DataContract | undefined;
|
|
23
|
+
readonly contractType: string | undefined;
|
|
24
24
|
readonly dataMembers: ReadOnlyCollection_1<DataMember>;
|
|
25
25
|
readonly isBuiltInDataContract: boolean;
|
|
26
26
|
readonly isISerializable: boolean;
|
|
27
27
|
readonly isReference: boolean;
|
|
28
28
|
readonly isValueType: boolean;
|
|
29
|
-
readonly knownDataContracts: Dictionary_2<XmlQualifiedName, DataContract
|
|
29
|
+
readonly knownDataContracts: Dictionary_2<XmlQualifiedName, DataContract> | undefined;
|
|
30
30
|
readonly originalUnderlyingType: Type;
|
|
31
|
-
readonly topLevelElementName: XmlDictionaryString;
|
|
32
|
-
readonly topLevelElementNamespace: XmlDictionaryString;
|
|
31
|
+
readonly topLevelElementName: XmlDictionaryString | undefined;
|
|
32
|
+
readonly topLevelElementNamespace: XmlDictionaryString | undefined;
|
|
33
33
|
readonly underlyingType: Type;
|
|
34
34
|
readonly xmlName: XmlQualifiedName;
|
|
35
35
|
equals(obj: unknown): boolean;
|
|
@@ -40,7 +40,7 @@ export interface DataContract$instance {
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
export const DataContract: {
|
|
43
|
-
getBuiltInDataContract(name: string, ns: string): DataContract;
|
|
43
|
+
getBuiltInDataContract(name: string, ns: string): DataContract | undefined;
|
|
44
44
|
getXmlName(type_: Type): XmlQualifiedName;
|
|
45
45
|
};
|
|
46
46
|
|
|
@@ -49,12 +49,12 @@ export type DataContract = DataContract$instance;
|
|
|
49
49
|
|
|
50
50
|
export interface DataContractSet$instance {
|
|
51
51
|
readonly contracts: Dictionary_2<XmlQualifiedName, DataContract>;
|
|
52
|
-
readonly knownTypesForObject: Dictionary_2<XmlQualifiedName, DataContract
|
|
52
|
+
readonly knownTypesForObject: Dictionary_2<XmlQualifiedName, DataContract> | undefined;
|
|
53
53
|
readonly processedContracts: Dictionary_2<DataContract, unknown>;
|
|
54
54
|
readonly surrogateData: Hashtable;
|
|
55
55
|
getDataContract(type_: Type): DataContract;
|
|
56
|
-
getDataContract(key: XmlQualifiedName): DataContract;
|
|
57
|
-
getReferencedType(xmlName: XmlQualifiedName, dataContract: DataContract, referencedContract: DataContract, genericParameters: unknown[], supportGenericTypes?: Nullable_1<System_Internal.Boolean>): Type;
|
|
56
|
+
getDataContract(key: XmlQualifiedName): DataContract | undefined;
|
|
57
|
+
getReferencedType(xmlName: XmlQualifiedName, dataContract: DataContract, referencedContract: DataContract, genericParameters: unknown[], supportGenericTypes?: Nullable_1<System_Internal.Boolean>): Type | undefined;
|
|
58
58
|
importSchemaSet(schemaSet: XmlSchemaSet, typeNames: IEnumerable_1<XmlQualifiedName>, importXmlDataType: boolean): void;
|
|
59
59
|
importSchemaSet(schemaSet: XmlSchemaSet, elements: IEnumerable_1<XmlSchemaElement>, importXmlDataType: boolean): List_1<XmlQualifiedName>;
|
|
60
60
|
}
|
|
@@ -86,17 +86,17 @@ export const DataMember: {
|
|
|
86
86
|
export type DataMember = DataMember$instance;
|
|
87
87
|
|
|
88
88
|
export interface XmlDataContract$instance extends DataContract {
|
|
89
|
-
readonly contractType: string;
|
|
89
|
+
readonly contractType: string | undefined;
|
|
90
90
|
readonly hasRoot: boolean;
|
|
91
91
|
readonly isAnonymous: boolean;
|
|
92
92
|
readonly isBuiltInDataContract: boolean;
|
|
93
93
|
readonly isTopLevelElementNullable: boolean;
|
|
94
94
|
isTypeDefinedOnImport: boolean;
|
|
95
95
|
isValueType: boolean;
|
|
96
|
-
readonly knownDataContracts: Dictionary_2<XmlQualifiedName, DataContract
|
|
97
|
-
readonly topLevelElementName: XmlDictionaryString;
|
|
98
|
-
readonly topLevelElementNamespace: XmlDictionaryString;
|
|
99
|
-
readonly xsdType: XmlSchemaType;
|
|
96
|
+
readonly knownDataContracts: Dictionary_2<XmlQualifiedName, DataContract> | undefined;
|
|
97
|
+
readonly topLevelElementName: XmlDictionaryString | undefined;
|
|
98
|
+
readonly topLevelElementNamespace: XmlDictionaryString | undefined;
|
|
99
|
+
readonly xsdType: XmlSchemaType | undefined;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
|
|
@@ -29,8 +29,10 @@ export enum TypeFilterLevel {
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
export interface IFieldInfo$instance {
|
|
32
|
-
fieldNames: string[];
|
|
33
|
-
|
|
32
|
+
get fieldNames(): string[] | undefined;
|
|
33
|
+
set fieldNames(value: string[]);
|
|
34
|
+
get fieldTypes(): Type[] | undefined;
|
|
35
|
+
set fieldTypes(value: Type[]);
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
|
|
@@ -18,7 +18,8 @@ export interface BinaryFormatter$instance {
|
|
|
18
18
|
binder: SerializationBinder;
|
|
19
19
|
context: StreamingContext;
|
|
20
20
|
filterLevel: TypeFilterLevel;
|
|
21
|
-
surrogateSelector: ISurrogateSelector;
|
|
21
|
+
get surrogateSelector(): ISurrogateSelector | undefined;
|
|
22
|
+
set surrogateSelector(value: ISurrogateSelector);
|
|
22
23
|
typeFormat: FormatterTypeStyle;
|
|
23
24
|
deserialize(serializationStream: Stream): unknown;
|
|
24
25
|
serialize(serializationStream: Stream, graph: unknown): void;
|
|
@@ -39,14 +39,14 @@ export interface DataContractJsonSerializer$instance extends XmlObjectSerializer
|
|
|
39
39
|
readonly maxItemsInObjectGraph: int;
|
|
40
40
|
readonly serializeReadOnlyTypes: boolean;
|
|
41
41
|
readonly useSimpleDictionaryFormat: boolean;
|
|
42
|
-
getSerializationSurrogateProvider(): ISerializationSurrogateProvider;
|
|
42
|
+
getSerializationSurrogateProvider(): ISerializationSurrogateProvider | undefined;
|
|
43
43
|
isStartObject(reader: XmlReader): boolean;
|
|
44
44
|
isStartObject(reader: XmlDictionaryReader): boolean;
|
|
45
|
-
readObject(stream: Stream): unknown;
|
|
46
|
-
readObject(reader: XmlReader): unknown;
|
|
47
|
-
readObject(reader: XmlReader, verifyObjectName: boolean): unknown;
|
|
48
|
-
readObject(reader: XmlDictionaryReader): unknown;
|
|
49
|
-
readObject(reader: XmlDictionaryReader, verifyObjectName: boolean): unknown;
|
|
45
|
+
readObject(stream: Stream): unknown | undefined;
|
|
46
|
+
readObject(reader: XmlReader): unknown | undefined;
|
|
47
|
+
readObject(reader: XmlReader, verifyObjectName: boolean): unknown | undefined;
|
|
48
|
+
readObject(reader: XmlDictionaryReader): unknown | undefined;
|
|
49
|
+
readObject(reader: XmlDictionaryReader, verifyObjectName: boolean): unknown | undefined;
|
|
50
50
|
setSerializationSurrogateProvider(provider: ISerializationSurrogateProvider): void;
|
|
51
51
|
writeEndObject(writer: XmlWriter): void;
|
|
52
52
|
writeEndObject(writer: XmlDictionaryWriter): void;
|
|
@@ -79,7 +79,8 @@ export interface DataContractJsonSerializerSettings$instance {
|
|
|
79
79
|
ignoreExtensionDataObject: boolean;
|
|
80
80
|
knownTypes: IEnumerable_1<Type>;
|
|
81
81
|
maxItemsInObjectGraph: int;
|
|
82
|
-
rootName: string;
|
|
82
|
+
get rootName(): string | undefined;
|
|
83
|
+
set rootName(value: string);
|
|
83
84
|
serializeReadOnlyTypes: boolean;
|
|
84
85
|
useSimpleDictionaryFormat: boolean;
|
|
85
86
|
}
|
|
@@ -93,7 +94,7 @@ export const DataContractJsonSerializerSettings: {
|
|
|
93
94
|
export type DataContractJsonSerializerSettings = DataContractJsonSerializerSettings$instance;
|
|
94
95
|
|
|
95
96
|
export abstract class DataContractJsonSerializerExtensions$instance {
|
|
96
|
-
static getSerializationSurrogateProvider(serializer: DataContractJsonSerializer): ISerializationSurrogateProvider;
|
|
97
|
+
static getSerializationSurrogateProvider(serializer: DataContractJsonSerializer): ISerializationSurrogateProvider | undefined;
|
|
97
98
|
static setSerializationSurrogateProvider(serializer: DataContractJsonSerializer, provider: ISerializationSurrogateProvider): void;
|
|
98
99
|
}
|
|
99
100
|
|
|
@@ -71,7 +71,8 @@ export type FrameworkName = FrameworkName$instance & __FrameworkName$views;
|
|
|
71
71
|
|
|
72
72
|
export interface ObsoletedOSPlatformAttribute$instance extends OSPlatformAttribute {
|
|
73
73
|
readonly message: string;
|
|
74
|
-
url: string;
|
|
74
|
+
get url(): string | undefined;
|
|
75
|
+
set url(value: string);
|
|
75
76
|
}
|
|
76
77
|
|
|
77
78
|
|
|
@@ -96,7 +97,8 @@ export type OSPlatformAttribute = OSPlatformAttribute$instance;
|
|
|
96
97
|
|
|
97
98
|
export interface RequiresPreviewFeaturesAttribute$instance extends Attribute {
|
|
98
99
|
readonly message: string;
|
|
99
|
-
url: string;
|
|
100
|
+
get url(): string | undefined;
|
|
101
|
+
set url(value: string);
|
|
100
102
|
}
|
|
101
103
|
|
|
102
104
|
|
|
@@ -157,7 +159,8 @@ export const SupportedOSPlatformGuardAttribute: {
|
|
|
157
159
|
export type SupportedOSPlatformGuardAttribute = SupportedOSPlatformGuardAttribute$instance;
|
|
158
160
|
|
|
159
161
|
export interface TargetFrameworkAttribute$instance extends Attribute {
|
|
160
|
-
frameworkDisplayName: string;
|
|
162
|
+
get frameworkDisplayName(): string | undefined;
|
|
163
|
+
set frameworkDisplayName(value: string);
|
|
161
164
|
readonly frameworkName: string;
|
|
162
165
|
}
|
|
163
166
|
|
|
@@ -41,9 +41,9 @@ export interface IPermission$instance extends ISecurityEncodable {
|
|
|
41
41
|
copy(): IPermission;
|
|
42
42
|
demand(): void;
|
|
43
43
|
fromXml(e: SecurityElement): void;
|
|
44
|
-
intersect(target: IPermission): IPermission;
|
|
44
|
+
intersect(target: IPermission): IPermission | undefined;
|
|
45
45
|
isSubsetOf(target: IPermission): boolean;
|
|
46
|
-
toXml(): SecurityElement;
|
|
46
|
+
toXml(): SecurityElement | undefined;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
|
|
@@ -53,7 +53,7 @@ export type IPermission = IPermission$instance;
|
|
|
53
53
|
|
|
54
54
|
export interface ISecurityEncodable$instance {
|
|
55
55
|
fromXml(e: SecurityElement): void;
|
|
56
|
-
toXml(): SecurityElement;
|
|
56
|
+
toXml(): SecurityElement | undefined;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
|
|
@@ -83,7 +83,7 @@ export interface PermissionSet$instance {
|
|
|
83
83
|
readonly isReadOnly: boolean;
|
|
84
84
|
readonly isSynchronized: boolean;
|
|
85
85
|
readonly syncRoot: unknown;
|
|
86
|
-
addPermission(perm: IPermission): IPermission;
|
|
86
|
+
addPermission(perm: IPermission): IPermission | undefined;
|
|
87
87
|
assert(): void;
|
|
88
88
|
containsNonCodeAccessPermissions(): boolean;
|
|
89
89
|
copy(): PermissionSet;
|
|
@@ -94,17 +94,17 @@ export interface PermissionSet$instance {
|
|
|
94
94
|
fromXml(et: SecurityElement): void;
|
|
95
95
|
getEnumerator(): IEnumerator;
|
|
96
96
|
getHashCode(): int;
|
|
97
|
-
getPermission(permClass: Type): IPermission;
|
|
98
|
-
intersect(other: PermissionSet): PermissionSet;
|
|
97
|
+
getPermission(permClass: Type): IPermission | undefined;
|
|
98
|
+
intersect(other: PermissionSet): PermissionSet | undefined;
|
|
99
99
|
isEmpty(): boolean;
|
|
100
100
|
isSubsetOf(target: PermissionSet): boolean;
|
|
101
101
|
isUnrestricted(): boolean;
|
|
102
102
|
permitOnly(): void;
|
|
103
|
-
removePermission(permClass: Type): IPermission;
|
|
104
|
-
setPermission(perm: IPermission): IPermission;
|
|
103
|
+
removePermission(permClass: Type): IPermission | undefined;
|
|
104
|
+
setPermission(perm: IPermission): IPermission | undefined;
|
|
105
105
|
toString(): string;
|
|
106
|
-
toXml(): SecurityElement;
|
|
107
|
-
union(other: PermissionSet): PermissionSet;
|
|
106
|
+
toXml(): SecurityElement | undefined;
|
|
107
|
+
union(other: PermissionSet): PermissionSet | undefined;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
|
|
@@ -173,16 +173,17 @@ export type SecurityCriticalAttribute = SecurityCriticalAttribute$instance;
|
|
|
173
173
|
|
|
174
174
|
export interface SecurityElement$instance {
|
|
175
175
|
attributes: Hashtable;
|
|
176
|
-
children: ArrayList;
|
|
176
|
+
get children(): ArrayList | undefined;
|
|
177
|
+
set children(value: ArrayList);
|
|
177
178
|
tag: string;
|
|
178
179
|
text: string;
|
|
179
180
|
addAttribute(name: string, value: string): void;
|
|
180
181
|
addChild(child: SecurityElement): void;
|
|
181
|
-
attribute(name: string): string;
|
|
182
|
+
attribute(name: string): string | undefined;
|
|
182
183
|
copy(): SecurityElement;
|
|
183
184
|
equal(other: SecurityElement): boolean;
|
|
184
|
-
searchForChildByTag(tag: string): SecurityElement;
|
|
185
|
-
searchForTextOfTag(tag: string): string;
|
|
185
|
+
searchForChildByTag(tag: string): SecurityElement | undefined;
|
|
186
|
+
searchForTextOfTag(tag: string): string | undefined;
|
|
186
187
|
toString(): string;
|
|
187
188
|
}
|
|
188
189
|
|
|
@@ -190,8 +191,8 @@ export interface SecurityElement$instance {
|
|
|
190
191
|
export const SecurityElement: {
|
|
191
192
|
new(tag: string): SecurityElement;
|
|
192
193
|
new(tag: string, text: string): SecurityElement;
|
|
193
|
-
escape(str: string): string;
|
|
194
|
-
fromString(xml: string): SecurityElement;
|
|
194
|
+
escape(str: string): string | undefined;
|
|
195
|
+
fromString(xml: string): SecurityElement | undefined;
|
|
195
196
|
isValidAttributeName(name: string): boolean;
|
|
196
197
|
isValidAttributeValue(value: string): boolean;
|
|
197
198
|
isValidTag(tag: string): boolean;
|
|
@@ -202,16 +203,25 @@ export const SecurityElement: {
|
|
|
202
203
|
export type SecurityElement = SecurityElement$instance;
|
|
203
204
|
|
|
204
205
|
export interface SecurityException$instance extends SystemException {
|
|
205
|
-
demanded: unknown;
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
get demanded(): unknown | undefined;
|
|
207
|
+
set demanded(value: unknown);
|
|
208
|
+
get denySetInstance(): unknown | undefined;
|
|
209
|
+
set denySetInstance(value: unknown);
|
|
210
|
+
get failedAssemblyInfo(): AssemblyName | undefined;
|
|
211
|
+
set failedAssemblyInfo(value: AssemblyName);
|
|
212
|
+
get grantedSet(): string | undefined;
|
|
213
|
+
set grantedSet(value: string);
|
|
209
214
|
method: MethodInfo;
|
|
210
|
-
permissionState: string;
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
+
get permissionState(): string | undefined;
|
|
216
|
+
set permissionState(value: string);
|
|
217
|
+
get permissionType(): Type | undefined;
|
|
218
|
+
set permissionType(value: Type);
|
|
219
|
+
get permitOnlySetInstance(): unknown | undefined;
|
|
220
|
+
set permitOnlySetInstance(value: unknown);
|
|
221
|
+
get refusedSet(): string | undefined;
|
|
222
|
+
set refusedSet(value: string);
|
|
223
|
+
get url(): string | undefined;
|
|
224
|
+
set url(value: string);
|
|
215
225
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
216
226
|
toString(): string;
|
|
217
227
|
}
|
|
@@ -279,7 +279,7 @@ export const AccessRule_1: {
|
|
|
279
279
|
export type AccessRule_1<T> = AccessRule_1$instance<T>;
|
|
280
280
|
|
|
281
281
|
export interface AceEnumerator$instance {
|
|
282
|
-
readonly current: GenericAce
|
|
282
|
+
readonly current: GenericAce;
|
|
283
283
|
moveNext(): boolean;
|
|
284
284
|
reset(): void;
|
|
285
285
|
}
|
|
@@ -418,14 +418,16 @@ export type CommonObjectSecurity = CommonObjectSecurity$instance;
|
|
|
418
418
|
|
|
419
419
|
export interface CommonSecurityDescriptor$instance extends GenericSecurityDescriptor {
|
|
420
420
|
readonly controlFlags: ControlFlags;
|
|
421
|
-
discretionaryAcl: DiscretionaryAcl;
|
|
421
|
+
get discretionaryAcl(): DiscretionaryAcl | undefined;
|
|
422
|
+
set discretionaryAcl(value: DiscretionaryAcl);
|
|
422
423
|
group: SecurityIdentifier;
|
|
423
424
|
readonly isContainer: boolean;
|
|
424
425
|
readonly isDiscretionaryAclCanonical: boolean;
|
|
425
426
|
readonly isDS: boolean;
|
|
426
427
|
readonly isSystemAclCanonical: boolean;
|
|
427
428
|
owner: SecurityIdentifier;
|
|
428
|
-
systemAcl: SystemAcl;
|
|
429
|
+
get systemAcl(): SystemAcl | undefined;
|
|
430
|
+
set systemAcl(value: SystemAcl);
|
|
429
431
|
addDiscretionaryAcl(revision: byte, trusted: int): void;
|
|
430
432
|
addSystemAcl(revision: byte, trusted: int): void;
|
|
431
433
|
purgeAccessControl(sid: SecurityIdentifier): void;
|
|
@@ -463,7 +465,7 @@ export interface CustomAce$instance extends GenericAce {
|
|
|
463
465
|
readonly binaryLength: int;
|
|
464
466
|
readonly opaqueLength: int;
|
|
465
467
|
getBinaryForm(binaryForm: byte[], offset: int): void;
|
|
466
|
-
getOpaque(): byte[];
|
|
468
|
+
getOpaque(): byte[] | undefined;
|
|
467
469
|
setOpaque(opaque: byte[]): void;
|
|
468
470
|
}
|
|
469
471
|
|
|
@@ -855,8 +857,8 @@ export interface ObjectSecurity$instance {
|
|
|
855
857
|
readonly auditRuleType: Type;
|
|
856
858
|
accessRuleFactory(identityReference: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type_: AccessControlType): AccessRule;
|
|
857
859
|
auditRuleFactory(identityReference: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags): AuditRule;
|
|
858
|
-
getGroup(targetType: Type): IdentityReference;
|
|
859
|
-
getOwner(targetType: Type): IdentityReference;
|
|
860
|
+
getGroup(targetType: Type): IdentityReference | undefined;
|
|
861
|
+
getOwner(targetType: Type): IdentityReference | undefined;
|
|
860
862
|
getSecurityDescriptorBinaryForm(): byte[];
|
|
861
863
|
getSecurityDescriptorSddlForm(includeSections: AccessControlSections): string;
|
|
862
864
|
modifyAccessRule(modification: AccessControlModification, rule: AccessRule, modified: boolean): boolean;
|
|
@@ -908,7 +910,7 @@ export const ObjectSecurity_1: {
|
|
|
908
910
|
export type ObjectSecurity_1<T> = ObjectSecurity_1$instance<T>;
|
|
909
911
|
|
|
910
912
|
export interface PrivilegeNotHeldException$instance extends UnauthorizedAccessException {
|
|
911
|
-
readonly privilegeName: string;
|
|
913
|
+
readonly privilegeName: string | undefined;
|
|
912
914
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
913
915
|
}
|
|
914
916
|
|
|
@@ -931,7 +933,7 @@ export interface QualifiedAce$instance extends KnownAce {
|
|
|
931
933
|
readonly aceQualifier: AceQualifier;
|
|
932
934
|
readonly isCallback: boolean;
|
|
933
935
|
readonly opaqueLength: int;
|
|
934
|
-
getOpaque(): byte[];
|
|
936
|
+
getOpaque(): byte[] | undefined;
|
|
935
937
|
setOpaque(opaque: byte[]): void;
|
|
936
938
|
}
|
|
937
939
|
|
|
@@ -973,11 +975,13 @@ export type RawAcl = RawAcl$instance & __RawAcl$views;
|
|
|
973
975
|
|
|
974
976
|
export interface RawSecurityDescriptor$instance extends GenericSecurityDescriptor {
|
|
975
977
|
readonly controlFlags: ControlFlags;
|
|
976
|
-
discretionaryAcl: RawAcl;
|
|
978
|
+
get discretionaryAcl(): RawAcl | undefined;
|
|
979
|
+
set discretionaryAcl(value: RawAcl);
|
|
977
980
|
group: SecurityIdentifier;
|
|
978
981
|
owner: SecurityIdentifier;
|
|
979
982
|
resourceManagerControl: byte;
|
|
980
|
-
systemAcl: RawAcl;
|
|
983
|
+
get systemAcl(): RawAcl | undefined;
|
|
984
|
+
set systemAcl(value: RawAcl);
|
|
981
985
|
setFlags(flags: ControlFlags): void;
|
|
982
986
|
}
|
|
983
987
|
|
|
@@ -56,8 +56,8 @@ export type ChannelBinding = ChannelBinding$instance & __ChannelBinding$views;
|
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
export interface ExtendedProtectionPolicy$instance {
|
|
59
|
-
readonly customChannelBinding: ChannelBinding;
|
|
60
|
-
readonly customServiceNames: ServiceNameCollection;
|
|
59
|
+
readonly customChannelBinding: ChannelBinding | undefined;
|
|
60
|
+
readonly customServiceNames: ServiceNameCollection | undefined;
|
|
61
61
|
readonly policyEnforcement: PolicyEnforcement;
|
|
62
62
|
readonly protectionScenario: ProtectionScenario;
|
|
63
63
|
toString(): string;
|
|
@@ -85,8 +85,8 @@ export type ExtendedProtectionPolicy = ExtendedProtectionPolicy$instance & __Ext
|
|
|
85
85
|
export interface ExtendedProtectionPolicyTypeConverter$instance extends TypeConverter {
|
|
86
86
|
canConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
|
|
87
87
|
canConvertTo(destinationType: Type): boolean;
|
|
88
|
-
convertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown;
|
|
89
|
-
convertTo(value: unknown, destinationType: Type): unknown;
|
|
88
|
+
convertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown | undefined;
|
|
89
|
+
convertTo(value: unknown, destinationType: Type): unknown | undefined;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
|