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