Miscellaneous code cleanup
authorStephen Toub <stoub@microsoft.com>
Wed, 1 Feb 2017 16:51:27 +0000 (11:51 -0500)
committerStephen Toub <stoub@microsoft.com>
Wed, 1 Feb 2017 16:51:27 +0000 (11:51 -0500)
commit094cd9bb6cfcc316190a1662b08e562c6a745177
tree73c7f6f522b9d149c92f2e6cfbcb8adeff2b33b1
parent2a0ebaad7dda77624f535014b9cfad394b7e1307
Miscellaneous code cleanup

- Remove some explicit ctors
- Remove some unnecessary casts
- Mark some fields readonly
- Follow style guidelines for visibility/static ordering in signatures
- Move usings to top of file
- Delete some stale comments
- Added names for bool args at call sites
- Use expression-bodied members in a few places
- Pass lower bounds to Array.Copy
- Remove unnecessary "success" local in QueueUserworkItemHelper

Commit migrated from https://github.com/dotnet/coreclr/commit/ade717c7bbca40632db3b42885589909d645fc1a
src/coreclr/src/mscorlib/src/System/Threading/ThreadPool.cs