Open Brisingr-DE opened 1 day ago
@Olina-Zhang can your team please test this?
@Olina-Zhang can your team please test this?
It is a regression issue, regressed from .NET 9.0. Works well in .NET 8.0
.NET 8.0 result:
.NET 9.0/.NET 10.0 latest build result: System.StackOverflowException HResult=0x800703E9 Message=Exception of type 'System.StackOverflowException' was thrown.
@Olina-Zhang did your team want to fix it?
I figure you change one of the signatures to call the float
or PointF
overloads.
I figure you change one of the signatures to call the
float
orPointF
overloads.
I think IsVisible((float)x, y)
will be a bit better 😌
.NET version
.net9.0
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
.net8.0
Issue description
https://github.com/dotnet/winforms/blob/e91e3bc158717736dc2c5d3ebfa8b6463ef88487/src/System.Drawing.Common/src/System/Drawing/Graphics.cs#L583-L585
Steps to reproduce