2 instantiations of ByValueMarshalKindSupportDescriptor
Microsoft.Interop.SourceGeneration (2)
Marshalling\ByValueMarshalKindSupportDescriptor.cs (2)
53public static readonly ByValueMarshalKindSupportDescriptor Default = new ByValueMarshalKindSupportDescriptor( 62public static readonly ByValueMarshalKindSupportDescriptor ArrayParameter = new ByValueMarshalKindSupportDescriptor(
21 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.JavaScript.JSImportGenerator (1)
Marshaling\EmptyJSGenerator.cs (1)
17=> ByValueMarshalKindSupportDescriptor.Default.GetSupport(marshalKind, info, out diagnostic);
Microsoft.Interop.SourceGeneration (14)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (4)
196IBoundMarshallingGenerator marshallingGenerator = new CustomTypeMarshallingGenerator(marshallingStrategy, ByValueMarshalKindSupportDescriptor.Default, marshallerData.Shape.HasFlag(MarshallerShape.StatelessPinnableReference)); 329ByValueMarshalKindSupportDescriptor byValueMarshalKindSupport; 332byValueMarshalKindSupport = ByValueMarshalKindSupportDescriptor.Default; 337byValueMarshalKindSupport = 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. 53public 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 62public static readonly ByValueMarshalKindSupportDescriptor ArrayParameter = new ByValueMarshalKindSupportDescriptor(
Marshalling\CharMarshaller.cs (1)
139return ByValueMarshalKindSupportDescriptor.Default.GetSupport(marshalKind, info, out diagnostic);
Marshalling\CustomTypeMarshallingGenerator.cs (1)
13internal 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);