diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ConvertFrom-StringData.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ConvertFrom-StringData.cs index 16bb4be012..284c344f7c 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ConvertFrom-StringData.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/ConvertFrom-StringData.cs @@ -69,7 +69,7 @@ namespace Microsoft.PowerShell.Commands { throw PSTraceSource.NewInvalidOperationException( ConvertFromStringData.InvalidDataLine, - line); + s); } string name = s.Substring(0, index); @@ -79,7 +79,7 @@ namespace Microsoft.PowerShell.Commands { throw PSTraceSource.NewInvalidOperationException( ConvertFromStringData.DataItemAlreadyDefined, - line, + s, name); }