コード例 #1
0
 private JsonValidatingReader.SchemaScope Pop()
 {
     JsonValidatingReader.SchemaScope schemaScope = this._stack.Pop();
     this._currentScope = this._stack.Count != 0 ? this._stack.Peek() : (JsonValidatingReader.SchemaScope)null;
     return(schemaScope);
 }
コード例 #2
0
        private void Push(JsonValidatingReader.SchemaScope scope)
        {
            this._stack.Push(scope);

            this._currentScope = scope;
        }