1 //------------------------------------------------------------------------------
2 // <copyright file="ValueQuery.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // <owner current="true" primary="true">Microsoft</owner>
6 //------------------------------------------------------------------------------
8 namespace MS.Internal.Xml.XPath {
10 using System.Globalization;
13 using System.Xml.XPath;
15 using System.Collections.Generic;
16 using System.Diagnostics;
18 internal abstract class ValueQuery : Query {
19 public ValueQuery() { }
20 protected ValueQuery(ValueQuery other) : base(other) { }
21 public sealed override void Reset() { }
22 public sealed override XPathNavigator Current { get { throw XPathException.Create(Res.Xp_NodeSetExpected); } }
23 public sealed override int CurrentPosition { get { throw XPathException.Create(Res.Xp_NodeSetExpected); } }
24 public sealed override int Count { get { throw XPathException.Create(Res.Xp_NodeSetExpected); } }
25 public sealed override XPathNavigator Advance() { throw XPathException.Create(Res.Xp_NodeSetExpected); }