<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/113256>113256</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            clang-format doesn't handle `goto case` in C#
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-format
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            owenca
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          owenca
      </td>
    </tr>
</table>

<pre>
    ```
$ cat a.cs
switch (i) {
case 0:
  goto case 1;
case 1:
  j = 0;
  break;
}
$ clang-format -version
clang-format version 19.1.2
$ clang-format a.cs | diff a.cs -
3,4c3
<   goto case 1;
< case 1:
---
> goto case 1; case 1:

```
Expected output: same as input
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0UttupDoQ_JrmpQUybczlwQ9zyfyHsQ04h8EjbCZn_35FIFky2pWQoKurTHW5VQiun6yVIM5A5D_spBUQgbgmaomDn-WGJa03vySUbH_YFdgJqECtIqpMhw0JHy7qAYFqB9QgVOcN1ypYZMBPW4nY--jxE82BH0n5gfSOwK-r7PyFtLNV_33XUF0PRkY19Wnn57uKmD7tHJyf9oOPrb2DeZPlGf1Dv06EUF3QuK7bqnSjcqBLofmu4xf8-yxr52WeNE2_em8vmlfq6mf_-pn42_8Pq6M16Jf4WCLwEwZ1t6gCuumxxMRIbhreqMTKvKJGlGVJIhmkEHXOTCWUrdqu7gqhrFamI9EaKjtNiZPEqMgZEeM5I5GR4aaqa8OboraqLKBg9q7cmI3j8575uU9cCIuVec5JlMmoWjuGfY-OWe7bNMtVl7ZLH6Bgowsx_Dkpujha-eMGjLdhAqoiDmoyo0Uo2XdoUDJ0E16AeLLMoxxifIQ1PboB3XoXh6XNtL8D3dZ_7K_0Mft3qyPQ7dN6ALrt7p-SfgcAAP__QDLgKg">