3 references to ModeOptionallyMatchesShape
Microsoft.Interop.SourceGeneration (3)
ManualTypeMarshallingHelper.cs (3)
461
if (!
ModeOptionallyMatchesShape
(mode) && !shape.HasFlag(MarshallerShape.CallerAllocatedBuffer) && !shape.HasFlag(MarshallerShape.ToUnmanaged))
484
if (!
ModeOptionallyMatchesShape
(mode) && !shape.HasFlag(MarshallerShape.GuaranteedUnmarshal) && !shape.HasFlag(MarshallerShape.ToManaged))
516
if (!
ModeOptionallyMatchesShape
(mode) && ModeUsesManagedToUnmanagedShape(mode) && ModeUsesUnmanagedToManagedShape(mode) && !shape.HasFlag(MarshallerShape.ToUnmanaged))