2 instantiations of ByValueMarshalKindSupportDescriptor
Microsoft.Interop.SourceGeneration (2)
Marshalling\ByValueMarshalKindSupportDescriptor.cs (2)
53
public static readonly ByValueMarshalKindSupportDescriptor Default = new
ByValueMarshalKindSupportDescriptor
(
62
public static readonly ByValueMarshalKindSupportDescriptor ArrayParameter = new
ByValueMarshalKindSupportDescriptor
(
20 references to ByValueMarshalKindSupportDescriptor
Microsoft.Interop.ComInterfaceGenerator (6)
Marshallers\ComInterfaceDispatchMarshallingResolver.cs (1)
68
=>
ByValueMarshalKindSupportDescriptor
.Default.GetSupport(marshalKind, info, out diagnostic);
Marshallers\KeepAliveThisMarshaller.cs (1)
36
=>
ByValueMarshalKindSupportDescriptor
.Default.GetSupport(marshalKind, info, out diagnostic);
Marshallers\ManagedHResultExceptionGeneratorResolver.cs (2)
59
=>
ByValueMarshalKindSupportDescriptor
.Default.GetSupport(marshalKind, info, out diagnostic);
96
=>
ByValueMarshalKindSupportDescriptor
.Default.GetSupport(marshalKind, info, out diagnostic);
Marshallers\ObjectUnwrapperResolver.cs (1)
63
=>
ByValueMarshalKindSupportDescriptor
.Default.GetSupport(marshalKind, info, out diagnostic);
Marshallers\StructAsHResultMarshallerFactory.cs (1)
95
=>
ByValueMarshalKindSupportDescriptor
.Default.GetSupport(marshalKind, info, out diagnostic);
Microsoft.Interop.SourceGeneration (14)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (4)
196
IBoundMarshallingGenerator marshallingGenerator = new CustomTypeMarshallingGenerator(marshallingStrategy,
ByValueMarshalKindSupportDescriptor
.Default, marshallerData.Shape.HasFlag(MarshallerShape.StatelessPinnableReference));
329
ByValueMarshalKindSupportDescriptor
byValueMarshalKindSupport;
332
byValueMarshalKindSupport =
ByValueMarshalKindSupportDescriptor
.Default;
337
byValueMarshalKindSupport =
ByValueMarshalKindSupportDescriptor
.ArrayParameter;
Marshalling\BlittableMarshaller.cs (1)
103
=>
ByValueMarshalKindSupportDescriptor
.Default.GetSupport(marshalKind, info, out diagnostic);
Marshalling\BoolMarshaller.cs (1)
101
=>
ByValueMarshalKindSupportDescriptor
.Default.GetSupport(marshalKind, info, out diagnostic);
Marshalling\ByValueMarshalKindSupportDescriptor.cs (4)
51
/// A default <see cref="
ByValueMarshalKindSupportDescriptor
"/> for by value parameters. [In] is allowed, but unnecessary. Out is not allowed.
53
public static readonly
ByValueMarshalKindSupportDescriptor
Default = new ByValueMarshalKindSupportDescriptor(
60
/// A default <see cref="
ByValueMarshalKindSupportDescriptor
"/> for by value array parameters. Default is allowed, but Not Recommended. [In], [Out], and [In, Out] are allowed
62
public static readonly
ByValueMarshalKindSupportDescriptor
ArrayParameter = new ByValueMarshalKindSupportDescriptor(
Marshalling\CharMarshaller.cs (1)
139
return
ByValueMarshalKindSupportDescriptor
.Default.GetSupport(marshalKind, info, out diagnostic);
Marshalling\CustomTypeMarshallingGenerator.cs (1)
13
internal sealed class CustomTypeMarshallingGenerator(ICustomTypeMarshallingStrategy nativeTypeMarshaller,
ByValueMarshalKindSupportDescriptor
byValueContentsMarshallingSupport, bool isPinned)
Marshalling\DelegateMarshaller.cs (1)
96
=>
ByValueMarshalKindSupportDescriptor
.Default.GetSupport(marshalKind, info, out diagnostic);
Marshalling\Forwarder.cs (1)
35
=>
ByValueMarshalKindSupportDescriptor
.Default.GetSupport(marshalKind, info, out diagnostic);