Updates referencesource to .NET 4.7
[mono.git] / mcs / class / referencesource / System.Xml / System / Xml / XPath / Internal / ValueQuery.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="ValueQuery.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 // <owner current="true" primary="true">Microsoft</owner>
6 //------------------------------------------------------------------------------
7
8 namespace MS.Internal.Xml.XPath {
9     using System;
10     using System.Globalization;
11     using System.Text;
12     using System.Xml;
13     using System.Xml.XPath;
14     using System.Xml.Xsl;
15     using System.Collections.Generic;
16     using System.Diagnostics;
17
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); }
26     }
27 }