From 1583318d72b23ff7da29a0ad96a198e996921b80 Mon Sep 17 00:00:00 2001 From: Dan Travison Date: Wed, 25 Jul 2018 16:37:10 -0700 Subject: [PATCH] Correct the comment for 'WSManReceiveDataResult.Unmarshal'. (#7364) --- .../engine/remoting/fanin/WSManNativeAPI.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/System.Management.Automation/engine/remoting/fanin/WSManNativeAPI.cs b/src/System.Management.Automation/engine/remoting/fanin/WSManNativeAPI.cs index 01a32e3467..eac2efb24a 100644 --- a/src/System.Management.Automation/engine/remoting/fanin/WSManNativeAPI.cs +++ b/src/System.Management.Automation/engine/remoting/fanin/WSManNativeAPI.cs @@ -1911,8 +1911,8 @@ namespace System.Management.Automation.Remoting.Client /// /// Constructs a WSManReceiveDataResult from the unmanaged pointer. /// This involves copying data from unmanaged memory to managed heap. - /// Currently PowerShell supports only text data on the wire, so this - /// method asserts if the data is not text. + /// Currently PowerShell supports only binary data on the wire, so this + /// method asserts if the data is not binary. /// /// /// Pointer to unmanaged data. @@ -1935,7 +1935,7 @@ namespace System.Management.Automation.Remoting.Client result1.data.binaryData.bufferLength); } Dbg.Assert(result1.data.type == (uint)WSManDataType.WSMAN_DATA_TYPE_BINARY, - "ReceiveDataResult can receive only text data"); + "ReceiveDataResult can receive only binary data"); WSManReceiveDataResult result = new WSManReceiveDataResult(); result.data = dataRecvd;