Added dedicated exception for missing method source

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

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

+1 -1
ファイルの表示
@@ -36,7 +36,7 @@ namespace ComputeSharp.Exceptions
builder.AppendLine("Invalid pairing of graphics devices used to run a compute shader and allocate memory buffers.");
builder.AppendLine($"The target device to run the compute shader is \"{device}\".");
builder.AppendLine($"The buffer of type {buffer.GetType()} was allocated on device \"{buffer.GraphicsDevice}\".");
builder.AppendLine("Make sure to always allocate buffers on the same device used to actually run the code that accesses them.");
builder.Append("Make sure to always allocate buffers on the same device used to actually run the code that accesses them.");
builder.ToString();
return new(builder.ToString());