2 writes to commProp
System (2)
sys\system\io\ports\SerialStream.cs (2)
692
commProp
= new UnsafeNativeMethods.COMMPROP();
695
if (!UnsafeNativeMethods.GetCommProperties(_handle, ref
commProp
)
8 references to commProp
System (8)
sys\system\io\ports\SerialStream.cs (8)
143
if (value <= 0 || (value >
commProp
.dwMaxBaud &&
commProp
.dwMaxBaud > 0))
146
if (
commProp
.dwMaxBaud == 0)
155
SR.GetString(SR.ArgumentOutOfRange_Bounds_Lower_Upper, 0,
commProp
.dwMaxBaud));
706
if (
commProp
.dwMaxBaud != 0 && baudRate >
commProp
.dwMaxBaud)
707
throw new ArgumentOutOfRangeException("baudRate", SR.GetString(SR.Max_Baud,
commProp
.dwMaxBaud));
1349
dcb.XonLim = dcb.XoffLim = (ushort) (
commProp
.dwCurrentRxQueue / 4);