Marshalling\ByValueMarshalKindSupportDescriptor.cs (9)
33/// Provides an implementation of <see cref="IUnboundMarshallingGenerator.SupportsByValueMarshalKind(ByValueContentsMarshalKind, TypePositionInfo, out GeneratorDiagnostic?)"/> through <see cref="GetSupport(ByValueContentsMarshalKind, TypePositionInfo, out GeneratorDiagnostic?)"/>
62public ByValueMarshalKindSupport GetSupport(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, out GeneratorDiagnostic? diagnostic)
67if (marshalKind != ByValueContentsMarshalKind.Default)
82Debug.Assert(marshalKind is ByValueContentsMarshalKind.Default);
89ByValueContentsMarshalKind.Default => DefaultSupport.GetSupport(info, out diagnostic),
90ByValueContentsMarshalKind.In => InSupport.GetSupport(info, out diagnostic),
91ByValueContentsMarshalKind.Out => OutSupport.GetSupport(info, out diagnostic),
92ByValueContentsMarshalKind.InOut => InOutSupport.GetSupport(info, out diagnostic),