18 references to SerialError
System (18)
sys\system\io\ports\SerialErrors.cs (3)
30
private
SerialError
errorType;
32
internal SerialErrorReceivedEventArgs(
SerialError
eventCode) {
36
public
SerialError
EventType {
sys\system\io\ports\SerialStream.cs (15)
55
const int errorEvents = (int) (
SerialError
.Frame |
SerialError
.Overrun |
56
SerialError
.RXOver |
SerialError
.RXParity |
SerialError
.TXFull);
1863
if ((errors & (int)
SerialError
.TXFull) != 0)
1864
stream.ErrorReceived(stream, new SerialErrorReceivedEventArgs(
SerialError
.TXFull));
1866
if ((errors & (int)
SerialError
.RXOver) != 0)
1867
stream.ErrorReceived(stream, new SerialErrorReceivedEventArgs(
SerialError
.RXOver));
1869
if ((errors & (int)
SerialError
.Overrun) != 0)
1870
stream.ErrorReceived(stream, new SerialErrorReceivedEventArgs(
SerialError
.Overrun));
1872
if ((errors & (int)
SerialError
.RXParity) != 0)
1873
stream.ErrorReceived(stream, new SerialErrorReceivedEventArgs(
SerialError
.RXParity));
1875
if ((errors & (int)
SerialError
.Frame) != 0)
1876
stream.ErrorReceived(stream, new SerialErrorReceivedEventArgs(
SerialError
.Frame));