Simplify code in all exception types
このコミットが含まれているのは:
1 親
3be6767584
コミット
afd4649a55
6ファイル変更
+41
-52
検索条件に一致するファイルはありません
@@ -10,9 +10,9 @@ public sealed class InvalidExecutionContextException : InvalidOperationException
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="InvalidExecutionContextException"/> instance.
|
||||
/// </summary>
|
||||
/// <param name="memberName">The member name of the caller API.</param>
|
||||
/// <param name="memberName">The member name of the invoked API.</param>
|
||||
internal InvalidExecutionContextException(string memberName)
|
||||
: base($"The API {memberName} can only be used from within an HLSL shader.")
|
||||
: base("The invoked API can only be used from within an HLSL shader.")
|
||||
{
|
||||
MemberName = memberName;
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする