17 references to StopBits
System (17)
sys\system\io\ports\SerialPort.cs (7)
45private const StopBits defaultStopBits = StopBits.One; 69private StopBits stopBits = defaultStopBits; 522public StopBits StopBits 531if (value < StopBits.One || value > StopBits.OnePointFive) 626public SerialPort(string portName, int baudRate, Parity parity, int dataBits, StopBits stopBits)
sys\system\io\ports\SerialStream.cs (10)
496internal StopBits StopBits 517Debug.Assert(!(value < StopBits.One || value > StopBits.OnePointFive), "An invalid value was passed to StopBits"); 520if (value == StopBits.One) nativeValue = (byte) NativeMethods.ONESTOPBIT; 521else if (value == StopBits.OnePointFive) nativeValue = (byte) NativeMethods.ONE5STOPBITS; 638internal SerialStream(string portName, int baudRate, Parity parity, int dataBits, StopBits stopBits, int readTimeout, int writeTimeout, Handshake handshake, 1263private void InitializeDCB(int baudRate, Parity parity, int dataBits, StopBits stopBits, bool discardNull) 1280case StopBits.One: 1283case StopBits.OnePointFive: 1286case StopBits.Two: