private Parser(Tokenizer t) { this._t = t; this._doc = null; try { this.ParseContents(); } finally { this._t.Recycle(); } }
public static void ReleaseSharedStringMaker(ref Tokenizer.StringMaker maker) { bool lockTaken = false; RuntimeHelpers.PrepareConstrainedRegions(); try { Monitor.Enter(_sharedStatics, ref lockTaken); _sharedStatics._maker = maker; maker = null; } finally { if (lockTaken) { Monitor.Exit(_sharedStatics); } } }
internal Parser( byte[] array, Tokenizer.ByteTokenEncoding encoding, int startIndex ) : this (new Tokenizer( array, encoding, startIndex ) ) { }
internal Parser( byte[] array, Tokenizer.ByteTokenEncoding encoding ) : this (new Tokenizer( array, encoding, 0 ) ) { }
private Parser(Tokenizer t) { _t = t; _doc = null; try { ParseContents(); } finally { _t.Recycle(); } }
private Parser(Tokenizer t) { _t = t; _ecurr = new SecurityElement(); ParseContents (_ecurr, false) ; }