diff --git a/src/TestFramework/TestFramework/Attributes/TestMethod/TestMethodAttribute.cs b/src/TestFramework/TestFramework/Attributes/TestMethod/TestMethodAttribute.cs
index 380f2ae8cf..08db46f3d8 100644
--- a/src/TestFramework/TestFramework/Attributes/TestMethod/TestMethodAttribute.cs
+++ b/src/TestFramework/TestFramework/Attributes/TestMethod/TestMethodAttribute.cs
@@ -43,14 +43,14 @@ public TestMethodAttribute([CallerFilePath] string callerFilePath = "", [CallerL
}
///
- /// Gets display name for the test.
+ /// Gets or sets display name for the test.
///
- public string? DisplayName { get; init; }
+ public string? DisplayName { get; set; }
///
- /// Gets the strategy for unfolding parameterized tests.
+ /// Gets or sets the strategy for unfolding parameterized tests.
///
- public TestDataSourceUnfoldingStrategy UnfoldingStrategy { get; init; } = TestDataSourceUnfoldingStrategy.Auto;
+ public TestDataSourceUnfoldingStrategy UnfoldingStrategy { get; set; } = TestDataSourceUnfoldingStrategy.Auto;
///
/// Gets the file path that declares the attribute.
diff --git a/src/TestFramework/TestFramework/PublicAPI/PublicAPI.Unshipped.txt b/src/TestFramework/TestFramework/PublicAPI/PublicAPI.Unshipped.txt
index cfabfe29c5..ee959a8a46 100644
--- a/src/TestFramework/TestFramework/PublicAPI/PublicAPI.Unshipped.txt
+++ b/src/TestFramework/TestFramework/PublicAPI/PublicAPI.Unshipped.txt
@@ -55,3 +55,7 @@ static Microsoft.VisualStudio.TestTools.UnitTesting.Assert.IsNotExactInstanceOfT
static Microsoft.VisualStudio.TestTools.UnitTesting.Assert.IsNotExactInstanceOfType(object? value, string? message = "", string! valueExpression = "") -> void
static Microsoft.VisualStudio.TestTools.UnitTesting.Assert.IsNotExactInstanceOfType(object? value, ref Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertGenericIsNotExactInstanceOfTypeInterpolatedStringHandler message, string! valueExpression = "") -> void
static Microsoft.VisualStudio.TestTools.UnitTesting.Assert.ContainsSingle(System.Collections.IEnumerable! collection, string? message = "", string! collectionExpression = "") -> object?
+*REMOVED*Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute.DisplayName.init -> void
+*REMOVED*Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute.UnfoldingStrategy.init -> void
+Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute.DisplayName.set -> void
+Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute.UnfoldingStrategy.set -> void