Remove unnecessary parentheses

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 d910922ef5
コミット 8be9203a1c
18ファイル変更
+35 -36

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

+1 -1
ファイルの表示
@@ -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);
}
+2 -2
ファイルの表示
@@ -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));
}
}
}
+2
ファイルの表示
@@ -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 -1
ファイルの表示
@@ -1,4 +1,4 @@
#pragma warning disable IDE0048, IDE0011
#pragma warning disable IDE0048, IDE0011, IDE0047
namespace ComputeSharp.SwapChain.Shaders.Compute;
+1 -1
ファイルの表示
@@ -1,4 +1,4 @@
#pragma warning disable IDE0048, IDE0011
#pragma warning disable IDE0048, IDE0011, IDE0047
namespace ComputeSharp.SwapChain.Shaders.Compute;
+1 -1
ファイルの表示
@@ -1,4 +1,4 @@
#pragma warning disable IDE0048, IDE0011
#pragma warning disable IDE0048, IDE0011, IDE0047
namespace ComputeSharp.SwapChain.Shaders.Compute;
+1 -1
ファイルの表示
@@ -1,4 +1,4 @@
#pragma warning disable IDE0048, IDE0011
#pragma warning disable IDE0048, IDE0011, IDE0047
namespace ComputeSharp.SwapChain.Shaders.Compute;
+1 -1
ファイルの表示
@@ -1,4 +1,4 @@
#pragma warning disable IDE0048, IDE0011
#pragma warning disable IDE0048, IDE0011, IDE0047
namespace ComputeSharp.SwapChain.Shaders.Compute;