Avoid calling Path.GetTempFileName
Open
:construction: work in progress
Enhancement Requested
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
`System.Windows.Input.Cursor.LoadFromStream` may throw IOException.
`DevDiv\FX\Rel\Net471Rel1Last\wpf\src\Core\CSharp\System\Windows\Input\Cursor.cs` calls `Path.GetTempFileName` which will throw if the `%TEMP%` directory contains too many temp files (65k).
Reported by customer as [VS Feedback issue](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/537936)
Contributor guide
Assessment
This issue has not been assessed yet.