We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling Microsoft.UI.Windowing.DisplayArea.FindAll() will always throw a System.ArgumentOutOfRangeException
This appears to be due to an issue in TypeNameSupport.ParseGenericTypeName() where a call is made to ReadOnlySpan.Slice() with a 0 parameter.
Use the code:
IReadOnlyList<DisplayArea> displayAreas = DisplayArea.FindAll();
A read only list of DisplayArea objects is returned
No response
WinUI 3 - Windows App SDK 1.4.3: 1.4.231115000
Windows 11 (22H2): Build 22621
The text was updated successfully, but these errors were encountered:
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Sorry, something went wrong.
This bug is not the same as #6454 as a different exception is thrown
No branches or pull requests
Describe the bug
Calling Microsoft.UI.Windowing.DisplayArea.FindAll() will always throw a System.ArgumentOutOfRangeException
This appears to be due to an issue in TypeNameSupport.ParseGenericTypeName() where a call is made to ReadOnlySpan.Slice() with a 0 parameter.
Steps to reproduce the bug
Use the code:
IReadOnlyList<DisplayArea> displayAreas = DisplayArea.FindAll();
Expected behavior
A read only list of DisplayArea objects is returned
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.4.3: 1.4.231115000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: