public StatelessCallerAllocatedBufferMarshalling(ICustomTypeMarshallingStrategy innerMarshaller, TypeSyntax marshallerType, TypeSyntax bufferElementType, bool isLinearCollectionMarshalling) { _innerMarshaller = innerMarshaller; _marshallerType = marshallerType; _bufferElementType = bufferElementType; _isLinearCollectionMarshalling = isLinearCollectionMarshalling; }
public StatefulLinearCollectionBlittableElementsMarshalling( ICustomTypeMarshallingStrategy innerMarshaller, MarshallerShape shape, TypeSyntax managedElementType, TypeSyntax unmanagedElementType, ExpressionSyntax numElementsExpression) : base(managedElementType, unmanagedElementType) { _innerMarshaller = innerMarshaller; _shape = shape; _numElementsExpression = numElementsExpression; }
public StatefulLinearCollectionNonBlittableElementsMarshalling( ICustomTypeMarshallingStrategy innerMarshaller, MarshallerShape shape, TypeSyntax unmanagedElementType, IMarshallingGenerator elementMarshaller, TypePositionInfo elementInfo, ExpressionSyntax numElementsExpression) : base(unmanagedElementType, elementMarshaller, elementInfo) { _innerMarshaller = innerMarshaller; _shape = shape; _numElementsExpression = numElementsExpression; }
public StatefulCallerAllocatedBufferMarshalling(ICustomTypeMarshallingStrategy innerMarshaller, TypeSyntax marshallerType, TypeSyntax bufferElementType) { _innerMarshaller = innerMarshaller; _marshallerType = marshallerType; _bufferElementType = bufferElementType; }
public StatelessFreeMarshalling(ICustomTypeMarshallingStrategy innerMarshaller, TypeSyntax marshallerType) { _innerMarshaller = innerMarshaller; _marshallerType = marshallerType; }
public CustomTypeMarshallingGenerator(ICustomTypeMarshallingStrategy nativeTypeMarshaller, bool enableByValueContentsMarshalling) { _nativeTypeMarshaller = nativeTypeMarshaller; _enableByValueContentsMarshalling = enableByValueContentsMarshalling; }