Fixed namespaces and internals visibility

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-26 14:07:41 +02:00
1 親 f748e45473
コミット 2cd2f1ad0c
6ファイル変更
+14 -22

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

+5
ファイルの表示
@@ -0,0 +1,5 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("ComputeSharp")]
[assembly: InternalsVisibleTo("ComputeSharp.Graphics")]
[assembly: InternalsVisibleTo("ComputeSharp.Shaders")]
+1 -1
ファイルの表示
@@ -2,9 +2,9 @@
using System.Buffers;
using System.Diagnostics.Contracts;
using System.Runtime.CompilerServices;
using ComputeSharp.Exceptions;
using ComputeSharp.Graphics.Buffers.Abstract;
using ComputeSharp.Graphics.Buffers.Enums;
using ComputeSharp.Graphics.Exceptions;
using ComputeSharp.Graphics.Helpers;
using SharpDX.Direct3D12;
using CommandList = ComputeSharp.Graphics.Commands.CommandList;
+2 -2
ファイルの表示
@@ -1,6 +1,6 @@
using ComputeSharp.Graphics.Buffers.Abstract;
using ComputeSharp.Exceptions;
using ComputeSharp.Graphics.Buffers.Abstract;
using ComputeSharp.Graphics.Buffers.Enums;
using ComputeSharp.Graphics.Exceptions;
namespace ComputeSharp.Graphics.Buffers
{
+2 -2
ファイルの表示
@@ -1,6 +1,6 @@
using ComputeSharp.Graphics.Buffers.Abstract;
using ComputeSharp.Exceptions;
using ComputeSharp.Graphics.Buffers.Abstract;
using ComputeSharp.Graphics.Buffers.Enums;
using ComputeSharp.Graphics.Exceptions;
namespace ComputeSharp.Graphics.Buffers
{
+4
ファイルの表示
@@ -12,4 +12,8 @@
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.6.0-preview8.19405.3" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ComputeSharp.Core\ComputeSharp.Core.csproj" />
</ItemGroup>
</Project>
-17
ファイルの表示
@@ -1,17 +0,0 @@
using System;
using System.Runtime.CompilerServices;
namespace ComputeSharp.Graphics.Exceptions
{
/// <summary>
/// A custom <see cref="InvalidOperationException"/> that indicates when an HLSL-only API is called from C#
/// </summary>
public sealed class InvalidExecutionContextException : InvalidOperationException
{
/// <summary>
/// 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") { }
}
}