Add explicit discards to all value returning expressions
このコミットが含まれているのは:
1 親
38adbe6087
コミット
9343ac7f7b
47ファイル変更
+144
-144
検索条件に一致するファイルはありません
@@ -50,7 +50,7 @@ internal static class SemaphoreSlimExtensions
|
||||
/// <inheritdoc/>
|
||||
public void Dispose()
|
||||
{
|
||||
this.semaphore.Release();
|
||||
_ = this.semaphore.Release();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -210,7 +210,7 @@ partial class SwapChainManager<TOwner>
|
||||
}
|
||||
finally
|
||||
{
|
||||
this.renderSemaphore.Release();
|
||||
_ = this.renderSemaphore.Release();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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!;
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする