64 references to PrefixHandleType
System.Private.DataContractSerialization (64)
System\Runtime\Serialization\Json\XmlJsonReader.cs (7)
1062
elementNode.Prefix.SetValue(
PrefixHandleType
.Empty);
1126
attribute.Prefix.SetValue(
PrefixHandleType
.Empty);
1293
elementNode.Prefix.SetValue(
PrefixHandleType
.Empty);
1437
attribute.Prefix.SetValue(
PrefixHandleType
.Empty);
1502
ns.Prefix.SetValue(
PrefixHandleType
.A);
1509
attribute.Prefix.SetValue(
PrefixHandleType
.Empty);
1513
elementNode.Prefix.SetValue(
PrefixHandleType
.A);
System\Xml\PrefixHandle.cs (30)
24
private
PrefixHandleType
_type;
35
public void SetValue(
PrefixHandleType
type)
37
Debug.Assert(type !=
PrefixHandleType
.Buffer);
52
SetValue(
PrefixHandleType
.Empty);
66
_type =
PrefixHandleType
.Buffer;
75
return _type ==
PrefixHandleType
.Empty;
83
if (_type !=
PrefixHandleType
.Buffer)
101
if (_type !=
PrefixHandleType
.Buffer)
113
public bool TryGetShortPrefix(out
PrefixHandleType
type)
116
return (type !=
PrefixHandleType
.Buffer);
119
public static string GetString(
PrefixHandleType
type)
121
Debug.Assert(type !=
PrefixHandleType
.Buffer);
125
public static
PrefixHandleType
GetAlphaPrefix(int index)
128
return (
PrefixHandleType
)(
PrefixHandleType
.A + index);
131
public static byte[] GetString(
PrefixHandleType
type, out int offset, out int length)
133
Debug.Assert(type !=
PrefixHandleType
.Buffer);
134
if (type ==
PrefixHandleType
.Empty)
142
offset = (int)(type -
PrefixHandleType
.A);
149
PrefixHandleType
type = _type;
150
if (type !=
PrefixHandleType
.Buffer)
158
PrefixHandleType
type = _type;
159
if (type !=
PrefixHandleType
.Buffer)
167
PrefixHandleType
type = _type;
168
if (type !=
PrefixHandleType
.Buffer)
186
PrefixHandleType
type1 = _type;
187
PrefixHandleType
type2 = prefix2._type;
190
if (type1 !=
PrefixHandleType
.Buffer)
200
PrefixHandleType
type = _type;
201
if (type !=
PrefixHandleType
.Buffer)
System\Xml\XmlBaseReader.cs (15)
683
protected Namespace LookupNamespace(
PrefixHandleType
prefix)
911
for (
PrefixHandleType
i =
PrefixHandleType
.A; i <=
PrefixHandleType
.Z; i++)
2712
_shortPrefixUri = new Namespace[(int)
PrefixHandleType
.Max];
2713
_shortPrefixUri[(int)
PrefixHandleType
.Empty] = s_emptyNamespace;
2780
_shortPrefixUri[(int)
PrefixHandleType
.Empty] = s_emptyNamespace;
2801
PrefixHandleType
shortPrefix;
2883
PrefixHandleType
shortPrefix;
2919
public Namespace? LookupNamespace(
PrefixHandleType
prefix)
2926
PrefixHandleType
shortPrefix;
2942
PrefixHandleType
shortPrefix;
2956
private static bool TryGetShortPrefix(string s, out
PrefixHandleType
shortPrefix)
2961
shortPrefix =
PrefixHandleType
.Empty;
2973
shortPrefix =
PrefixHandleType
.Empty;
System\Xml\XmlBinaryReader.cs (10)
422
PrefixHandleType
prefix;
427
elementNode.Prefix.SetValue(
PrefixHandleType
.Empty);
430
elementNode.Namespace = LookupNamespace(
PrefixHandleType
.Empty);
443
elementNode.Prefix.SetValue(
PrefixHandleType
.Empty);
446
elementNode.Namespace = LookupNamespace(
PrefixHandleType
.Empty);
727
PrefixHandleType
prefix;
734
attributeNode.Prefix.SetValue(
PrefixHandleType
.Empty);
749
attributeNode.Prefix.SetValue(
PrefixHandleType
.Empty);
770
nameSpace.Prefix.SetValue(
PrefixHandleType
.Empty);
777
nameSpace.Prefix.SetValue(
PrefixHandleType
.Empty);
System\Xml\XmlUTF8TextReader.cs (2)
737
prefix.SetValue(
PrefixHandleType
.Empty);
829
ns.Prefix.SetValue(
PrefixHandleType
.Empty);