6 references to None
System (6)
sys\system\io\ports\SerialPort.cs (2)
44
private const Parity defaultParity = Parity.
None
;
374
if (value < Parity.
None
|| value > Parity.Space)
sys\system\io\ports\SerialStream.cs (4)
321
Debug.Assert(!(value < Parity.
None
|| value > Parity.Space), "An invalid value was passed to Parity");
335
int parityFlag = (dcb.Parity == (byte) Parity.
None
) ? 0 : 1;
1298
SetDcbFlag(NativeMethods.FPARITY, ((parity == Parity.
None
) ? 0 : 1));
1315
if (parity != Parity.
None
)