private int ReadSourceChar() { int num = this.source.Read(); while (num < 0 && this.sourceStack.Count > 0) { this.source = (this.sourceStack.Pop() as XmlParserInput.XmlParserInputSource); num = this.source.Read(); } return(num); }
public void PushPEBuffer(DTDParameterEntityDeclaration pe) { this.sourceStack.Push(this.source); this.source = new XmlParserInput.XmlParserInputSource(new StringReader(pe.ReplacementText), pe.ActualUri, true, 1, 0); }
public XmlParserInput(TextReader reader, string baseURI, int line, int column) { this.source = new XmlParserInput.XmlParserInputSource(reader, baseURI, false, line, column); }