dotnet / dotnet/dotnet-api-docs
Missing exception in Bitmap constructors
Open
area-System.Drawing
doc-enhancement
Pri3
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
https://docs.microsoft.com/en-us/dotnet/api/system.drawing.bitmap.-ctor?view=netframework-4.8
There is a possibility for the Bitmap constructors to throw ArgumentException.
Example:

I think it's not limited to the `(int, int)` constructor only.
Contributor guide
Assessment
This issue has not been assessed yet.