Remove unused SourceLength remoting property causing formatting issues (#10765)

This commit is contained in:
Steve Lee
2019-10-12 22:10:10 +05:00
committed by Ilya
parent 6d56e65841
commit bf5956193f
2 changed files with 1 additions and 3 deletions
@@ -470,8 +470,7 @@ namespace Microsoft.PowerShell.Commands.Internal.Format
var isRemotingPropertyName = name.Equals(RemotingConstants.ComputerNameNoteProperty, StringComparison.OrdinalIgnoreCase)
|| name.Equals(RemotingConstants.ShowComputerNameNoteProperty, StringComparison.OrdinalIgnoreCase)
|| name.Equals(RemotingConstants.RunspaceIdNoteProperty, StringComparison.OrdinalIgnoreCase)
|| name.Equals(RemotingConstants.SourceJobInstanceId, StringComparison.OrdinalIgnoreCase)
|| name.Equals(RemotingConstants.SourceLength, StringComparison.OrdinalIgnoreCase);
|| name.Equals(RemotingConstants.SourceJobInstanceId, StringComparison.OrdinalIgnoreCase);
return !isRemotingPropertyName;
}
@@ -93,7 +93,6 @@ namespace System.Management.Automation
internal static readonly string RunspaceIdNoteProperty = "RunspaceId";
internal static readonly string ShowComputerNameNoteProperty = "PSShowComputerName";
internal static readonly string SourceJobInstanceId = "PSSourceJobInstanceId";
internal static readonly string SourceLength = "Length";
internal static readonly string EventObject = "PSEventObject";
// used by Custom Shell related cmdlets.
internal const string PSSessionConfigurationNoun = "PSSessionConfiguration";