mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Remove unused SourceLength remoting property causing formatting issues (#10765)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user