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