2 implementations of IElementsMarshallingCollectionSource
Microsoft.Interop.SourceGeneration (2)
Marshalling\StatefulMarshallingStrategy.cs (1)
138internal sealed class StatefulLinearCollectionSource(TypePositionInfo info, StubCodeContext codeContext) : IElementsMarshallingCollectionSource
Marshalling\StatelessMarshallingStrategy.cs (1)
269internal sealed class StatelessLinearCollectionSource(TypePositionInfo info, StubCodeContext codeContext, string marshallerType) : IElementsMarshallingCollectionSource
9 references to IElementsMarshallingCollectionSource
Microsoft.Interop.SourceGeneration (9)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (3)
244IElementsMarshallingCollectionSource collectionSource = new StatefulLinearCollectionSource(info, context); 270IElementsMarshallingCollectionSource collectionSource = new StatelessLinearCollectionSource(info, context, marshallerTypeName); 359private static ElementsMarshalling CreateElementsMarshalling(CustomTypeMarshallerData marshallerData, IBoundMarshallingGenerator elementMarshaller, string unmanagedElementType, IElementsMarshallingCollectionSource collectionSource)
Marshalling\ElementsMarshalling.cs (6)
27protected IElementsMarshallingCollectionSource CollectionSource { get; } 29protected ElementsMarshalling(IElementsMarshallingCollectionSource collectionSource) 80public static void GenerateNumElementsAssignmentFromManagedValuesSource(this IElementsMarshallingCollectionSource source, IndentedTextWriter writer, TypePositionInfo info, StubIdentifierContext context) 86public static void GenerateNumElementsAssignmentFromManagedValuesDestination(this IElementsMarshallingCollectionSource source, IndentedTextWriter writer, TypePositionInfo info, StubIdentifierContext context) 99IElementsMarshallingCollectionSource collectionSource) : ElementsMarshalling(collectionSource) 150IElementsMarshallingCollectionSource collectionSource) : ElementsMarshalling(collectionSource)