Skip to content

Commit 3fa1101

Browse files
bmehta001Copilot
andcommitted
Remove redundant readonly modifiers from auto-properties
The readonly modifier on auto-properties inside a readonly struct is redundant — the struct and get-only accessors already guarantee immutability. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f2613ab commit 3fa1101

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sdk/cs/test/FoundryLocal.Tests/Utils.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ internal static class Utils
2323
{
2424
internal readonly struct TestCatalogInfo
2525
{
26-
internal readonly List<ModelInfo> TestCatalog { get; }
27-
internal readonly string ModelListJson { get; }
26+
internal List<ModelInfo> TestCatalog { get; }
27+
internal string ModelListJson { get; }
2828

2929
internal TestCatalogInfo(bool includeCuda)
3030
{

0 commit comments

Comments
 (0)