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:
authorMarek Safar <marek.safar@gmail.com>2017-05-30 13:52:03 +0300
committerMarek Safar <marek.safar@gmail.com>2017-05-30 13:52:03 +0300
commite49886bd091487abfbf5de934a451c5a8fe7f4c5 (patch)
tree9be1edce4158baf348d542e25fb8418285b06346 /src/System.Private.Xml.Linq
parenta50d8c81151fb97996da2fcafd2a97c7f3c8938c (diff)
Revert "Scale back [Serializable] CoreFX types (#19742)"
This reverts commit 6dd451f51451a7d0ceea6104b51bd17005e9a0e6.
Diffstat (limited to 'src/System.Private.Xml.Linq')
-rw-r--r--src/System.Private.Xml.Linq/src/System/Xml/Linq/XName.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/System.Private.Xml.Linq/src/System/Xml/Linq/XName.cs b/src/System.Private.Xml.Linq/src/System/Xml/Linq/XName.cs
index efc95cbeb8..2dbdf6c6b8 100644
--- a/src/System.Private.Xml.Linq/src/System/Xml/Linq/XName.cs
+++ b/src/System.Private.Xml.Linq/src/System/Xml/Linq/XName.cs
@@ -10,6 +10,7 @@ namespace System.Xml.Linq
/// <summary>
/// Represents a name of an XML element or attribute. This class cannot be inherited.
/// </summary>
+ [Serializable]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Serialization", "CA2229", Justification = "Serialized with custom proxy")]
public sealed class XName : IEquatable<XName>, ISerializable
{