13 instantiations of PrefixHandle
System.Private.DataContractSerialization (13)
System\Xml\XmlBaseReader.cs (12)
2353
: this(new
PrefixHandle
(bufferReader),
2399
: this(new
PrefixHandle
(bufferReader), new StringHandle(bufferReader), new ValueHandle(bufferReader))
2451
new
PrefixHandle
(bufferReader),
2466
new
PrefixHandle
(bufferReader),
2481
new
PrefixHandle
(bufferReader),
2496
new
PrefixHandle
(bufferReader),
2526
new
PrefixHandle
(bufferReader),
2541
new
PrefixHandle
(bufferReader),
2556
new
PrefixHandle
(bufferReader),
2571
new
PrefixHandle
(bufferReader),
2586
new
PrefixHandle
(bufferReader),
3034
_prefix = new
PrefixHandle
(bufferReader);
System\Xml\XmlUTF8TextReader.cs (1)
552
_prefix = new
PrefixHandle
(BufferReader);
43 references to PrefixHandle
System.Private.DataContractSerialization (43)
System\Xml\PrefixHandle.cs (13)
21
internal sealed class PrefixHandle : IEquatable<
PrefixHandle
>
41
public void SetValue(
PrefixHandle
prefix)
177
public int CompareTo(
PrefixHandle
that)
182
public bool Equals([NotNullWhen(true)]
PrefixHandle
? prefix2)
210
public static bool operator ==(
PrefixHandle
prefix1, string prefix2)
215
public static bool operator !=(
PrefixHandle
prefix1, string prefix2)
220
public static bool operator ==(
PrefixHandle
prefix1, XmlDictionaryString prefix2)
225
public static bool operator !=(
PrefixHandle
prefix1, XmlDictionaryString prefix2)
230
public static bool operator ==(
PrefixHandle
prefix1,
PrefixHandle
prefix2)
235
public static bool operator !=(
PrefixHandle
prefix1,
PrefixHandle
prefix2)
241
return Equals(obj as
PrefixHandle
);
System\Xml\StringHandle.cs (1)
101
public void ToPrefixHandle(
PrefixHandle
prefix)
System\Xml\ValueHandle.cs (2)
955
return string.Concat(
PrefixHandle
.GetString(
PrefixHandle
.GetAlphaPrefix(_length)), ":", _bufferReader.GetDictionaryString(_offset));
System\Xml\XmlBaseReader.cs (19)
687
XmlExceptionHelper.ThrowUndefinedPrefix(this,
PrefixHandle
.GetString(prefix));
691
protected Namespace LookupNamespace(
PrefixHandle
prefix)
714
PrefixHandle
prefix = attributeNode.Prefix;
913
_nameTable.Add(
PrefixHandle
.GetString(i));
1069
PrefixHandle
prefix = _node.Namespace.Prefix;
1110
PrefixHandle
prefix = _node.Namespace.Prefix;
2037
private readonly
PrefixHandle
_prefix;
2067
PrefixHandle
prefix,
2105
public
PrefixHandle
Prefix { get { Debug.Assert(_qnameType != QNameType.Xmlns); return _prefix; } }
2359
private XmlElementNode(
PrefixHandle
prefix, StringHandle localName, ValueHandle value)
2403
private XmlAttributeNode(
PrefixHandle
prefix, StringHandle localName, ValueHandle value)
2418
public XmlEndElementNode(
PrefixHandle
prefix, StringHandle localName, ValueHandle value)
2434
PrefixHandle
prefix,
2509
public XmlAttributeTextNode(
PrefixHandle
prefix, StringHandle localName, ValueHandle value)
2824
PrefixHandle
prefix = _namespaces![i].Prefix;
2924
public Namespace? LookupNamespace(
PrefixHandle
prefix)
2969
shortPrefix =
PrefixHandle
.GetAlphaPrefix(ch - 'a');
3026
private readonly
PrefixHandle
_prefix;
3057
public
PrefixHandle
Prefix
System\Xml\XmlBinaryReader.cs (5)
484
prefix =
PrefixHandle
.GetAlphaPrefix((int)nodeType - (int)XmlBinaryNodeType.PrefixElementA);
518
prefix =
PrefixHandle
.GetAlphaPrefix((int)nodeType - (int)XmlBinaryNodeType.PrefixDictionaryElementA);
816
prefix =
PrefixHandle
.GetAlphaPrefix((int)nodeType - (int)XmlBinaryNodeType.PrefixDictionaryAttributeA);
849
prefix =
PrefixHandle
.GetAlphaPrefix((int)nodeType - (int)XmlBinaryNodeType.PrefixAttributeA);
1050
private void ReadName(
PrefixHandle
prefix)
System\Xml\XmlUTF8TextReader.cs (3)
28
private readonly
PrefixHandle
_prefix;
666
private void ReadQualifiedName(
PrefixHandle
prefix, StringHandle localName)
702
prefix.SetValue(
PrefixHandle
.GetAlphaPrefix(prefixChar - 'a'));