* SerialPortStream.cs (BytesToRead, BytesToWrite): Implement.
* SerialPort.cs (ReadByte): Go directly to the stream, no need to
call the wrapper code.
(ReadChar): implement.
(ReadLine): implement.
Add DefaultValueAttributes to various methods.
* SerialPortStream.cs, WinSerialStream.cs: Use the same checking
we use elsewhere for parameters.
svn path=/trunk/mcs/; revision=63688
* ISerialStream.cs: Add support for break state.
* SerialPort.cs: Likewise.
* WinSerialStream.cs: Add support for break state and
some other bits (BytesToRead, BytesToWrite, DsrHolding,
CDHolding, CtsHolding, DiscardIn, DiscardOut).
* SerialPortStream.cs: Add a SetBreak function to
implement the updated ISerialStream interface (not implemented
by now).
svn path=/trunk/mcs/; revision=60663
* WinSerialStream.cs: Actually plug the Win serial stream
in the SerialPort and use it if we are on Windows (use std
stream otherwise).
2005-05-08 Carlos Alberto Cortez <[email protected]>
svn path=/trunk/mcs/; revision=60402