/
NativeMarshallingAttribute.xml
109 lines (106 loc) · 6.58 KB
/
NativeMarshallingAttribute.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<Type Name="NativeMarshallingAttribute" FullName="System.Runtime.InteropServices.Marshalling.NativeMarshallingAttribute">
<TypeSignature Language="C#" Value="public sealed class NativeMarshallingAttribute : Attribute" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit NativeMarshallingAttribute extends System.Attribute" />
<TypeSignature Language="DocId" Value="T:System.Runtime.InteropServices.Marshalling.NativeMarshallingAttribute" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class NativeMarshallingAttribute
Inherits Attribute" />
<TypeSignature Language="F#" Value="type NativeMarshallingAttribute = class
 inherit Attribute" />
<TypeSignature Language="C++ CLI" Value="public ref class NativeMarshallingAttribute sealed : Attribute" />
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Attribute</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="net-7.0">
<AttributeName Language="C#">[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Struct)]</AttributeName>
<AttributeName Language="F#">[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Struct)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Struct)]</AttributeName>
<AttributeName Language="F#">[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Struct)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Attribute used to provide a default custom marshaller type for a given managed type.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This attribute is recognized by the runtime-provided source generators for source-generated interop scenarios.
It is not used by the interop marshalling system at runtime.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public NativeMarshallingAttribute (Type nativeType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Type nativeType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.Marshalling.NativeMarshallingAttribute.#ctor(System.Type)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (nativeType As Type)" />
<MemberSignature Language="F#" Value="new System.Runtime.InteropServices.Marshalling.NativeMarshallingAttribute : Type -> System.Runtime.InteropServices.Marshalling.NativeMarshallingAttribute" Usage="new System.Runtime.InteropServices.Marshalling.NativeMarshallingAttribute nativeType" />
<MemberSignature Language="C++ CLI" Value="public:
 NativeMarshallingAttribute(Type ^ nativeType);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="nativeType" Type="System.Type" />
</Parameters>
<Docs>
<param name="nativeType">The marshaller type used to convert the attributed type from managed to native code.</param>
<summary>Initializes a new instance of <see cref="T:System.Runtime.InteropServices.Marshalling.NativeMarshallingAttribute" /> that provides a native marshalling type.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="NativeType">
<MemberSignature Language="C#" Value="public Type NativeType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type NativeType" />
<MemberSignature Language="DocId" Value="P:System.Runtime.InteropServices.Marshalling.NativeMarshallingAttribute.NativeType" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property NativeType As Type" />
<MemberSignature Language="F#" Value="member this.NativeType : Type" Usage="System.Runtime.InteropServices.Marshalling.NativeMarshallingAttribute.NativeType" />
<MemberSignature Language="C++ CLI" Value="public:
 property Type ^ NativeType { Type ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the marshaller type used to convert the attributed type from managed to native code.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>