private JsonValidatingReader.SchemaScope Pop() { JsonValidatingReader.SchemaScope schemaScope = this._stack.Pop(); this._currentScope = this._stack.Count != 0 ? this._stack.Peek() : (JsonValidatingReader.SchemaScope)null; return(schemaScope); }
private void Push(JsonValidatingReader.SchemaScope scope) { this._stack.Push(scope); this._currentScope = scope; }