dotnet/wpf

Avoid calling Path.GetTempFileName

オープン

#259 opened on 2019/01/11

 (3 件のコメント) (3 件のリアクション) (0 人の担当者)C# (1,126 件のフォーク)batch import
:construction: work in progressEnhancement RequestedGood First Issue

Repository metrics

Stars
 (6,683 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド