diff --git a/src/System.Management.Automation/engine/lang/scriptblock.cs b/src/System.Management.Automation/engine/lang/scriptblock.cs
index 8321d01319..7bbd33c9cf 100644
--- a/src/System.Management.Automation/engine/lang/scriptblock.cs
+++ b/src/System.Management.Automation/engine/lang/scriptblock.cs
@@ -1276,14 +1276,16 @@ namespace System.Management.Automation
/// Clean resources for script commands of this steppable pipeline.
///
///
- /// The way we handle 'Clean' blocks in a steppable pipeline makes sure that:
- /// 1. The 'Clean' blocks get to run if any exception is thrown from 'Begin/Process/End'.
- /// 2. The 'Clean' blocks get to run if 'End' finished successfully.
+ ///
+ /// The way we handle 'Clean' blocks in a steppable pipeline makes sure that:
+ /// 1. The 'Clean' blocks get to run if any exception is thrown from 'Begin/Process/End'.
+ /// 2. The 'Clean' blocks get to run if 'End' finished successfully.
+ ///
/// However, this is not enough for a steppable pipeline, because the function, where the steppable
/// pipeline gets used, may fail (think about a proxy function). And that may lead to the situation
/// where "no exception was thrown from the steppable pipeline" but "the steppable pipeline didn't
/// run to the end". In that case, 'Clean' won't run unless it's triggered explicitly on the steppable
- /// pipeline. This method allows a user to do that from the 'Clean' block of the proxy function.
+ /// pipeline. This method allows a user to do that from the 'Clean' block of the proxy function.
///
public void Clean()
{
@@ -1386,7 +1388,7 @@ namespace System.Management.Automation
///
/// Serialization information.
/// Streaming context.
- [Obsolete("Legacy serialization support is deprecated since .NET 8", DiagnosticId = "SYSLIB0051")]
+ [Obsolete("Legacy serialization support is deprecated since .NET 8", DiagnosticId = "SYSLIB0051")]
protected ScriptBlockToPowerShellNotSupportedException(SerializationInfo info, StreamingContext context)
{
throw new NotSupportedException();