From 90ad497d35337dacbeb0bc6c284bd0b91df0cf6b Mon Sep 17 00:00:00 2001 From: Thomas Wachter Date: Tue, 14 Feb 2017 09:20:00 -0500 Subject: [PATCH] Fix set of public Handshake interface to remove circular reference. --- PInvokeSerialPort/SerialPort.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PInvokeSerialPort/SerialPort.cs b/PInvokeSerialPort/SerialPort.cs index c9d1021..f853feb 100755 --- a/PInvokeSerialPort/SerialPort.cs +++ b/PInvokeSerialPort/SerialPort.cs @@ -709,8 +709,8 @@ namespace PInvokeSerialPort get { return _handShake; } set { - Handshake = value; - switch (Handshake) + _handShake = value; + switch (_handShake) { case Handshake.None: TxFlowCts = false; TxFlowDsr = false; TxFlowX = false;