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