<PackageReference Include="NETStandard.Library" Version="2.0.3" />

System.Xml.Serialization.XmlRootAttribute

public class XmlRootAttribute : Attribute
namespace System.Xml.Serialization { public class XmlRootAttribute : Attribute { public string DataType { get; set; } public string ElementName { get; set; } public bool IsNullable { get; set; } public string Namespace { get; set; } public XmlRootAttribute(); public XmlRootAttribute(string elementName); } }