2 writes to prefix
System.Xml (2)
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
455prefix = string.Empty; 497this.prefix = prefix;
34 references to prefix
System.Xml (34)
System\Xml\Core\XmlTextReaderImpl.cs (21)
899return curNode.prefix; 3995lastPrefix = curNode.prefix; 4059IDtdAttributeListInfo attlistInfo = dtdInfo.LookupAttributeList( curNode.localName, curNode.prefix ); 4070IDtdAttributeInfo attributeInfo = attlistInfo.LookupAttribute( attr.prefix, attr.localName ); 4128int prefLen = startTagNode.prefix.Length; 4139if ( startTagNode.prefix.Length == 0 ) { 4147if ( !XmlConvert.StrEqual( chars, ps.charPos, prefLen, startTagNode.prefix ) || 4499if ( attr.prefix.Length == 0 ) { 4507if ( Ref.Equal( attr.prefix, XmlNs ) ) { 4511else if ( Ref.Equal( attr.prefix, Xml ) ) { 4549if ( curNode.prefix.Length == 0 ) { 4560if ( at.type == XmlNodeType.Attribute && at.prefix.Length > 0 ) { 7002string ns = namespaceManager.LookupNamespace( node.prefix ); 7007Throw( Res.Xml_UnknownNs, node.prefix, node.LineNo, node.LinePos ); 7895if ( Ref.Equal( nodes[i].localName, name ) && nodes[i].prefix.Length == 0 ) { 8220(object)nodes[i].prefix == (object)prefix) { 8264(((object)nodes[i].prefix == (object)prefix) || ((object)nodes[i].ns == (object)ns && ns != null))) { 8295if ( attr.prefix.Length == 0 ) { 8302if ( nodes[index].prefix.Length == 0 ) { 8310if ( Ref.Equal( attr.prefix, XmlNs ) ) { 8317if ( nodes[i].prefix.Equals( pref ) ) {
System\Xml\Core\XmlTextReaderImplAsync.cs (9)
1829lastPrefix = curNode.prefix; 1908int prefLen = startTagNode.prefix.Length; 1927int prefLen = startTagNode.prefix.Length; 1940int prefLen = startTagNode.prefix.Length; 1945if (startTagNode.prefix.Length == 0) { 1953if (!XmlConvert.StrEqual(chars, ps.charPos, prefLen, startTagNode.prefix) || 2385if ( attr.prefix.Length == 0 ) { 2393if ( Ref.Equal( attr.prefix, XmlNs ) ) { 2397else if ( Ref.Equal( attr.prefix, Xml ) ) {
System\Xml\Core\XmlTextReaderImplHelpers.cs (4)
597if ( prefix.Length == 0 ) { 601nameWPrefix = nt.Add( string.Concat( prefix, ":", localName ) ); 657prefix = nodeData.prefix; 673prefix2 = nodeData.prefix;