@tsonic/dotnet 0.8.2 → 0.8.4
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.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
- package/Microsoft.Win32/internal/index.d.ts +10 -10
- package/System/internal/index.d.ts +964 -950
- package/System.Buffers/internal/index.d.ts +2 -2
- package/System.Buffers.d.ts +3 -0
- package/System.CodeDom.Compiler/internal/index.d.ts +10 -10
- package/System.Collections/internal/index.d.ts +30 -24
- package/System.Collections.Concurrent/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +6 -6
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Frozen.d.ts +3 -0
- package/System.Collections.Generic/bindings.json +20 -44
- package/System.Collections.Generic/internal/index.d.ts +54 -54
- package/System.Collections.Generic/internal/metadata.json +10 -26
- package/System.Collections.Generic.d.ts +3 -0
- package/System.Collections.Immutable/internal/index.d.ts +88 -88
- package/System.Collections.Immutable.d.ts +3 -0
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +53 -49
- package/System.ComponentModel/internal/index.d.ts +388 -376
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +55 -45
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +3 -2
- package/System.ComponentModel.Design/internal/index.d.ts +36 -36
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +20 -20
- package/System.Data/internal/index.d.ts +171 -163
- package/System.Data.Common/internal/index.d.ts +36 -28
- package/System.Data.Common.d.ts +3 -0
- package/System.Data.SqlTypes/internal/index.d.ts +23 -23
- package/System.Data.d.ts +3 -0
- package/System.Diagnostics/internal/index.d.ts +250 -228
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +37 -23
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
- package/System.Diagnostics.Metrics/internal/index.d.ts +34 -29
- package/System.Diagnostics.Metrics.d.ts +3 -0
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +4 -4
- package/System.Diagnostics.Tracing/internal/index.d.ts +26 -24
- package/System.Diagnostics.d.ts +3 -0
- package/System.Drawing/internal/index.d.ts +76 -76
- package/System.Dynamic/internal/index.d.ts +26 -26
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +5 -4
- package/System.Globalization/internal/index.d.ts +22 -20
- package/System.Globalization.d.ts +3 -0
- package/System.IO/internal/index.d.ts +106 -103
- package/System.IO.Compression/internal/index.d.ts +24 -24
- package/System.IO.Compression.d.ts +3 -0
- package/System.IO.Enumeration/internal/index.d.ts +7 -5
- package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
- package/System.IO.Pipelines/internal/index.d.ts +5 -5
- package/System.IO.Pipelines.d.ts +3 -0
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.IO.Pipes.d.ts +3 -0
- package/System.IO.d.ts +3 -0
- package/System.Linq/internal/index.d.ts +207 -207
- package/System.Linq.Expressions/internal/index.d.ts +160 -160
- package/System.Linq.d.ts +3 -0
- package/System.Net/internal/index.d.ts +157 -131
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +69 -53
- package/System.Net.Http.Headers/internal/index.d.ts +62 -45
- package/System.Net.Http.Json/internal/index.d.ts +38 -38
- package/System.Net.Http.Json.d.ts +3 -0
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +80 -70
- package/System.Net.Mime/internal/index.d.ts +4 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +23 -23
- package/System.Net.Quic/internal/index.d.ts +4 -3
- package/System.Net.Security/internal/index.d.ts +65 -49
- package/System.Net.ServerSentEvents/internal/index.d.ts +3 -2
- package/System.Net.Sockets/internal/index.d.ts +49 -42
- package/System.Net.Sockets.d.ts +3 -0
- package/System.Net.WebSockets/internal/index.d.ts +35 -29
- package/System.Numerics/bindings.json +96 -72
- package/System.Numerics/internal/index.d.ts +93 -91
- package/System.Numerics/internal/metadata.json +64 -48
- package/System.Numerics.d.ts +3 -0
- package/System.Reflection/internal/index.d.ts +129 -126
- package/System.Reflection.Emit/internal/index.d.ts +105 -105
- package/System.Reflection.Metadata/internal/index.d.ts +15 -15
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +4 -4
- package/System.Reflection.Metadata.Ecma335.d.ts +3 -0
- package/System.Reflection.Metadata.d.ts +3 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Reflection.d.ts +3 -0
- package/System.Resources/internal/index.d.ts +20 -19
- package/System.Runtime/internal/index.d.ts +6 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +30 -28
- package/System.Runtime.InteropServices/internal/index.d.ts +85 -83
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +20 -20
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +28 -26
- package/System.Runtime.InteropServices.d.ts +3 -0
- package/System.Runtime.Intrinsics.d.ts +3 -0
- package/System.Runtime.Loader/internal/index.d.ts +2 -2
- package/System.Runtime.Remoting/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization/internal/index.d.ts +66 -54
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -3
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +22 -21
- package/System.Runtime.Serialization.Json.d.ts +3 -0
- package/System.Runtime.Serialization.d.ts +3 -0
- package/System.Runtime.Versioning/internal/index.d.ts +12 -9
- package/System.Security/internal/index.d.ts +62 -52
- package/System.Security.AccessControl/internal/index.d.ts +29 -25
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +8 -8
- package/System.Security.Claims/internal/index.d.ts +21 -15
- package/System.Security.Cryptography/bindings.json +4212 -4212
- package/System.Security.Cryptography/internal/index.d.ts +155 -141
- package/System.Security.Cryptography.X509Certificates/bindings.json +768 -768
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +83 -82
- package/System.Security.Cryptography.X509Certificates.d.ts +3 -0
- package/System.Security.Permissions/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +3 -3
- package/System.Text/internal/index.d.ts +48 -46
- package/System.Text.Json/internal/index.d.ts +87 -81
- package/System.Text.Json.Nodes/internal/index.d.ts +41 -41
- package/System.Text.Json.Schema/internal/index.d.ts +4 -3
- package/System.Text.Json.Schema.d.ts +3 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +5 -4
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +55 -30
- package/System.Text.Json.Serialization.Metadata.d.ts +3 -0
- package/System.Text.Json.d.ts +3 -0
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Text.d.ts +3 -0
- package/System.Threading/internal/index.d.ts +86 -85
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +82 -82
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +25 -26
- package/System.Threading.Tasks.Dataflow.d.ts +3 -0
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Threading.Tasks.d.ts +3 -0
- package/System.Threading.d.ts +3 -0
- package/System.Timers/internal/index.d.ts +5 -3
- package/System.Transactions/internal/index.d.ts +18 -16
- package/System.Web/internal/index.d.ts +30 -30
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +162 -161
- package/System.Xml.Linq/internal/index.d.ts +38 -37
- package/System.Xml.Linq.d.ts +3 -0
- package/System.Xml.Resolvers/internal/index.d.ts +5 -5
- package/System.Xml.Schema/internal/index.d.ts +133 -88
- package/System.Xml.Schema.d.ts +3 -0
- package/System.Xml.Serialization/internal/index.d.ts +138 -117
- package/System.Xml.XPath/internal/index.d.ts +12 -12
- package/System.Xml.XPath.d.ts +3 -0
- package/System.Xml.Xsl/internal/index.d.ts +34 -34
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +16 -16
- package/System.d.ts +3 -0
- package/__internal/extensions/index.d.ts +2516 -2196
- package/package.json +2 -2
|
@@ -17,8 +17,8 @@ import * as System_Internal from "../../System/internal/index.js";
|
|
|
17
17
|
import type { Boolean as ClrBoolean, Byte, Int32, Object as ClrObject, String as ClrString, Type, Void } from "../../System/internal/index.js";
|
|
18
18
|
|
|
19
19
|
export interface IXmlJsonReaderInitializer$instance {
|
|
20
|
-
setInput(buffer: byte[], offset: int, count: int, encoding: Encoding
|
|
21
|
-
setInput(stream: Stream, encoding: Encoding
|
|
20
|
+
setInput(buffer: byte[], offset: int, count: int, encoding: Encoding, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose): void;
|
|
21
|
+
setInput(stream: Stream, encoding: Encoding, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose): void;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
|
|
@@ -39,7 +39,7 @@ 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
45
|
readObject(stream: Stream): unknown | undefined;
|
|
@@ -50,24 +50,24 @@ export interface DataContractJsonSerializer$instance extends XmlObjectSerializer
|
|
|
50
50
|
setSerializationSurrogateProvider(provider: ISerializationSurrogateProvider): void;
|
|
51
51
|
writeEndObject(writer: XmlWriter): void;
|
|
52
52
|
writeEndObject(writer: XmlDictionaryWriter): void;
|
|
53
|
-
writeObject(stream: Stream, graph: unknown
|
|
54
|
-
writeObject(writer: XmlWriter, graph: unknown
|
|
55
|
-
writeObject(writer: XmlDictionaryWriter, graph: unknown
|
|
56
|
-
writeObjectContent(writer: XmlWriter, graph: unknown
|
|
57
|
-
writeObjectContent(writer: XmlDictionaryWriter, graph: unknown
|
|
58
|
-
writeStartObject(writer: XmlWriter, graph: unknown
|
|
59
|
-
writeStartObject(writer: XmlDictionaryWriter, graph: unknown
|
|
53
|
+
writeObject(stream: Stream, graph: unknown): void;
|
|
54
|
+
writeObject(writer: XmlWriter, graph: unknown): void;
|
|
55
|
+
writeObject(writer: XmlDictionaryWriter, graph: unknown): void;
|
|
56
|
+
writeObjectContent(writer: XmlWriter, graph: unknown): void;
|
|
57
|
+
writeObjectContent(writer: XmlDictionaryWriter, graph: unknown): void;
|
|
58
|
+
writeStartObject(writer: XmlWriter, graph: unknown): void;
|
|
59
|
+
writeStartObject(writer: XmlDictionaryWriter, graph: unknown): void;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
export const DataContractJsonSerializer: {
|
|
64
64
|
new(type_: Type): DataContractJsonSerializer;
|
|
65
|
-
new(type_: Type, rootName: string
|
|
66
|
-
new(type_: Type, rootName: XmlDictionaryString
|
|
67
|
-
new(type_: Type, knownTypes: IEnumerable_1<Type>
|
|
68
|
-
new(type_: Type, rootName: string
|
|
69
|
-
new(type_: Type, rootName: XmlDictionaryString
|
|
70
|
-
new(type_: Type, settings: DataContractJsonSerializerSettings
|
|
65
|
+
new(type_: Type, rootName: string): DataContractJsonSerializer;
|
|
66
|
+
new(type_: Type, rootName: XmlDictionaryString): DataContractJsonSerializer;
|
|
67
|
+
new(type_: Type, knownTypes: IEnumerable_1<Type>): DataContractJsonSerializer;
|
|
68
|
+
new(type_: Type, rootName: string, knownTypes: IEnumerable_1<Type>): DataContractJsonSerializer;
|
|
69
|
+
new(type_: Type, rootName: XmlDictionaryString, knownTypes: IEnumerable_1<Type>): DataContractJsonSerializer;
|
|
70
|
+
new(type_: Type, settings: DataContractJsonSerializerSettings): DataContractJsonSerializer;
|
|
71
71
|
};
|
|
72
72
|
|
|
73
73
|
|
|
@@ -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 | undefined;
|
|
82
|
+
get rootName(): string | undefined;
|
|
83
|
+
set rootName(value: string);
|
|
83
84
|
serializeReadOnlyTypes: boolean;
|
|
84
85
|
useSimpleDictionaryFormat: boolean;
|
|
85
86
|
}
|
|
@@ -94,19 +95,19 @@ export type DataContractJsonSerializerSettings = DataContractJsonSerializerSetti
|
|
|
94
95
|
|
|
95
96
|
export abstract class DataContractJsonSerializerExtensions$instance {
|
|
96
97
|
static getSerializationSurrogateProvider(serializer: DataContractJsonSerializer): ISerializationSurrogateProvider | undefined;
|
|
97
|
-
static setSerializationSurrogateProvider(serializer: DataContractJsonSerializer, provider: ISerializationSurrogateProvider
|
|
98
|
+
static setSerializationSurrogateProvider(serializer: DataContractJsonSerializer, provider: ISerializationSurrogateProvider): void;
|
|
98
99
|
}
|
|
99
100
|
|
|
100
101
|
|
|
101
102
|
export type DataContractJsonSerializerExtensions = DataContractJsonSerializerExtensions$instance;
|
|
102
103
|
|
|
103
104
|
export abstract class JsonReaderWriterFactory$instance {
|
|
104
|
-
static createJsonReader(buffer: byte[], offset: int, count: int, encoding: Encoding
|
|
105
|
+
static createJsonReader(buffer: byte[], offset: int, count: int, encoding: Encoding, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose): XmlDictionaryReader;
|
|
105
106
|
static createJsonReader(buffer: byte[], offset: int, count: int, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
106
107
|
static createJsonReader(buffer: byte[], quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
107
|
-
static createJsonReader(stream: Stream, encoding: Encoding
|
|
108
|
+
static createJsonReader(stream: Stream, encoding: Encoding, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose): XmlDictionaryReader;
|
|
108
109
|
static createJsonReader(stream: Stream, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
|
|
109
|
-
static createJsonWriter(stream: Stream, encoding: Encoding, ownsStream: boolean, indent: boolean, indentChars: string
|
|
110
|
+
static createJsonWriter(stream: Stream, encoding: Encoding, ownsStream: boolean, indent: boolean, indentChars: string): XmlDictionaryWriter;
|
|
110
111
|
static createJsonWriter(stream: Stream, encoding: Encoding, ownsStream: boolean, indent: boolean): XmlDictionaryWriter;
|
|
111
112
|
static createJsonWriter(stream: Stream, encoding: Encoding, ownsStream: boolean): XmlDictionaryWriter;
|
|
112
113
|
static createJsonWriter(stream: Stream, encoding: Encoding): XmlDictionaryWriter;
|
|
@@ -21,3 +21,6 @@ export { DataContractJsonSerializerSettings as DataContractJsonSerializerSetting
|
|
|
21
21
|
export type IXmlJsonReaderInitializer = Internal.IXmlJsonReaderInitializer;
|
|
22
22
|
export type IXmlJsonWriterInitializer = Internal.IXmlJsonWriterInitializer;
|
|
23
23
|
export { JsonReaderWriterFactory$instance as JsonReaderWriterFactory } from './System.Runtime.Serialization.Json/internal/index.js';
|
|
24
|
+
// Extension methods (C# using semantics)
|
|
25
|
+
export type { ExtensionMethods_System_Runtime_Serialization_Json as ExtensionMethods } from './__internal/extensions/index.js';
|
|
26
|
+
|
|
@@ -74,3 +74,6 @@ export { InvalidDataContractException as InvalidDataContractException } from './
|
|
|
74
74
|
export type ISerializationSurrogateProvider2 = Internal.ISerializationSurrogateProvider2;
|
|
75
75
|
export type ISerializationSurrogateProvider = Internal.ISerializationSurrogateProvider;
|
|
76
76
|
export { KnownTypeAttribute as KnownTypeAttribute } from './System.Runtime.Serialization/internal/index.js';
|
|
77
|
+
// Extension methods (C# using semantics)
|
|
78
|
+
export type { ExtensionMethods_System_Runtime_Serialization as ExtensionMethods } from './__internal/extensions/index.js';
|
|
79
|
+
|
|
@@ -54,7 +54,7 @@ export interface FrameworkName$instance {
|
|
|
54
54
|
|
|
55
55
|
export const FrameworkName: {
|
|
56
56
|
new(identifier: string, version: Version): FrameworkName;
|
|
57
|
-
new(identifier: string, version: Version, profile: string
|
|
57
|
+
new(identifier: string, version: Version, profile: string): FrameworkName;
|
|
58
58
|
new(frameworkName: string): FrameworkName;
|
|
59
59
|
};
|
|
60
60
|
|
|
@@ -71,13 +71,14 @@ 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 | undefined;
|
|
74
|
+
get url(): string | undefined;
|
|
75
|
+
set url(value: string);
|
|
75
76
|
}
|
|
76
77
|
|
|
77
78
|
|
|
78
79
|
export const ObsoletedOSPlatformAttribute: {
|
|
79
|
-
new(platformName: string
|
|
80
|
-
new(platformName: string
|
|
80
|
+
new(platformName: string): ObsoletedOSPlatformAttribute;
|
|
81
|
+
new(platformName: string, message: string): ObsoletedOSPlatformAttribute;
|
|
81
82
|
};
|
|
82
83
|
|
|
83
84
|
|
|
@@ -96,13 +97,14 @@ export type OSPlatformAttribute = OSPlatformAttribute$instance;
|
|
|
96
97
|
|
|
97
98
|
export interface RequiresPreviewFeaturesAttribute$instance extends Attribute {
|
|
98
99
|
readonly message: string;
|
|
99
|
-
url: string | undefined;
|
|
100
|
+
get url(): string | undefined;
|
|
101
|
+
set url(value: string);
|
|
100
102
|
}
|
|
101
103
|
|
|
102
104
|
|
|
103
105
|
export const RequiresPreviewFeaturesAttribute: {
|
|
104
106
|
new(): RequiresPreviewFeaturesAttribute;
|
|
105
|
-
new(message: string
|
|
107
|
+
new(message: string): RequiresPreviewFeaturesAttribute;
|
|
106
108
|
};
|
|
107
109
|
|
|
108
110
|
|
|
@@ -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 | undefined;
|
|
162
|
+
get frameworkDisplayName(): string | undefined;
|
|
163
|
+
set frameworkDisplayName(value: string);
|
|
161
164
|
readonly frameworkName: string;
|
|
162
165
|
}
|
|
163
166
|
|
|
@@ -187,7 +190,7 @@ export interface UnsupportedOSPlatformAttribute$instance extends OSPlatformAttri
|
|
|
187
190
|
|
|
188
191
|
export const UnsupportedOSPlatformAttribute: {
|
|
189
192
|
new(platformName: string): UnsupportedOSPlatformAttribute;
|
|
190
|
-
new(platformName: string, message: string
|
|
193
|
+
new(platformName: string, message: string): UnsupportedOSPlatformAttribute;
|
|
191
194
|
};
|
|
192
195
|
|
|
193
196
|
|
|
@@ -206,7 +209,7 @@ export type UnsupportedOSPlatformGuardAttribute = UnsupportedOSPlatformGuardAttr
|
|
|
206
209
|
|
|
207
210
|
export abstract class VersioningHelper$instance {
|
|
208
211
|
static makeVersionSafeName(name: string, from_: ResourceScope, to: ResourceScope, type_: Type): string;
|
|
209
|
-
static makeVersionSafeName(name: string
|
|
212
|
+
static makeVersionSafeName(name: string, from_: ResourceScope, to: ResourceScope): string;
|
|
210
213
|
}
|
|
211
214
|
|
|
212
215
|
|
|
@@ -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
|
|
45
|
-
isSubsetOf(target: IPermission
|
|
46
|
-
toXml(): SecurityElement;
|
|
44
|
+
intersect(target: IPermission): IPermission | undefined;
|
|
45
|
+
isSubsetOf(target: IPermission): boolean;
|
|
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,35 +83,35 @@ export interface PermissionSet$instance {
|
|
|
83
83
|
readonly isReadOnly: boolean;
|
|
84
84
|
readonly isSynchronized: boolean;
|
|
85
85
|
readonly syncRoot: unknown;
|
|
86
|
-
addPermission(perm: IPermission
|
|
86
|
+
addPermission(perm: IPermission): IPermission | undefined;
|
|
87
87
|
assert(): void;
|
|
88
88
|
containsNonCodeAccessPermissions(): boolean;
|
|
89
89
|
copy(): PermissionSet;
|
|
90
|
-
copyTo(array: ClrArray
|
|
90
|
+
copyTo(array: ClrArray, index: int): void;
|
|
91
91
|
demand(): void;
|
|
92
92
|
deny(): void;
|
|
93
|
-
equals(o: unknown
|
|
94
|
-
fromXml(et: SecurityElement
|
|
93
|
+
equals(o: unknown): boolean;
|
|
94
|
+
fromXml(et: SecurityElement): void;
|
|
95
95
|
getEnumerator(): IEnumerator;
|
|
96
96
|
getHashCode(): int;
|
|
97
|
-
getPermission(permClass: Type
|
|
98
|
-
intersect(other: PermissionSet
|
|
97
|
+
getPermission(permClass: Type): IPermission | undefined;
|
|
98
|
+
intersect(other: PermissionSet): PermissionSet | undefined;
|
|
99
99
|
isEmpty(): boolean;
|
|
100
|
-
isSubsetOf(target: PermissionSet
|
|
100
|
+
isSubsetOf(target: PermissionSet): boolean;
|
|
101
101
|
isUnrestricted(): boolean;
|
|
102
102
|
permitOnly(): void;
|
|
103
|
-
removePermission(permClass: Type
|
|
104
|
-
setPermission(perm: IPermission
|
|
105
|
-
toString(): string
|
|
106
|
-
toXml(): SecurityElement;
|
|
107
|
-
union(other: PermissionSet
|
|
103
|
+
removePermission(permClass: Type): IPermission | undefined;
|
|
104
|
+
setPermission(perm: IPermission): IPermission | undefined;
|
|
105
|
+
toString(): string;
|
|
106
|
+
toXml(): SecurityElement | undefined;
|
|
107
|
+
union(other: PermissionSet): PermissionSet | undefined;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
export const PermissionSet: {
|
|
112
112
|
new(state: PermissionState): PermissionSet;
|
|
113
|
-
new(permSet: PermissionSet
|
|
114
|
-
convertPermissionSet(inFormat: string
|
|
113
|
+
new(permSet: PermissionSet): PermissionSet;
|
|
114
|
+
convertPermissionSet(inFormat: string, inData: byte[], outFormat: string): byte[];
|
|
115
115
|
revertAssert(): void;
|
|
116
116
|
};
|
|
117
117
|
|
|
@@ -124,7 +124,7 @@ export interface __PermissionSet$views {
|
|
|
124
124
|
As_IStackWalk(): IStackWalk$instance;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
export interface PermissionSet$instance extends System_Runtime_Serialization_Internal.IDeserializationCallback$instance, IStackWalk$instance {}
|
|
127
|
+
export interface PermissionSet$instance extends System_Runtime_Serialization_Internal.IDeserializationCallback$instance, ISecurityEncodable$instance, IStackWalk$instance {}
|
|
128
128
|
|
|
129
129
|
export type PermissionSet = PermissionSet$instance & __PermissionSet$views;
|
|
130
130
|
|
|
@@ -173,56 +173,66 @@ export type SecurityCriticalAttribute = SecurityCriticalAttribute$instance;
|
|
|
173
173
|
|
|
174
174
|
export interface SecurityElement$instance {
|
|
175
175
|
attributes: Hashtable;
|
|
176
|
-
children: ArrayList | undefined;
|
|
176
|
+
get children(): ArrayList | undefined;
|
|
177
|
+
set children(value: ArrayList);
|
|
177
178
|
tag: string;
|
|
178
179
|
text: string;
|
|
179
|
-
addAttribute(name: string
|
|
180
|
-
addChild(child: SecurityElement
|
|
181
|
-
attribute(name: string
|
|
180
|
+
addAttribute(name: string, value: string): void;
|
|
181
|
+
addChild(child: SecurityElement): void;
|
|
182
|
+
attribute(name: string): string | undefined;
|
|
182
183
|
copy(): SecurityElement;
|
|
183
|
-
equal(other: SecurityElement
|
|
184
|
-
searchForChildByTag(tag: string
|
|
185
|
-
searchForTextOfTag(tag: string
|
|
186
|
-
toString(): string
|
|
184
|
+
equal(other: SecurityElement): boolean;
|
|
185
|
+
searchForChildByTag(tag: string): SecurityElement | undefined;
|
|
186
|
+
searchForTextOfTag(tag: string): string | undefined;
|
|
187
|
+
toString(): string;
|
|
187
188
|
}
|
|
188
189
|
|
|
189
190
|
|
|
190
191
|
export const SecurityElement: {
|
|
191
|
-
new(tag: string
|
|
192
|
-
new(tag: string
|
|
193
|
-
escape(str: string
|
|
194
|
-
fromString(xml: string
|
|
195
|
-
isValidAttributeName(name: string
|
|
196
|
-
isValidAttributeValue(value: string
|
|
197
|
-
isValidTag(tag: string
|
|
198
|
-
isValidText(text: string
|
|
192
|
+
new(tag: string): SecurityElement;
|
|
193
|
+
new(tag: string, text: string): SecurityElement;
|
|
194
|
+
escape(str: string): string | undefined;
|
|
195
|
+
fromString(xml: string): SecurityElement | undefined;
|
|
196
|
+
isValidAttributeName(name: string): boolean;
|
|
197
|
+
isValidAttributeValue(value: string): boolean;
|
|
198
|
+
isValidTag(tag: string): boolean;
|
|
199
|
+
isValidText(text: string): boolean;
|
|
199
200
|
};
|
|
200
201
|
|
|
201
202
|
|
|
202
203
|
export type SecurityElement = SecurityElement$instance;
|
|
203
204
|
|
|
204
205
|
export interface SecurityException$instance extends SystemException {
|
|
205
|
-
demanded: unknown | undefined;
|
|
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 | undefined;
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
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);
|
|
225
|
+
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
226
|
+
toString(): string;
|
|
217
227
|
}
|
|
218
228
|
|
|
219
229
|
|
|
220
230
|
export const SecurityException: {
|
|
221
231
|
new(): SecurityException;
|
|
222
|
-
new(message: string
|
|
223
|
-
new(message: string
|
|
224
|
-
new(message: string
|
|
225
|
-
new(message: string
|
|
232
|
+
new(message: string): SecurityException;
|
|
233
|
+
new(message: string, inner: Exception): SecurityException;
|
|
234
|
+
new(message: string, type_: Type): SecurityException;
|
|
235
|
+
new(message: string, type_: Type, state: string): SecurityException;
|
|
226
236
|
};
|
|
227
237
|
|
|
228
238
|
|
|
@@ -308,8 +318,8 @@ export interface VerificationException$instance extends SystemException {
|
|
|
308
318
|
|
|
309
319
|
export const VerificationException: {
|
|
310
320
|
new(): VerificationException;
|
|
311
|
-
new(message: string
|
|
312
|
-
new(message: string
|
|
321
|
+
new(message: string): VerificationException;
|
|
322
|
+
new(message: string, innerException: Exception): VerificationException;
|
|
313
323
|
};
|
|
314
324
|
|
|
315
325
|
|
|
@@ -339,7 +339,7 @@ export type AuthorizationRule = AuthorizationRule$instance;
|
|
|
339
339
|
|
|
340
340
|
export interface AuthorizationRuleCollection$instance extends ReadOnlyCollectionBase {
|
|
341
341
|
readonly item: AuthorizationRule;
|
|
342
|
-
addRule(rule: AuthorizationRule
|
|
342
|
+
addRule(rule: AuthorizationRule): void;
|
|
343
343
|
copyTo(array: ClrArray, index: int): void;
|
|
344
344
|
getEnumerator(): IEnumerator;
|
|
345
345
|
}
|
|
@@ -367,7 +367,7 @@ export interface CommonAce$instance extends QualifiedAce {
|
|
|
367
367
|
|
|
368
368
|
|
|
369
369
|
export const CommonAce: {
|
|
370
|
-
new(flags: AceFlags, qualifier: AceQualifier, accessMask: int, sid: SecurityIdentifier, isCallback: boolean, opaque: byte[]
|
|
370
|
+
new(flags: AceFlags, qualifier: AceQualifier, accessMask: int, sid: SecurityIdentifier, isCallback: boolean, opaque: byte[]): CommonAce;
|
|
371
371
|
maxOpaqueLength(isCallback: boolean): int;
|
|
372
372
|
};
|
|
373
373
|
|
|
@@ -418,28 +418,30 @@ export type CommonObjectSecurity = CommonObjectSecurity$instance;
|
|
|
418
418
|
|
|
419
419
|
export interface CommonSecurityDescriptor$instance extends GenericSecurityDescriptor {
|
|
420
420
|
readonly controlFlags: ControlFlags;
|
|
421
|
-
discretionaryAcl: DiscretionaryAcl | undefined;
|
|
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 | undefined;
|
|
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
|
-
purgeAccessControl(sid: SecurityIdentifier
|
|
432
|
-
purgeAudit(sid: SecurityIdentifier
|
|
433
|
+
purgeAccessControl(sid: SecurityIdentifier): void;
|
|
434
|
+
purgeAudit(sid: SecurityIdentifier): void;
|
|
433
435
|
setDiscretionaryAclProtection(isProtected: boolean, preserveInheritance: boolean): void;
|
|
434
436
|
setSystemAclProtection(isProtected: boolean, preserveInheritance: boolean): void;
|
|
435
437
|
}
|
|
436
438
|
|
|
437
439
|
|
|
438
440
|
export const CommonSecurityDescriptor: {
|
|
439
|
-
new(isContainer: boolean, isDS: boolean, binaryForm: byte[]
|
|
440
|
-
new(isContainer: boolean, isDS: boolean, flags: ControlFlags, owner: SecurityIdentifier
|
|
441
|
-
new(isContainer: boolean, isDS: boolean, rawSecurityDescriptor: RawSecurityDescriptor
|
|
442
|
-
new(isContainer: boolean, isDS: boolean, sddlForm: string
|
|
441
|
+
new(isContainer: boolean, isDS: boolean, binaryForm: byte[], offset: int): CommonSecurityDescriptor;
|
|
442
|
+
new(isContainer: boolean, isDS: boolean, flags: ControlFlags, owner: SecurityIdentifier, group: SecurityIdentifier, systemAcl: SystemAcl, discretionaryAcl: DiscretionaryAcl): CommonSecurityDescriptor;
|
|
443
|
+
new(isContainer: boolean, isDS: boolean, rawSecurityDescriptor: RawSecurityDescriptor): CommonSecurityDescriptor;
|
|
444
|
+
new(isContainer: boolean, isDS: boolean, sddlForm: string): CommonSecurityDescriptor;
|
|
443
445
|
};
|
|
444
446
|
|
|
445
447
|
|
|
@@ -462,14 +464,14 @@ export type CompoundAce = CompoundAce$instance;
|
|
|
462
464
|
export interface CustomAce$instance extends GenericAce {
|
|
463
465
|
readonly binaryLength: int;
|
|
464
466
|
readonly opaqueLength: int;
|
|
465
|
-
getBinaryForm(binaryForm: byte[]
|
|
467
|
+
getBinaryForm(binaryForm: byte[], offset: int): void;
|
|
466
468
|
getOpaque(): byte[] | undefined;
|
|
467
|
-
setOpaque(opaque: byte[]
|
|
469
|
+
setOpaque(opaque: byte[]): void;
|
|
468
470
|
}
|
|
469
471
|
|
|
470
472
|
|
|
471
473
|
export const CustomAce: {
|
|
472
|
-
new(type_: AceType, flags: AceFlags, opaque: byte[]
|
|
474
|
+
new(type_: AceType, flags: AceFlags, opaque: byte[]): CustomAce;
|
|
473
475
|
readonly maxOpaqueLength: int;
|
|
474
476
|
};
|
|
475
477
|
|
|
@@ -714,8 +716,8 @@ export interface GenericSecurityDescriptor$instance {
|
|
|
714
716
|
readonly controlFlags: ControlFlags;
|
|
715
717
|
group: SecurityIdentifier;
|
|
716
718
|
owner: SecurityIdentifier;
|
|
717
|
-
getBinaryForm(binaryForm: byte[]
|
|
718
|
-
getSddlForm(includeSections: AccessControlSections): string
|
|
719
|
+
getBinaryForm(binaryForm: byte[], offset: int): void;
|
|
720
|
+
getSddlForm(includeSections: AccessControlSections): string;
|
|
719
721
|
}
|
|
720
722
|
|
|
721
723
|
|
|
@@ -825,7 +827,7 @@ export interface ObjectAce$instance extends QualifiedAce {
|
|
|
825
827
|
|
|
826
828
|
|
|
827
829
|
export const ObjectAce: {
|
|
828
|
-
new(aceFlags: AceFlags, qualifier: AceQualifier, accessMask: int, sid: SecurityIdentifier, flags: ObjectAceFlags, type_: Guid, inheritedType: Guid, isCallback: boolean, opaque: byte[]
|
|
830
|
+
new(aceFlags: AceFlags, qualifier: AceQualifier, accessMask: int, sid: SecurityIdentifier, flags: ObjectAceFlags, type_: Guid, inheritedType: Guid, isCallback: boolean, opaque: byte[]): ObjectAce;
|
|
829
831
|
maxOpaqueLength(isCallback: boolean): int;
|
|
830
832
|
};
|
|
831
833
|
|
|
@@ -909,14 +911,14 @@ export type ObjectSecurity_1<T> = ObjectSecurity_1$instance<T>;
|
|
|
909
911
|
|
|
910
912
|
export interface PrivilegeNotHeldException$instance extends UnauthorizedAccessException {
|
|
911
913
|
readonly privilegeName: string | undefined;
|
|
912
|
-
getObjectData(info: SerializationInfo
|
|
914
|
+
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
913
915
|
}
|
|
914
916
|
|
|
915
917
|
|
|
916
918
|
export const PrivilegeNotHeldException: {
|
|
917
919
|
new(): PrivilegeNotHeldException;
|
|
918
|
-
new(privilege: string
|
|
919
|
-
new(privilege: string
|
|
920
|
+
new(privilege: string): PrivilegeNotHeldException;
|
|
921
|
+
new(privilege: string, inner: Exception): PrivilegeNotHeldException;
|
|
920
922
|
};
|
|
921
923
|
|
|
922
924
|
|
|
@@ -932,7 +934,7 @@ export interface QualifiedAce$instance extends KnownAce {
|
|
|
932
934
|
readonly isCallback: boolean;
|
|
933
935
|
readonly opaqueLength: int;
|
|
934
936
|
getOpaque(): byte[] | undefined;
|
|
935
|
-
setOpaque(opaque: byte[]
|
|
937
|
+
setOpaque(opaque: byte[]): void;
|
|
936
938
|
}
|
|
937
939
|
|
|
938
940
|
|
|
@@ -973,19 +975,21 @@ 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 | undefined;
|
|
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 | undefined;
|
|
983
|
+
get systemAcl(): RawAcl | undefined;
|
|
984
|
+
set systemAcl(value: RawAcl);
|
|
981
985
|
setFlags(flags: ControlFlags): void;
|
|
982
986
|
}
|
|
983
987
|
|
|
984
988
|
|
|
985
989
|
export const RawSecurityDescriptor: {
|
|
986
|
-
new(binaryForm: byte[]
|
|
987
|
-
new(flags: ControlFlags, owner: SecurityIdentifier
|
|
988
|
-
new(sddlForm: string
|
|
990
|
+
new(binaryForm: byte[], offset: int): RawSecurityDescriptor;
|
|
991
|
+
new(flags: ControlFlags, owner: SecurityIdentifier, group: SecurityIdentifier, systemAcl: RawAcl, discretionaryAcl: RawAcl): RawSecurityDescriptor;
|
|
992
|
+
new(sddlForm: string): RawSecurityDescriptor;
|
|
989
993
|
};
|
|
990
994
|
|
|
991
995
|
|
|
@@ -64,8 +64,8 @@ export interface AuthenticationException$instance extends SystemException {
|
|
|
64
64
|
|
|
65
65
|
export const AuthenticationException: {
|
|
66
66
|
new(): AuthenticationException;
|
|
67
|
-
new(message: string
|
|
68
|
-
new(message: string
|
|
67
|
+
new(message: string): AuthenticationException;
|
|
68
|
+
new(message: string, innerException: Exception): AuthenticationException;
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
|
|
@@ -83,8 +83,8 @@ export interface InvalidCredentialException$instance extends AuthenticationExcep
|
|
|
83
83
|
|
|
84
84
|
export const InvalidCredentialException: {
|
|
85
85
|
new(): InvalidCredentialException;
|
|
86
|
-
new(message: string
|
|
87
|
-
new(message: string
|
|
86
|
+
new(message: string): InvalidCredentialException;
|
|
87
|
+
new(message: string, innerException: Exception): InvalidCredentialException;
|
|
88
88
|
};
|
|
89
89
|
|
|
90
90
|
|
|
@@ -60,14 +60,14 @@ export interface ExtendedProtectionPolicy$instance {
|
|
|
60
60
|
readonly customServiceNames: ServiceNameCollection | undefined;
|
|
61
61
|
readonly policyEnforcement: PolicyEnforcement;
|
|
62
62
|
readonly protectionScenario: ProtectionScenario;
|
|
63
|
-
toString(): string
|
|
63
|
+
toString(): string;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
export const ExtendedProtectionPolicy: {
|
|
68
|
-
new(policyEnforcement: PolicyEnforcement, protectionScenario: ProtectionScenario, customServiceNames: ServiceNameCollection
|
|
69
|
-
new(policyEnforcement: PolicyEnforcement, protectionScenario: ProtectionScenario, customServiceNames: ICollection
|
|
70
|
-
new(policyEnforcement: PolicyEnforcement, customChannelBinding: ChannelBinding
|
|
68
|
+
new(policyEnforcement: PolicyEnforcement, protectionScenario: ProtectionScenario, customServiceNames: ServiceNameCollection): ExtendedProtectionPolicy;
|
|
69
|
+
new(policyEnforcement: PolicyEnforcement, protectionScenario: ProtectionScenario, customServiceNames: ICollection): ExtendedProtectionPolicy;
|
|
70
|
+
new(policyEnforcement: PolicyEnforcement, customChannelBinding: ChannelBinding): ExtendedProtectionPolicy;
|
|
71
71
|
new(policyEnforcement: PolicyEnforcement): ExtendedProtectionPolicy;
|
|
72
72
|
readonly osSupportsExtendedProtection: boolean;
|
|
73
73
|
};
|
|
@@ -83,10 +83,10 @@ export type ExtendedProtectionPolicy = ExtendedProtectionPolicy$instance & __Ext
|
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
export interface ExtendedProtectionPolicyTypeConverter$instance extends TypeConverter {
|
|
86
|
-
canConvertTo(context: ITypeDescriptorContext
|
|
87
|
-
canConvertTo(destinationType: Type
|
|
88
|
-
convertTo(context: ITypeDescriptorContext
|
|
89
|
-
convertTo(value: unknown
|
|
86
|
+
canConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
|
|
87
|
+
canConvertTo(destinationType: Type): boolean;
|
|
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
|
|