dotnet/wpf

Avoid calling Path.GetTempFileName

Open

#259 创建于 2019年1月11日

在 GitHub 查看
 (3 评论) (3 反应) (0 负责人)C# (6,683 star) (1,126 fork)batch import
:construction: work in progressEnhancement RequestedGood First Issue

描述

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

贡献者指南

Avoid calling Path.GetTempFileName · dotnet/wpf#259 | Good First Issue