11 implementations of ICustomTypeMarshallingStrategy
Microsoft.Interop.SourceGeneration (11)
Marshalling\StatefulMarshallingStrategy.cs (4)
6
internal sealed class StatefulValueMarshalling(TypePositionInfo info, StubCodeContext stubContext, ManagedTypeInfo marshallerType, ManagedTypeInfo unmanagedType, MarshallerShape shape) :
ICustomTypeMarshallingStrategy
106
internal sealed class StatefulCallerAllocatedBufferMarshalling(ICustomTypeMarshallingStrategy innerMarshaller, string marshallerType, string bufferElementType) :
ICustomTypeMarshallingStrategy
179
bool cleanupElements) :
ICustomTypeMarshallingStrategy
279
internal sealed class StatefulFreeMarshalling(ICustomTypeMarshallingStrategy innerMarshaller) :
ICustomTypeMarshallingStrategy
Marshalling\StatelessMarshallingStrategy.cs (5)
9
internal sealed class StatelessValueMarshalling(TypePositionInfo info, StubCodeContext codeContext, string marshallerType, ManagedTypeInfo unmanagedType, MarshallerShape shape) :
ICustomTypeMarshallingStrategy
87
internal sealed class StatelessCallerAllocatedBufferMarshalling(ICustomTypeMarshallingStrategy innerMarshaller, string marshallerType, string bufferElementType, bool isLinearCollectionMarshalling) :
ICustomTypeMarshallingStrategy
130
internal sealed class StatelessFreeMarshalling(ICustomTypeMarshallingStrategy innerMarshaller, string marshallerType) :
ICustomTypeMarshallingStrategy
172
internal sealed class StatelessLinearCollectionSpaceAllocator(TypePositionInfo info, StubCodeContext codeContext, string marshallerType, ManagedTypeInfo unmanagedType, MarshallerShape shape, CountInfo countInfo, bool countInfoRequiresCast) :
ICustomTypeMarshallingStrategy
311
bool cleanupElementsAndSpace) :
ICustomTypeMarshallingStrategy
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (2)
10
internal sealed class UnmanagedToManagedOwnershipTrackingStrategy(ICustomTypeMarshallingStrategy innerMarshaller) :
ICustomTypeMarshallingStrategy
46
internal sealed class CleanupOwnedOriginalValueMarshalling(ICustomTypeMarshallingStrategy innerMarshaller) :
ICustomTypeMarshallingStrategy
11 references to ICustomTypeMarshallingStrategy
Microsoft.Interop.SourceGeneration (11)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (2)
149
ICustomTypeMarshallingStrategy
marshallingStrategy;
232
ICustomTypeMarshallingStrategy
marshallingStrategy;
Marshalling\CustomTypeMarshallingGenerator.cs (1)
9
internal sealed class CustomTypeMarshallingGenerator(
ICustomTypeMarshallingStrategy
nativeTypeMarshaller, ByValueMarshalKindSupportDescriptor byValueContentsMarshallingSupport, bool isPinned)
Marshalling\StatefulMarshallingStrategy.cs (3)
106
internal sealed class StatefulCallerAllocatedBufferMarshalling(
ICustomTypeMarshallingStrategy
innerMarshaller, string marshallerType, string bufferElementType) : ICustomTypeMarshallingStrategy
174
ICustomTypeMarshallingStrategy
innerMarshaller,
279
internal sealed class StatefulFreeMarshalling(
ICustomTypeMarshallingStrategy
innerMarshaller) : ICustomTypeMarshallingStrategy
Marshalling\StatelessMarshallingStrategy.cs (3)
87
internal sealed class StatelessCallerAllocatedBufferMarshalling(
ICustomTypeMarshallingStrategy
innerMarshaller, string marshallerType, string bufferElementType, bool isLinearCollectionMarshalling) : ICustomTypeMarshallingStrategy
130
internal sealed class StatelessFreeMarshalling(
ICustomTypeMarshallingStrategy
innerMarshaller, string marshallerType) : ICustomTypeMarshallingStrategy
305
ICustomTypeMarshallingStrategy
spaceMarshallingStrategy,
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (2)
10
internal sealed class UnmanagedToManagedOwnershipTrackingStrategy(
ICustomTypeMarshallingStrategy
innerMarshaller) : ICustomTypeMarshallingStrategy
46
internal sealed class CleanupOwnedOriginalValueMarshalling(
ICustomTypeMarshallingStrategy
innerMarshaller) : ICustomTypeMarshallingStrategy