2 overrides of Prefix
System.Private.Xml (2)
System\Xml\Dom\XmlAttribute.cs (1)
87public override string Prefix
System\Xml\Dom\XmlElement.cs (1)
103public override string Prefix
21 references to Prefix
Microsoft.Build.Engine (2)
Engine\Project.cs (1)
4069ProjectErrorUtilities.VerifyThrowInvalidProject((importedChildNode.Prefix.Length == 0) && (String.Equals(importedChildNode.NamespaceURI, XMakeAttributes.defaultXmlNamespace, StringComparison.OrdinalIgnoreCase)),
Engine\ToolsetState.cs (1)
238ProjectErrorUtilities.VerifyThrowInvalidProject((topLevelNode.Prefix.Length == 0) && (String.Equals(topLevelNode.NamespaceURI, XMakeAttributes.defaultXmlNamespace, StringComparison.OrdinalIgnoreCase)),
System.Data.Common (2)
System\Xml\DataPointer.cs (1)
543return _node.Prefix;
System\Xml\XPathNodePointer.cs (1)
292return _node.Prefix;
System.Private.Xml (7)
System\Xml\Dom\DocumentXPathNavigator.cs (1)
158return _source.Prefix;
System\Xml\Dom\XmlAttributeCollection.cs (1)
322XmlAttribute? defattr = parent.OwnerDocument!.GetDefaultAttribute((XmlElement)parent, retNode.Prefix, retNode.LocalName, retNode.NamespaceURI);
System\Xml\Dom\XmlDocument.cs (2)
970newNode = CreateElement(node.Prefix, node.LocalName, node.NamespaceURI); 978newNode = CreateAttribute(node.Prefix, node.LocalName, node.NamespaceURI);
System\Xml\Dom\XmlNode.cs (2)
1130if (Ref.Equal(node.Prefix, pref)) 1211return node.Prefix;
System\Xml\Dom\XmlNodeReader.cs (1)
201get { return _curNode.Prefix; }
System.Security.Cryptography.Xml (10)
System\Security\Cryptography\Xml\EncryptedXml.cs (1)
849XmlNode dummy = parent.OwnerDocument!.CreateElement(parent.Prefix, parent.LocalName, parent.NamespaceURI);
System\Security\Cryptography\Xml\Transform.cs (2)
214string key = ((attrib.Prefix.Length > 0) ? attrib.Prefix + ":" + attrib.LocalName : attrib.LocalName);
System\Security\Cryptography\Xml\Utils.cs (7)
103return n.NodeType == XmlNodeType.Attribute && (n.Prefix.Equals("xmlns") || (n.Prefix.Length == 0 && n.LocalName.Equals("xmlns"))); 108return n.NodeType == XmlNodeType.Attribute && n.Prefix.Equals("xml"); 114bool b1 = n.NodeType == XmlNodeType.Attribute && n.Prefix.Length == 0 && n.LocalName.Equals("xmlns"); 288if (attribNode.LocalName == "xmlns" || attribNode.Prefix == "xmlns") 476string name = ((attrib.Prefix.Length > 0) ? attrib.Prefix + ":" + attrib.LocalName : attrib.LocalName);