Stephen Toub eb0263f18f Store _pendingReadRequest into a local for multiple accesses
It should not be possible by construction for _pendingReadRequest to become null in SignalComplete after we check it for nullness, as all access to it is protected by a lock.  But for good measure, store it into a local and use that local for subsequent accesses.  If nothing else, we can avoid an extra field access.


Commit migrated from https://github.com/dotnet/corefx/commit/7dc759724bd3da68ebe3756f1e3ffa9bd9266d2c
2017-04-06 10:29:14 -04:00
2017-04-04 10:12:49 -07:00
S
Description
.NET Runtime used for BepInEx
MIT
659 MiB
0 Stars 1 Watchers 0 Forks
Languages
C# 78.4%
C++ 11.1%
C 8.6%
Visual Basic .NET 0.5%
Assembly 0.4%
Other 0.6%