60 references to Attribute
dotnet-svcutil-lib (60)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (4)
285
Debug.Assert(_idxSibling == 0 || _pageSibling[_idxSibling].NodeType == XPathNodeType.
Attribute
);
294
AddSibling(XPathNodeType.
Attribute
, localName, namespaceName, prefix, string.Empty);
302
Debug.Assert(_pageSibling[_idxSibling].NodeType == XPathNodeType.
Attribute
);
486
Debug.Assert(_idxSibling == 0 || _pageSibling[_idxSibling].NodeType == XPathNodeType.
Attribute
);
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentNavigator.cs (2)
84
case XPathNodeType.
Attribute
:
877
case XPathNodeType.
Attribute
:
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathNode.cs (2)
293
return xptyp == XPathNodeType.
Attribute
|| xptyp == XPathNodeType.Namespace;
424
if (xptyp == XPathNodeType.
Attribute
)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathNodeHelper.cs (12)
79
Debug.Assert(pageNode[idxNode].NodeType == XPathNodeType.
Attribute
);
96
if (idx != 0 && page[idx].NodeType == XPathNodeType.
Attribute
)
120
while (page[idx].NodeType == XPathNodeType.
Attribute
)
234
if (page[idx].NodeType != XPathNodeType.
Attribute
)
277
if (typ == XPathNodeType.
Attribute
)
304
if (page[idx].NodeType != XPathNodeType.
Attribute
)
315
Debug.Assert(typ != XPathNodeType.
Attribute
&& typ != XPathNodeType.Namespace);
335
Debug.Assert(pageNode[idxNode].NodeType != XPathNodeType.
Attribute
);
376
if (pagePrec[idxPrec].NodeType != XPathNodeType.
Attribute
)
399
if (page[idx].NodeType != XPathNodeType.
Attribute
)
470
while (idx != 0 && page[idx].NodeType == XPathNodeType.
Attribute
);
615
Debug.Assert(page[idx].NodeType != XPathNodeType.
Attribute
, "Current node should never be an attribute or namespace--caller should handle this case.");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWriter.cs (1)
516
case XPathNodeType.
Attribute
:
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (4)
1329
if (node1.XPNodeType == XPathNodeType.
Attribute
)
1331
if (node2.XPNodeType == XPathNodeType.
Attribute
)
1357
if (node2.XPNodeType == XPathNodeType.
Attribute
)
1471
Debug.Assert(this.NodeType != XPathNodeType.
Attribute
&& this.NodeType != XPathNodeType.Namespace && this.NodeType != XPathNodeType.All);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlAttribute.cs (1)
400
return XPathNodeType.
Attribute
;
FrameworkFork\Microsoft.Xml\Xml\schema\AstTree.cs (1)
552
return ((ast.TypeOfAxis == Axis.AxisType.Attribute) && (ast.NodeType == XPathNodeType.
Attribute
));
FrameworkFork\Microsoft.Xml\Xml\ValidateNames.cs (3)
523
case XPathNodeType.
Attribute
:
558
case XPathNodeType.
Attribute
:
572
if (prefix.Length == 0 && nodeKind == XPathNodeType.
Attribute
)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\AttributeQuery.cs (1)
64
if (context.NodeType == XPathNodeType.
Attribute
&& matches(context))
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\ChildrenQuery.cs (1)
69
if (temp.NodeType != XPathNodeType.
Attribute
&& temp.MoveToParent())
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\followingquery.cs (1)
54
if (_input.NodeType == XPathNodeType.
Attribute
|| _input.NodeType == XPathNodeType.Namespace)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\precedingquery.cs (1)
64
if (last.NodeType == XPathNodeType.
Attribute
|| last.NodeType == XPathNodeType.Namespace)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\precedingsibling.cs (1)
60
if (input.NodeType == XPathNodeType.
Attribute
|| input.NodeType == XPathNodeType.Namespace)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\querybuilder.cs (1)
193
if ((root.NodeType == XPathNodeType.All || root.NodeType == XPathNodeType.Element || root.NodeType == XPathNodeType.
Attribute
) && root.Prefix.Length == 0)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (2)
390
axisType == Axis.AxisType.Attribute ? XPathNodeType.
Attribute
:
741
axisType == Axis.AxisType.Attribute ? XPathNodeType.
Attribute
:
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (18)
130
case XPathNodeType.
Attribute
:
527
if ((nt != XPathNodeType.Element && scope != XmlNamespaceScope.Local) || nt == XPathNodeType.
Attribute
|| nt == XPathNodeType.Namespace)
729
case XPathNodeType.
Attribute
:
802
case XPathNodeType.
Attribute
:
813
case XPathNodeType.
Attribute
:
871
case XPathNodeType.
Attribute
:
882
case XPathNodeType.
Attribute
:
1077
case XPathNodeType.
Attribute
:
1373
|| type == XPathNodeType.
Attribute
1403
if (NodeType == XPathNodeType.
Attribute
)
1481
case XPathNodeType.
Attribute
:
1510
case XPathNodeType.
Attribute
:
1765
case XPathNodeType.
Attribute
:
1800
case XPathNodeType.
Attribute
:
1925
case XPathNodeType.
Attribute
:
1946
case XPathNodeType.
Attribute
:
1991
internal const int NoAttrNmspMask = AllMask & ~(1 << (int)XPathNodeType.
Attribute
) & ~(1 << (int)XPathNodeType.Namespace);
2255
case XPathNodeType.
Attribute
:
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorReader.cs (4)
427
case XPathNodeType.
Attribute
:
474
case XPathNodeType.
Attribute
:
642
if (XPathNodeType.
Attribute
== _nav.NodeType)
996
else if (XPathNodeType.
Attribute
== _nav.NodeType)