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

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Lipnin <v-maxlip@microsoft.com>2018-04-28 00:05:13 +0300
committerMarek Safar <marek.safar@gmail.com>2018-04-28 01:42:23 +0300
commitf216aff2ac9965db5548b6d14e043ceb650524be (patch)
treebe78cd1d7d2bf907f408370e28ec3e8eaa267150 /src/System.Private.Xml.Linq
parent242516e38fce3a02b14194afc09acca7b04a53f0 (diff)
[System.Xml.Linq] add temporary conditional workaround to fix build errors.
Diffstat (limited to 'src/System.Private.Xml.Linq')
-rw-r--r--src/System.Private.Xml.Linq/src/System/Xml/Linq/XDeclaration.cs5
-rw-r--r--src/System.Private.Xml.Linq/src/System/Xml/Linq/XElement.cs5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/System.Private.Xml.Linq/src/System/Xml/Linq/XDeclaration.cs b/src/System.Private.Xml.Linq/src/System/Xml/Linq/XDeclaration.cs
index 6bcd19b498..9a0888ef46 100644
--- a/src/System.Private.Xml.Linq/src/System/Xml/Linq/XDeclaration.cs
+++ b/src/System.Private.Xml.Linq/src/System/Xml/Linq/XDeclaration.cs
@@ -5,6 +5,11 @@
using System.IO;
using StringBuilder = System.Text.StringBuilder;
+#if MONO
+// remove it when StringBuilderCache moves back to System.IO
+using StringBuilderCache = System.Text.StringBuilderCache;
+#endif
+
namespace System.Xml.Linq
{
/// <summary>
diff --git a/src/System.Private.Xml.Linq/src/System/Xml/Linq/XElement.cs b/src/System.Private.Xml.Linq/src/System/Xml/Linq/XElement.cs
index c38f8cb7cc..650a63c420 100644
--- a/src/System.Private.Xml.Linq/src/System/Xml/Linq/XElement.cs
+++ b/src/System.Private.Xml.Linq/src/System/Xml/Linq/XElement.cs
@@ -14,6 +14,11 @@ using IEnumerable = System.Collections.IEnumerable;
using SuppressMessageAttribute = System.Diagnostics.CodeAnalysis.SuppressMessageAttribute;
using StringBuilder = System.Text.StringBuilder;
+#if MONO
+// remove it when StringBuilderCache moves back to System.IO
+using StringBuilderCache = System.Text.StringBuilderCache;
+#endif
+
namespace System.Xml.Linq
{
/// <summary>