11 implementations of ICustomTypeMarshallingStrategy
Microsoft.Interop.SourceGeneration (11)
Marshalling\StatefulMarshallingStrategy.cs (4)
13
internal sealed class StatefulValueMarshalling(TypePositionInfo info, StubCodeContext stubContext, ManagedTypeInfo marshallerType, ManagedTypeInfo unmanagedType, MarshallerShape shape) :
ICustomTypeMarshallingStrategy
184
internal sealed class StatefulCallerAllocatedBufferMarshalling(ICustomTypeMarshallingStrategy innerMarshaller, TypeSyntax marshallerType, TypeSyntax bufferElementType) :
ICustomTypeMarshallingStrategy
321
bool cleanupElements) :
ICustomTypeMarshallingStrategy
470
internal sealed class StatefulFreeMarshalling(ICustomTypeMarshallingStrategy innerMarshaller) :
ICustomTypeMarshallingStrategy
Marshalling\StatelessMarshallingStrategy.cs (5)
17
internal sealed class StatelessValueMarshalling(TypePositionInfo info, StubCodeContext codeContext, TypeSyntax marshallerTypeSyntax, ManagedTypeInfo unmanagedType, MarshallerShape shape) :
ICustomTypeMarshallingStrategy
147
internal sealed class StatelessCallerAllocatedBufferMarshalling(ICustomTypeMarshallingStrategy innerMarshaller, TypeSyntax marshallerType, TypeSyntax bufferElementType, bool isLinearCollectionMarshalling) :
ICustomTypeMarshallingStrategy
247
internal sealed class StatelessFreeMarshalling(ICustomTypeMarshallingStrategy innerMarshaller, TypeSyntax marshallerType) :
ICustomTypeMarshallingStrategy
308
internal sealed class StatelessLinearCollectionSpaceAllocator(TypePositionInfo info, StubCodeContext codeContext, TypeSyntax marshallerTypeSyntax, ManagedTypeInfo unmanagedType, MarshallerShape shape, CountInfo countInfo, bool countInfoRequiresCast) :
ICustomTypeMarshallingStrategy
555
bool cleanupElementsAndSpace) :
ICustomTypeMarshallingStrategy
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (2)
17
internal sealed class UnmanagedToManagedOwnershipTrackingStrategy(ICustomTypeMarshallingStrategy innerMarshaller) :
ICustomTypeMarshallingStrategy
82
internal sealed class CleanupOwnedOriginalValueMarshalling(ICustomTypeMarshallingStrategy innerMarshaller) :
ICustomTypeMarshallingStrategy
12 references to ICustomTypeMarshallingStrategy
Microsoft.Interop.SourceGeneration (12)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (2)
165
ICustomTypeMarshallingStrategy
marshallingStrategy;
257
ICustomTypeMarshallingStrategy
marshallingStrategy;
Marshalling\CustomTypeMarshallingGenerator.cs (2)
11
/// Implements generating code for an <see cref="
ICustomTypeMarshallingStrategy
"/> instance.
13
internal sealed class CustomTypeMarshallingGenerator(
ICustomTypeMarshallingStrategy
nativeTypeMarshaller, ByValueMarshalKindSupportDescriptor byValueContentsMarshallingSupport, bool isPinned)
Marshalling\StatefulMarshallingStrategy.cs (3)
184
internal sealed class StatefulCallerAllocatedBufferMarshalling(
ICustomTypeMarshallingStrategy
innerMarshaller, TypeSyntax marshallerType, TypeSyntax bufferElementType) : ICustomTypeMarshallingStrategy
316
ICustomTypeMarshallingStrategy
innerMarshaller,
470
internal sealed class StatefulFreeMarshalling(
ICustomTypeMarshallingStrategy
innerMarshaller) : ICustomTypeMarshallingStrategy
Marshalling\StatelessMarshallingStrategy.cs (3)
147
internal sealed class StatelessCallerAllocatedBufferMarshalling(
ICustomTypeMarshallingStrategy
innerMarshaller, TypeSyntax marshallerType, TypeSyntax bufferElementType, bool isLinearCollectionMarshalling) : ICustomTypeMarshallingStrategy
247
internal sealed class StatelessFreeMarshalling(
ICustomTypeMarshallingStrategy
innerMarshaller, TypeSyntax marshallerType) : ICustomTypeMarshallingStrategy
549
ICustomTypeMarshallingStrategy
spaceMarshallingStrategy,
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (2)
17
internal sealed class UnmanagedToManagedOwnershipTrackingStrategy(
ICustomTypeMarshallingStrategy
innerMarshaller) : ICustomTypeMarshallingStrategy
82
internal sealed class CleanupOwnedOriginalValueMarshalling(
ICustomTypeMarshallingStrategy
innerMarshaller) : ICustomTypeMarshallingStrategy