diff --git a/src/Microsoft.TestPlatform.Extensions.TrxLogger/NullableHelpers.cs b/src/Microsoft.TestPlatform.Extensions.TrxLogger/NullableHelpers.cs
index 6f719c4f40..356a902899 100644
--- a/src/Microsoft.TestPlatform.Extensions.TrxLogger/NullableHelpers.cs
+++ b/src/Microsoft.TestPlatform.Extensions.TrxLogger/NullableHelpers.cs
@@ -33,10 +33,10 @@ internal static class TPDebug
///
[Conditional("DEBUG")]
public static void Assert([DoesNotReturnIf(false)] bool b)
- => TPDebug.Assert(b);
+ => Debug.Assert(b);
///
[Conditional("DEBUG")]
public static void Assert([DoesNotReturnIf(false)] bool b, string message)
- => TPDebug.Assert(b, message);
+ => Debug.Assert(b, message);
}
diff --git a/src/Microsoft.TestPlatform.Extensions.TrxLogger/NullableHelpers.tt b/src/Microsoft.TestPlatform.Extensions.TrxLogger/NullableHelpers.tt
index cf74926c25..48904546ff 100644
--- a/src/Microsoft.TestPlatform.Extensions.TrxLogger/NullableHelpers.tt
+++ b/src/Microsoft.TestPlatform.Extensions.TrxLogger/NullableHelpers.tt
@@ -36,10 +36,10 @@ internal static class TPDebug
///
[Conditional("DEBUG")]
public static void Assert([DoesNotReturnIf(false)] bool b)
- => TPDebug.Assert(b);
+ => Debug.Assert(b);
///
[Conditional("DEBUG")]
public static void Assert([DoesNotReturnIf(false)] bool b, string message)
- => TPDebug.Assert(b, message);
+ => Debug.Assert(b, message);
}