Add explicit discards to all value returning expressions

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 38adbe6087
コミット 9343ac7f7b
47ファイル変更
+144 -144

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

+1 -1
ファイルの表示
@@ -50,7 +50,7 @@ internal static class SemaphoreSlimExtensions
/// <inheritdoc/>
public void Dispose()
{
this.semaphore.Release();
_ = this.semaphore.Release();
}
}
}
+1 -1
ファイルの表示
@@ -210,7 +210,7 @@ partial class SwapChainManager<TOwner>
}
finally
{
this.renderSemaphore.Release();
_ = this.renderSemaphore.Release();
}
}
+1 -1
ファイルの表示
@@ -531,7 +531,7 @@ internal sealed unsafe partial class SwapChainManager<TOwner> : NativeObject
@this.swapChainPanelNative.Get()->SetSwapChain(null).Assert();
@this.swapChainPanelNative.Dispose();
ThreadPool.UnsafeQueueUserWorkItem(static state =>
_ = ThreadPool.UnsafeQueueUserWorkItem(static state =>
{
SwapChainManager<TOwner> @this = (SwapChainManager<TOwner>)state!;