VariableDeclarator(
Identifier(nativeSpanIdentifier))
.WithInitializer(EqualsValueClause(
- context.Direction == MarshalDirection.ManagedToUnmanaged
+ MarshallerHelpers.GetMarshalDirection(info, context) == MarshalDirection.ManagedToUnmanaged
? CollectionSource.GetUnmanagedValuesDestination(info, context)
: CollectionSource.GetUnmanagedValuesSource(info, context)))))),
contentsCleanupStatements);
{
throw new NotImplementedException();
}
- // Should be removed: https://github.com/dotnet/runtime/issues/89885
- public static Span<TUnmanagedElement> GetUnmanagedValuesDestination(NativeCollection<T> unmanaged, int numElements)
- {
- throw new NotImplementedException();
- }
public static Span<T> GetManagedValuesDestination(StatelessCollection<T> managed)
{
}
public static void Free(NativeCollection<T> unmanaged) => throw new NotImplementedException();
-
}
}
}