224 references to Attribute
PresentationBuildTasks (3)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (1)
761_inAttribute = (Reader.NodeType == XmlNodeType.Attribute);
BuildTasks\Ms\Internal\MarkupCompiler\ParserExtension.cs (1)
425string attrName = (xmlReader.NodeType == XmlNodeType.Attribute) ? xmlReader.Name : null;
Framework\System\Windows\Markup\XamlReaderHelper.cs (1)
1318case XmlNodeType.Attribute: // review this.
PresentationCore (2)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (2)
213if (_reader.NodeType == XmlNodeType.Attribute) 220if (_reader.NodeType == XmlNodeType.Attribute)
PresentationFramework (1)
src\Framework\System\Windows\Annotations\Annotation.cs (1)
548if (reader.NodeType == XmlNodeType.Attribute)
System.Data (23)
fx\src\data\System\Data\XmlToDatasetMap.cs (1)
407XmlNode nodeRegion = (node.NodeType == XmlNodeType.Attribute) ? ((XmlAttribute)node).OwnerElement : node.ParentNode;
fx\src\data\System\NewXml\DataPointer.cs (4)
253else if (node.NodeType == XmlNodeType.Attribute) { 323return XmlNodeType.Attribute; 420case XmlNodeType.Attribute : 506if (node != null && column == null && node.NodeType == XmlNodeType.Attribute) {
fx\src\data\System\NewXml\DataSetMappper.cs (2)
146if ( node.NodeType == XmlNodeType.Attribute && mt == MappingType.Attribute ) 205if ( node.NodeType == XmlNodeType.Attribute )
fx\src\data\System\NewXml\XmlBoundElement.cs (1)
288case XmlNodeType.Attribute:
fx\src\data\System\NewXml\XmlDataDocument.cs (3)
983case XmlNodeType.Attribute: 2049Debug.Assert( parent.NodeType != XmlNodeType.Attribute ); // We need to get get the grand-parent region 2664if ( parent != null && parent.NodeType == XmlNodeType.Attribute )
fx\src\data\System\NewXml\XPathNodePointer.cs (12)
42xmlNodeType_To_XpathNodeType_Map[(int)(XmlNodeType.Attribute)] = (int)XPathNodeType.Attribute; 99if ( nt == XmlNodeType.Attribute && ns == s_strReservedXmlns ) 187if ( nt == XmlNodeType.Element || nt == XmlNodeType.Attribute || nt == XmlNodeType.ProcessingInstruction ) 216if ( nt == XmlNodeType.Element || nt == XmlNodeType.Attribute || nt == XmlNodeType.ProcessingInstruction ) 382if ( curNode.NodeType == XmlNodeType.Attribute ) 590if ( _column == null && _node.NodeType != XmlNodeType.Attribute ) 900if ( _node.NodeType == XmlNodeType.Attribute ) 970XmlNode parent = ( ( curNode.NodeType == XmlNodeType.Attribute ) ? ( ((XmlAttribute)curNode).OwnerElement ) : ( curNode.ParentNode ) ); 1064curNode1 = ( ( curNode1.NodeType == XmlNodeType.Attribute ) ? ( ((XmlAttribute)curNode1).OwnerElement ) : ( curNode1.ParentNode ) ); 1072curNode2 = ( ( curNode2.NodeType == XmlNodeType.Attribute ) ? ( ((XmlAttribute)curNode2).OwnerElement ) : ( curNode2.ParentNode ) ); 1238if ( nt == XmlNodeType.Attribute ) 1437else if ( this._node.NodeType == XmlNodeType.Attribute ) {
System.Data.Entity (4)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (3)
304if (reader != null && !IsValidateableXmlNamespace(reader.NamespaceURI, reader.NodeType == XmlNodeType.Attribute)) 318if ( (reader.NodeType == XmlNodeType.Attribute) || (e.Severity == System.Xml.Schema.XmlSeverityType.Warning)) 326if ((this.SchemaVersion >= XmlConstants.EdmVersionForV2) && (reader.NodeType == XmlNodeType.Attribute)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
706Debug.Assert(reader.NodeType == XmlNodeType.Attribute, "called an attribute function when not on an attribute");
System.Data.Services (2)
System\Data\Services\Epm\EpmCustomContentDeSerializer.cs (1)
134case XmlNodeType.Attribute:
System\Data\Services\Serializers\PlainXmlDeserializer.cs (1)
344case XmlNodeType.Attribute:
System.Data.SqlXml (12)
System\Xml\Xsl\Xslt\XsltInput.cs (3)
63public XmlNodeType NodeType { get { return nodeType == XmlNodeType.Element && 0 < currentRecord ? XmlNodeType.Attribute : nodeType; } } 247Debug.Assert(reader.NodeType == XmlNodeType.Attribute, "reader.NodeType == XmlNodeType.Attribute"); 1004Debug.Assert(input.NodeType == XmlNodeType.Element || input.NodeType == XmlNodeType.Attribute);
System\Xml\Xsl\XsltOld\ReaderOutput.cs (5)
255if (NodeType == XmlNodeType.Attribute || this.currentInfo == this.attributeValue) { 333if (NodeType == XmlNodeType.Element || NodeType == XmlNodeType.Attribute || this.currentInfo == this.attributeValue) { 388else if(NodeType == XmlNodeType.Attribute) { 423else if(NodeType == XmlNodeType.Attribute) { 462if (ReadState != ReadState.Interactive || NodeType != XmlNodeType.Attribute) {
System\Xml\Xsl\XsltOld\RecordBuilder.cs (3)
299attribute.NodeType = XmlNodeType.Attribute; 334currentInfo.NodeType = XmlNodeType.Attribute; 649ns.NodeType = XmlNodeType.Attribute;
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
72case XmlNodeType.Attribute:
System.IdentityModel (5)
System\IdentityModel\WrappedReader.cs (5)
156if (NodeType == XmlNodeType.Attribute) 537if (this.position < this.Count - 1 && this.entries[this.position + 1].nodeType == XmlNodeType.Attribute) 560DiagnosticUtility.DebugAssert(this.NodeType == XmlNodeType.Attribute, ""); 561if (this.position < this.count - 1 && this.entries[this.position + 1].nodeType == XmlNodeType.Attribute) 694this.nodeType = XmlNodeType.Attribute;
System.Runtime.Serialization (10)
System\Runtime\Serialization\ExtensionDataReader.cs (3)
170this.nodeType = XmlNodeType.Attribute; 218if (this.nodeType != XmlNodeType.Attribute) 301if (nodeType == XmlNodeType.Attribute && MoveToNextAttribute())
System\Runtime\Serialization\Json\XmlJsonReader.cs (1)
319return (this.Node.NodeType == XmlNodeType.Attribute || this.Node is XmlAttributeTextNode);
System\Xml\XmlBaseReader.cs (2)
876if (node.NodeType == XmlNodeType.Attribute) 2531: base(XmlNodeType.Attribute,
System\Xml\XmlDictionaryReader.cs (3)
424case XmlNodeType.Attribute: 583nodeType == XmlNodeType.Attribute; 603if (nodeType == XmlNodeType.Attribute /* || inAttributeText */)
System\Xml\XmlMtomReader.cs (1)
440if (NodeType != XmlNodeType.Attribute)
System.ServiceModel (2)
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (2)
457if (reader.NodeType == XmlNodeType.Attribute) 524if (reader.NodeType == XmlNodeType.Attribute)
System.Workflow.ComponentModel (4)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (3)
904using (new SafeXmlNodeWriter(serializationManager, obj, propertyObj, XmlNodeType.Attribute)) 2350if (!dependencyProperty.IsAttached && xmlNodeType == XmlNodeType.Attribute) 2399else if (this.xmlNodeType == XmlNodeType.Attribute)
Shared\XomlSerializationHelpers.cs (1)
111if (reader.NodeType == XmlNodeType.Attribute)
System.Xml (148)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
2117this.nodetype = XmlNodeType.Attribute;
System\Xml\Core\ReadContentAsBinaryHelper.cs (1)
399case XmlNodeType.Attribute:
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (1)
323case XmlNodeType.Attribute:
System\Xml\Core\XmlReader.cs (7)
717case XmlNodeType.Attribute: 1052if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.Element)) { 1061if (this.NodeType == XmlNodeType.Attribute) { 1147if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.Element)) { 1156if (this.NodeType == XmlNodeType.Attribute) { 1396case XmlNodeType.Attribute: 1741case XmlNodeType.Attribute:
System\Xml\Core\XmlReaderAsync.cs (6)
161case XmlNodeType.Attribute: 181if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.Element)) { 190if (this.NodeType == XmlNodeType.Attribute) { 262if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.Element)) { 271if (this.NodeType == XmlNodeType.Attribute) { 315case XmlNodeType.Attribute:
System\Xml\Core\XmlSubtreeReader.cs (6)
366Debug.Assert( curNode.type == XmlNodeType.Attribute ); 692case XmlNodeType.Attribute: 811case XmlNodeType.Attribute: 1096nsAttributes[index].Set( XmlNodeType.Attribute, xmlns, string.Empty, xmlns, xmlnsUri, ns ); 1099nsAttributes[index].Set( XmlNodeType.Attribute, prefix, xmlns, reader.NameTable.Add( string.Concat( xmlns, ":", prefix ) ), xmlnsUri, ns ); 1310case XmlNodeType.Attribute:
System\Xml\Core\XmlSubtreeReaderAsync.cs (2)
216case XmlNodeType.Attribute: 335case XmlNodeType.Attribute:
System\Xml\Core\XmlTextReaderImpl.cs (13)
951return curNode.type == XmlNodeType.Attribute ? curNode.quoteChar : '"'; 1125else if ( curNode.type != XmlNodeType.Attribute ) { 1333case XmlNodeType.Attribute: 1354if ( curNode.type != XmlNodeType.Attribute ) { 2760case XmlNodeType.Attribute: 4560if ( at.type == XmlNodeType.Attribute && at.prefix.Length > 0 ) { 4861if ( fragmentType == XmlNodeType.Attribute ) { 6913newAttr.SetNamedNode( XmlNodeType.Attribute, nameTable.Add( name ) ); 6947newAttr.SetNamedNode( XmlNodeType.Attribute, localName, prefix, nameWPrefix ); 6961Debug.Assert( attr.type == XmlNodeType.Attribute ); 7659Debug.Assert( fragmentType == XmlNodeType.Attribute ); 7663curNode.type = XmlNodeType.Attribute; 7998case XmlNodeType.Attribute:
System\Xml\Core\XmlTextReaderImplAsync.cs (3)
337case XmlNodeType.Attribute: 2648if ( fragmentType == XmlNodeType.Attribute ) { 4952case XmlNodeType.Attribute:
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
409return type == XmlNodeType.Attribute && isEmptyOrDefault; 412Debug.Assert( type == XmlNodeType.Attribute );
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
798case XmlNodeType.Attribute:
System\Xml\Core\XmlValidatingReaderImplAsync.cs (1)
166case XmlNodeType.Attribute:
System\Xml\Core\XmlWriter.cs (1)
342else if (reader.NodeType != XmlNodeType.Attribute) {
System\Xml\Core\XmlWriterAsync.cs (1)
224else if (reader.NodeType != XmlNodeType.Attribute) {
System\Xml\Core\XsdCachingReader.cs (5)
334if (cacheState != CachingReaderState.Replay || cachedNode.NodeType != XmlNodeType.Attribute) { 480case XmlNodeType.Attribute: 511if (cachedNode.NodeType != XmlNodeType.Attribute) { 563attInfo.Clear(XmlNodeType.Attribute); 573attInfo = new ValidatingReaderNodeData(XmlNodeType.Attribute);
System\Xml\Core\XsdCachingReaderAsync.cs (1)
108case XmlNodeType.Attribute:
System\Xml\Core\XsdValidatingReader.cs (19)
361case XmlNodeType.Attribute: 387XmlSchemaType xmlType = NodeType == XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType; 412XmlSchemaType xmlType = NodeType == XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType; 437XmlSchemaType xmlType = NodeType == XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType; 462XmlSchemaType xmlType = NodeType == XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType; 487XmlSchemaType xmlType = NodeType == XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType; 512XmlSchemaType xmlType = NodeType == XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType; 537XmlSchemaType xmlType = NodeType == XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType; 562XmlSchemaType xmlType = NodeType == XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType; 590XmlSchemaType xmlType = NodeType == XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType; // 1196case XmlNodeType.Attribute: 1228if (NodeType == XmlNodeType.Attribute) { 1352case XmlNodeType.Attribute: 1394case XmlNodeType.Attribute: 1416case XmlNodeType.Attribute: 1435case XmlNodeType.Attribute: 1457if (NodeType == XmlNodeType.Attribute) { 1852if (nodeType == XmlNodeType.Attribute) { 2145Debug.Assert(NodeType != XmlNodeType.Attribute);
System\Xml\Core\XsdValidatingReaderAsync.cs (4)
41XmlSchemaType xmlType = NodeType == XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType; 72XmlSchemaType xmlType = NodeType == XmlNodeType.Attribute ? AttributeXmlType : ElementXmlType; // 296case XmlNodeType.Attribute: 564if (nodeType == XmlNodeType.Attribute) {
System\Xml\Dom\DocumentSchemaValidator.cs (3)
133case XmlNodeType.Attribute: 190case XmlNodeType.Attribute: 264case XmlNodeType.Attribute: //Top-level attribute
System\Xml\Dom\DocumentXPathNavigator.cs (18)
48case XmlNodeType.Attribute: 116case XmlNodeType.Attribute: 645if (source.NodeType == XmlNodeType.Attribute) { 753if (source.NodeType == XmlNodeType.Attribute) { 774if (source.NodeType == XmlNodeType.Attribute) { 804case XmlNodeType.Attribute: 815if (following.NodeType == XmlNodeType.Attribute) { 864case XmlNodeType.Attribute: 880case XmlNodeType.Attribute: 1198if ( nsAtom == null || this.source.NodeType == XmlNodeType.Attribute ) 1273case XmlNodeType.Attribute: 1294case XmlNodeType.Attribute: 1343case XmlNodeType.Attribute: 1392case XmlNodeType.Attribute: 1442case XmlNodeType.Attribute: 1876Debug.Assert( ((XmlNode)nav.UnderlyingObject).NodeType != XmlNodeType.Attribute ); 1918Debug.Assert( ((XmlNode)nav.UnderlyingObject).NodeType != XmlNodeType.Attribute ); 1965Debug.Assert( ((XmlNode)nav.UnderlyingObject).NodeType != XmlNodeType.Attribute );
System\Xml\Dom\XmlAttribute.cs (1)
84get { return XmlNodeType.Attribute;}
System\Xml\Dom\XmlDocument.cs (5)
641if (parentType == XmlNodeType.Attribute) { 661|| parentType == XmlNodeType.Attribute) { 801case XmlNodeType.Attribute: 936case XmlNodeType.Attribute: 1013return XmlNodeType.Attribute;
System\Xml\Dom\XmlLoader.cs (5)
80if ( n.NodeType != XmlNodeType.Attribute ) 154case XmlNodeType.Attribute: 223Debug.Assert(reader.NodeType == XmlNodeType.Attribute); 448case XmlNodeType.Attribute: 697ParsePartialContent( node, innerxmltext, XmlNodeType.Attribute );
System\Xml\Dom\XmlNamedNodemap.cs (2)
122if ( node.NodeType == XmlNodeType.Attribute ) 180if ( node.NodeType == XmlNodeType.Attribute )
System\Xml\Dom\XmlNode.cs (5)
738case XmlNodeType.Attribute: 872|| nt == XmlNodeType.Attribute ) 957else if (node.NodeType == XmlNodeType.Attribute) { 1018else if (node.NodeType == XmlNodeType.Attribute) { 1216case XmlNodeType.Attribute:
System\Xml\Dom\XmlNodeReader.cs (20)
76if ( nt == XmlNodeType.Attribute ) { 108return XmlNodeType.Attribute; 183case XmlNodeType.Attribute : 272if (curNode.NodeType == XmlNodeType.Attribute) { 296else if ( nt == XmlNodeType.Attribute 431case XmlNodeType.Attribute : 453case XmlNodeType.Attribute : 470case XmlNodeType.Attribute : 519while ( curNode.NodeType != XmlNodeType.Attribute && ( ( curNode = curNode.ParentNode ) != null ) ) 542if ( this.bOnAttrVal && curNode.NodeType != XmlNodeType.Attribute ) 544if ( curNode.NodeType == XmlNodeType.Attribute ) { 581else if ( nt == XmlNodeType.Attribute ) 611case XmlNodeType.Attribute: 631if ( nt == XmlNodeType.Attribute ) { 704if ( curNode.NodeType != XmlNodeType.Attribute ) 714case XmlNodeType.Attribute : 764else if ( node.NodeType == XmlNodeType.Attribute ) { 829else if ( node.NodeType == XmlNodeType.Attribute ) { 869else if ( node.NodeType == XmlNodeType.Attribute ) { 898if( curNode.NodeType == XmlNodeType.Attribute ) {
System\Xml\Dom\XmlText.cs (1)
78if ( parent != null && parent.NodeType == XmlNodeType.Attribute ) {
System\Xml\Schema\Inference\Infer.cs (1)
1216Debug.Assert(xtr.NodeType == XmlNodeType.Attribute);
System\Xml\Schema\Parser.cs (1)
364Debug.Assert(reader.NodeType == XmlNodeType.Attribute);
System\Xml\Schema\XmlSchemaValidator.cs (1)
915attrData.NodeType = XmlNodeType.Attribute;
System\Xml\Serialization\XmlCountingReader.cs (2)
98if (innerReader.NodeType != XmlNodeType.Attribute) 104if (innerReader.NodeType != XmlNodeType.Attribute)
System\Xml\Serialization\XmlSerializationReader.cs (3)
1181else if (r.NodeType == XmlNodeType.Attribute && events.OnUnknownAttribute == null) { 1202if (unknownNode.NodeType == XmlNodeType.Attribute) { 1781if(Reader.NodeType == XmlNodeType.Attribute){
System\Xml\XPath\XPathNavigator.cs (1)
1857case XmlNodeType.Attribute:
System\Xml\XPath\XPathNavigatorReader.cs (4)
52XmlNodeType.Attribute, // XPathNodeType.Attribute 53XmlNodeType.Attribute, // XPathNodeType.Namespace 333this.nodeType = XmlNodeType.Attribute; 593this.nodeType = XmlNodeType.Attribute;
System.Xml.Linq (7)
System\Xml\Linq\XLinq.cs (3)
6632return XmlNodeType.Attribute; 8187case XmlNodeType.Attribute: 8348case XmlNodeType.Attribute:
System\Xml\Linq\XNodeNavigator.cs (2)
182case XmlNodeType.Attribute: 245case XmlNodeType.Attribute:
System\Xml\Linq\XNodeValidator.cs (2)
48case XmlNodeType.Attribute: 68if (nt == XmlNodeType.Attribute) {
WindowsBase (1)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (1)
761_inAttribute = (Reader.NodeType == XmlNodeType.Attribute);