Removes redundant delegate type declarations
This commit is contained in:
parent
3c9842ee5a
commit
c85b0a740c
317 changed files with 898 additions and 903 deletions
|
|
@ -115,7 +115,7 @@ namespace Server {
|
|||
|
||||
public CSPRandom() {
|
||||
_CSP.GetBytes(_Working);
|
||||
ThreadPool.QueueUserWorkItem(new WaitCallback(Fill));
|
||||
ThreadPool.QueueUserWorkItem(Fill);
|
||||
}
|
||||
|
||||
private void CheckSwap(int c) {
|
||||
|
|
@ -131,7 +131,7 @@ namespace Server {
|
|||
|
||||
_filled.Reset();
|
||||
|
||||
ThreadPool.QueueUserWorkItem(new WaitCallback(Fill));
|
||||
ThreadPool.QueueUserWorkItem(Fill);
|
||||
}
|
||||
|
||||
private void Fill(object o) {
|
||||
|
|
@ -235,7 +235,7 @@ namespace Server {
|
|||
public RDRandUnix()
|
||||
{
|
||||
SafeNativeMethods.rdrand_get_bytes(BUFFER_SIZE, _Working);
|
||||
ThreadPool.QueueUserWorkItem(new WaitCallback(Fill));
|
||||
ThreadPool.QueueUserWorkItem(Fill);
|
||||
}
|
||||
|
||||
public bool IsSupported()
|
||||
|
|
@ -258,7 +258,7 @@ namespace Server {
|
|||
|
||||
_filled.Reset();
|
||||
|
||||
ThreadPool.QueueUserWorkItem(new WaitCallback(Fill));
|
||||
ThreadPool.QueueUserWorkItem(Fill);
|
||||
}
|
||||
|
||||
private void Fill(object o)
|
||||
|
|
@ -372,7 +372,7 @@ namespace Server {
|
|||
|
||||
public RDRand32() {
|
||||
SafeNativeMethods.rdrand_get_bytes(BUFFER_SIZE, _Working);
|
||||
ThreadPool.QueueUserWorkItem(new WaitCallback(Fill));
|
||||
ThreadPool.QueueUserWorkItem(Fill);
|
||||
}
|
||||
|
||||
public bool IsSupported() {
|
||||
|
|
@ -393,7 +393,7 @@ namespace Server {
|
|||
|
||||
_filled.Reset();
|
||||
|
||||
ThreadPool.QueueUserWorkItem(new WaitCallback(Fill));
|
||||
ThreadPool.QueueUserWorkItem(Fill);
|
||||
}
|
||||
|
||||
private void Fill(object o) {
|
||||
|
|
@ -491,7 +491,7 @@ namespace Server {
|
|||
|
||||
public RDRand64() {
|
||||
SafeNativeMethods.rdrand_get_bytes(BUFFER_SIZE, _Working);
|
||||
ThreadPool.QueueUserWorkItem(new WaitCallback(Fill));
|
||||
ThreadPool.QueueUserWorkItem(Fill);
|
||||
}
|
||||
|
||||
public bool IsSupported() {
|
||||
|
|
@ -512,7 +512,7 @@ namespace Server {
|
|||
|
||||
_filled.Reset();
|
||||
|
||||
ThreadPool.QueueUserWorkItem(new WaitCallback(Fill));
|
||||
ThreadPool.QueueUserWorkItem(Fill);
|
||||
}
|
||||
|
||||
private void Fill(object o) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue