dotnet / dotnet/dotnet-api-docs

Missing exception in Bitmap constructors

Open
#2,991 1 comment 1 reaction 0 assignees View on GitHub
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:
![image](https://user-images.githubusercontent.com/31348972/62983010-36486d00-be2e-11e9-9761-fe09dfb085f1.png)

I think it's not limited to the `(int, int)` constructor only.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.