Namespace: XmlNotepad
cjl] dead code removal public static XmlIncludeReader CreateIncludeReader(Stream stream, XmlReaderSettings settings, string baseUri) { XmlIncludeReader r = new XmlIncludeReader(); r.reader = XmlReader.Create(stream, settings, baseUri); r.settings = settings; r.baseUri = new Uri(baseUri); return r; } public static XmlIncludeReader CreateIncludeReader(TextReader reader, XmlReaderSettings settings, string baseUri) { XmlIncludeReader r = new XmlIncludeReader(); r.reader = XmlReader.Create(reader, settings, baseUri); r.settings = settings; r.baseUri = new Uri(baseUri); return r; } public static XmlIncludeReader CreateIncludeReader(TextReader reader, XmlReaderSettings settings, XmlParserContext context) { XmlIncludeReader r = new XmlIncludeReader(); r.reader = XmlReader.Create(reader, settings, context); r.settings = settings; return r;