22 overrides of Prefix
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
124public override string Prefix
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
45public override string Prefix { get { return _reader.Prefix; } }
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
3373public override string Prefix
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
30public override string Prefix { get { return _reader.Prefix; } }
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
116public override string Prefix { get { return IsXmlDataNode ? _xmlNodeReader.Prefix : _prefix!; } }
System\Runtime\Serialization\XmlSerializableReader.cs (1)
75public override string Prefix { get { return InnerReader.Prefix; } }
System\Xml\XmlBaseReader.cs (1)
929public override string Prefix
System\Xml\XmlDictionaryReader.cs (1)
1495public override string Prefix
System.Private.Xml (12)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
443public override string Prefix
System\Xml\Core\XmlAsyncCheckReader.cs (1)
118public override string Prefix
System\Xml\Core\XmlTextReader.cs (1)
132public override string Prefix
System\Xml\Core\XmlTextReaderImpl.cs (1)
893public override string Prefix
System\Xml\Core\XmlValidatingReader.cs (1)
70public override string Prefix
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
323public override string Prefix
System\Xml\Core\XmlWrappingReader.cs (1)
38public override string Prefix { get { return reader.Prefix; } }
System\Xml\Core\XsdCachingReader.cs (1)
144public override string Prefix
System\Xml\Core\XsdValidatingReader.cs (1)
288public override string Prefix
System\Xml\Dom\XmlNodeReader.cs (1)
1209public override string Prefix
System\Xml\XPath\XPathNavigatorReader.cs (1)
226public override string Prefix
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
106public override string Prefix
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
308public override string Prefix
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
45public override string Prefix { get { return _reader.Prefix; } }
126 references to Prefix
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
126get { return _wrappedReader.Prefix; }
PresentationBuildTasks (10)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
815string attributeNamespaceUri = xmlReader.LookupNamespace(xmlReader.Prefix);
MS\Internal\MarkupCompiler\ParserExtension.cs (3)
407xmlReader.Prefix, 430string attribNamespaceURI = xmlReader.LookupNamespace(xmlReader.Prefix); 435MarkupCompiler.DefinitionNSPrefix = xmlReader.Prefix;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (4)
1856string namespacePrefix = XmlReader.Prefix; 2216string attributeNamespaceUri = XmlReader.LookupNamespace(XmlReader.Prefix); 2799string attribPrefix = XmlReader.Prefix; 3586string prefix = XmlReader.Prefix;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (1)
648else if (string.Equals(XmlnsDeclaration, Reader.Prefix, StringComparison.Ordinal))
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
45public override string Prefix { get { return _reader.Prefix; } }
PresentationFramework (3)
System\Windows\Annotations\Annotation.cs (3)
525if (reader.Prefix.Length == 0) 532if (reader.Prefix == AnnotationXmlConstants.Prefixes.XmlnsPrefix || 533reader.Prefix == AnnotationXmlConstants.Prefixes.XmlPrefix)
System.Data.Common (14)
System\Data\DataSet.cs (7)
1719XmlElement topNode = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 1733attr.Prefix = reader.Prefix; 2151XmlElement topNode = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2163attr.Prefix = reader.Prefix; 2496XmlElement node = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2697topNode = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2709attr.Prefix = reader.Prefix;
System\Data\DataTable.cs (6)
5722(reader.Prefix == Keywords.XMLNS) && 5847XmlElement topNode = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 5861attr.Prefix = reader.Prefix; 6116topNode = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 6130attr.Prefix = reader.Prefix; 6347XmlElement node = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI);
System\Data\xmlsaver.cs (1)
3375get { return _xmlreader.Prefix; }
System.IO.Packaging (3)
System\IO\Packaging\PackagingUtilities.cs (1)
98!string.Equals(reader.Prefix, XmlNamespace, StringComparison.Ordinal))
System\IO\Packaging\XmlCompatibilityReader.cs (1)
627else if (string.Equals(XmlnsDeclaration, Reader.Prefix, StringComparison.Ordinal))
System\IO\Packaging\XmlWrappingReader.cs (1)
30public override string Prefix { get { return _reader.Prefix; } }
System.Private.DataContractSerialization (11)
System\Runtime\Serialization\XmlSerializableReader.cs (1)
75public override string Prefix { get { return InnerReader.Prefix; } }
System\Runtime\Serialization\XmlSerializableServices.cs (1)
51xmlReader.Prefix != "xmlns" &&
System\Xml\XmlDictionaryReader.cs (1)
1499return _reader.Prefix;
System\Xml\XmlDictionaryWriter.cs (6)
247WriteStartElement(reader.Prefix, localName, namespaceUri); 251WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 261WriteStartAttribute(reader.Prefix, localName, namespaceUri); 265WriteStartAttribute(reader.Prefix, reader.LocalName, reader.NamespaceURI); 353WriteArrayNode(reader, reader.Prefix, localName, namespaceUri, type); 355WriteArrayNode(reader, reader.Prefix, reader.LocalName, reader.NamespaceURI, type);
System\Xml\XmlExceptionHelper.cs (2)
68return SR.Format(SR.XmlFoundElement, GetName(reader.Prefix, reader.LocalName), reader.NamespaceURI); 70return SR.Format(SR.XmlFoundEndElement, GetName(reader.Prefix, reader.LocalName), reader.NamespaceURI);
System.Private.Xml (74)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3237_qnameOther.prefix = r.Prefix;
System\Xml\Core\XmlAsyncCheckReader.cs (1)
123return _coreReader.Prefix;
System\Xml\Core\XmlCharCheckingReader.cs (3)
237ValidateQName(base.reader.Prefix, base.reader.LocalName); 244ValidateQName(base.reader.Prefix, base.reader.LocalName); 346ValidateQName(base.reader.Prefix, base.reader.LocalName);
System\Xml\Core\XmlCharCheckingReaderAsync.cs (3)
99ValidateQName(base.reader.Prefix, base.reader.LocalName); 106ValidateQName(base.reader.Prefix, base.reader.LocalName); 207ValidateQName(base.reader.Prefix, base.reader.LocalName);
System\Xml\Core\XmlReader.cs (4)
96public virtual string Name => Prefix.Length == 0 ? LocalName : NameTable.Add($"{Prefix}:{LocalName}"); 1145xtw.WriteStartElement(Prefix, LocalName, NamespaceURI); 1226xtw.WriteStartAttribute(Prefix, LocalName, NamespaceURI);
System\Xml\Core\XmlReaderAsync.cs (2)
219xtw.WriteStartElement(Prefix, LocalName, NamespaceURI); 280xtw.WriteStartAttribute(Prefix, LocalName, NamespaceURI);
System\Xml\Core\XmlSubtreeReader.cs (3)
151return _useCurNode ? _curNode.prefix : reader.Prefix; 1251string prefix = reader.Prefix; 1262prefix = reader.Prefix;
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
327return _coreReader.Prefix;
System\Xml\Core\XmlWrappingReader.cs (1)
38public override string Prefix { get { return reader.Prefix; } }
System\Xml\Core\XmlWriter.cs (2)
337WriteStartAttribute(reader.Prefix, reader.LocalName, reader.NamespaceURI); 369WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI);
System\Xml\Core\XmlWriterAsync.cs (3)
258await WriteStartAttributeAsync(reader.Prefix, reader.LocalName, reader.NamespaceURI).ConfigureAwait(false); 305await WriteStartElementAsync(reader.Prefix, reader.LocalName, reader.NamespaceURI).ConfigureAwait(false); 367await WriteStartElementAsync(reader.Prefix, reader.LocalName, reader.NamespaceURI).ConfigureAwait(false);
System\Xml\Core\XsdCachingReader.cs (4)
84element.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); //Only created for element node type 420recordedNode.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); //Only created for element node type 497recordedNode.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); 701attInfo.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth);
System\Xml\Core\XsdCachingReaderAsync.cs (1)
52recordedNode.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); //Only created for element node type
System\Xml\Core\XsdValidatingReader.cs (2)
298return _coreReader.Prefix; 2112_nsManager.AddNamespace(_coreReader.Prefix.Length == 0 ? string.Empty : _coreReader.LocalName, _coreReader.Value);
System\Xml\Core\XsdValidatingReaderAsync.cs (1)
610_nsManager.AddNamespace(_coreReader.Prefix.Length == 0 ? string.Empty : _coreReader.LocalName, _coreReader.Value);
System\Xml\Dom\XmlLoader.cs (6)
110element = _doc!.CreateElement(r.Prefix, r.LocalName, r.NamespaceURI); 259XmlAttribute attr = _doc!.CreateAttribute(r.Prefix, r.LocalName, r.NamespaceURI); 304XmlAttribute attr = _doc!.CreateDefaultAttribute(r.Prefix, r.LocalName, r.NamespaceURI); 467XmlElement element = new XmlElement(_reader.Prefix, _reader.LocalName, _reader.NamespaceURI, _doc!); 570XmlUnspecifiedAttribute defattr = new XmlUnspecifiedAttribute(r.Prefix, r.LocalName, r.NamespaceURI, _doc!); 577attr = new XmlAttribute(r.Prefix, r.LocalName, r.NamespaceURI, _doc!);
System\Xml\Schema\Inference\Infer.cs (9)
211AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, null, null, -1); 921AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((XmlSchemaSequence)ct.Particle).Items, -1); 930AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((XmlSchemaSequence)ct.Particle).Items, -1); 1050XmlSchemaElement e = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xss.Items, -1); 1078XmlSchemaElement subElement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xsch.Items, -1); 1185subElement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xss.Items, ++lastUsedSeqItem); 1212if (_xtr.Prefix == "xmlns") 1258xsa = AddAttribute(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, _xtr.Value, bCreatingNewType, parentSchema, sce.Attributes, ct.AttributeUses); 1262xsa = AddAttribute(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, _xtr.Value, bCreatingNewType, parentSchema, ct.Attributes, ct.AttributeUses);
System\Xml\Schema\Parser.cs (15)
178if (_builder!.ProcessElement(_reader.Prefix, _reader.LocalName, _reader.NamespaceURI)) 185_builder.ProcessAttribute(_reader.Prefix, _reader.LocalName, _reader.NamespaceURI, _reader.Value); 188_namespaceManager.AddNamespace(_reader.Prefix.Length == 0 ? string.Empty : _reader.LocalName, _reader.Value); 338XmlElement element = _dummyDocument.CreateElement(r.Prefix, r.LocalName, r.NamespaceURI); 354_annotationNSManager!.AddNamespace(r.Prefix.Length == 0 ? string.Empty : _reader.LocalName, _reader.Value); 361string? ns = _annotationNSManager!.LookupNamespace(r.Prefix); 364XmlAttribute attr = CreateXmlNsAttribute(r.Prefix, _namespaceManager!.LookupNamespace(r.Prefix)!); 369string elemNS = _namespaceManager!.LookupNamespace(r.Prefix)!; 372XmlAttribute attr = CreateXmlNsAttribute(r.Prefix, elemNS); 379if (r.Prefix.Length != 0) 381string? attNS = _annotationNSManager.LookupNamespace(r.Prefix); 384XmlAttribute attr = CreateXmlNsAttribute(r.Prefix, _namespaceManager!.LookupNamespace(r.Prefix)!); 422XmlAttribute attr = _dummyDocument.CreateAttribute(r.Prefix, r.LocalName, r.NamespaceURI);
System\Xml\XPath\XPathDocument.cs (4)
198builder.WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI, reader.BaseURI); 207if (reader.Prefix.Length == 0) 215Debug.Assert(reader.Prefix == "xmlns"); 221builder.WriteStartAttribute(reader.Prefix, reader.LocalName, namespaceUri);
System\Xml\XPath\XPathNavigator.cs (7)
2045writer.WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2052if (reader.Prefix.Length == 0) 2060Debug.Assert(reader.Prefix == "xmlns"); 2066writer.WriteStartAttribute(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2113if (reader.Prefix.Length == 0) 2121Debug.Assert(reader.Prefix == "xmlns"); 2127writer.WriteStartAttribute(reader.Prefix, reader.LocalName, reader.NamespaceURI);
System\Xml\Xsl\Xslt\XsltInput.cs (1)
170rec.prefix = _reader.Prefix;
System.Private.Xml.Linq (5)
System\Xml\Linq\XContainer.cs (4)
911e.AppendAttributeSkipNotify(new XAttribute(_aCache.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value)); 966_aCache.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), 1033XAttribute a = new XAttribute(_aCache.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value); 1148_aCache.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName),
System\Xml\Linq\XElement.cs (1)
2071XAttribute a = new XAttribute(XNamespace.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value);
System.ServiceModel.Syndication (2)
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (2)
604return SR.Format(SR.XmlFoundElement, GetName(reader.Prefix, reader.LocalName), reader.NamespaceURI); 606return SR.Format(SR.XmlFoundEndElement, GetName(reader.Prefix, reader.LocalName), reader.NamespaceURI);
System.Xaml (3)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (1)
648else if (string.Equals(XmlnsDeclaration, Reader.Prefix, StringComparison.Ordinal))
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
45public override string Prefix { get { return _reader.Prefix; } }
System\Xaml\Parser\XamlScanner.cs (1)
244string prefix = _xmlReader.Prefix;