Revert "Missing Args checks."
[mono.git] / mcs / class / corlib / System.Security.Cryptography / HashAlgorithm.cs
index 150cac95bef8b1c03355909a84be750a5f29bd0b..07074f8aef3ee6b3be94a8203be37ffd3759ca31 100644 (file)
@@ -98,8 +98,6 @@ namespace System.Security.Cryptography {
                        // don't read stream unless object is ready to use
                        if (disposed)
                                throw new ObjectDisposedException ("HashAlgorithm");
-                       if (inputStream == null)
-                               throw new ArgumentNullException ("InputStream");
 
                        byte[] buffer = new byte [4096];
                        int len = inputStream.Read (buffer, 0, 4096);