diff options
author | Marek Safar <marek.safar@gmail.com> | 2017-05-30 13:52:03 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2017-05-30 13:52:03 +0300 |
commit | e49886bd091487abfbf5de934a451c5a8fe7f4c5 (patch) | |
tree | 9be1edce4158baf348d542e25fb8418285b06346 /src/System.Private.Xml.Linq | |
parent | a50d8c81151fb97996da2fcafd2a97c7f3c8938c (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.cs | 1 |
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 { |