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