Added dedicated exception for missing method source

このコミットが含まれているのは:
Sergio Pedri committed 2020-12-01 18:16:44 +01:00
1 親 f4bd3f87b9
コミット d1e91d71ab
5ファイル変更
+75 -7

検索条件に一致するファイルはありません

+4 -1
ファイルの表示
@@ -11,6 +11,9 @@ namespace ComputeSharp.Exceptions
/// Creates a new <see cref="InvalidExecutionContextException"/> instance
/// </summary>
/// <param name="name">The name of the caller API</param>
internal InvalidExecutionContextException(string name) : base($"The API {name} can only be used from within an HLSL shader") { }
internal InvalidExecutionContextException(string name)
: base($"The API {name} can only be used from within an HLSL shader.")
{
}
}
}