public ReaderMultiIndexDelegate(XamlSchemaContext schemaContext, XamlNodeIndexDelegate indexDelegate, int count, bool hasLineInfo) : base(schemaContext) { this._indexDelegate = indexDelegate; this._count = count; this._idx = -1; base._currentNode = s_StartOfStream; base._currentLineInfo = null; base._hasLineInfo = hasLineInfo; }
public ReaderMultiIndexDelegate(XamlSchemaContext schemaContext, XamlNodeIndexDelegate indexDelegate, int count, bool hasLineInfo) : base(schemaContext) { _indexDelegate = indexDelegate; _count = count; // Do not set CurrentIndex in the constructor, because it invokes the overridable method Read(). _idx = -1; _currentNode = s_StartOfStream; _currentLineInfo = null; _hasLineInfo = hasLineInfo; }