eigenein/cloudy — Issue #10: Excess validation in stream closing
Author: hplus
Created: 2011-11-03 08:02:26+00:00
State: open

```c#
///

/// Closes the stream.
///

public void Close()
{
inputStream.Close();
if (!ReferenceEquals(inputStream, outputStream))
{
outputStream.Close();
}
}
```
From [MSDN](http://msdn.microsoft.com/en-us/library/system.io.stream.close.aspx):

If the stream is already closed, a call to Close throws no exceptions.