150 references to Attribute
SMDiagnostics (8)
System\ServiceModel\Diagnostics\TraceXPathNavigator.cs (8)
520this.state = XPathNodeType.Attribute; 606this.state = XPathNodeType.Attribute; 638case XPathNodeType.Attribute: 682case XPathNodeType.Attribute: 721case XPathNodeType.Attribute: 758case XPathNodeType.Attribute: 804case XPathNodeType.Attribute: 836case XPathNodeType.Attribute:
System.Data (10)
fx\src\data\System\NewXml\DataDocumentXPathNavigator.cs (4)
114if ( _curNode.NodeType != XPathNodeType.Attribute ) 122if ( _curNode.NodeType == XPathNodeType.Attribute ) 128if ( _curNode.NodeType == XPathNodeType.Attribute ) 134if ( _curNode.NodeType == XPathNodeType.Attribute )
fx\src\data\System\NewXml\XPathNodePointer.cs (6)
42xmlNodeType_To_XpathNodeType_Map[(int)(XmlNodeType.Attribute)] = (int)XPathNodeType.Attribute; 88if ( xnt == (int) XPathNodeType.Attribute ) { 92return XPathNodeType.Attribute; 165return XPathNodeType.Attribute; 240if ( xnt == XPathNodeType.Element || xnt == XPathNodeType.Root || xnt == XPathNodeType.Attribute ) 920if ( xnt == XPathNodeType.Attribute )
System.Data.SqlXml (53)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (1)
956nodeType = (nd.NodeType == QilNodeType.ElementCtor) ? XPathNodeType.Element : XPathNodeType.Attribute;
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (6)
2639nameType = LoadNameAndType(XPathNodeType.Attribute, ndAttr.Left, true, callChk); 3046case XmlNodeKindFlags.Attribute: kindsRuntime = XPathNodeType.Attribute; break; 3072if ((kinds & XmlNodeKindFlags.Attribute) != 0) kindsUnion |= (1 << (int) XPathNodeType.Attribute); 4238case XmlNodeKindFlags.Attribute: return XPathNodeType.Attribute; 4257case QilNodeType.AttributeCtor: return XPathNodeType.Attribute; 4286this.helper.CallGetTypeFilter(XPathNodeType.Attribute);
System\Xml\Xsl\Runtime\ContentIterators.cs (1)
107Debug.Assert(nodeType != XPathNodeType.Attribute && nodeType != XPathNodeType.Namespace);
System\Xml\Xsl\Runtime\TreeIterators.cs (1)
321if (nav.NodeType == XPathNodeType.Attribute || nav.NodeType == XPathNodeType.Namespace) {
System\Xml\Xsl\Runtime\XmlNavigatorFilter.cs (3)
156Debug.Assert(nodeType != XPathNodeType.Attribute && nodeType != XPathNodeType.Namespace); 263return navigator.NodeType == XPathNodeType.Attribute; 346if (navigator.NodeType == XPathNodeType.Attribute) {
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (11)
217Debug.Assert(ValidateNames.ValidateName(prefix, localName, ns, XPathNodeType.Attribute, ValidateNames.Flags.All)); 220ConstructInEnumAttrs(XPathNodeType.Attribute); 386this.xstate = (rootType == XPathNodeType.Attribute || rootType == XPathNodeType.Namespace) ? XmlState.EnumAttrs : XmlState.WithinContent; 607WriteStartComputed(XPathNodeType.Attribute, tagName, prefixMappingsIndex); 614WriteStartComputed(XPathNodeType.Attribute, tagName, ns); 621WriteStartComputed(XPathNodeType.Attribute, navigator); 628WriteStartComputed(XPathNodeType.Attribute, name); 1012case XPathNodeType.Attribute: 1168Debug.Assert(rootType == XPathNodeType.Attribute || rootType == XPathNodeType.Namespace); 1210case XmlState.WithinAttr: return XPathNodeType.Attribute; 1432case XPathNodeType.Attribute:
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (3)
344if (nodeType == XPathNodeType.Attribute) 723case XPathNodeType.Attribute: return code == XmlTypeCode.Attribute; 758case XPathNodeType.Attribute:
System\Xml\Xsl\Runtime\XmlSequenceWriter.cs (3)
136if (rootType == XPathNodeType.Attribute || rootType == XPathNodeType.Namespace) 159if (nav.NodeType == XPathNodeType.Attribute || nav.NodeType == XPathNodeType.Namespace) 262case XPathNodeType.Attribute:
System\Xml\Xsl\XPath\XPathParser.cs (1)
212axis == XPathAxis.Attribute ? XPathNodeType.Attribute :
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (1)
136case XPathNodeType.Attribute :
System\Xml\Xsl\XsltOld\AttributeAction.cs (2)
125if (processor.BeginEvent(XPathNodeType.Attribute, qname.Prefix, qname.Name, qname.Namespace, false) == false) { 136if (processor.EndEvent(XPathNodeType.Attribute) == false) {
System\Xml\Xsl\XsltOld\BeginEvent.cs (2)
38else if (nodeType == XPathNodeType.Attribute) { 48if (this.nodeType == XPathNodeType.Attribute && this.namespaceUri.Length == 0) {
System\Xml\Xsl\XsltOld\ContainerAction.cs (1)
703this.AddEvent (new EndEvent(XPathNodeType.Attribute));
System\Xml\Xsl\XsltOld\CopyAttributesAction.cs (9)
44Debug.Assert(frame.Node.NodeType == XPathNodeType.Attribute); 55Debug.Assert(frame.Node.NodeType == XPathNodeType.Attribute); 66Debug.Assert(frame.Node.NodeType == XPathNodeType.Attribute); 77Debug.Assert(frame.Node.NodeType == XPathNodeType.Attribute); 94Debug.Assert(node.NodeType == XPathNodeType.Attribute); 95return processor.BeginEvent(XPathNodeType.Attribute, node.Prefix, node.LocalName, node.NamespaceURI, false); 99Debug.Assert(node.NodeType == XPathNodeType.Attribute); 104Debug.Assert(node.NodeType == XPathNodeType.Attribute); 105return processor.EndEvent(XPathNodeType.Attribute);
System\Xml\Xsl\XsltOld\NumberAction.cs (3)
218if(endNode.NodeType == XPathNodeType.Attribute || endNode.NodeType == XPathNodeType.Namespace) { 302Debug.Assert(nav.NodeType != XPathNodeType.Attribute && nav.NodeType != XPathNodeType.Namespace); 364if (countNode.NodeType == XPathNodeType.Attribute || countNode.NodeType == XPathNodeType.Namespace) {
System\Xml\Xsl\XsltOld\Processor.cs (3)
764case XPathNodeType.Attribute: 795case XPathNodeType.Attribute: 819case XPathNodeType.Attribute:
System\Xml\Xsl\XsltOld\RecordBuilder.cs (1)
141case XPathNodeType.Attribute:
System\Xml\Xsl\XsltOld\TemplateLookupAction.cs (1)
70case XPathNodeType.Attribute:
System.ServiceModel (12)
System\ServiceModel\Dispatcher\QuerySelectOp.cs (1)
97case XPathNodeType.Attribute:
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (11)
570if (type == XPathNodeType.Namespace || type == XPathNodeType.Attribute) 577if (type == XPathNodeType.Namespace || type == XPathNodeType.Attribute) 734if (t != XPathNodeType.Attribute && t != XPathNodeType.Namespace) 912if (type == XPathNodeType.Attribute || type == XPathNodeType.Namespace) 933if (this.dom.nodes[this.location].type != XPathNodeType.Attribute) 1002if (t != XPathNodeType.Attribute && t != XPathNodeType.Namespace) 1352if (this.nodes[loc1].type == XPathNodeType.Attribute) 1370if (this.nodes[loc2].type == XPathNodeType.Attribute) 1394if (type2 == XPathNodeType.Attribute) 1408if (type1 == XPathNodeType.Attribute) 1895this.nodes[a].type = XPathNodeType.Attribute;
System.Transactions (6)
System\Transactions\Trace\TraceXPathNavigator.cs (6)
241this.state = XPathNodeType.Attribute; 317this.state = XPathNodeType.Attribute; 344case XPathNodeType.Attribute: 386case XPathNodeType.Attribute: 423case XPathNodeType.Attribute: 448case XPathNodeType.Attribute:
System.Xml (60)
System\Xml\Cache\XPathDocumentBuilder.cs (4)
265Debug.Assert(this.idxSibling == 0 || this.pageSibling[this.idxSibling].NodeType == XPathNodeType.Attribute); 273AddSibling(XPathNodeType.Attribute, localName, namespaceName, prefix, string.Empty); 280Debug.Assert(this.pageSibling[this.idxSibling].NodeType == XPathNodeType.Attribute); 443Debug.Assert(this.idxSibling == 0 || this.pageSibling[this.idxSibling].NodeType == XPathNodeType.Attribute);
System\Xml\Cache\XPathDocumentNavigator.cs (1)
789case XPathNodeType.Attribute:
System\Xml\Cache\XPathNode.cs (2)
264return xptyp == XPathNodeType.Attribute || xptyp == XPathNodeType.Namespace; 381if (xptyp == XPathNodeType.Attribute) {
System\Xml\Cache\XPathNodeHelper.cs (12)
73Debug.Assert(pageNode[idxNode].NodeType == XPathNodeType.Attribute); 89if (idx != 0 && page[idx].NodeType == XPathNodeType.Attribute) { 110while (page[idx].NodeType == XPathNodeType.Attribute) { 212if (page[idx].NodeType != XPathNodeType.Attribute) { 248if (typ == XPathNodeType.Attribute) 274if (page[idx].NodeType != XPathNodeType.Attribute) { 282Debug.Assert(typ != XPathNodeType.Attribute && typ != XPathNodeType.Namespace); 301Debug.Assert(pageNode[idxNode].NodeType != XPathNodeType.Attribute); 338if (pagePrec[idxPrec].NodeType != XPathNodeType.Attribute) { 359if (page[idx].NodeType != XPathNodeType.Attribute) { 420while (idx != 0 && page[idx].NodeType == XPathNodeType.Attribute); 551Debug.Assert(page[idx].NodeType != XPathNodeType.Attribute, "Current node should never be an attribute or namespace--caller should handle this case.");
System\Xml\Core\XmlWriter.cs (1)
470case XPathNodeType.Attribute:
System\Xml\Core\XmlWriterAsync.cs (1)
422case XPathNodeType.Attribute:
System\Xml\Dom\DocumentXPathNavigator.cs (4)
1083if (node1.XPNodeType == XPathNodeType.Attribute) { 1084if (node2.XPNodeType == XPathNodeType.Attribute) { 1104if (node2.XPNodeType == XPathNodeType.Attribute) { 1201Debug.Assert( this.NodeType != XPathNodeType.Attribute && this.NodeType != XPathNodeType.Namespace && this.NodeType != XPathNodeType.All );
System\Xml\Dom\XmlAttribute.cs (1)
331return XPathNodeType.Attribute;
System\Xml\Schema\Asttree.cs (1)
469return ((ast.TypeOfAxis == Axis.AxisType.Attribute) && (ast.NodeType == XPathNodeType.Attribute));
System\Xml\ValidateNames.cs (3)
501case XPathNodeType.Attribute: 532case XPathNodeType.Attribute: 543if (prefix.Length == 0 && nodeKind == XPathNodeType.Attribute) {
System\Xml\XPath\Internal\AttributeQuery.cs (1)
53if (context.NodeType == XPathNodeType.Attribute && matches(context)) {
System\Xml\XPath\Internal\ChildrenQuery.cs (1)
56if (temp.NodeType != XPathNodeType.Attribute && temp.MoveToParent()) {
System\Xml\XPath\Internal\FollowingQuery.cs (1)
48if (input.NodeType == XPathNodeType.Attribute || input.NodeType == XPathNodeType.Namespace) {
System\Xml\XPath\Internal\PrecedingQuery.cs (1)
57if (last.NodeType == XPathNodeType.Attribute || last.NodeType == XPathNodeType.Namespace) {
System\Xml\XPath\Internal\PrecedingSibling.cs (1)
56if (input.NodeType == XPathNodeType.Attribute || input.NodeType == XPathNodeType.Namespace) {
System\Xml\XPath\Internal\QueryBuilder.cs (1)
164if ((root.NodeType == XPathNodeType.All || root.NodeType == XPathNodeType.Element || root.NodeType == XPathNodeType.Attribute) && root.Prefix.Length == 0) {
System\Xml\XPath\Internal\XPathParser.cs (2)
334axisType == Axis.AxisType.Attribute ? XPathNodeType.Attribute : 636axisType == Axis.AxisType.Attribute ? XPathNodeType.Attribute :
System\Xml\XPath\XPathNavigator.cs (18)
107case XPathNodeType.Attribute: 425if ((nt != XPathNodeType.Element && scope != XmlNamespaceScope.Local) || nt == XPathNodeType.Attribute || nt == XPathNodeType.Namespace) { 604case XPathNodeType.Attribute: 666case XPathNodeType.Attribute: 676case XPathNodeType.Attribute: 724case XPathNodeType.Attribute: 734case XPathNodeType.Attribute: 898case XPathNodeType.Attribute: 1145|| type == XPathNodeType.Attribute 1170if (NodeType == XPathNodeType.Attribute) { 1236case XPathNodeType.Attribute: 1260case XPathNodeType.Attribute: 1473case XPathNodeType.Attribute: 1503case XPathNodeType.Attribute: 1612case XPathNodeType.Attribute: 1629case XPathNodeType.Attribute: 1666internal const int NoAttrNmspMask = AllMask & ~(1 << (int) XPathNodeType.Attribute) & ~(1 << (int) XPathNodeType.Namespace); 1894case XPathNodeType.Attribute:
System\Xml\XPath\XPathNavigatorReader.cs (4)
368case XPathNodeType.Attribute: 409case XPathNodeType.Attribute: 550if (XPathNodeType.Attribute == this.nav.NodeType) 856else if ( XPathNodeType.Attribute == this.nav.NodeType ) {
System.Xml.Linq (1)
System\Xml\Linq\XNodeNavigator.cs (1)
186return XPathNodeType.Attribute;