Closed VPeruS closed 6 years ago
new FileStream() will throw with path == null (https://github.com/dotnet/corefx/blob/0bfc4f3cf62f6fc29162ad5b1b89acc14124a375/src/Common/src/CoreLib/System/IO/FileStream.cs#L184)
Thanks for your PR. However, in MVC, we generally prefer throwing as close to the calling code as possible. The current code is fine as it is.
new FileStream() will throw with path == null (https://github.com/dotnet/corefx/blob/0bfc4f3cf62f6fc29162ad5b1b89acc14124a375/src/Common/src/CoreLib/System/IO/FileStream.cs#L184)