diff --git a/src/Microsoft.TestPlatform.ObjectModel/TraitCollection.cs b/src/Microsoft.TestPlatform.ObjectModel/TraitCollection.cs
index 6a886d3fb2..1504dc5237 100644
--- a/src/Microsoft.TestPlatform.ObjectModel/TraitCollection.cs
+++ b/src/Microsoft.TestPlatform.ObjectModel/TraitCollection.cs
@@ -11,9 +11,7 @@ namespace Microsoft.VisualStudio.TestPlatform.ObjectModel;
///
/// Class that holds collection of traits
///
-#if NETFRAMEWORK // REVIEW ME: This could be enabled for netcore and netstandard
[Serializable]
-#endif
public class TraitCollection : IEnumerable
{
internal const string TraitPropertyId = "TestObject.Traits";
@@ -27,9 +25,7 @@ public class TraitCollection : IEnumerable
#pragma warning restore 618
typeof(TestObject));
-#if NETFRAMEWORK // REVIEW ME: This could be enabled for netcore and netstandard
[NonSerialized]
-#endif
private readonly TestObject _testObject;
internal TraitCollection(TestObject testObject)