[Fix] Bugzilla #18182 - ConcurrentQueue<T>.TryPeek() is not thread safe
- in the previous version the IsEmpty could be false, but by time we get
  to head.Next.Value we get an exception since Value is now null
- passes existing test cases, although these are not definitive since
  they don't show threading issue
- would need to adapt System.Threading.Tasks.ParallelTestHelper to allow
  TryPeek() to be called during Enqueue/Dequeue operations to truly
  test this change out
[Fix] Bugzilla #18182 - ConcurrentQueue<T>.TryPeek() is not thread safe
- removed IsEmpty test from TryPeek() since not needed now
Merge pull request #932 from exony-craigminihan/bugzilla#18182

[Fix] Bugzilla #18182 - ConcurrentQueue<T>.TryPeek() is not thread safe
[System.ServiceModel.Web] Fix JsonQueryStringConverter.ConvertValueToString to work when running on any culture [#18437]
Fix Process.CancelErrorRead

Fixed CancelErrorRead throwing an InvalidOperationException because it checked the wrong output stream (probably a cut&paste mistake).
Fix error message in Process.CancelErrorRead
Fix Process.CancelErrorRead

Fixed CancelErrorRead throwing an InvalidOperationException because it checked the wrong output stream (probably a cut&paste mistake).
Merge branch 'master' of https://github.com/kebby/mono
Merge pull request #963 from kebby/master

Fix Process.CancelErrorRead
[mcs] Emit field initializer with expression tree in all user constructors. Fixes #18308
[pcl] Update facades
[mcs] Flow analysis of nested binary expressions inside anonymous methods was missing on left/right reset. Fixes #18417
Fix the cross-compiler build.
[System] Remove unnecessary #if NET_2_0 from unit test

NET_2_0 got removed from the class implementation quite a while
back, so there is no point in still having it for the unit tests.
[System] Improve output of test
[System] Use temporary directory for saving settings files

This change modifies the ApplicationSettingsBaseTests so that they
store the settings files in a temporary directory. This reduces
the risk of failed tests because of stale files from previous test
run, or from a build that runs in parallel.
[System] Add unit test for #2315
[System] Fire SettingsSaving event (#2315)

When calling ApplicationSettingsBase.Save() the SettingsSaving
event has to be fired.
[System] Add unit tests for #15818
[System] Improve Settings behavior (#15818)

Improve behavior of ApplicationSettingsBase class to match Windows .NET
more closely.
* Implement Upgrade to allow Upgrading of settings
* Make SettingsPropertyValue serialization work for complex objects
* Make Save and Update throw in unimplemented configurations
* Changed Reload to clear PropertyValues so they are reloaded
  and fire PropertyChanged event for all Properties
* Modified Reset to do what Reload used to do.
* Added a backup Type loading for custom SettingsProviders