diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/Helpers/SyntaxFormattingHelper.cs b/src/ComputeSharp.SourceGeneration.Hlsl/Helpers/SyntaxFormattingHelper.cs
index adb62bf4..7d630da4 100644
--- a/src/ComputeSharp.SourceGeneration.Hlsl/Helpers/SyntaxFormattingHelper.cs
+++ b/src/ComputeSharp.SourceGeneration.Hlsl/Helpers/SyntaxFormattingHelper.cs
@@ -91,28 +91,4 @@ internal static class SyntaxFormattingHelper
span = span.Slice(6);
}
}
-
- ///
- /// Creates a formatted expression to initialize a with a given content.
- ///
- /// The input byte content to serialize.
- /// A formatted with the specified data.
- ///
- /// This function will produce raw byte initialization expressions, such as:
- /// [1, 2, 3, 4, 5] => 0x01, 0x02, 0x03, 0x04, 0x05.
- ///
- public static string BuildByteArrayInitializationExpressionString(ReadOnlySpan bytecode)
- {
- using ImmutableArrayBuilder builder = new();
-
- builder.AddRange(FormattedBytes[bytecode[0]].AsSpan());
-
- foreach (byte b in bytecode.Slice(1))
- {
- builder.AddRange(", ".AsSpan());
- builder.AddRange(FormattedBytes[b].AsSpan());
- }
-
- return builder.ToString();
- }
}
\ No newline at end of file