Added ThrowHelper type
このコミットが含まれているのは:
1 親
0c3f8f92c3
コミット
3d48a6fb0c
11ファイル変更
+125
-27
検索条件に一致するファイルはありません
@@ -1,6 +1,7 @@
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using ComputeSharp.Core.Helpers;
|
||||
using HRESULT = System.Int32;
|
||||
|
||||
namespace ComputeSharp.Graphics.Helpers
|
||||
@@ -21,9 +22,7 @@ namespace ComputeSharp.Graphics.Helpers
|
||||
{
|
||||
if (result < 0)
|
||||
{
|
||||
static void Throw(HRESULT result) => throw new Win32Exception(result);
|
||||
|
||||
Throw(result);
|
||||
ThrowHelper.ThrowWin32Exception(result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする