Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2017-05-04 07:11:24 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2017-05-04 07:12:12 +0300
commit197c23827902317787920623bc837fd4ed768fa8 (patch)
treea006c9a52e8bb62e188ec9ac88bb8fd58a08bd82 /mcs
parent5e50a6f00aceb548d732590c7e7a965faa034685 (diff)
[System.Net.Http] Fix XI build
(cherry picked from commit 49bb738eb2298c5a5388d22e2d6176cf798a1f05)
Diffstat (limited to 'mcs')
-rw-r--r--mcs/class/System.Net.Http/CFContentStream.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Net.Http/CFContentStream.cs b/mcs/class/System.Net.Http/CFContentStream.cs
index a5d237d1530..d8bba8f0f9a 100644
--- a/mcs/class/System.Net.Http/CFContentStream.cs
+++ b/mcs/class/System.Net.Http/CFContentStream.cs
@@ -97,7 +97,7 @@ namespace System.Net.Http
if (gotMutex) {
var stream = (CFHTTPStream)sender;
if (e.EventType == CFStreamEventType.ErrorOccurred)
- Volatile.Write (http_exception, ExceptionDispatchInfo.Capture (stream.GetError ()));
+ Volatile.Write (ref http_exception, ExceptionDispatchInfo.Capture (stream.GetError ()));
data_mutex.ReleaseMutex ();
}
}