File: System\Xml\XmlDataImplementation.cs
Web Access
Project: src\runtime\src\libraries\System.Data.Common\src\System.Data.Common.csproj (System.Data.Common)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

#pragma warning disable 618 // ignore obsolete warning about XmlDataDocument

using System.Data;
using System.Diagnostics.CodeAnalysis;

namespace System.Xml
{
    [RequiresUnreferencedCode(DataSet.RequiresUnreferencedCodeMessage)]
    [RequiresDynamicCode(DataSet.RequiresDynamicCodeMessage)]
    internal sealed class XmlDataImplementation : XmlImplementation
    {
        public XmlDataImplementation() : base() { }

        public override XmlDocument CreateDocument() => new XmlDataDocument(this);
    }
}