From 49bb738eb2298c5a5388d22e2d6176cf798a1f05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Thu, 4 May 2017 06:11:24 +0200 Subject: [PATCH] [System.Net.Http] Fix XI build --- mcs/class/System.Net.Http/CFContentStream.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (); } } -- GitLab