diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/ArrayPoolBinaryWriterExtensions.cs b/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/ArrayPoolBinaryWriterExtensions.cs
index b3e28d2c..51073911 100644
--- a/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/ArrayPoolBinaryWriterExtensions.cs
+++ b/src/ComputeSharp.D2D1/Shaders/Interop/Buffers/ArrayPoolBinaryWriterExtensions.cs
@@ -23,7 +23,7 @@ internal static class ArrayPoolBinaryWriterExtensions
/// The target instance to write data to.
/// The value to write.
/// This method will just blit the data of into the target buffer.
- public static unsafe void WriteRaw(this in ArrayPoolBufferWriter writer, scoped in T value)
+ public static unsafe void WriteRaw(this in ArrayPoolBufferWriter writer, in T value)
where T : unmanaged
{
Span span = writer.GetSpan(sizeof(T));
@@ -39,7 +39,7 @@ internal static class ArrayPoolBinaryWriterExtensions
/// The type of value to write.
/// The target instance to write data to.
/// The value to write.
- public static unsafe void WriteRaw(this in ArrayPoolBufferWriter writer, scoped in T value)
+ public static unsafe void WriteRaw(this in ArrayPoolBufferWriter writer, in T value)
where T : unmanaged
{
Span span = writer.GetSpan(1);
@@ -55,7 +55,7 @@ internal static class ArrayPoolBinaryWriterExtensions
/// The type of values in the target writer.
/// The target instance to write data to.
/// The data to write.
- public static void WriteRaw(this in ArrayPoolBufferWriter writer, scoped ReadOnlySpan data)
+ public static void WriteRaw(this in ArrayPoolBufferWriter writer, ReadOnlySpan data)
where T : unmanaged
{
Span span = writer.GetSpan(data.Length);