16 references to CallerAllocatedBuffer
Microsoft.Interop.LibraryImportGenerator (5)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (5)
747
if (shape.HasFlag(MarshallerShape.
CallerAllocatedBuffer
) && mode == MarshalMode.ManagedToUnmanagedIn)
762
if (!(shape.HasFlag(MarshallerShape.ToUnmanaged) || (mode == MarshalMode.ManagedToUnmanagedIn && shape.HasFlag(MarshallerShape.
CallerAllocatedBuffer
))))
900
if (shape.HasFlag(MarshallerShape.ToUnmanaged | MarshallerShape.
CallerAllocatedBuffer
))
1041
if (shape.HasFlag(MarshallerShape.
CallerAllocatedBuffer
) && mode == MarshalMode.ManagedToUnmanagedIn)
1056
if (!(shape.HasFlag(MarshallerShape.ToUnmanaged) || (mode == MarshalMode.ManagedToUnmanagedIn && shape.HasFlag(MarshallerShape.
CallerAllocatedBuffer
))))
Microsoft.Interop.SourceGeneration (11)
ManualTypeMarshallingHelper.cs (2)
461
if (!ModeOptionallyMatchesShape(mode) && !shape.HasFlag(MarshallerShape.
CallerAllocatedBuffer
) && !shape.HasFlag(MarshallerShape.ToUnmanaged))
562
if (mode != MarshalMode.Default && !shape.HasFlag(MarshallerShape.
CallerAllocatedBuffer
) && !shape.HasFlag(MarshallerShape.ToUnmanaged))
MarshallerShape.cs (3)
133
shape |= MarshallerShape.
CallerAllocatedBuffer
;
176
shape |= MarshallerShape.
CallerAllocatedBuffer
;
477
shape |= MarshallerShape.
CallerAllocatedBuffer
;
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (4)
169
if (marshallerData.Shape.HasFlag(MarshallerShape.
CallerAllocatedBuffer
))
175
if (marshallerData.Shape.HasFlag(MarshallerShape.
CallerAllocatedBuffer
))
263
if (marshallerData.Shape.HasFlag(MarshallerShape.
CallerAllocatedBuffer
))
309
if (marshallerData.Shape.HasFlag(MarshallerShape.
CallerAllocatedBuffer
))
Marshalling\StatefulMarshallingStrategy.cs (1)
84
if (!shape.HasFlag(MarshallerShape.ToUnmanaged) && !shape.HasFlag(MarshallerShape.
CallerAllocatedBuffer
))
Marshalling\StatelessMarshallingStrategy.cs (1)
53
if (!shape.HasFlag(MarshallerShape.ToUnmanaged) && !shape.HasFlag(MarshallerShape.
CallerAllocatedBuffer
))