static LinePreservedTextWriter GetLinePreservedTextWriter(TextWriter w)
 {
     var tw = w as LinePreservedTextWriter;
     if (tw == null)
         tw = new LinePreservedTextWriter (w);
     return tw;
 }
        static LinePreservedTextWriter GetLinePreservedTextWriter(TextWriter w)
        {
            var tw = w as LinePreservedTextWriter;

            if (tw == null)
            {
                tw = new LinePreservedTextWriter(w);
            }
            return(tw);
        }
 internal LinePreservedXmlWriter(LinePreservedTextWriter w)
     : base(w)
 {
     this.tw = w;
 }
 internal LinePreservedXmlWriter(LinePreservedTextWriter w)
     : base(w)
 {
     this.tw = w;
 }