1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // ------------------------------------------------------------------------------
4 // Changes to this file must follow the https://aka.ms/api-review process.
5 // ------------------------------------------------------------------------------
9 public sealed partial class DataMisalignedException : System.SystemException
11 public DataMisalignedException() { }
12 public DataMisalignedException(string? message) { }
13 public DataMisalignedException(string? message, System.Exception? innerException) { }
15 public partial class DllNotFoundException : System.TypeLoadException
17 public DllNotFoundException() { }
18 protected DllNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
19 public DllNotFoundException(string? message) { }
20 public DllNotFoundException(string? message, System.Exception? inner) { }
25 public partial class UnmanagedMemoryAccessor : System.IDisposable
27 protected UnmanagedMemoryAccessor() { }
28 public UnmanagedMemoryAccessor(System.Runtime.InteropServices.SafeBuffer buffer, long offset, long capacity) { }
29 public UnmanagedMemoryAccessor(System.Runtime.InteropServices.SafeBuffer buffer, long offset, long capacity, System.IO.FileAccess access) { }
30 public bool CanRead { get { throw null; } }
31 public bool CanWrite { get { throw null; } }
32 public long Capacity { get { throw null; } }
33 protected bool IsOpen { get { throw null; } }
34 public void Dispose() { }
35 protected virtual void Dispose(bool disposing) { }
36 protected void Initialize(System.Runtime.InteropServices.SafeBuffer buffer, long offset, long capacity, System.IO.FileAccess access) { }
37 public int ReadArray<T>(long position, T[] array, int offset, int count) where T : struct { throw null; }
38 public bool ReadBoolean(long position) { throw null; }
39 public byte ReadByte(long position) { throw null; }
40 public char ReadChar(long position) { throw null; }
41 public decimal ReadDecimal(long position) { throw null; }
42 public double ReadDouble(long position) { throw null; }
43 public short ReadInt16(long position) { throw null; }
44 public int ReadInt32(long position) { throw null; }
45 public long ReadInt64(long position) { throw null; }
46 [System.CLSCompliantAttribute(false)]
47 public sbyte ReadSByte(long position) { throw null; }
48 public float ReadSingle(long position) { throw null; }
49 [System.CLSCompliantAttribute(false)]
50 public ushort ReadUInt16(long position) { throw null; }
51 [System.CLSCompliantAttribute(false)]
52 public uint ReadUInt32(long position) { throw null; }
53 [System.CLSCompliantAttribute(false)]
54 public ulong ReadUInt64(long position) { throw null; }
55 public void Read<T>(long position, out T structure) where T : struct { throw null; }
56 public void Write(long position, bool value) { }
57 public void Write(long position, byte value) { }
58 public void Write(long position, char value) { }
59 public void Write(long position, decimal value) { }
60 public void Write(long position, double value) { }
61 public void Write(long position, short value) { }
62 public void Write(long position, int value) { }
63 public void Write(long position, long value) { }
64 [System.CLSCompliantAttribute(false)]
65 public void Write(long position, sbyte value) { }
66 public void Write(long position, float value) { }
67 [System.CLSCompliantAttribute(false)]
68 public void Write(long position, ushort value) { }
69 [System.CLSCompliantAttribute(false)]
70 public void Write(long position, uint value) { }
71 [System.CLSCompliantAttribute(false)]
72 public void Write(long position, ulong value) { }
73 public void WriteArray<T>(long position, T[] array, int offset, int count) where T : struct { }
74 public void Write<T>(long position, ref T structure) where T : struct { }
77 namespace System.Runtime.CompilerServices
79 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
80 [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter, Inherited=false)]
81 public sealed partial class IDispatchConstantAttribute : System.Runtime.CompilerServices.CustomConstantAttribute
83 public IDispatchConstantAttribute() { }
84 public override object Value { get { throw null; } }
86 [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter, Inherited=false)]
87 public sealed partial class IUnknownConstantAttribute : System.Runtime.CompilerServices.CustomConstantAttribute
89 public IUnknownConstantAttribute() { }
90 public override object Value { get { throw null; } }
93 namespace System.Runtime.InteropServices
95 [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
96 [System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
97 public sealed partial class AllowReversePInvokeCallsAttribute : System.Attribute
99 public AllowReversePInvokeCallsAttribute() { }
101 public readonly partial struct ArrayWithOffset : System.IEquatable<System.Runtime.InteropServices.ArrayWithOffset>
103 private readonly object _dummy;
104 private readonly int _dummyPrimitive;
105 public ArrayWithOffset(object? array, int offset) { throw null; }
106 public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
107 public bool Equals(System.Runtime.InteropServices.ArrayWithOffset obj) { throw null; }
108 public object? GetArray() { throw null; }
109 public override int GetHashCode() { throw null; }
110 public int GetOffset() { throw null; }
111 public static bool operator ==(System.Runtime.InteropServices.ArrayWithOffset a, System.Runtime.InteropServices.ArrayWithOffset b) { throw null; }
112 public static bool operator !=(System.Runtime.InteropServices.ArrayWithOffset a, System.Runtime.InteropServices.ArrayWithOffset b) { throw null; }
114 [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Interface, Inherited=false)]
115 public sealed partial class AutomationProxyAttribute : System.Attribute
117 public AutomationProxyAttribute(bool val) { }
118 public bool Value { get { throw null; } }
120 [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.Struct, Inherited=false)]
121 public sealed partial class BestFitMappingAttribute : System.Attribute
123 public bool ThrowOnUnmappableChar;
124 public BestFitMappingAttribute(bool BestFitMapping) { }
125 public bool BestFitMapping { get { throw null; } }
127 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
128 public sealed partial class BStrWrapper
130 public BStrWrapper(object? value) { }
131 public BStrWrapper(string? value) { }
132 public string? WrappedObject { get { throw null; } }
134 public enum CallingConvention
142 [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class, Inherited=false)]
143 public sealed partial class ClassInterfaceAttribute : System.Attribute
145 public ClassInterfaceAttribute(short classInterfaceType) { }
146 public ClassInterfaceAttribute(System.Runtime.InteropServices.ClassInterfaceType classInterfaceType) { }
147 public System.Runtime.InteropServices.ClassInterfaceType Value { get { throw null; } }
149 public enum ClassInterfaceType
155 [System.CLSCompliantAttribute(false)]
156 public readonly partial struct CLong : System.IEquatable<System.Runtime.InteropServices.CLong>
158 private readonly int _dummyPrimitive;
159 public CLong(int value) { throw null; }
160 public CLong(nint value) { throw null; }
161 public nint Value { get { throw null; } }
162 public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? o) { throw null; }
163 public bool Equals(System.Runtime.InteropServices.CLong other) { throw null; }
164 public override int GetHashCode() { throw null; }
165 public override string ToString() { throw null; }
167 [System.AttributeUsageAttribute(System.AttributeTargets.Interface, Inherited=false)]
168 public sealed partial class CoClassAttribute : System.Attribute
170 public CoClassAttribute(System.Type coClass) { }
171 public System.Type CoClass { get { throw null; } }
173 public static partial class CollectionsMarshal
175 public static System.Span<T> AsSpan<T>(System.Collections.Generic.List<T>? list) { throw null; }
176 public static ref TValue GetValueRefOrNullRef<TKey, TValue>(System.Collections.Generic.Dictionary<TKey, TValue> dictionary, TKey key) where TKey : notnull { throw null; }
177 public static ref TValue? GetValueRefOrAddDefault<TKey, TValue>(System.Collections.Generic.Dictionary<TKey, TValue> dictionary, TKey key, out bool exists) where TKey : notnull { throw null; }
179 [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, Inherited=false)]
180 public sealed partial class ComAliasNameAttribute : System.Attribute
182 public ComAliasNameAttribute(string alias) { }
183 public string Value { get { throw null; } }
185 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
186 public partial class ComAwareEventInfo : System.Reflection.EventInfo
188 public ComAwareEventInfo([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents)] System.Type type, string eventName) { }
189 public override System.Reflection.EventAttributes Attributes { get { throw null; } }
190 public override System.Type? DeclaringType { get { throw null; } }
191 public override int MetadataToken { get { throw null; } }
192 public override System.Reflection.Module Module { get { throw null; } }
193 public override string Name { get { throw null; } }
194 public override System.Type? ReflectedType { get { throw null; } }
195 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
196 public override void AddEventHandler(object target, System.Delegate handler) { }
197 public override System.Reflection.MethodInfo? GetAddMethod(bool nonPublic) { throw null; }
198 public override object[] GetCustomAttributes(bool inherit) { throw null; }
199 public override object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw null; }
200 public override System.Collections.Generic.IList<System.Reflection.CustomAttributeData> GetCustomAttributesData() { throw null; }
201 public override System.Reflection.MethodInfo[] GetOtherMethods(bool nonPublic) { throw null; }
202 public override System.Reflection.MethodInfo? GetRaiseMethod(bool nonPublic) { throw null; }
203 public override System.Reflection.MethodInfo? GetRemoveMethod(bool nonPublic) { throw null; }
204 public override bool IsDefined(System.Type attributeType, bool inherit) { throw null; }
205 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
206 public override void RemoveEventHandler(object target, System.Delegate handler) { }
208 [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, Inherited=false)]
209 public sealed partial class ComCompatibleVersionAttribute : System.Attribute
211 public ComCompatibleVersionAttribute(int major, int minor, int build, int revision) { }
212 public int BuildNumber { get { throw null; } }
213 public int MajorVersion { get { throw null; } }
214 public int MinorVersion { get { throw null; } }
215 public int RevisionNumber { get { throw null; } }
217 [System.AttributeUsageAttribute(System.AttributeTargets.All, Inherited=false)]
218 public sealed partial class ComConversionLossAttribute : System.Attribute
220 public ComConversionLossAttribute() { }
222 [System.AttributeUsageAttribute(System.AttributeTargets.Class, Inherited=false)]
223 public sealed partial class ComDefaultInterfaceAttribute : System.Attribute
225 public ComDefaultInterfaceAttribute(System.Type defaultInterface) { }
226 public System.Type Value { get { throw null; } }
228 [System.AttributeUsageAttribute(System.AttributeTargets.Interface, Inherited=false)]
229 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
230 public sealed partial class ComEventInterfaceAttribute : System.Attribute
232 public ComEventInterfaceAttribute([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)] System.Type SourceInterface, [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] System.Type EventProvider) { }
233 [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]
234 public System.Type EventProvider { get { throw null; } }
235 [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)]
236 public System.Type SourceInterface { get { throw null; } }
238 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
239 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
240 public static partial class ComEventsHelper
242 public static void Combine(object rcw, System.Guid iid, int dispid, System.Delegate d) { }
243 public static System.Delegate? Remove(object rcw, System.Guid iid, int dispid, System.Delegate d) { throw null; }
245 public partial class COMException : System.Runtime.InteropServices.ExternalException
247 public COMException() { }
248 protected COMException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
249 public COMException(string? message) { }
250 public COMException(string? message, System.Exception? inner) { }
251 public COMException(string? message, int errorCode) { }
252 public override string ToString() { throw null; }
254 [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Interface, Inherited=false)]
255 public sealed partial class ComImportAttribute : System.Attribute
257 public ComImportAttribute() { }
259 public enum ComInterfaceType
262 InterfaceIsIUnknown = 1,
263 InterfaceIsIDispatch = 2,
264 InterfaceIsIInspectable = 3,
266 public enum ComMemberType
272 [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false)]
273 public sealed partial class ComRegisterFunctionAttribute : System.Attribute
275 public ComRegisterFunctionAttribute() { }
277 [System.AttributeUsageAttribute(System.AttributeTargets.Class, Inherited=true)]
278 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
279 public sealed partial class ComSourceInterfacesAttribute : System.Attribute
281 public ComSourceInterfacesAttribute(string sourceInterfaces) { }
282 public ComSourceInterfacesAttribute(System.Type sourceInterface) { }
283 public ComSourceInterfacesAttribute(System.Type sourceInterface1, System.Type sourceInterface2) { }
284 public ComSourceInterfacesAttribute(System.Type sourceInterface1, System.Type sourceInterface2, System.Type sourceInterface3) { }
285 public ComSourceInterfacesAttribute(System.Type sourceInterface1, System.Type sourceInterface2, System.Type sourceInterface3, System.Type sourceInterface4) { }
286 public string Value { get { throw null; } }
288 [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false)]
289 public sealed partial class ComUnregisterFunctionAttribute : System.Attribute
291 public ComUnregisterFunctionAttribute() { }
293 [System.CLSCompliantAttribute(false)]
294 public readonly partial struct CULong : System.IEquatable<System.Runtime.InteropServices.CULong>
296 private readonly int _dummyPrimitive;
297 public CULong(uint value) { throw null; }
298 public CULong(nuint value) { throw null; }
299 public nuint Value { get { throw null; } }
300 public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? o) { throw null; }
301 public bool Equals(System.Runtime.InteropServices.CULong other) { throw null; }
302 public override int GetHashCode() { throw null; }
303 public override string ToString() { throw null; }
305 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
306 [System.ObsoleteAttribute("CurrencyWrapper and support for marshalling to the VARIANT type may be unavailable in future releases.")]
307 public sealed partial class CurrencyWrapper
309 public CurrencyWrapper(decimal obj) { }
310 public CurrencyWrapper(object obj) { }
311 public decimal WrappedObject { get { throw null; } }
313 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
314 public enum CustomQueryInterfaceMode
319 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
320 public enum CustomQueryInterfaceResult
326 [System.AttributeUsageAttribute(System.AttributeTargets.Module, Inherited=false)]
327 public sealed partial class DefaultCharSetAttribute : System.Attribute
329 public DefaultCharSetAttribute(System.Runtime.InteropServices.CharSet charSet) { }
330 public System.Runtime.InteropServices.CharSet CharSet { get { throw null; } }
332 [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Method, AllowMultiple=false)]
333 public sealed partial class DefaultDllImportSearchPathsAttribute : System.Attribute
335 public DefaultDllImportSearchPathsAttribute(System.Runtime.InteropServices.DllImportSearchPath paths) { }
336 public System.Runtime.InteropServices.DllImportSearchPath Paths { get { throw null; } }
338 [System.AttributeUsageAttribute(System.AttributeTargets.Parameter)]
339 public sealed partial class DefaultParameterValueAttribute : System.Attribute
341 public DefaultParameterValueAttribute(object? value) { }
342 public object? Value { get { throw null; } }
344 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
345 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
346 public sealed partial class DispatchWrapper
348 public DispatchWrapper(object? obj) { }
349 public object? WrappedObject { get { throw null; } }
351 [System.AttributeUsageAttribute(System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, Inherited=false)]
352 public sealed partial class DispIdAttribute : System.Attribute
354 public DispIdAttribute(int dispId) { }
355 public int Value { get { throw null; } }
357 [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false)]
358 public sealed partial class DllImportAttribute : System.Attribute
360 public bool BestFitMapping;
361 public System.Runtime.InteropServices.CallingConvention CallingConvention;
362 public System.Runtime.InteropServices.CharSet CharSet;
363 public string? EntryPoint;
364 public bool ExactSpelling;
365 public bool PreserveSig;
366 public bool SetLastError;
367 public bool ThrowOnUnmappableChar;
368 public DllImportAttribute(string dllName) { }
369 public string Value { get { throw null; } }
371 public delegate System.IntPtr DllImportResolver(string libraryName, System.Reflection.Assembly assembly, System.Runtime.InteropServices.DllImportSearchPath? searchPath);
372 [System.FlagsAttribute]
373 public enum DllImportSearchPath
376 AssemblyDirectory = 2,
377 UseDllDirectoryForDependencies = 256,
378 ApplicationDirectory = 512,
379 UserDirectories = 1024,
381 SafeDirectories = 4096,
383 [System.AttributeUsageAttribute(System.AttributeTargets.Interface, AllowMultiple=false, Inherited=false)]
384 public sealed class DynamicInterfaceCastableImplementationAttribute : Attribute
386 public DynamicInterfaceCastableImplementationAttribute() { }
388 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
389 public sealed partial class ErrorWrapper
391 public ErrorWrapper(System.Exception e) { }
392 public ErrorWrapper(int errorCode) { }
393 public ErrorWrapper(object errorCode) { }
394 public int ErrorCode { get { throw null; } }
396 [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Struct, Inherited=false)]
397 public sealed partial class GuidAttribute : System.Attribute
399 public GuidAttribute(string guid) { }
400 public string Value { get { throw null; } }
402 public sealed partial class HandleCollector
404 public HandleCollector(string? name, int initialThreshold) { }
405 public HandleCollector(string? name, int initialThreshold, int maximumThreshold) { }
406 public int Count { get { throw null; } }
407 public int InitialThreshold { get { throw null; } }
408 public int MaximumThreshold { get { throw null; } }
409 public string Name { get { throw null; } }
410 public void Add() { }
411 public void Remove() { }
413 public readonly partial struct HandleRef
415 private readonly object _dummy;
416 private readonly int _dummyPrimitive;
417 public HandleRef(object? wrapper, System.IntPtr handle) { throw null; }
418 public System.IntPtr Handle { get { throw null; } }
419 public object? Wrapper { get { throw null; } }
420 public static explicit operator System.IntPtr (System.Runtime.InteropServices.HandleRef value) { throw null; }
421 public static System.IntPtr ToIntPtr(System.Runtime.InteropServices.HandleRef value) { throw null; }
423 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
424 public partial interface ICustomAdapter
426 object GetUnderlyingObject();
428 public partial interface ICustomFactory
430 System.MarshalByRefObject CreateInstance(System.Type serverType);
432 public partial interface ICustomMarshaler
434 void CleanUpManagedData(object ManagedObj);
435 void CleanUpNativeData(System.IntPtr pNativeData);
436 int GetNativeDataSize();
437 System.IntPtr MarshalManagedToNative(object ManagedObj);
438 object MarshalNativeToManaged(System.IntPtr pNativeData);
440 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
441 public partial interface ICustomQueryInterface
443 System.Runtime.InteropServices.CustomQueryInterfaceResult GetInterface(ref System.Guid iid, out System.IntPtr ppv);
445 public partial interface IDynamicInterfaceCastable
447 bool IsInterfaceImplemented(System.RuntimeTypeHandle interfaceType, bool throwIfNotImplemented);
448 System.RuntimeTypeHandle GetInterfaceImplementation(System.RuntimeTypeHandle interfaceType);
450 [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, Inherited=false)]
451 public sealed partial class ImportedFromTypeLibAttribute : System.Attribute
453 public ImportedFromTypeLibAttribute(string tlbFile) { }
454 public string Value { get { throw null; } }
456 [System.AttributeUsageAttribute(System.AttributeTargets.Interface, Inherited=false)]
457 public sealed partial class InterfaceTypeAttribute : System.Attribute
459 public InterfaceTypeAttribute(short interfaceType) { }
460 public InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType interfaceType) { }
461 public System.Runtime.InteropServices.ComInterfaceType Value { get { throw null; } }
463 public partial class InvalidComObjectException : System.SystemException
465 public InvalidComObjectException() { }
466 protected InvalidComObjectException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
467 public InvalidComObjectException(string? message) { }
468 public InvalidComObjectException(string? message, System.Exception? inner) { }
470 public partial class InvalidOleVariantTypeException : System.SystemException
472 public InvalidOleVariantTypeException() { }
473 protected InvalidOleVariantTypeException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
474 public InvalidOleVariantTypeException(string? message) { }
475 public InvalidOleVariantTypeException(string? message, System.Exception? inner) { }
477 [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false)]
478 public sealed partial class LCIDConversionAttribute : System.Attribute
480 public LCIDConversionAttribute(int lcid) { }
481 public int Value { get { throw null; } }
483 [System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple = false, Inherited=false)]
484 public sealed partial class LibraryImportAttribute : System.Attribute
486 public LibraryImportAttribute(string libraryName) { }
487 public string LibraryName { get { throw null; } }
488 public string? EntryPoint { get { throw null; } set { } }
489 public bool SetLastError { get { throw null; } set { }}
490 public System.Runtime.InteropServices.StringMarshalling StringMarshalling { get { throw null; } set { } }
491 public System.Type? StringMarshallingCustomType { get { throw null; } set { } }
493 [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false, AllowMultiple=false)]
494 public sealed partial class ManagedToNativeComInteropStubAttribute : System.Attribute
496 public ManagedToNativeComInteropStubAttribute(System.Type classType, string methodName) { }
497 public System.Type ClassType { get { throw null; } }
498 public string MethodName { get { throw null; } }
500 public static partial class Marshal
502 public static readonly int SystemDefaultCharSize;
503 public static readonly int SystemMaxDBCSCharSize;
504 public static int AddRef(System.IntPtr pUnk) { throw null; }
505 public static System.IntPtr AllocCoTaskMem(int cb) { throw null; }
506 public static System.IntPtr AllocHGlobal(int cb) { throw null; }
507 public static System.IntPtr AllocHGlobal(System.IntPtr cb) { throw null; }
508 public static bool AreComObjectsAvailableForCleanup() { throw null; }
509 [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Built-in COM support is not trim compatible", Url = "https://aka.ms/dotnet-illink/com")]
510 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
511 public static object BindToMoniker(string monikerName) { throw null; }
512 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
513 public static void ChangeWrapperHandleStrength(object otp, bool fIsWeak) { }
514 public static void CleanupUnusedObjectsInCurrentContext() { }
515 public static void Copy(byte[] source, int startIndex, System.IntPtr destination, int length) { }
516 public static void Copy(char[] source, int startIndex, System.IntPtr destination, int length) { }
517 public static void Copy(double[] source, int startIndex, System.IntPtr destination, int length) { }
518 public static void Copy(short[] source, int startIndex, System.IntPtr destination, int length) { }
519 public static void Copy(int[] source, int startIndex, System.IntPtr destination, int length) { }
520 public static void Copy(long[] source, int startIndex, System.IntPtr destination, int length) { }
521 public static void Copy(System.IntPtr source, byte[] destination, int startIndex, int length) { }
522 public static void Copy(System.IntPtr source, char[] destination, int startIndex, int length) { }
523 public static void Copy(System.IntPtr source, double[] destination, int startIndex, int length) { }
524 public static void Copy(System.IntPtr source, short[] destination, int startIndex, int length) { }
525 public static void Copy(System.IntPtr source, int[] destination, int startIndex, int length) { }
526 public static void Copy(System.IntPtr source, long[] destination, int startIndex, int length) { }
527 public static void Copy(System.IntPtr source, System.IntPtr[] destination, int startIndex, int length) { }
528 public static void Copy(System.IntPtr source, float[] destination, int startIndex, int length) { }
529 public static void Copy(System.IntPtr[] source, int startIndex, System.IntPtr destination, int length) { }
530 public static void Copy(float[] source, int startIndex, System.IntPtr destination, int length) { }
531 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
532 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
533 public static System.IntPtr CreateAggregatedObject(System.IntPtr pOuter, object o) { throw null; }
534 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
535 public static System.IntPtr CreateAggregatedObject<T>(System.IntPtr pOuter, T o) where T : notnull { throw null; }
536 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
537 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
538 [return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("o")]
539 public static object? CreateWrapperOfType(object? o, System.Type t) { throw null; }
540 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
541 public static TWrapper CreateWrapperOfType<T, TWrapper>(T? o) { throw null; }
542 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available. Use the DestroyStructure<T> overload instead.")]
543 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
544 public static void DestroyStructure(System.IntPtr ptr, System.Type structuretype) { }
545 public static void DestroyStructure<T>(System.IntPtr ptr) { }
546 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
547 public static int FinalReleaseComObject(object o) { throw null; }
548 public static void FreeBSTR(System.IntPtr ptr) { }
549 public static void FreeCoTaskMem(System.IntPtr ptr) { }
550 public static void FreeHGlobal(System.IntPtr hglobal) { }
551 public static System.Guid GenerateGuidForType(System.Type type) { throw null; }
552 public static string? GenerateProgIdForType(System.Type type) { throw null; }
553 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
554 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
555 public static System.IntPtr GetComInterfaceForObject(object o, System.Type T) { throw null; }
556 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
557 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
558 public static System.IntPtr GetComInterfaceForObject(object o, System.Type T, System.Runtime.InteropServices.CustomQueryInterfaceMode mode) { throw null; }
559 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
560 public static System.IntPtr GetComInterfaceForObject<T, TInterface>([System.Diagnostics.CodeAnalysis.DisallowNullAttribute] T o) { throw null; }
561 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
562 public static object? GetComObjectData(object obj, object key) { throw null; }
563 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the delegate might not be available. Use the GetDelegateForFunctionPointer<TDelegate> overload instead.")]
564 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
565 public static System.Delegate GetDelegateForFunctionPointer(System.IntPtr ptr, System.Type t) { throw null; }
566 public static TDelegate GetDelegateForFunctionPointer<TDelegate>(System.IntPtr ptr) { throw null; }
567 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
568 public static int GetEndComSlot(System.Type t) { throw null; }
569 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
570 [System.ObsoleteAttribute("GetExceptionCode() may be unavailable in future releases.")]
571 public static int GetExceptionCode() { throw null; }
572 public static System.Exception? GetExceptionForHR(int errorCode) { throw null; }
573 public static System.Exception? GetExceptionForHR(int errorCode, System.IntPtr errorInfo) { throw null; }
574 public static System.IntPtr GetExceptionPointers() { throw null; }
575 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the delegate might not be available. Use the GetFunctionPointerForDelegate<TDelegate> overload instead.")]
576 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
577 public static System.IntPtr GetFunctionPointerForDelegate(System.Delegate d) { throw null; }
578 public static System.IntPtr GetFunctionPointerForDelegate<TDelegate>(TDelegate d) where TDelegate : notnull { throw null; }
579 public static System.IntPtr GetHINSTANCE(System.Reflection.Module m) { throw null; }
580 public static int GetHRForException(System.Exception? e) { throw null; }
581 public static int GetHRForLastWin32Error() { throw null; }
582 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
583 public static System.IntPtr GetIDispatchForObject(object o) { throw null; }
584 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
585 public static System.IntPtr GetIUnknownForObject(object o) { throw null; }
586 public static int GetLastPInvokeError() { throw null; }
587 public static int GetLastSystemError() { throw null; }
588 public static int GetLastWin32Error() { throw null; }
589 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
590 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
591 public static void GetNativeVariantForObject(object? obj, System.IntPtr pDstNativeVariant) { }
592 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
593 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
594 public static void GetNativeVariantForObject<T>(T? obj, System.IntPtr pDstNativeVariant) { }
595 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
596 public static object GetObjectForIUnknown(System.IntPtr pUnk) { throw null; }
597 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
598 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
599 public static object? GetObjectForNativeVariant(System.IntPtr pSrcNativeVariant) { throw null; }
600 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
601 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
602 public static T? GetObjectForNativeVariant<T>(System.IntPtr pSrcNativeVariant) { throw null; }
603 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
604 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
605 public static object?[] GetObjectsForNativeVariants(System.IntPtr aSrcNativeVariant, int cVars) { throw null; }
606 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
607 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
608 public static T[] GetObjectsForNativeVariants<T>(System.IntPtr aSrcNativeVariant, int cVars) { throw null; }
609 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
610 public static int GetStartComSlot(System.Type t) { throw null; }
611 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
612 public static object GetTypedObjectForIUnknown(System.IntPtr pUnk, System.Type t) { throw null; }
613 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
614 public static System.Type? GetTypeFromCLSID(System.Guid clsid) { throw null; }
615 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
616 public static string GetTypeInfoName(System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo) { throw null; }
617 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
618 public static object GetUniqueObjectForIUnknown(System.IntPtr unknown) { throw null; }
619 public static void InitHandle(SafeHandle safeHandle, IntPtr handle) { }
620 public static bool IsComObject(object o) { throw null; }
621 public static bool IsTypeVisibleFromCom(System.Type t) { throw null; }
622 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
623 public static System.IntPtr OffsetOf(System.Type t, string fieldName) { throw null; }
624 public static System.IntPtr OffsetOf<T>(string fieldName) { throw null; }
625 public static void Prelink(System.Reflection.MethodInfo m) { }
626 public static void PrelinkAll(System.Type c) { }
627 public static string? PtrToStringAnsi(System.IntPtr ptr) { throw null; }
628 public static string PtrToStringAnsi(System.IntPtr ptr, int len) { throw null; }
629 public static string? PtrToStringAuto(System.IntPtr ptr) { throw null; }
630 public static string? PtrToStringAuto(System.IntPtr ptr, int len) { throw null; }
631 public static string PtrToStringBSTR(System.IntPtr ptr) { throw null; }
632 public static string? PtrToStringUni(System.IntPtr ptr) { throw null; }
633 public static string PtrToStringUni(System.IntPtr ptr, int len) { throw null; }
634 public static string? PtrToStringUTF8(System.IntPtr ptr) { throw null; }
635 public static string PtrToStringUTF8(System.IntPtr ptr, int byteLen) { throw null; }
636 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available")]
637 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
638 public static void PtrToStructure(System.IntPtr ptr, object structure) { }
639 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available")]
640 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
641 public static object? PtrToStructure(System.IntPtr ptr, [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors| System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] System.Type structureType) { throw null; }
642 public static T? PtrToStructure<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]T>(System.IntPtr ptr) { throw null; }
643 public static void PtrToStructure<T>(System.IntPtr ptr, [System.Diagnostics.CodeAnalysis.DisallowNullAttribute] T structure) { }
644 public static int QueryInterface(System.IntPtr pUnk, ref System.Guid iid, out System.IntPtr ppv) { throw null; }
645 public static byte ReadByte(System.IntPtr ptr) { throw null; }
646 public static byte ReadByte(System.IntPtr ptr, int ofs) { throw null; }
647 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available")]
648 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
649 [System.ObsoleteAttribute("ReadByte(Object, Int32) may be unavailable in future releases.")]
650 public static byte ReadByte(object ptr, int ofs) { throw null; }
651 public static short ReadInt16(System.IntPtr ptr) { throw null; }
652 public static short ReadInt16(System.IntPtr ptr, int ofs) { throw null; }
653 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available")]
654 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
655 [System.ObsoleteAttribute("ReadInt16(Object, Int32) may be unavailable in future releases.")]
656 public static short ReadInt16(object ptr, int ofs) { throw null; }
657 public static int ReadInt32(System.IntPtr ptr) { throw null; }
658 public static int ReadInt32(System.IntPtr ptr, int ofs) { throw null; }
659 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available")]
660 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
661 [System.ObsoleteAttribute("ReadInt32(Object, Int32) may be unavailable in future releases.")]
662 public static int ReadInt32(object ptr, int ofs) { throw null; }
663 public static long ReadInt64(System.IntPtr ptr) { throw null; }
664 public static long ReadInt64(System.IntPtr ptr, int ofs) { throw null; }
665 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available")]
666 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
667 [System.ObsoleteAttribute("ReadInt64(Object, Int32) may be unavailable in future releases.")]
668 public static long ReadInt64(object ptr, int ofs) { throw null; }
669 public static System.IntPtr ReadIntPtr(System.IntPtr ptr) { throw null; }
670 public static System.IntPtr ReadIntPtr(System.IntPtr ptr, int ofs) { throw null; }
671 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available")]
672 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
673 [System.ObsoleteAttribute("ReadIntPtr(Object, Int32) may be unavailable in future releases.")]
674 public static System.IntPtr ReadIntPtr(object ptr, int ofs) { throw null; }
675 public static System.IntPtr ReAllocCoTaskMem(System.IntPtr pv, int cb) { throw null; }
676 public static System.IntPtr ReAllocHGlobal(System.IntPtr pv, System.IntPtr cb) { throw null; }
677 public static int Release(System.IntPtr pUnk) { throw null; }
678 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
679 public static int ReleaseComObject(object o) { throw null; }
680 public static System.IntPtr SecureStringToBSTR(System.Security.SecureString s) { throw null; }
681 public static System.IntPtr SecureStringToCoTaskMemAnsi(System.Security.SecureString s) { throw null; }
682 public static System.IntPtr SecureStringToCoTaskMemUnicode(System.Security.SecureString s) { throw null; }
683 public static System.IntPtr SecureStringToGlobalAllocAnsi(System.Security.SecureString s) { throw null; }
684 public static System.IntPtr SecureStringToGlobalAllocUnicode(System.Security.SecureString s) { throw null; }
685 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
686 public static bool SetComObjectData(object obj, object key, object? data) { throw null; }
687 public static void SetLastPInvokeError(int error) { throw null; }
688 public static void SetLastSystemError(int error) { throw null; }
689 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available. Use the SizeOf<T> overload instead.")]
690 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
691 public static int SizeOf(object structure) { throw null; }
692 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available. Use the SizeOf<T> overload instead.")]
693 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
694 public static int SizeOf(System.Type t) { throw null; }
695 public static int SizeOf<T>() { throw null; }
696 public static int SizeOf<T>(T structure) { throw null; }
697 public static System.IntPtr StringToBSTR(string? s) { throw null; }
698 public static System.IntPtr StringToCoTaskMemAnsi(string? s) { throw null; }
699 public static System.IntPtr StringToCoTaskMemAuto(string? s) { throw null; }
700 public static System.IntPtr StringToCoTaskMemUni(string? s) { throw null; }
701 public static System.IntPtr StringToCoTaskMemUTF8(string? s) { throw null; }
702 public static System.IntPtr StringToHGlobalAnsi(string? s) { throw null; }
703 public static System.IntPtr StringToHGlobalAuto(string? s) { throw null; }
704 public static System.IntPtr StringToHGlobalUni(string? s) { throw null; }
705 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available. Use the StructureToPtr<T> overload instead.")]
706 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
707 public static void StructureToPtr(object structure, System.IntPtr ptr, bool fDeleteOld) { }
708 public static void StructureToPtr<T>([System.Diagnostics.CodeAnalysis.DisallowNullAttribute] T structure, System.IntPtr ptr, bool fDeleteOld) { }
709 public static void ThrowExceptionForHR(int errorCode) { }
710 public static void ThrowExceptionForHR(int errorCode, System.IntPtr errorInfo) { }
711 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
712 public static System.IntPtr UnsafeAddrOfPinnedArrayElement(System.Array arr, int index) { throw null; }
713 public static System.IntPtr UnsafeAddrOfPinnedArrayElement<T>(T[] arr, int index) { throw null; }
714 public static void WriteByte(System.IntPtr ptr, byte val) { }
715 public static void WriteByte(System.IntPtr ptr, int ofs, byte val) { }
716 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available")]
717 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
718 [System.ObsoleteAttribute("WriteByte(Object, Int32, Byte) may be unavailable in future releases.")]
719 public static void WriteByte(object ptr, int ofs, byte val) { }
720 public static void WriteInt16(System.IntPtr ptr, char val) { }
721 public static void WriteInt16(System.IntPtr ptr, short val) { }
722 public static void WriteInt16(System.IntPtr ptr, int ofs, char val) { }
723 public static void WriteInt16(System.IntPtr ptr, int ofs, short val) { }
724 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available")]
725 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
726 [System.ObsoleteAttribute("WriteInt16(Object, Int32, Char) may be unavailable in future releases.")]
727 public static void WriteInt16(object ptr, int ofs, char val) { }
728 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available")]
729 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
730 [System.ObsoleteAttribute("WriteInt16(Object, Int32, Int16) may be unavailable in future releases.")]
731 public static void WriteInt16(object ptr, int ofs, short val) { }
732 public static void WriteInt32(System.IntPtr ptr, int val) { }
733 public static void WriteInt32(System.IntPtr ptr, int ofs, int val) { }
734 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available")]
735 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
736 [System.ObsoleteAttribute("WriteInt32(Object, Int32, Int32) may be unavailable in future releases.")]
737 public static void WriteInt32(object ptr, int ofs, int val) { }
738 public static void WriteInt64(System.IntPtr ptr, int ofs, long val) { }
739 public static void WriteInt64(System.IntPtr ptr, long val) { }
740 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available")]
741 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
742 [System.ObsoleteAttribute("WriteInt64(Object, Int32, Int64) may be unavailable in future releases.")]
743 public static void WriteInt64(object ptr, int ofs, long val) { }
744 public static void WriteIntPtr(System.IntPtr ptr, int ofs, System.IntPtr val) { }
745 public static void WriteIntPtr(System.IntPtr ptr, System.IntPtr val) { }
746 [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Marshalling code for the object might not be available")]
747 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
748 [System.ObsoleteAttribute("WriteIntPtr(Object, Int32, IntPtr) may be unavailable in future releases.")]
749 public static void WriteIntPtr(object ptr, int ofs, System.IntPtr val) { }
750 public static void ZeroFreeBSTR(System.IntPtr s) { }
751 public static void ZeroFreeCoTaskMemAnsi(System.IntPtr s) { }
752 public static void ZeroFreeCoTaskMemUnicode(System.IntPtr s) { }
753 public static void ZeroFreeCoTaskMemUTF8(System.IntPtr s) { }
754 public static void ZeroFreeGlobalAllocAnsi(System.IntPtr s) { }
755 public static void ZeroFreeGlobalAllocUnicode(System.IntPtr s) { }
757 [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.ReturnValue, Inherited=false)]
758 public sealed partial class MarshalAsAttribute : System.Attribute
760 public System.Runtime.InteropServices.UnmanagedType ArraySubType;
761 public int IidParameterIndex;
762 public string? MarshalCookie;
763 public string? MarshalType;
764 public System.Type? MarshalTypeRef;
765 public System.Runtime.InteropServices.VarEnum SafeArraySubType;
766 public System.Type? SafeArrayUserDefinedSubType;
767 public int SizeConst;
768 public short SizeParamIndex;
769 public MarshalAsAttribute(short unmanagedType) { }
770 public MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType unmanagedType) { }
771 public System.Runtime.InteropServices.UnmanagedType Value { get { throw null; } }
773 public partial class MarshalDirectiveException : System.SystemException
775 public MarshalDirectiveException() { }
776 protected MarshalDirectiveException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
777 public MarshalDirectiveException(string? message) { }
778 public MarshalDirectiveException(string? message, System.Exception? inner) { }
780 public static partial class NativeLibrary
782 public static void Free(System.IntPtr handle) { }
783 public static System.IntPtr GetMainProgramHandle() { throw null; }
784 public static System.IntPtr GetExport(System.IntPtr handle, string name) { throw null; }
785 public static System.IntPtr Load(string libraryPath) { throw null; }
786 public static System.IntPtr Load(string libraryName, System.Reflection.Assembly assembly, System.Runtime.InteropServices.DllImportSearchPath? searchPath) { throw null; }
787 public static void SetDllImportResolver(System.Reflection.Assembly assembly, System.Runtime.InteropServices.DllImportResolver resolver) { }
788 public static bool TryGetExport(System.IntPtr handle, string name, out System.IntPtr address) { throw null; }
789 public static bool TryLoad(string libraryPath, out System.IntPtr handle) { throw null; }
790 public static bool TryLoad(string libraryName, System.Reflection.Assembly assembly, System.Runtime.InteropServices.DllImportSearchPath? searchPath, out System.IntPtr handle) { throw null; }
792 public static unsafe partial class NativeMemory
794 [System.CLSCompliantAttribute(false)]
795 public static void* AlignedAlloc(nuint byteCount, nuint alignment) { throw null; }
796 [System.CLSCompliantAttribute(false)]
797 public static void AlignedFree(void* ptr) { }
798 [System.CLSCompliantAttribute(false)]
799 public static void* AlignedRealloc(void* ptr, nuint byteCount, nuint alignment) { throw null; }
800 [System.CLSCompliantAttribute(false)]
801 public static void* Alloc(nuint byteCount) { throw null; }
802 [System.CLSCompliantAttribute(false)]
803 public static void* Alloc(nuint elementCount, nuint elementSize) { throw null; }
804 [System.CLSCompliantAttribute(false)]
805 public static void* AllocZeroed(nuint byteCount) { throw null; }
806 [System.CLSCompliantAttribute(false)]
807 public static void* AllocZeroed(nuint elementCount, nuint elementSize) { throw null; }
808 [System.CLSCompliantAttribute(false)]
809 public static void Free(void* ptr) { }
810 [System.CLSCompliantAttribute(false)]
811 public static void* Realloc(void* ptr, nuint byteCount) { throw null; }
812 [System.CLSCompliantAttribute(false)]
813 public static void Clear(void* ptr, nuint byteCount) { throw null; }
815 public readonly partial struct NFloat : System.IComparable, System.IComparable<System.Runtime.InteropServices.NFloat>, System.IEquatable<System.Runtime.InteropServices.NFloat>, System.IFormattable, System.IParsable<System.Runtime.InteropServices.NFloat>, System.ISpanFormattable, System.ISpanParsable<System.Runtime.InteropServices.NFloat>, System.Numerics.IAdditionOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>, System.Numerics.IAdditiveIdentity<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>, System.Numerics.IBinaryFloatingPointIeee754<System.Runtime.InteropServices.NFloat>, System.Numerics.IBinaryNumber<System.Runtime.InteropServices.NFloat>, System.Numerics.IBitwiseOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>, System.Numerics.IComparisonOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>, System.Numerics.IDecrementOperators<System.Runtime.InteropServices.NFloat>, System.Numerics.IDivisionOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>, System.Numerics.IEqualityOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>, System.Numerics.IExponentialFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IFloatingPoint<System.Runtime.InteropServices.NFloat>, System.Numerics.IFloatingPointIeee754<System.Runtime.InteropServices.NFloat>, System.Numerics.IHyperbolicFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IIncrementOperators<System.Runtime.InteropServices.NFloat>, System.Numerics.ILogarithmicFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IMinMaxValue<System.Runtime.InteropServices.NFloat>, System.Numerics.IModulusOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>, System.Numerics.IMultiplicativeIdentity<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>, System.Numerics.IMultiplyOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>, System.Numerics.INumber<System.Runtime.InteropServices.NFloat>, System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>, System.Numerics.IPowerFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IRootFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.ISignedNumber<System.Runtime.InteropServices.NFloat>, System.Numerics.ISubtractionOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>, System.Numerics.ITrigonometricFunctions<System.Runtime.InteropServices.NFloat>, System.Numerics.IUnaryNegationOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>, System.Numerics.IUnaryPlusOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>
817 private readonly int _dummyPrimitive;
818 public NFloat(double value) { throw null; }
819 public NFloat(float value) { throw null; }
820 public static System.Runtime.InteropServices.NFloat E { get { throw null; } }
821 public static System.Runtime.InteropServices.NFloat Epsilon { get { throw null; } }
822 public static System.Runtime.InteropServices.NFloat MaxValue { get { throw null; } }
823 public static System.Runtime.InteropServices.NFloat MinValue { get { throw null; } }
824 public static System.Runtime.InteropServices.NFloat NaN { get { throw null; } }
825 public static System.Runtime.InteropServices.NFloat NegativeInfinity { get { throw null; } }
826 public static System.Runtime.InteropServices.NFloat NegativeZero { get { throw null; } }
827 public static System.Runtime.InteropServices.NFloat Pi { get { throw null; } }
828 public static System.Runtime.InteropServices.NFloat PositiveInfinity { get { throw null; } }
829 public static int Size { get { throw null; } }
830 static System.Runtime.InteropServices.NFloat System.Numerics.IAdditiveIdentity<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>.AdditiveIdentity { get { throw null; } }
831 static System.Runtime.InteropServices.NFloat System.Numerics.IMultiplicativeIdentity<System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat>.MultiplicativeIdentity { get { throw null; } }
832 static System.Runtime.InteropServices.NFloat System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.One { get { throw null; } }
833 static int System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.Radix { get { throw null; } }
834 static System.Runtime.InteropServices.NFloat System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.Zero { get { throw null; } }
835 static System.Runtime.InteropServices.NFloat System.Numerics.ISignedNumber<System.Runtime.InteropServices.NFloat>.NegativeOne { get { throw null; } }
836 public static System.Runtime.InteropServices.NFloat Tau { get { throw null; } }
837 public double Value { get { throw null; } }
838 public static System.Runtime.InteropServices.NFloat Abs(System.Runtime.InteropServices.NFloat value) { throw null; }
839 public static System.Runtime.InteropServices.NFloat Acos(System.Runtime.InteropServices.NFloat x) { throw null; }
840 public static System.Runtime.InteropServices.NFloat Acosh(System.Runtime.InteropServices.NFloat x) { throw null; }
841 public static System.Runtime.InteropServices.NFloat Asin(System.Runtime.InteropServices.NFloat x) { throw null; }
842 public static System.Runtime.InteropServices.NFloat Asinh(System.Runtime.InteropServices.NFloat x) { throw null; }
843 public static System.Runtime.InteropServices.NFloat Atan(System.Runtime.InteropServices.NFloat x) { throw null; }
844 public static System.Runtime.InteropServices.NFloat Atan2(System.Runtime.InteropServices.NFloat y, System.Runtime.InteropServices.NFloat x) { throw null; }
845 public static System.Runtime.InteropServices.NFloat Atanh(System.Runtime.InteropServices.NFloat x) { throw null; }
846 public static System.Runtime.InteropServices.NFloat BitDecrement(System.Runtime.InteropServices.NFloat x) { throw null; }
847 public static System.Runtime.InteropServices.NFloat BitIncrement(System.Runtime.InteropServices.NFloat x) { throw null; }
848 public static System.Runtime.InteropServices.NFloat Cbrt(System.Runtime.InteropServices.NFloat x) { throw null; }
849 public static System.Runtime.InteropServices.NFloat Ceiling(System.Runtime.InteropServices.NFloat x) { throw null; }
850 public static System.Runtime.InteropServices.NFloat Clamp(System.Runtime.InteropServices.NFloat value, System.Runtime.InteropServices.NFloat min, System.Runtime.InteropServices.NFloat max) { throw null; }
851 public int CompareTo(object? obj) { throw null; }
852 public int CompareTo(System.Runtime.InteropServices.NFloat other) { throw null; }
853 public static System.Runtime.InteropServices.NFloat CopySign(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) { throw null; }
854 public static System.Runtime.InteropServices.NFloat Cos(System.Runtime.InteropServices.NFloat x) { throw null; }
855 public static System.Runtime.InteropServices.NFloat Cosh(System.Runtime.InteropServices.NFloat x) { throw null; }
856 public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
857 public bool Equals(System.Runtime.InteropServices.NFloat other) { throw null; }
858 public static System.Runtime.InteropServices.NFloat Exp(System.Runtime.InteropServices.NFloat x) { throw null; }
859 public static System.Runtime.InteropServices.NFloat Exp10(System.Runtime.InteropServices.NFloat x) { throw null; }
860 public static System.Runtime.InteropServices.NFloat Exp10M1(System.Runtime.InteropServices.NFloat x) { throw null; }
861 public static System.Runtime.InteropServices.NFloat Exp2(System.Runtime.InteropServices.NFloat x) { throw null; }
862 public static System.Runtime.InteropServices.NFloat Exp2M1(System.Runtime.InteropServices.NFloat x) { throw null; }
863 public static System.Runtime.InteropServices.NFloat ExpM1(System.Runtime.InteropServices.NFloat x) { throw null; }
864 public static System.Runtime.InteropServices.NFloat Floor(System.Runtime.InteropServices.NFloat x) { throw null; }
865 public static System.Runtime.InteropServices.NFloat FusedMultiplyAdd(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right, System.Runtime.InteropServices.NFloat addend) { throw null; }
866 public override int GetHashCode() { throw null; }
867 public static System.Runtime.InteropServices.NFloat Ieee754Remainder(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
868 public static int ILogB(System.Runtime.InteropServices.NFloat x) { throw null; }
869 public static bool IsEvenInteger(System.Runtime.InteropServices.NFloat value) { throw null; }
870 public static bool IsFinite(System.Runtime.InteropServices.NFloat value) { throw null; }
871 public static bool IsInfinity(System.Runtime.InteropServices.NFloat value) { throw null; }
872 public static bool IsInteger(System.Runtime.InteropServices.NFloat value) { throw null; }
873 public static bool IsNaN(System.Runtime.InteropServices.NFloat value) { throw null; }
874 public static bool IsNegative(System.Runtime.InteropServices.NFloat value) { throw null; }
875 public static bool IsNegativeInfinity(System.Runtime.InteropServices.NFloat value) { throw null; }
876 public static bool IsNormal(System.Runtime.InteropServices.NFloat value) { throw null; }
877 public static bool IsOddInteger(System.Runtime.InteropServices.NFloat value) { throw null; }
878 public static bool IsPositive(System.Runtime.InteropServices.NFloat value) { throw null; }
879 public static bool IsPositiveInfinity(System.Runtime.InteropServices.NFloat value) { throw null; }
880 public static bool IsPow2(System.Runtime.InteropServices.NFloat value) { throw null; }
881 public static bool IsRealNumber(System.Runtime.InteropServices.NFloat value) { throw null; }
882 public static bool IsSubnormal(System.Runtime.InteropServices.NFloat value) { throw null; }
883 public static System.Runtime.InteropServices.NFloat Log(System.Runtime.InteropServices.NFloat x) { throw null; }
884 public static System.Runtime.InteropServices.NFloat Log(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat newBase) { throw null; }
885 public static System.Runtime.InteropServices.NFloat Log10(System.Runtime.InteropServices.NFloat x) { throw null; }
886 public static System.Runtime.InteropServices.NFloat Log10P1(System.Runtime.InteropServices.NFloat x) { throw null; }
887 public static System.Runtime.InteropServices.NFloat Log2(System.Runtime.InteropServices.NFloat value) { throw null; }
888 public static System.Runtime.InteropServices.NFloat Log2P1(System.Runtime.InteropServices.NFloat x) { throw null; }
889 public static System.Runtime.InteropServices.NFloat LogP1(System.Runtime.InteropServices.NFloat x) { throw null; }
890 public static System.Runtime.InteropServices.NFloat Max(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) { throw null; }
891 public static System.Runtime.InteropServices.NFloat MaxMagnitude(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) { throw null; }
892 public static System.Runtime.InteropServices.NFloat MaxMagnitudeNumber(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) { throw null; }
893 public static System.Runtime.InteropServices.NFloat MaxNumber(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) { throw null; }
894 public static System.Runtime.InteropServices.NFloat Min(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) { throw null; }
895 public static System.Runtime.InteropServices.NFloat MinMagnitude(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) { throw null; }
896 public static System.Runtime.InteropServices.NFloat MinMagnitudeNumber(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) { throw null; }
897 public static System.Runtime.InteropServices.NFloat MinNumber(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) { throw null; }
898 public static System.Runtime.InteropServices.NFloat operator +(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
899 public static explicit operator checked byte (System.Runtime.InteropServices.NFloat value) { throw null; }
900 public static explicit operator checked char (System.Runtime.InteropServices.NFloat value) { throw null; }
901 public static explicit operator checked short (System.Runtime.InteropServices.NFloat value) { throw null; }
902 public static explicit operator checked int (System.Runtime.InteropServices.NFloat value) { throw null; }
903 public static explicit operator checked long (System.Runtime.InteropServices.NFloat value) { throw null; }
904 public static explicit operator checked System.Int128 (System.Runtime.InteropServices.NFloat value) { throw null; }
905 public static explicit operator checked nint (System.Runtime.InteropServices.NFloat value) { throw null; }
906 [System.CLSCompliantAttribute(false)]
907 public static explicit operator checked sbyte (System.Runtime.InteropServices.NFloat value) { throw null; }
908 [System.CLSCompliantAttribute(false)]
909 public static explicit operator checked ushort (System.Runtime.InteropServices.NFloat value) { throw null; }
910 [System.CLSCompliantAttribute(false)]
911 public static explicit operator checked uint (System.Runtime.InteropServices.NFloat value) { throw null; }
912 [System.CLSCompliantAttribute(false)]
913 public static explicit operator checked ulong (System.Runtime.InteropServices.NFloat value) { throw null; }
914 [System.CLSCompliantAttribute(false)]
915 public static explicit operator checked System.UInt128 (System.Runtime.InteropServices.NFloat value) { throw null; }
916 [System.CLSCompliantAttribute(false)]
917 public static explicit operator checked nuint (System.Runtime.InteropServices.NFloat value) { throw null; }
918 public static System.Runtime.InteropServices.NFloat operator --(System.Runtime.InteropServices.NFloat value) { throw null; }
919 public static System.Runtime.InteropServices.NFloat operator /(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
920 public static bool operator ==(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
921 public static explicit operator System.Runtime.InteropServices.NFloat (decimal value) { throw null; }
922 public static explicit operator System.Runtime.InteropServices.NFloat (double value) { throw null; }
923 public static explicit operator System.Runtime.InteropServices.NFloat (System.Int128 value) { throw null; }
924 public static explicit operator byte (System.Runtime.InteropServices.NFloat value) { throw null; }
925 public static explicit operator char (System.Runtime.InteropServices.NFloat value) { throw null; }
926 public static explicit operator decimal (System.Runtime.InteropServices.NFloat value) { throw null; }
927 public static explicit operator System.Half (System.Runtime.InteropServices.NFloat value) { throw null; }
928 public static explicit operator System.Int128 (System.Runtime.InteropServices.NFloat value) { throw null; }
929 public static explicit operator short (System.Runtime.InteropServices.NFloat value) { throw null; }
930 public static explicit operator int (System.Runtime.InteropServices.NFloat value) { throw null; }
931 public static explicit operator long (System.Runtime.InteropServices.NFloat value) { throw null; }
932 public static explicit operator nint (System.Runtime.InteropServices.NFloat value) { throw null; }
933 [System.CLSCompliantAttribute(false)]
934 public static explicit operator sbyte (System.Runtime.InteropServices.NFloat value) { throw null; }
935 public static explicit operator float (System.Runtime.InteropServices.NFloat value) { throw null; }
936 [System.CLSCompliantAttribute(false)]
937 public static explicit operator System.UInt128 (System.Runtime.InteropServices.NFloat value) { throw null; }
938 [System.CLSCompliantAttribute(false)]
939 public static explicit operator ushort (System.Runtime.InteropServices.NFloat value) { throw null; }
940 [System.CLSCompliantAttribute(false)]
941 public static explicit operator uint (System.Runtime.InteropServices.NFloat value) { throw null; }
942 [System.CLSCompliantAttribute(false)]
943 public static explicit operator ulong (System.Runtime.InteropServices.NFloat value) { throw null; }
944 [System.CLSCompliantAttribute(false)]
945 public static explicit operator nuint (System.Runtime.InteropServices.NFloat value) { throw null; }
946 [System.CLSCompliantAttribute(false)]
947 public static explicit operator System.Runtime.InteropServices.NFloat (System.UInt128 value) { throw null; }
948 public static bool operator >(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
949 public static bool operator >=(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
950 public static implicit operator System.Runtime.InteropServices.NFloat (byte value) { throw null; }
951 public static implicit operator System.Runtime.InteropServices.NFloat (char value) { throw null; }
952 public static implicit operator System.Runtime.InteropServices.NFloat (short value) { throw null; }
953 public static implicit operator System.Runtime.InteropServices.NFloat (int value) { throw null; }
954 public static implicit operator System.Runtime.InteropServices.NFloat (long value) { throw null; }
955 public static implicit operator System.Runtime.InteropServices.NFloat (nint value) { throw null; }
956 public static implicit operator System.Runtime.InteropServices.NFloat (System.Half value) { throw null; }
957 public static implicit operator double (System.Runtime.InteropServices.NFloat value) { throw null; }
958 [System.CLSCompliantAttribute(false)]
959 public static implicit operator System.Runtime.InteropServices.NFloat (sbyte value) { throw null; }
960 public static implicit operator System.Runtime.InteropServices.NFloat (float value) { throw null; }
961 [System.CLSCompliantAttribute(false)]
962 public static implicit operator System.Runtime.InteropServices.NFloat (ushort value) { throw null; }
963 [System.CLSCompliantAttribute(false)]
964 public static implicit operator System.Runtime.InteropServices.NFloat (uint value) { throw null; }
965 [System.CLSCompliantAttribute(false)]
966 public static implicit operator System.Runtime.InteropServices.NFloat (ulong value) { throw null; }
967 [System.CLSCompliantAttribute(false)]
968 public static implicit operator System.Runtime.InteropServices.NFloat (nuint value) { throw null; }
969 public static System.Runtime.InteropServices.NFloat operator ++(System.Runtime.InteropServices.NFloat value) { throw null; }
970 public static bool operator !=(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
971 public static bool operator <(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
972 public static bool operator <=(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
973 public static System.Runtime.InteropServices.NFloat operator %(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
974 public static System.Runtime.InteropServices.NFloat operator *(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
975 public static System.Runtime.InteropServices.NFloat operator -(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
976 public static System.Runtime.InteropServices.NFloat operator -(System.Runtime.InteropServices.NFloat value) { throw null; }
977 public static System.Runtime.InteropServices.NFloat operator +(System.Runtime.InteropServices.NFloat value) { throw null; }
978 public static System.Runtime.InteropServices.NFloat Parse(System.ReadOnlySpan<char> s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.AllowDecimalPoint | System.Globalization.NumberStyles.AllowExponent | System.Globalization.NumberStyles.AllowLeadingSign | System.Globalization.NumberStyles.AllowLeadingWhite | System.Globalization.NumberStyles.AllowThousands | System.Globalization.NumberStyles.AllowTrailingWhite, System.IFormatProvider? provider = null) { throw null; }
979 public static System.Runtime.InteropServices.NFloat Parse(System.ReadOnlySpan<char> s, System.IFormatProvider? provider) { throw null; }
980 public static System.Runtime.InteropServices.NFloat Parse(string s) { throw null; }
981 public static System.Runtime.InteropServices.NFloat Parse(string s, System.Globalization.NumberStyles style) { throw null; }
982 public static System.Runtime.InteropServices.NFloat Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; }
983 public static System.Runtime.InteropServices.NFloat Parse(string s, System.IFormatProvider? provider) { throw null; }
984 public static System.Runtime.InteropServices.NFloat Pow(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y) { throw null; }
985 public static System.Runtime.InteropServices.NFloat ReciprocalEstimate(System.Runtime.InteropServices.NFloat x) { throw null; }
986 public static System.Runtime.InteropServices.NFloat ReciprocalSqrtEstimate(System.Runtime.InteropServices.NFloat x) { throw null; }
987 public static System.Runtime.InteropServices.NFloat Round(System.Runtime.InteropServices.NFloat x) { throw null; }
988 public static System.Runtime.InteropServices.NFloat Round(System.Runtime.InteropServices.NFloat x, int digits) { throw null; }
989 public static System.Runtime.InteropServices.NFloat Round(System.Runtime.InteropServices.NFloat x, int digits, System.MidpointRounding mode) { throw null; }
990 public static System.Runtime.InteropServices.NFloat Round(System.Runtime.InteropServices.NFloat x, System.MidpointRounding mode) { throw null; }
991 public static System.Runtime.InteropServices.NFloat ScaleB(System.Runtime.InteropServices.NFloat x, int n) { throw null; }
992 public static int Sign(System.Runtime.InteropServices.NFloat value) { throw null; }
993 public static System.Runtime.InteropServices.NFloat Sin(System.Runtime.InteropServices.NFloat x) { throw null; }
994 public static (System.Runtime.InteropServices.NFloat Sin, System.Runtime.InteropServices.NFloat Cos) SinCos(System.Runtime.InteropServices.NFloat x) { throw null; }
995 public static System.Runtime.InteropServices.NFloat Sinh(System.Runtime.InteropServices.NFloat x) { throw null; }
996 public static System.Runtime.InteropServices.NFloat Sqrt(System.Runtime.InteropServices.NFloat x) { throw null; }
997 static System.Runtime.InteropServices.NFloat System.Numerics.IAdditionOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>.operator checked +(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
998 static System.Runtime.InteropServices.NFloat System.Numerics.IBitwiseOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>.operator &(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
999 static System.Runtime.InteropServices.NFloat System.Numerics.IBitwiseOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>.operator |(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
1000 static System.Runtime.InteropServices.NFloat System.Numerics.IBitwiseOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>.operator ^(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
1001 static System.Runtime.InteropServices.NFloat System.Numerics.IBitwiseOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>.operator ~(System.Runtime.InteropServices.NFloat value) { throw null; }
1002 static System.Runtime.InteropServices.NFloat System.Numerics.IDecrementOperators<System.Runtime.InteropServices.NFloat>.operator checked --(System.Runtime.InteropServices.NFloat value) { throw null; }
1003 static System.Runtime.InteropServices.NFloat System.Numerics.IDivisionOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>.operator checked /(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
1004 int System.Numerics.IFloatingPoint<System.Runtime.InteropServices.NFloat>.GetExponentByteCount() { throw null; }
1005 int System.Numerics.IFloatingPoint<System.Runtime.InteropServices.NFloat>.GetExponentShortestBitLength() { throw null; }
1006 int System.Numerics.IFloatingPoint<System.Runtime.InteropServices.NFloat>.GetSignificandBitLength() { throw null; }
1007 int System.Numerics.IFloatingPoint<System.Runtime.InteropServices.NFloat>.GetSignificandByteCount() { throw null; }
1008 bool System.Numerics.IFloatingPoint<System.Runtime.InteropServices.NFloat>.TryWriteExponentBigEndian(System.Span<byte> destination, out int bytesWritten) { throw null; }
1009 bool System.Numerics.IFloatingPoint<System.Runtime.InteropServices.NFloat>.TryWriteExponentLittleEndian(System.Span<byte> destination, out int bytesWritten) { throw null; }
1010 bool System.Numerics.IFloatingPoint<System.Runtime.InteropServices.NFloat>.TryWriteSignificandBigEndian(System.Span<byte> destination, out int bytesWritten) { throw null; }
1011 bool System.Numerics.IFloatingPoint<System.Runtime.InteropServices.NFloat>.TryWriteSignificandLittleEndian(System.Span<byte> destination, out int bytesWritten) { throw null; }
1012 static System.Runtime.InteropServices.NFloat System.Numerics.IIncrementOperators<System.Runtime.InteropServices.NFloat>.operator checked ++(System.Runtime.InteropServices.NFloat value) { throw null; }
1013 static System.Runtime.InteropServices.NFloat System.Numerics.IMultiplyOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>.operator checked *(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
1014 static bool System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.IsCanonical(System.Runtime.InteropServices.NFloat value) { throw null; }
1015 static bool System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.IsComplexNumber(System.Runtime.InteropServices.NFloat value) { throw null; }
1016 static bool System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.IsImaginaryNumber(System.Runtime.InteropServices.NFloat value) { throw null; }
1017 static bool System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.IsZero(System.Runtime.InteropServices.NFloat value) { throw null; }
1018 static bool System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.TryConvertFromChecked<TOther>(TOther value, out System.Runtime.InteropServices.NFloat result) { throw null; }
1019 static bool System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.TryConvertFromSaturating<TOther>(TOther value, out System.Runtime.InteropServices.NFloat result) { throw null; }
1020 static bool System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.TryConvertFromTruncating<TOther>(TOther value, out System.Runtime.InteropServices.NFloat result) { throw null; }
1021 static bool System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.TryConvertToChecked<TOther>(System.Runtime.InteropServices.NFloat value, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out TOther result) { throw null; }
1022 static bool System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.TryConvertToSaturating<TOther>(System.Runtime.InteropServices.NFloat value, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out TOther result) { throw null; }
1023 static bool System.Numerics.INumberBase<System.Runtime.InteropServices.NFloat>.TryConvertToTruncating<TOther>(System.Runtime.InteropServices.NFloat value, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out TOther result) { throw null; }
1024 static System.Runtime.InteropServices.NFloat System.Numerics.ISubtractionOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>.operator checked -(System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right) { throw null; }
1025 static System.Runtime.InteropServices.NFloat System.Numerics.IUnaryNegationOperators<System.Runtime.InteropServices.NFloat, System.Runtime.InteropServices.NFloat>.operator checked -(System.Runtime.InteropServices.NFloat value) { throw null; }
1026 public static System.Runtime.InteropServices.NFloat Tan(System.Runtime.InteropServices.NFloat x) { throw null; }
1027 public static System.Runtime.InteropServices.NFloat Tanh(System.Runtime.InteropServices.NFloat x) { throw null; }
1028 public override string ToString() { throw null; }
1029 public string ToString(System.IFormatProvider? provider) { throw null; }
1030 public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; }
1031 public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; }
1032 public static System.Runtime.InteropServices.NFloat Truncate(System.Runtime.InteropServices.NFloat x) { throw null; }
1033 public bool TryFormat(System.Span<char> destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan<char> format = default(System.ReadOnlySpan<char>), System.IFormatProvider? provider = null) { throw null; }
1034 public static bool TryParse(System.ReadOnlySpan<char> s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Runtime.InteropServices.NFloat result) { throw null; }
1035 public static bool TryParse(System.ReadOnlySpan<char> s, System.IFormatProvider? provider, out System.Runtime.InteropServices.NFloat result) { throw null; }
1036 public static bool TryParse(System.ReadOnlySpan<char> s, out System.Runtime.InteropServices.NFloat result) { throw null; }
1037 public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Runtime.InteropServices.NFloat result) { throw null; }
1038 public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.IFormatProvider? provider, out System.Runtime.InteropServices.NFloat result) { throw null; }
1039 public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, out System.Runtime.InteropServices.NFloat result) { throw null; }
1041 [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)]
1042 public sealed partial class OptionalAttribute : System.Attribute
1044 public OptionalAttribute() { }
1046 public enum PosixSignal
1048 [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("windows")]
1050 [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("windows")]
1052 [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("windows")]
1054 [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("windows")]
1056 [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("windows")]
1058 [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("windows")]
1065 public sealed partial class PosixSignalContext
1067 public PosixSignalContext(System.Runtime.InteropServices.PosixSignal signal) { }
1068 public bool Cancel { get { throw null; } set { } }
1069 public System.Runtime.InteropServices.PosixSignal Signal { get { throw null; } }
1071 public sealed partial class PosixSignalRegistration : System.IDisposable
1073 internal PosixSignalRegistration() { }
1074 [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("android")]
1075 [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")]
1076 [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")]
1077 [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")]
1078 public static System.Runtime.InteropServices.PosixSignalRegistration Create(System.Runtime.InteropServices.PosixSignal signal, System.Action<System.Runtime.InteropServices.PosixSignalContext> handler) { throw null; }
1079 public void Dispose() { }
1080 ~PosixSignalRegistration() { }
1082 [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false)]
1083 public sealed partial class PreserveSigAttribute : System.Attribute
1085 public PreserveSigAttribute() { }
1087 [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, Inherited=false, AllowMultiple=true)]
1088 public sealed partial class PrimaryInteropAssemblyAttribute : System.Attribute
1090 public PrimaryInteropAssemblyAttribute(int major, int minor) { }
1091 public int MajorVersion { get { throw null; } }
1092 public int MinorVersion { get { throw null; } }
1094 [System.AttributeUsageAttribute(System.AttributeTargets.Class, Inherited=false)]
1095 public sealed partial class ProgIdAttribute : System.Attribute
1097 public ProgIdAttribute(string progId) { }
1098 public string Value { get { throw null; } }
1100 public static partial class RuntimeEnvironment
1102 [System.ObsoleteAttribute("RuntimeEnvironment members SystemConfigurationFile, GetRuntimeInterfaceAsIntPtr, and GetRuntimeInterfaceAsObject are not supported and throw PlatformNotSupportedException.", DiagnosticId = "SYSLIB0019", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
1103 public static string SystemConfigurationFile { get { throw null; } }
1104 public static bool FromGlobalAccessCache(System.Reflection.Assembly a) { throw null; }
1105 public static string GetRuntimeDirectory() { throw null; }
1106 [System.ObsoleteAttribute("RuntimeEnvironment members SystemConfigurationFile, GetRuntimeInterfaceAsIntPtr, and GetRuntimeInterfaceAsObject are not supported and throw PlatformNotSupportedException.", DiagnosticId = "SYSLIB0019", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
1107 public static System.IntPtr GetRuntimeInterfaceAsIntPtr(System.Guid clsid, System.Guid riid) { throw null; }
1108 [System.ObsoleteAttribute("RuntimeEnvironment members SystemConfigurationFile, GetRuntimeInterfaceAsIntPtr, and GetRuntimeInterfaceAsObject are not supported and throw PlatformNotSupportedException.", DiagnosticId = "SYSLIB0019", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
1109 public static object GetRuntimeInterfaceAsObject(System.Guid clsid, System.Guid riid) { throw null; }
1110 public static string GetSystemVersion() { throw null; }
1112 public partial class SafeArrayRankMismatchException : System.SystemException
1114 public SafeArrayRankMismatchException() { }
1115 protected SafeArrayRankMismatchException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
1116 public SafeArrayRankMismatchException(string? message) { }
1117 public SafeArrayRankMismatchException(string? message, System.Exception? inner) { }
1119 public partial class SafeArrayTypeMismatchException : System.SystemException
1121 public SafeArrayTypeMismatchException() { }
1122 protected SafeArrayTypeMismatchException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
1123 public SafeArrayTypeMismatchException(string? message) { }
1124 public SafeArrayTypeMismatchException(string? message, System.Exception? inner) { }
1126 public partial class SEHException : System.Runtime.InteropServices.ExternalException
1128 public SEHException() { }
1129 protected SEHException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
1130 public SEHException(string? message) { }
1131 public SEHException(string? message, System.Exception? inner) { }
1132 public virtual bool CanResume() { throw null; }
1134 public partial class StandardOleMarshalObject : System.MarshalByRefObject
1136 protected StandardOleMarshalObject() { }
1138 public enum StringMarshalling
1144 [System.AttributeUsageAttribute(System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Struct, AllowMultiple=false, Inherited=false)]
1145 public sealed partial class TypeIdentifierAttribute : System.Attribute
1147 public TypeIdentifierAttribute() { }
1148 public TypeIdentifierAttribute(string? scope, string? identifier) { }
1149 public string? Identifier { get { throw null; } }
1150 public string? Scope { get { throw null; } }
1152 [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false)]
1153 public sealed partial class TypeLibFuncAttribute : System.Attribute
1155 public TypeLibFuncAttribute(short flags) { }
1156 public TypeLibFuncAttribute(System.Runtime.InteropServices.TypeLibFuncFlags flags) { }
1157 public System.Runtime.InteropServices.TypeLibFuncFlags Value { get { throw null; } }
1159 [System.FlagsAttribute]
1160 public enum TypeLibFuncFlags
1169 FUsesGetLastError = 128,
1170 FDefaultCollelem = 256,
1172 FNonBrowsable = 1024,
1173 FReplaceable = 2048,
1174 FImmediateBind = 4096,
1176 [System.AttributeUsageAttribute(System.AttributeTargets.Interface, Inherited=false)]
1177 public sealed partial class TypeLibImportClassAttribute : System.Attribute
1179 public TypeLibImportClassAttribute(System.Type importClass) { }
1180 public string Value { get { throw null; } }
1182 [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Struct, Inherited=false)]
1183 public sealed partial class TypeLibTypeAttribute : System.Attribute
1185 public TypeLibTypeAttribute(short flags) { }
1186 public TypeLibTypeAttribute(System.Runtime.InteropServices.TypeLibTypeFlags flags) { }
1187 public System.Runtime.InteropServices.TypeLibTypeFlags Value { get { throw null; } }
1189 [System.FlagsAttribute]
1190 public enum TypeLibTypeFlags
1199 FNonExtensible = 128,
1200 FOleAutomation = 256,
1202 FAggregatable = 1024,
1203 FReplaceable = 2048,
1204 FDispatchable = 4096,
1205 FReverseBind = 8192,
1207 [System.AttributeUsageAttribute(System.AttributeTargets.Field, Inherited=false)]
1208 public sealed partial class TypeLibVarAttribute : System.Attribute
1210 public TypeLibVarAttribute(short flags) { }
1211 public TypeLibVarAttribute(System.Runtime.InteropServices.TypeLibVarFlags flags) { }
1212 public System.Runtime.InteropServices.TypeLibVarFlags Value { get { throw null; } }
1214 [System.FlagsAttribute]
1215 public enum TypeLibVarFlags
1225 FDefaultCollelem = 256,
1227 FNonBrowsable = 1024,
1228 FReplaceable = 2048,
1229 FImmediateBind = 4096,
1231 [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, Inherited=false)]
1232 public sealed partial class TypeLibVersionAttribute : System.Attribute
1234 public TypeLibVersionAttribute(int major, int minor) { }
1235 public int MajorVersion { get { throw null; } }
1236 public int MinorVersion { get { throw null; } }
1238 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1239 public sealed partial class UnknownWrapper
1241 public UnknownWrapper(object? obj) { }
1242 public object? WrappedObject { get { throw null; } }
1244 [System.AttributeUsageAttribute(System.AttributeTargets.Delegate, AllowMultiple=false, Inherited=false)]
1245 public sealed partial class UnmanagedFunctionPointerAttribute : System.Attribute
1247 public bool BestFitMapping;
1248 public System.Runtime.InteropServices.CharSet CharSet;
1249 public bool SetLastError;
1250 public bool ThrowOnUnmappableChar;
1251 public UnmanagedFunctionPointerAttribute(System.Runtime.InteropServices.CallingConvention callingConvention) { }
1252 public System.Runtime.InteropServices.CallingConvention CallingConvention { get { throw null; } }
1254 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1285 VT_USERDEFINED = 29,
1293 VT_STREAMED_OBJECT = 68,
1294 VT_STORED_OBJECT = 69,
1295 VT_BLOB_OBJECT = 70,
1302 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1303 public sealed partial class VariantWrapper
1305 public VariantWrapper(object? obj) { }
1306 public object? WrappedObject { get { throw null; } }
1308 [System.FlagsAttribute]
1309 public enum CreateComInterfaceFlags
1312 CallerDefinedIUnknown = 1,
1315 [System.FlagsAttribute]
1316 public enum CreateObjectFlags
1324 [System.Runtime.Versioning.UnsupportedOSPlatform("android")]
1325 [System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
1326 [System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
1327 [System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
1328 [System.CLSCompliantAttribute(false)]
1329 public abstract class ComWrappers
1331 public struct ComInterfaceEntry
1333 public System.Guid IID;
1334 public System.IntPtr Vtable;
1336 public struct ComInterfaceDispatch
1338 public System.IntPtr Vtable;
1339 public unsafe static T GetInstance<T>(ComInterfaceDispatch* dispatchPtr) where T : class { throw null; }
1341 public System.IntPtr GetOrCreateComInterfaceForObject(object instance, CreateComInterfaceFlags flags) { throw null; }
1342 protected unsafe abstract ComInterfaceEntry* ComputeVtables(object obj, CreateComInterfaceFlags flags, out int count);
1343 public object GetOrCreateObjectForComInstance(System.IntPtr externalComObject, CreateObjectFlags flags) { throw null; }
1344 protected abstract object? CreateObject(System.IntPtr externalComObject, CreateObjectFlags flags);
1345 public object GetOrRegisterObjectForComInstance(System.IntPtr externalComObject, CreateObjectFlags flags, object wrapper) { throw null; }
1346 public object GetOrRegisterObjectForComInstance(System.IntPtr externalComObject, CreateObjectFlags flags, object wrapper, System.IntPtr inner) { throw null; }
1347 protected abstract void ReleaseObjects(System.Collections.IEnumerable objects);
1348 public static void RegisterForTrackerSupport(ComWrappers instance) { }
1349 [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
1350 public static void RegisterForMarshalling(ComWrappers instance) { }
1351 protected static void GetIUnknownImpl(out System.IntPtr fpQueryInterface, out System.IntPtr fpAddRef, out System.IntPtr fpRelease) { throw null; }
1353 [System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
1354 public sealed class UnmanagedCallConvAttribute : System.Attribute
1356 public UnmanagedCallConvAttribute() { }
1357 public System.Type[]? CallConvs;
1359 [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited = false)]
1360 public sealed class UnmanagedCallersOnlyAttribute : System.Attribute
1362 public UnmanagedCallersOnlyAttribute() { }
1363 public System.Type[]? CallConvs;
1364 public string? EntryPoint;
1367 namespace System.Runtime.InteropServices.ComTypes
1369 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1370 [System.FlagsAttribute]
1374 ADVF_PRIMEFIRST = 2,
1376 ADVFCACHE_NOHANDLER = 8,
1377 ADVFCACHE_FORCEBUILTIN = 16,
1378 ADVFCACHE_ONSAVE = 32,
1379 ADVF_DATAONSTOP = 64,
1381 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1382 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Explicit)]
1383 public partial struct BINDPTR
1385 [System.Runtime.InteropServices.FieldOffsetAttribute(0)]
1386 public System.IntPtr lpfuncdesc;
1387 [System.Runtime.InteropServices.FieldOffsetAttribute(0)]
1388 public System.IntPtr lptcomp;
1389 [System.Runtime.InteropServices.FieldOffsetAttribute(0)]
1390 public System.IntPtr lpvardesc;
1392 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1393 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1394 public partial struct BIND_OPTS
1396 public int cbStruct;
1397 public int dwTickCountDeadline;
1398 public int grfFlags;
1401 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1402 public enum CALLCONV
1415 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1416 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1417 public partial struct CONNECTDATA
1419 public int dwCookie;
1422 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1428 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1429 public enum DESCKIND
1432 DESCKIND_FUNCDESC = 1,
1433 DESCKIND_VARDESC = 2,
1434 DESCKIND_TYPECOMP = 3,
1435 DESCKIND_IMPLICITAPPOBJ = 4,
1438 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1439 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1440 public partial struct DISPPARAMS
1443 public int cNamedArgs;
1444 public System.IntPtr rgdispidNamedArgs;
1445 public System.IntPtr rgvarg;
1447 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1448 [System.FlagsAttribute]
1449 public enum DVASPECT
1451 DVASPECT_CONTENT = 1,
1452 DVASPECT_THUMBNAIL = 2,
1454 DVASPECT_DOCPRINT = 8,
1456 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1457 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1458 public partial struct ELEMDESC
1460 public System.Runtime.InteropServices.ComTypes.ELEMDESC.DESCUNION desc;
1461 public System.Runtime.InteropServices.ComTypes.TYPEDESC tdesc;
1462 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Explicit)]
1463 public partial struct DESCUNION
1465 [System.Runtime.InteropServices.FieldOffsetAttribute(0)]
1466 public System.Runtime.InteropServices.ComTypes.IDLDESC idldesc;
1467 [System.Runtime.InteropServices.FieldOffsetAttribute(0)]
1468 public System.Runtime.InteropServices.ComTypes.PARAMDESC paramdesc;
1471 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1472 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1473 public partial struct EXCEPINFO
1475 public string bstrDescription;
1476 public string bstrHelpFile;
1477 public string bstrSource;
1478 public int dwHelpContext;
1479 public System.IntPtr pfnDeferredFillIn;
1480 public System.IntPtr pvReserved;
1483 public short wReserved;
1485 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1486 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1487 public partial struct FILETIME
1489 public int dwHighDateTime;
1490 public int dwLowDateTime;
1492 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1493 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1494 public partial struct FORMATETC
1496 public short cfFormat;
1497 public System.Runtime.InteropServices.ComTypes.DVASPECT dwAspect;
1499 public System.IntPtr ptd;
1500 public System.Runtime.InteropServices.ComTypes.TYMED tymed;
1502 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1503 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1504 public partial struct FUNCDESC
1506 public System.Runtime.InteropServices.ComTypes.CALLCONV callconv;
1507 public short cParams;
1508 public short cParamsOpt;
1509 public short cScodes;
1510 public System.Runtime.InteropServices.ComTypes.ELEMDESC elemdescFunc;
1511 public System.Runtime.InteropServices.ComTypes.FUNCKIND funckind;
1512 public System.Runtime.InteropServices.ComTypes.INVOKEKIND invkind;
1513 public System.IntPtr lprgelemdescParam;
1514 public System.IntPtr lprgscode;
1517 public short wFuncFlags;
1519 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1520 [System.FlagsAttribute]
1521 public enum FUNCFLAGS : short
1523 FUNCFLAG_FRESTRICTED = (short)1,
1524 FUNCFLAG_FSOURCE = (short)2,
1525 FUNCFLAG_FBINDABLE = (short)4,
1526 FUNCFLAG_FREQUESTEDIT = (short)8,
1527 FUNCFLAG_FDISPLAYBIND = (short)16,
1528 FUNCFLAG_FDEFAULTBIND = (short)32,
1529 FUNCFLAG_FHIDDEN = (short)64,
1530 FUNCFLAG_FUSESGETLASTERROR = (short)128,
1531 FUNCFLAG_FDEFAULTCOLLELEM = (short)256,
1532 FUNCFLAG_FUIDEFAULT = (short)512,
1533 FUNCFLAG_FNONBROWSABLE = (short)1024,
1534 FUNCFLAG_FREPLACEABLE = (short)2048,
1535 FUNCFLAG_FIMMEDIATEBIND = (short)4096,
1537 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1538 public enum FUNCKIND
1541 FUNC_PUREVIRTUAL = 1,
1542 FUNC_NONVIRTUAL = 2,
1546 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1547 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1548 public partial interface IAdviseSink
1551 void OnDataChange(ref System.Runtime.InteropServices.ComTypes.FORMATETC format, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM stgmedium);
1552 void OnRename(System.Runtime.InteropServices.ComTypes.IMoniker moniker);
1554 void OnViewChange(int aspect, int index);
1556 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1557 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1558 public partial interface IBindCtx
1560 void EnumObjectParam(out System.Runtime.InteropServices.ComTypes.IEnumString? ppenum);
1561 void GetBindOptions(ref System.Runtime.InteropServices.ComTypes.BIND_OPTS pbindopts);
1562 void GetObjectParam(string pszKey, out object? ppunk);
1563 void GetRunningObjectTable(out System.Runtime.InteropServices.ComTypes.IRunningObjectTable? pprot);
1564 void RegisterObjectBound(object punk);
1565 void RegisterObjectParam(string pszKey, object punk);
1566 void ReleaseBoundObjects();
1567 void RevokeObjectBound(object punk);
1568 int RevokeObjectParam(string pszKey);
1569 void SetBindOptions(ref System.Runtime.InteropServices.ComTypes.BIND_OPTS pbindopts);
1571 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1572 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1573 public partial interface IConnectionPoint
1575 void Advise(object pUnkSink, out int pdwCookie);
1576 void EnumConnections(out System.Runtime.InteropServices.ComTypes.IEnumConnections ppEnum);
1577 void GetConnectionInterface(out System.Guid pIID);
1578 void GetConnectionPointContainer(out System.Runtime.InteropServices.ComTypes.IConnectionPointContainer ppCPC);
1579 void Unadvise(int dwCookie);
1581 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1582 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1583 public partial interface IConnectionPointContainer
1585 void EnumConnectionPoints(out System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints ppEnum);
1586 void FindConnectionPoint(ref System.Guid riid, out System.Runtime.InteropServices.ComTypes.IConnectionPoint? ppCP);
1588 [System.CLSCompliantAttribute(false)]
1589 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1590 public partial interface IDataObject
1592 int DAdvise(ref System.Runtime.InteropServices.ComTypes.FORMATETC pFormatetc, System.Runtime.InteropServices.ComTypes.ADVF advf, System.Runtime.InteropServices.ComTypes.IAdviseSink adviseSink, out int connection);
1593 void DUnadvise(int connection);
1594 int EnumDAdvise(out System.Runtime.InteropServices.ComTypes.IEnumSTATDATA? enumAdvise);
1595 System.Runtime.InteropServices.ComTypes.IEnumFORMATETC EnumFormatEtc(System.Runtime.InteropServices.ComTypes.DATADIR direction);
1596 int GetCanonicalFormatEtc(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatIn, out System.Runtime.InteropServices.ComTypes.FORMATETC formatOut);
1597 void GetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC format, out System.Runtime.InteropServices.ComTypes.STGMEDIUM medium);
1598 void GetDataHere(ref System.Runtime.InteropServices.ComTypes.FORMATETC format, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM medium);
1599 int QueryGetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC format);
1600 void SetData(ref System.Runtime.InteropServices.ComTypes.FORMATETC formatIn, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM medium, bool release);
1602 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1603 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1604 public partial struct IDLDESC
1606 public System.IntPtr dwReserved;
1607 public System.Runtime.InteropServices.ComTypes.IDLFLAG wIDLFlags;
1609 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1610 [System.FlagsAttribute]
1611 public enum IDLFLAG : short
1613 IDLFLAG_NONE = (short)0,
1614 IDLFLAG_FIN = (short)1,
1615 IDLFLAG_FOUT = (short)2,
1616 IDLFLAG_FLCID = (short)4,
1617 IDLFLAG_FRETVAL = (short)8,
1619 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1620 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1621 public partial interface IEnumConnectionPoints
1623 void Clone(out System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints ppenum);
1624 int Next(int celt, System.Runtime.InteropServices.ComTypes.IConnectionPoint[] rgelt, System.IntPtr pceltFetched);
1628 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1629 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1630 public partial interface IEnumConnections
1632 void Clone(out System.Runtime.InteropServices.ComTypes.IEnumConnections ppenum);
1633 int Next(int celt, System.Runtime.InteropServices.ComTypes.CONNECTDATA[] rgelt, System.IntPtr pceltFetched);
1637 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1638 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1639 public partial interface IEnumFORMATETC
1641 void Clone(out System.Runtime.InteropServices.ComTypes.IEnumFORMATETC newEnum);
1642 int Next(int celt, System.Runtime.InteropServices.ComTypes.FORMATETC[] rgelt, int[] pceltFetched);
1646 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1647 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1648 public partial interface IEnumMoniker
1650 void Clone(out System.Runtime.InteropServices.ComTypes.IEnumMoniker ppenum);
1651 int Next(int celt, System.Runtime.InteropServices.ComTypes.IMoniker[] rgelt, System.IntPtr pceltFetched);
1655 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1656 public partial interface IEnumSTATDATA
1658 void Clone(out System.Runtime.InteropServices.ComTypes.IEnumSTATDATA newEnum);
1659 int Next(int celt, System.Runtime.InteropServices.ComTypes.STATDATA[] rgelt, int[] pceltFetched);
1663 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1664 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1665 public partial interface IEnumString
1667 void Clone(out System.Runtime.InteropServices.ComTypes.IEnumString ppenum);
1668 int Next(int celt, string[] rgelt, System.IntPtr pceltFetched);
1672 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1673 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1674 public partial interface IEnumVARIANT
1676 System.Runtime.InteropServices.ComTypes.IEnumVARIANT Clone();
1677 int Next(int celt, object?[] rgVar, System.IntPtr pceltFetched);
1681 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1682 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1683 public partial interface IMoniker
1685 void BindToObject(System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker? pmkToLeft, ref System.Guid riidResult, out object ppvResult);
1686 void BindToStorage(System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker? pmkToLeft, ref System.Guid riid, out object ppvObj);
1687 void CommonPrefixWith(System.Runtime.InteropServices.ComTypes.IMoniker pmkOther, out System.Runtime.InteropServices.ComTypes.IMoniker? ppmkPrefix);
1688 void ComposeWith(System.Runtime.InteropServices.ComTypes.IMoniker pmkRight, bool fOnlyIfNotGeneric, out System.Runtime.InteropServices.ComTypes.IMoniker? ppmkComposite);
1689 void Enum(bool fForward, out System.Runtime.InteropServices.ComTypes.IEnumMoniker? ppenumMoniker);
1690 void GetClassID(out System.Guid pClassID);
1691 void GetDisplayName(System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker? pmkToLeft, out string ppszDisplayName);
1692 void GetSizeMax(out long pcbSize);
1693 void GetTimeOfLastChange(System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker? pmkToLeft, out System.Runtime.InteropServices.ComTypes.FILETIME pFileTime);
1694 void Hash(out int pdwHash);
1695 void Inverse(out System.Runtime.InteropServices.ComTypes.IMoniker ppmk);
1697 int IsEqual(System.Runtime.InteropServices.ComTypes.IMoniker pmkOtherMoniker);
1698 int IsRunning(System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker? pmkToLeft, System.Runtime.InteropServices.ComTypes.IMoniker? pmkNewlyRunning);
1699 int IsSystemMoniker(out int pdwMksys);
1700 void Load(System.Runtime.InteropServices.ComTypes.IStream pStm);
1701 void ParseDisplayName(System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker pmkToLeft, string pszDisplayName, out int pchEaten, out System.Runtime.InteropServices.ComTypes.IMoniker ppmkOut);
1702 void Reduce(System.Runtime.InteropServices.ComTypes.IBindCtx pbc, int dwReduceHowFar, ref System.Runtime.InteropServices.ComTypes.IMoniker? ppmkToLeft, out System.Runtime.InteropServices.ComTypes.IMoniker? ppmkReduced);
1703 void RelativePathTo(System.Runtime.InteropServices.ComTypes.IMoniker pmkOther, out System.Runtime.InteropServices.ComTypes.IMoniker? ppmkRelPath);
1704 void Save(System.Runtime.InteropServices.ComTypes.IStream pStm, bool fClearDirty);
1706 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1707 [System.FlagsAttribute]
1708 public enum IMPLTYPEFLAGS
1710 IMPLTYPEFLAG_FDEFAULT = 1,
1711 IMPLTYPEFLAG_FSOURCE = 2,
1712 IMPLTYPEFLAG_FRESTRICTED = 4,
1713 IMPLTYPEFLAG_FDEFAULTVTABLE = 8,
1715 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1716 [System.FlagsAttribute]
1717 public enum INVOKEKIND
1720 INVOKE_PROPERTYGET = 2,
1721 INVOKE_PROPERTYPUT = 4,
1722 INVOKE_PROPERTYPUTREF = 8,
1724 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1725 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1726 public partial interface IPersistFile
1728 void GetClassID(out System.Guid pClassID);
1729 void GetCurFile(out string ppszFileName);
1731 void Load(string pszFileName, int dwMode);
1732 void Save(string? pszFileName, bool fRemember);
1733 void SaveCompleted(string pszFileName);
1735 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1736 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1737 public partial interface IRunningObjectTable
1739 void EnumRunning(out System.Runtime.InteropServices.ComTypes.IEnumMoniker ppenumMoniker);
1740 int GetObject(System.Runtime.InteropServices.ComTypes.IMoniker pmkObjectName, out object ppunkObject);
1741 int GetTimeOfLastChange(System.Runtime.InteropServices.ComTypes.IMoniker pmkObjectName, out System.Runtime.InteropServices.ComTypes.FILETIME pfiletime);
1742 int IsRunning(System.Runtime.InteropServices.ComTypes.IMoniker pmkObjectName);
1743 void NoteChangeTime(int dwRegister, ref System.Runtime.InteropServices.ComTypes.FILETIME pfiletime);
1744 int Register(int grfFlags, object punkObject, System.Runtime.InteropServices.ComTypes.IMoniker pmkObjectName);
1745 void Revoke(int dwRegister);
1747 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1748 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1749 public partial interface IStream
1751 void Clone(out System.Runtime.InteropServices.ComTypes.IStream ppstm);
1752 void Commit(int grfCommitFlags);
1753 void CopyTo(System.Runtime.InteropServices.ComTypes.IStream pstm, long cb, System.IntPtr pcbRead, System.IntPtr pcbWritten);
1754 void LockRegion(long libOffset, long cb, int dwLockType);
1755 void Read(byte[] pv, int cb, System.IntPtr pcbRead);
1757 void Seek(long dlibMove, int dwOrigin, System.IntPtr plibNewPosition);
1758 void SetSize(long libNewSize);
1759 void Stat(out System.Runtime.InteropServices.ComTypes.STATSTG pstatstg, int grfStatFlag);
1760 void UnlockRegion(long libOffset, long cb, int dwLockType);
1761 void Write(byte[] pv, int cb, System.IntPtr pcbWritten);
1763 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1764 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1765 public partial interface ITypeComp
1767 void Bind(string szName, int lHashVal, short wFlags, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTInfo, out System.Runtime.InteropServices.ComTypes.DESCKIND pDescKind, out System.Runtime.InteropServices.ComTypes.BINDPTR pBindPtr);
1768 void BindType(string szName, int lHashVal, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTInfo, out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp);
1770 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1771 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1772 public partial interface ITypeInfo
1774 void AddressOfMember(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out System.IntPtr ppv);
1775 void CreateInstance(object? pUnkOuter, ref System.Guid riid, out object ppvObj);
1776 void GetContainingTypeLib(out System.Runtime.InteropServices.ComTypes.ITypeLib ppTLB, out int pIndex);
1777 void GetDllEntry(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, System.IntPtr pBstrDllName, System.IntPtr pBstrName, System.IntPtr pwOrdinal);
1778 void GetDocumentation(int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile);
1779 void GetFuncDesc(int index, out System.IntPtr ppFuncDesc);
1780 void GetIDsOfNames(string[] rgszNames, int cNames, int[] pMemId);
1781 void GetImplTypeFlags(int index, out System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS pImplTypeFlags);
1782 void GetMops(int memid, out string? pBstrMops);
1783 void GetNames(int memid, string[] rgBstrNames, int cMaxNames, out int pcNames);
1784 void GetRefTypeInfo(int hRef, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTI);
1785 void GetRefTypeOfImplType(int index, out int href);
1786 void GetTypeAttr(out System.IntPtr ppTypeAttr);
1787 void GetTypeComp(out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp);
1788 void GetVarDesc(int index, out System.IntPtr ppVarDesc);
1789 void Invoke(object pvInstance, int memid, short wFlags, ref System.Runtime.InteropServices.ComTypes.DISPPARAMS pDispParams, System.IntPtr pVarResult, System.IntPtr pExcepInfo, out int puArgErr);
1790 void ReleaseFuncDesc(System.IntPtr pFuncDesc);
1791 void ReleaseTypeAttr(System.IntPtr pTypeAttr);
1792 void ReleaseVarDesc(System.IntPtr pVarDesc);
1794 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1795 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1796 public partial interface ITypeInfo2 : System.Runtime.InteropServices.ComTypes.ITypeInfo
1798 new void AddressOfMember(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out System.IntPtr ppv);
1799 new void CreateInstance(object? pUnkOuter, ref System.Guid riid, out object ppvObj);
1800 void GetAllCustData(System.IntPtr pCustData);
1801 void GetAllFuncCustData(int index, System.IntPtr pCustData);
1802 void GetAllImplTypeCustData(int index, System.IntPtr pCustData);
1803 void GetAllParamCustData(int indexFunc, int indexParam, System.IntPtr pCustData);
1804 void GetAllVarCustData(int index, System.IntPtr pCustData);
1805 new void GetContainingTypeLib(out System.Runtime.InteropServices.ComTypes.ITypeLib ppTLB, out int pIndex);
1806 void GetCustData(ref System.Guid guid, out object pVarVal);
1807 new void GetDllEntry(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, System.IntPtr pBstrDllName, System.IntPtr pBstrName, System.IntPtr pwOrdinal);
1808 new void GetDocumentation(int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile);
1809 void GetDocumentation2(int memid, out string pbstrHelpString, out int pdwHelpStringContext, out string pbstrHelpStringDll);
1810 void GetFuncCustData(int index, ref System.Guid guid, out object pVarVal);
1811 new void GetFuncDesc(int index, out System.IntPtr ppFuncDesc);
1812 void GetFuncIndexOfMemId(int memid, System.Runtime.InteropServices.ComTypes.INVOKEKIND invKind, out int pFuncIndex);
1813 new void GetIDsOfNames(string[] rgszNames, int cNames, int[] pMemId);
1814 void GetImplTypeCustData(int index, ref System.Guid guid, out object pVarVal);
1815 new void GetImplTypeFlags(int index, out System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS pImplTypeFlags);
1816 new void GetMops(int memid, out string? pBstrMops);
1817 new void GetNames(int memid, string[] rgBstrNames, int cMaxNames, out int pcNames);
1818 void GetParamCustData(int indexFunc, int indexParam, ref System.Guid guid, out object pVarVal);
1819 new void GetRefTypeInfo(int hRef, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTI);
1820 new void GetRefTypeOfImplType(int index, out int href);
1821 new void GetTypeAttr(out System.IntPtr ppTypeAttr);
1822 new void GetTypeComp(out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp);
1823 void GetTypeFlags(out int pTypeFlags);
1824 void GetTypeKind(out System.Runtime.InteropServices.ComTypes.TYPEKIND pTypeKind);
1825 void GetVarCustData(int index, ref System.Guid guid, out object pVarVal);
1826 new void GetVarDesc(int index, out System.IntPtr ppVarDesc);
1827 void GetVarIndexOfMemId(int memid, out int pVarIndex);
1828 new void Invoke(object pvInstance, int memid, short wFlags, ref System.Runtime.InteropServices.ComTypes.DISPPARAMS pDispParams, System.IntPtr pVarResult, System.IntPtr pExcepInfo, out int puArgErr);
1829 new void ReleaseFuncDesc(System.IntPtr pFuncDesc);
1830 new void ReleaseTypeAttr(System.IntPtr pTypeAttr);
1831 new void ReleaseVarDesc(System.IntPtr pVarDesc);
1833 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1834 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1835 public partial interface ITypeLib
1837 void FindName(string szNameBuf, int lHashVal, System.Runtime.InteropServices.ComTypes.ITypeInfo[] ppTInfo, int[] rgMemId, ref short pcFound);
1838 void GetDocumentation(int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile);
1839 void GetLibAttr(out System.IntPtr ppTLibAttr);
1840 void GetTypeComp(out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp);
1841 void GetTypeInfo(int index, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTI);
1842 int GetTypeInfoCount();
1843 void GetTypeInfoOfGuid(ref System.Guid guid, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTInfo);
1844 void GetTypeInfoType(int index, out System.Runtime.InteropServices.ComTypes.TYPEKIND pTKind);
1845 bool IsName(string szNameBuf, int lHashVal);
1846 void ReleaseTLibAttr(System.IntPtr pTLibAttr);
1848 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1849 [System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
1850 public partial interface ITypeLib2 : System.Runtime.InteropServices.ComTypes.ITypeLib
1852 new void FindName(string szNameBuf, int lHashVal, System.Runtime.InteropServices.ComTypes.ITypeInfo[] ppTInfo, int[] rgMemId, ref short pcFound);
1853 void GetAllCustData(System.IntPtr pCustData);
1854 void GetCustData(ref System.Guid guid, out object pVarVal);
1855 new void GetDocumentation(int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile);
1856 void GetDocumentation2(int index, out string pbstrHelpString, out int pdwHelpStringContext, out string pbstrHelpStringDll);
1857 new void GetLibAttr(out System.IntPtr ppTLibAttr);
1858 void GetLibStatistics(System.IntPtr pcUniqueNames, out int pcchUniqueNames);
1859 new void GetTypeComp(out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp);
1860 new void GetTypeInfo(int index, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTI);
1861 new int GetTypeInfoCount();
1862 new void GetTypeInfoOfGuid(ref System.Guid guid, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTInfo);
1863 new void GetTypeInfoType(int index, out System.Runtime.InteropServices.ComTypes.TYPEKIND pTKind);
1864 new bool IsName(string szNameBuf, int lHashVal);
1865 new void ReleaseTLibAttr(System.IntPtr pTLibAttr);
1867 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1868 [System.FlagsAttribute]
1869 public enum LIBFLAGS : short
1871 LIBFLAG_FRESTRICTED = (short)1,
1872 LIBFLAG_FCONTROL = (short)2,
1873 LIBFLAG_FHIDDEN = (short)4,
1874 LIBFLAG_FHASDISKIMAGE = (short)8,
1876 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1877 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1878 public partial struct PARAMDESC
1880 public System.IntPtr lpVarValue;
1881 public System.Runtime.InteropServices.ComTypes.PARAMFLAG wParamFlags;
1883 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1884 [System.FlagsAttribute]
1885 public enum PARAMFLAG : short
1887 PARAMFLAG_NONE = (short)0,
1888 PARAMFLAG_FIN = (short)1,
1889 PARAMFLAG_FOUT = (short)2,
1890 PARAMFLAG_FLCID = (short)4,
1891 PARAMFLAG_FRETVAL = (short)8,
1892 PARAMFLAG_FOPT = (short)16,
1893 PARAMFLAG_FHASDEFAULT = (short)32,
1894 PARAMFLAG_FHASCUSTDATA = (short)64,
1896 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1897 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1898 public partial struct STATDATA
1900 public System.Runtime.InteropServices.ComTypes.ADVF advf;
1901 public System.Runtime.InteropServices.ComTypes.IAdviseSink advSink;
1902 public int connection;
1903 public System.Runtime.InteropServices.ComTypes.FORMATETC formatetc;
1905 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1906 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1907 public partial struct STATSTG
1909 public System.Runtime.InteropServices.ComTypes.FILETIME atime;
1911 public System.Guid clsid;
1912 public System.Runtime.InteropServices.ComTypes.FILETIME ctime;
1913 public int grfLocksSupported;
1915 public int grfStateBits;
1916 public System.Runtime.InteropServices.ComTypes.FILETIME mtime;
1917 public string pwcsName;
1918 public int reserved;
1921 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1922 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1923 public partial struct STGMEDIUM
1925 public object? pUnkForRelease;
1926 public System.Runtime.InteropServices.ComTypes.TYMED tymed;
1927 public System.IntPtr unionmember;
1929 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1937 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1938 [System.FlagsAttribute]
1950 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1951 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1952 public partial struct TYPEATTR
1954 public short cbAlignment;
1955 public int cbSizeInstance;
1956 public short cbSizeVft;
1957 public short cFuncs;
1958 public short cImplTypes;
1960 public int dwReserved;
1961 public System.Guid guid;
1962 public System.Runtime.InteropServices.ComTypes.IDLDESC idldescType;
1964 public System.IntPtr lpstrSchema;
1965 public const int MEMBER_ID_NIL = -1;
1966 public int memidConstructor;
1967 public int memidDestructor;
1968 public System.Runtime.InteropServices.ComTypes.TYPEDESC tdescAlias;
1969 public System.Runtime.InteropServices.ComTypes.TYPEKIND typekind;
1970 public short wMajorVerNum;
1971 public short wMinorVerNum;
1972 public System.Runtime.InteropServices.ComTypes.TYPEFLAGS wTypeFlags;
1974 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1975 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1976 public partial struct TYPEDESC
1978 public System.IntPtr lpValue;
1981 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1982 [System.FlagsAttribute]
1983 public enum TYPEFLAGS : short
1985 TYPEFLAG_FAPPOBJECT = (short)1,
1986 TYPEFLAG_FCANCREATE = (short)2,
1987 TYPEFLAG_FLICENSED = (short)4,
1988 TYPEFLAG_FPREDECLID = (short)8,
1989 TYPEFLAG_FHIDDEN = (short)16,
1990 TYPEFLAG_FCONTROL = (short)32,
1991 TYPEFLAG_FDUAL = (short)64,
1992 TYPEFLAG_FNONEXTENSIBLE = (short)128,
1993 TYPEFLAG_FOLEAUTOMATION = (short)256,
1994 TYPEFLAG_FRESTRICTED = (short)512,
1995 TYPEFLAG_FAGGREGATABLE = (short)1024,
1996 TYPEFLAG_FREPLACEABLE = (short)2048,
1997 TYPEFLAG_FDISPATCHABLE = (short)4096,
1998 TYPEFLAG_FREVERSEBIND = (short)8192,
1999 TYPEFLAG_FPROXY = (short)16384,
2001 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
2002 public enum TYPEKIND
2007 TKIND_INTERFACE = 3,
2014 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
2015 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
2016 public partial struct TYPELIBATTR
2018 public System.Guid guid;
2020 public System.Runtime.InteropServices.ComTypes.SYSKIND syskind;
2021 public System.Runtime.InteropServices.ComTypes.LIBFLAGS wLibFlags;
2022 public short wMajorVerNum;
2023 public short wMinorVerNum;
2025 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
2026 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
2027 public partial struct VARDESC
2029 public System.Runtime.InteropServices.ComTypes.VARDESC.DESCUNION desc;
2030 public System.Runtime.InteropServices.ComTypes.ELEMDESC elemdescVar;
2031 public string lpstrSchema;
2033 public System.Runtime.InteropServices.ComTypes.VARKIND varkind;
2034 public short wVarFlags;
2035 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Explicit)]
2036 public partial struct DESCUNION
2038 [System.Runtime.InteropServices.FieldOffsetAttribute(0)]
2039 public System.IntPtr lpvarValue;
2040 [System.Runtime.InteropServices.FieldOffsetAttribute(0)]
2044 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
2045 [System.FlagsAttribute]
2046 public enum VARFLAGS : short
2048 VARFLAG_FREADONLY = (short)1,
2049 VARFLAG_FSOURCE = (short)2,
2050 VARFLAG_FBINDABLE = (short)4,
2051 VARFLAG_FREQUESTEDIT = (short)8,
2052 VARFLAG_FDISPLAYBIND = (short)16,
2053 VARFLAG_FDEFAULTBIND = (short)32,
2054 VARFLAG_FHIDDEN = (short)64,
2055 VARFLAG_FRESTRICTED = (short)128,
2056 VARFLAG_FDEFAULTCOLLELEM = (short)256,
2057 VARFLAG_FUIDEFAULT = (short)512,
2058 VARFLAG_FNONBROWSABLE = (short)1024,
2059 VARFLAG_FREPLACEABLE = (short)2048,
2060 VARFLAG_FIMMEDIATEBIND = (short)4096,
2062 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
2065 VAR_PERINSTANCE = 0,
2071 namespace System.Runtime.InteropServices.ObjectiveC
2073 [System.Runtime.Versioning.SupportedOSPlatformAttribute("macos")]
2074 [AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
2075 public sealed class ObjectiveCTrackedTypeAttribute : System.Attribute
2077 public ObjectiveCTrackedTypeAttribute() { }
2080 [System.Runtime.Versioning.SupportedOSPlatformAttribute("macos")]
2081 [System.CLSCompliantAttribute(false)]
2082 public static class ObjectiveCMarshal
2084 public unsafe delegate delegate* unmanaged<System.IntPtr, void> UnhandledExceptionPropagationHandler(
2085 System.Exception exception,
2086 System.RuntimeMethodHandle lastMethod,
2087 out System.IntPtr context);
2088 public static unsafe void Initialize(
2089 delegate* unmanaged<void> beginEndCallback,
2090 delegate* unmanaged<System.IntPtr, int> isReferencedCallback,
2091 delegate* unmanaged<System.IntPtr, void> trackedObjectEnteredFinalization,
2092 UnhandledExceptionPropagationHandler unhandledExceptionPropagationHandler) => throw null;
2093 public static GCHandle CreateReferenceTrackingHandle(
2095 out System.Span<System.IntPtr> taggedMemory) => throw null;
2096 public enum MessageSendFunction
2104 public static void SetMessageSendCallback(MessageSendFunction msgSendFunction, System.IntPtr func) => throw null;
2105 public static void SetMessageSendPendingException(Exception? exception) => throw null;
2108 namespace System.Runtime.InteropServices.Marshalling
2110 [System.CLSCompliant(false)]
2111 [System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerAttribute(typeof(string), BufferSize = 0x100,
2112 Features = System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.UnmanagedResources
2113 | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.CallerAllocatedBuffer
2114 | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.TwoStageMarshalling )]
2115 public unsafe ref struct AnsiStringMarshaller
2117 public AnsiStringMarshaller(string? str) { }
2118 public AnsiStringMarshaller(string? str, System.Span<byte> buffer) { }
2119 public byte* ToNativeValue() { throw null; }
2120 public void FromNativeValue(byte* value) { }
2121 public string? ToManaged() { throw null; }
2122 public void FreeNative() { }
2124 [System.CLSCompliantAttribute(false)]
2125 [System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerAttribute(typeof(System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerAttribute.GenericPlaceholder[]),
2126 System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerKind.LinearCollection, BufferSize = 0x200,
2127 Features = System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.UnmanagedResources
2128 | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.CallerAllocatedBuffer
2129 | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.TwoStageMarshalling)]
2130 public unsafe ref struct ArrayMarshaller<T>
2132 public ArrayMarshaller(int sizeOfNativeElement) { }
2133 public ArrayMarshaller(T[]? array, int sizeOfNativeElement) { }
2134 public ArrayMarshaller(T[]? array, System.Span<byte> buffer, int sizeOfNativeElement) { }
2135 public System.ReadOnlySpan<T> GetManagedValuesSource() { throw null; }
2136 public System.Span<T> GetManagedValuesDestination(int length) { throw null; }
2137 public System.ReadOnlySpan<byte> GetNativeValuesSource(int length) { throw null; }
2138 public System.Span<byte> GetNativeValuesDestination() { throw null; }
2139 public ref byte GetPinnableReference() { throw null; }
2140 public byte* ToNativeValue() { throw null; }
2141 public void FromNativeValue(byte* value) { }
2142 public T[]? ToManaged() { throw null; }
2143 public void FreeNative() { }
2145 [System.CLSCompliant(false)]
2146 [System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerAttribute(typeof(string), BufferSize = 0x100,
2147 Features = System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.UnmanagedResources
2148 | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.CallerAllocatedBuffer
2149 | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.TwoStageMarshalling )]
2150 public unsafe ref struct BStrStringMarshaller
2152 public BStrStringMarshaller(string? str) { }
2153 public BStrStringMarshaller(string? str, System.Span<ushort> buffer) { }
2154 public void* ToNativeValue() { throw null; }
2155 public void FromNativeValue(void* value) { }
2156 public string? ToManaged() { throw null; }
2157 public void FreeNative() { }
2159 [System.AttributeUsageAttribute(System.AttributeTargets.Struct)]
2160 public sealed partial class CustomTypeMarshallerAttribute : System.Attribute
2162 public CustomTypeMarshallerAttribute(System.Type managedType, System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerKind marshallerKind = System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerKind.Value) { }
2163 public System.Type ManagedType { get { throw null; } }
2164 public System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerKind MarshallerKind { get { throw null; } }
2165 public int BufferSize { get { throw null; } set { } }
2166 public System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerDirection Direction { get { throw null; } set { } }
2167 public System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures Features { get { throw null; } set { } }
2168 public struct GenericPlaceholder
2172 [System.FlagsAttribute]
2173 public enum CustomTypeMarshallerDirection
2175 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
2181 [System.FlagsAttribute]
2182 public enum CustomTypeMarshallerFeatures
2185 UnmanagedResources = 0x1,
2186 CallerAllocatedBuffer = 0x2,
2187 TwoStageMarshalling = 0x4
2189 public enum CustomTypeMarshallerKind
2194 [System.AttributeUsageAttribute(System.AttributeTargets.Parameter | System.AttributeTargets.ReturnValue, AllowMultiple = true)]
2195 public sealed partial class MarshalUsingAttribute : System.Attribute
2197 public MarshalUsingAttribute() { }
2198 public MarshalUsingAttribute(System.Type nativeType) { }
2199 public System.Type? NativeType { get { throw null; } }
2200 public string CountElementName { get { throw null; } set { } }
2201 public int ConstantElementCount { get { throw null; } set { } }
2202 public int ElementIndirectionDepth { get { throw null; } set { } }
2203 public const string ReturnsCountValue = "return-value";
2205 [System.AttributeUsageAttribute(System.AttributeTargets.Struct | System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Delegate)]
2206 public sealed partial class NativeMarshallingAttribute : System.Attribute
2208 public NativeMarshallingAttribute(System.Type nativeType) { }
2209 public System.Type NativeType { get { throw null; } }
2211 [System.CLSCompliantAttribute(false)]
2212 [System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerAttribute(typeof(System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerAttribute.GenericPlaceholder*[]),
2213 System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerKind.LinearCollection, BufferSize = 0x200,
2214 Features = System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.UnmanagedResources
2215 | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.CallerAllocatedBuffer
2216 | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.TwoStageMarshalling)]
2217 public unsafe ref struct PointerArrayMarshaller<T> where T : unmanaged
2219 public PointerArrayMarshaller(int sizeOfNativeElement) { }
2220 public PointerArrayMarshaller(T*[]? array, int sizeOfNativeElement) { }
2221 public PointerArrayMarshaller(T*[]? array, System.Span<byte> buffer, int sizeOfNativeElement) { }
2222 public System.ReadOnlySpan<IntPtr> GetManagedValuesSource() { throw null; }
2223 public System.Span<IntPtr> GetManagedValuesDestination(int length) { throw null; }
2224 public System.ReadOnlySpan<byte> GetNativeValuesSource(int length) { throw null; }
2225 public System.Span<byte> GetNativeValuesDestination() { throw null; }
2226 public ref byte GetPinnableReference() { throw null; }
2227 public byte* ToNativeValue() { throw null; }
2228 public void FromNativeValue(byte* value) { }
2229 public T*[]? ToManaged() { throw null; }
2230 public void FreeNative() { }
2232 [System.CLSCompliant(false)]
2233 [System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerAttribute(typeof(string), BufferSize = 0x100,
2234 Features = System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.UnmanagedResources
2235 | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.CallerAllocatedBuffer
2236 | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.TwoStageMarshalling )]
2237 public unsafe ref struct Utf8StringMarshaller
2239 public Utf8StringMarshaller(string? str) { }
2240 public Utf8StringMarshaller(string? str, System.Span<byte> buffer) { }
2241 public byte* ToNativeValue() { throw null; }
2242 public void FromNativeValue(byte* value) { }
2243 public string? ToManaged() { throw null; }
2244 public void FreeNative() { }
2246 [System.CLSCompliant(false)]
2247 [System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerAttribute(typeof(string),
2248 Features = System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.UnmanagedResources
2249 | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.TwoStageMarshalling )]
2250 public unsafe ref struct Utf16StringMarshaller
2252 public Utf16StringMarshaller(string? str) { }
2253 public void* ToNativeValue() { throw null; }
2254 public void FromNativeValue(void* value) { }
2255 public string? ToManaged() { throw null; }
2256 public void FreeNative() { }
2259 namespace System.Security
2261 public sealed partial class SecureString : System.IDisposable
2263 public SecureString() { }
2264 [System.CLSCompliantAttribute(false)]
2265 public unsafe SecureString(char* value, int length) { }
2266 public int Length { get { throw null; } }
2267 public void AppendChar(char c) { }
2268 public void Clear() { }
2269 public System.Security.SecureString Copy() { throw null; }
2270 public void Dispose() { }
2271 public void InsertAt(int index, char c) { }
2272 public bool IsReadOnly() { throw null; }
2273 public void MakeReadOnly() { }
2274 public void RemoveAt(int index) { }
2275 public void SetAt(int index, char c) { }
2277 public static partial class SecureStringMarshal
2279 public static System.IntPtr SecureStringToCoTaskMemAnsi(System.Security.SecureString s) { throw null; }
2280 public static System.IntPtr SecureStringToCoTaskMemUnicode(System.Security.SecureString s) { throw null; }
2281 public static System.IntPtr SecureStringToGlobalAllocAnsi(System.Security.SecureString s) { throw null; }
2282 public static System.IntPtr SecureStringToGlobalAllocUnicode(System.Security.SecureString s) { throw null; }