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

    <tr>
        <th>Summary</th>
        <td>
            bad clang-format of C# code
        </td>
    </tr>

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

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

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

<pre>
    command
```
clang-format -i -style="{ColumnLimit: 0,IndentWidth: 4,  TabWidth: 4,  UseTab: Never, BreakBeforeBraces: Allman,  IndentCaseLabels: true, SpacesInLineCommentPrefix: {Minimum: 0, Maximum: 0}}" "/Agent/gen/Agent.cs"
```
result in the attachment. 
[Agent.cs](https://github.com/user-attachments/files/16780672/Agent.txt)
sad


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8Ultr3DwQ_TXyi1ijHcuXfdDDes1CIPn4oCl9luWxrVaXIMkh-fdFzmXbUgrCYuZozhyfGRmjXhyiIHVP6qGQW1p9EGrF0WhXjH56FcpbK91E2EDYmTTs_eyhMtIth9kHKxM9aHqI6dUgqQYCQNr-4s1m3b22OpHqTBmBy52b0KVvekprTnECF0of5fhH5mvERznm-D98xpBzfUD5o8fZB-yDVBgzejbGSreXvDFfZMR7OaLZ4RQ2zOCXp1xw5-61w4u3Fl36P-CsX_Ij0vYP2mm72Q-R9EG-3OJ2yAeA5p-C63lBlwhcF3QfUalixv7mUMC4mUS1o2lFKlOSas3tS_r-vO4_KeqBQLem9JS1E7jmJjqt21gqbwlct4jhcKOIBK6zNpjvY9N2rGk_9ZXpJRE4vfWI8mN6-7eYRDWdqpMsUBxb4F3FG86LVYxSsmaGDtrTdDxCU89KzgpGxTo5c6gKLYABZx10rOOc8bJu2wqQV6jaBqHmhDO0UpvSmGdb-rAUOsYNxZE1FT8VZh_MvmwAv-5Odq8eiiBy3WHclkg4MzqmeGNKOhkUo5zob1vnZ3ohUFHlJyy2YMQ_DMxc79fhKfjvqPIgd4m7iW8qnwX8DAAA___-5fEH">