Remove unnecessary parentheses
このコミットが含まれているのは:
1 親
d910922ef5
コミット
8be9203a1c
18ファイル変更
+35
-36
検索条件に一致するファイルはありません
@@ -794,7 +794,7 @@ public partial class D2D1ResourceTextureManagerTests
|
||||
for (int y = 0; y < updateLengthY; y++)
|
||||
{
|
||||
ReadOnlySpan<byte> source = data.AsSpan((z * updateLengthX * updateLengthY) + (y * updateLengthX), updateLengthX);
|
||||
Span<byte> destination = texture.AsSpan(((startOffsetZ + z) * (width * height)) + ((startOffsetY + y) * width) + startOffsetX, updateLengthX);
|
||||
Span<byte> destination = texture.AsSpan(((startOffsetZ + z) * width * height) + ((startOffsetY + y) * width) + startOffsetX, updateLengthX);
|
||||
|
||||
source.CopyTo(destination);
|
||||
}
|
||||
|
||||
@@ -19,13 +19,13 @@ namespace TerraFX.Interop.DirectX
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public uint Release()
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D12Device5*, uint>)(lpVtbl[2]))((ID3D12Device5*)Unsafe.AsPointer(ref this));
|
||||
return ((delegate* unmanaged[Stdcall]<ID3D12Device5*, uint>)lpVtbl[2])((ID3D12Device5*)Unsafe.AsPointer(ref this));
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void RemoveDevice()
|
||||
{
|
||||
((delegate* unmanaged[Stdcall]<ID3D12Device5*, void>)(lpVtbl[58]))((ID3D12Device5*)Unsafe.AsPointer(ref this));
|
||||
((delegate* unmanaged[Stdcall]<ID3D12Device5*, void>)lpVtbl[58])((ID3D12Device5*)Unsafe.AsPointer(ref this));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,6 +11,8 @@ using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using SixLabors.ImageSharp;
|
||||
using ImageSharpRgba32 = SixLabors.ImageSharp.PixelFormats.Rgba32;
|
||||
|
||||
#pragma warning disable IDE0047
|
||||
|
||||
namespace ComputeSharp.Tests;
|
||||
|
||||
[TestClass]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable IDE0048, IDE0011
|
||||
#pragma warning disable IDE0048, IDE0011, IDE0047
|
||||
|
||||
namespace ComputeSharp.SwapChain.Shaders.Compute;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable IDE0048, IDE0011
|
||||
#pragma warning disable IDE0048, IDE0011, IDE0047
|
||||
|
||||
namespace ComputeSharp.SwapChain.Shaders.Compute;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable IDE0048, IDE0011
|
||||
#pragma warning disable IDE0048, IDE0011, IDE0047
|
||||
|
||||
namespace ComputeSharp.SwapChain.Shaders.Compute;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable IDE0048, IDE0011
|
||||
#pragma warning disable IDE0048, IDE0011, IDE0047
|
||||
|
||||
namespace ComputeSharp.SwapChain.Shaders.Compute;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable IDE0048, IDE0011
|
||||
#pragma warning disable IDE0048, IDE0011, IDE0047
|
||||
|
||||
namespace ComputeSharp.SwapChain.Shaders.Compute;
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする