2 implementations of IElementsMarshallingCollectionSource
Microsoft.Interop.SourceGeneration (2)
Marshalling\StatefulMarshallingStrategy.cs (1)
261internal sealed class StatefulLinearCollectionSource(TypePositionInfo info, StubCodeContext codeContext) : IElementsMarshallingCollectionSource
Marshalling\StatelessMarshallingStrategy.cs (1)
476internal sealed class StatelessLinearCollectionSource(TypePositionInfo info, StubCodeContext codeContext, TypeSyntax marshallerTypeSyntax) : IElementsMarshallingCollectionSource
9 references to IElementsMarshallingCollectionSource
Microsoft.Interop.SourceGeneration (9)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (3)
273IElementsMarshallingCollectionSource collectionSource = new StatefulLinearCollectionSource(info, context); 299IElementsMarshallingCollectionSource collectionSource = new StatelessLinearCollectionSource(info, context, marshallerTypeSyntax); 392private static ElementsMarshalling CreateElementsMarshalling(CustomTypeMarshallerData marshallerData, IBoundMarshallingGenerator elementMarshaller, TypeSyntax unmanagedElementType, IElementsMarshallingCollectionSource collectionSource)
Marshalling\ElementsMarshalling.cs (6)
29protected IElementsMarshallingCollectionSource CollectionSource { get; } 31protected ElementsMarshalling(IElementsMarshallingCollectionSource collectionSource) 113public static StatementSyntax GetNumElementsAssignmentFromManagedValuesSource(this IElementsMarshallingCollectionSource source, TypePositionInfo info, StubIdentifierContext context) 127public static StatementSyntax GetNumElementsAssignmentFromManagedValuesDestination(this IElementsMarshallingCollectionSource source, TypePositionInfo info, StubIdentifierContext context) 148IElementsMarshallingCollectionSource collectionSource) : ElementsMarshalling(collectionSource) 254IElementsMarshallingCollectionSource collectionSource) : ElementsMarshalling(collectionSource)