diff --git a/src/ComputeSharp.Graphics/Buffers/ConstantBuffer{T}.cs b/src/ComputeSharp.Graphics/Buffers/ConstantBuffer{T}.cs
index 106ff3cf..492a979d 100644
--- a/src/ComputeSharp.Graphics/Buffers/ConstantBuffer{T}.cs
+++ b/src/ComputeSharp.Graphics/Buffers/ConstantBuffer{T}.cs
@@ -39,7 +39,7 @@ namespace ComputeSharp.Graphics.Buffers
///
/// The index of the value to get
/// This API can only be used from a compute shader, and will always throw if used anywhere else
- public T this[int i] => throw new InvalidExecutionContextException($"{nameof(ConstantBuffer)}[int i]");
+ public T this[int i] => throw new InvalidExecutionContextException($"{nameof(ConstantBuffer)}[int]");
///
public override void GetData(Span span, int offset, int count)
diff --git a/src/ComputeSharp.Graphics/Buffers/ReadOnlyBuffer{T}.cs b/src/ComputeSharp.Graphics/Buffers/ReadOnlyBuffer{T}.cs
index f4d936d6..72eb933b 100644
--- a/src/ComputeSharp.Graphics/Buffers/ReadOnlyBuffer{T}.cs
+++ b/src/ComputeSharp.Graphics/Buffers/ReadOnlyBuffer{T}.cs
@@ -22,6 +22,6 @@ namespace ComputeSharp.Graphics.Buffers
///
/// The index of the value to get
/// This API can only be used from a compute shader, and will always throw if used anywhere else
- public T this[int i] => throw new InvalidExecutionContextException($"{nameof(ReadOnlyBuffer)}[int i]");
+ public T this[int i] => throw new InvalidExecutionContextException($"{nameof(ReadOnlyBuffer)}[int]");
}
}
diff --git a/src/ComputeSharp.Graphics/Buffers/ReadWriteBuffer{T}.cs b/src/ComputeSharp.Graphics/Buffers/ReadWriteBuffer{T}.cs
index db4bee6d..20cc988a 100644
--- a/src/ComputeSharp.Graphics/Buffers/ReadWriteBuffer{T}.cs
+++ b/src/ComputeSharp.Graphics/Buffers/ReadWriteBuffer{T}.cs
@@ -22,6 +22,6 @@ namespace ComputeSharp.Graphics.Buffers
///
/// The index of the value to get or set
/// This API can only be used from a compute shader, and will always throw if used anywhere else
- public ref T this[int i] => throw new InvalidExecutionContextException($"{nameof(ReadWriteBuffer)}[int i]");
+ public ref T this[int i] => throw new InvalidExecutionContextException($"{nameof(ReadWriteBuffer)}[int]");
}
}