Avoid allocating _IOCompletionCallback when flow is suppressed (#16984)
authorStephen Toub <stoub@microsoft.com>
Fri, 16 Mar 2018 18:10:36 +0000 (14:10 -0400)
committerGitHub <noreply@github.com>
Fri, 16 Mar 2018 18:10:36 +0000 (14:10 -0400)
commitdf996e2e64a88463169f523a2b5542730116b4fb
treeb7caf2ddda6cf089f8abc258d7a40a290ebcce84
parent6f2b94e5dac04a7246f20889af3765f202de4fdb
Avoid allocating _IOCompletionCallback when flow is suppressed (#16984)

This delegate was showing up in a sockets allocation trace, even though execution flow is suppressed while creating the associated PreAllocatedOverlapped.
src/mscorlib/src/System/Threading/Overlapped.cs