Skip to content

Commit b3cdc56

Browse files
author
James Brundage
committed
Adding CorrectionExtent.ToString() (Fixes PowerShell#1944)
1 parent 64774f3 commit b3cdc56

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Engine/Generic/CorrectionExtent.cs

+8
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,13 @@ public CorrectionExtent(
104104
{
105105

106106
}
107+
108+
/// <summary>
109+
/// Outputs a CorrectionExtent as a string.
110+
/// </summary>
111+
/// <returns>Returns the text in a CorrectionExtent.</returns>
112+
public override string ToString() {
113+
return this.Text;
114+
}
107115
}
108116
}

0 commit comments

Comments
 (0)