Marshalling\ByValueMarshalKindSupportDescriptor.cs (9)
42/// Provides an implementation of <see cref="IUnboundMarshallingGenerator.SupportsByValueMarshalKind(ByValueContentsMarshalKind, TypePositionInfo, out GeneratorDiagnostic?)"/> through <see cref="GetSupport(ByValueContentsMarshalKind, TypePositionInfo, out GeneratorDiagnostic?)"/>
71public ByValueMarshalKindSupport GetSupport(ByValueContentsMarshalKind marshalKind, TypePositionInfo info, out GeneratorDiagnostic? diagnostic)
76if (marshalKind != ByValueContentsMarshalKind.Default)
91Debug.Assert(marshalKind is ByValueContentsMarshalKind.Default);
98ByValueContentsMarshalKind.Default => DefaultSupport.GetSupport(info, out diagnostic),
99ByValueContentsMarshalKind.In => InSupport.GetSupport(info, out diagnostic),
100ByValueContentsMarshalKind.Out => OutSupport.GetSupport(info, out diagnostic),
101ByValueContentsMarshalKind.InOut => InOutSupport.GetSupport(info, out diagnostic),