Make m_contingentProperties non-volatile
authorstephentoub <stoub@microsoft.com>
Sun, 1 May 2016 23:11:40 +0000 (19:11 -0400)
committerStephen Toub <stoub@microsoft.com>
Mon, 30 May 2016 15:02:09 +0000 (11:02 -0400)
commit224eda985e57afab19ab0bee690561215bf75a05
tree964f55e1e501885c658c74fb31de2617f3d54678
parentfe75c2696a1f4341babb0d11c8e666a6cff6fc0d
Make m_contingentProperties non-volatile

Most accesses, including those to get the recently moved m_parent field, do not need to be volatile.  This commit makes the field non-volatile and then adds usage of Volatile.Read only where needed.

Commit migrated from https://github.com/dotnet/coreclr/commit/48064b6d8eb2c68627aec3bb9a7c5a68f3d074d8
src/coreclr/src/mscorlib/src/System/Threading/Tasks/Task.cs