[Mono-dev] [PATCH] System.IO.TextReader.Null implementation.

Sebastien Pouliot sebastien.pouliot at gmail.com
Fri Nov 7 17:45:04 EST 2008


Hello Bill,

On Fri, 2008-11-07 at 17:19 -0500, Bill Holmes wrote:
> Hi,
> 
> Attached is a patch to implement the Null field of the TextReader.
> There is also a test.
> 
> 2008-11-07  William Holmes  <billholmes54 at gmail.com>
> 
> 	* corlib_test.dll.sources: Add TextReaderTest.cs.
> 
> 	* TextReaderTest.cs: Added a test for the Null field of
> 	  the TextReader.

Not a big deal but this is using the older NUnit 1.x syntax. We should
try, for new files, to use the 2.2 syntax (we're already using an old
version enough, no need to use its old(er) api ;-)

> 	* TextReader.cs : Adding the NullTextReader as a private class to
> 	  the TestReader class for the Null field of the TestReader.

'{' should be on the same line as the namespace or class declaration.

> 
> 	Code is contributed under MIT/X11 license.

Good weekend!
Sebastien



More information about the Mono-devel-list mailing list