protected override XDocument Build(Uri uri)
 {
     if (uri != _inputUri)
     {
         throw new ArgumentException("specified URI does not match the URI used to create this model provider");
     }
     var builder = new AnnotatedTreeBuilder();
     using (var reader = XmlReader.Create(new StringReader(_inputXml)))
     {
         var doc = builder.Build(reader);
         return doc;
     }
 }
        protected override XDocument Build(Uri uri)
        {
            if (uri != _inputUri)
            {
                throw new ArgumentException("specified URI does not match the URI used to create this model provider");
            }
            var builder = new AnnotatedTreeBuilder();

            using (var reader = XmlReader.Create(new StringReader(_inputXml)))
            {
                var doc = builder.Build(reader);
                return(doc);
            }
        }