2017-04-18 07:52:04 +08:00
|
|
|
## WinForm's CheckForOverflowUnderflow property is now true for System.Drawing
|
2017-04-06 04:52:19 +08:00
|
|
|
|
|
|
|
### Scope
|
|
|
|
Edge
|
|
|
|
|
|
|
|
### Version Introduced
|
|
|
|
4.5
|
|
|
|
|
|
|
|
### Source Analyzer Status
|
|
|
|
Not planned
|
|
|
|
|
|
|
|
### Change Description
|
|
|
|
The CheckForOverflowUnderflow property for the System.Drawing.dll assembly is set to true.
|
|
|
|
|
|
|
|
- [ ] Quirked
|
|
|
|
- [ ] Build-time break
|
|
|
|
|
|
|
|
### Recommended Action
|
2017-04-21 02:19:05 +08:00
|
|
|
|
|
|
|
Previously when overflows occurred, the result would be silently truncated. Now
|
|
|
|
an <xref:System.OverflowException?displayProperty=name> exception is thrown.
|
2017-04-06 04:52:19 +08:00
|
|
|
|
|
|
|
### Affected APIs
|
|
|
|
* Not detectable via API analysis
|
|
|
|
|
|
|
|
### Category
|
|
|
|
Windows Forms
|
|
|
|
|
2017-04-18 07:52:04 +08:00
|
|
|
<!-- breaking change id: 53 -->
|