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