2008-02-10 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Sun, 10 Feb 2008 19:46:47 +0000 (19:46 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Sun, 10 Feb 2008 19:46:47 +0000 (19:46 -0000)
commit5c5910aa1fa6c2d9acf37fe702e9329db281b372
tree0d3c9cacf73a8c4c26ce8ce89208ba33fc94de4b
parentdaa6a545b4134062975b1306c2766229d2e46bfc
2008-02-10  Sebastien Pouliot  <sebastien@ximian.com>

* DecoderExceptionFallback.cs: Use 'is' instead of 'as' and a null
check. Found using Gendarme new UseIsOperator rule.
* EncoderExceptionFallback.cs: Use 'is' instead of 'as' and a null
check. Found using Gendarme new UseIsOperator rule.

svn path=/trunk/mcs/; revision=95400
mcs/class/corlib/System.Text/ChangeLog
mcs/class/corlib/System.Text/DecoderExceptionFallback.cs
mcs/class/corlib/System.Text/EncoderExceptionFallback.cs