64 references to PrefixHandleType
System.Runtime.Serialization (64)
System\Runtime\Serialization\Json\XmlJsonReader.cs (7)
1142
elementNode.Prefix.SetValue(
PrefixHandleType
.Empty);
1206
attribute.Prefix.SetValue(
PrefixHandleType
.Empty);
1373
elementNode.Prefix.SetValue(
PrefixHandleType
.Empty);
1517
attribute.Prefix.SetValue(
PrefixHandleType
.Empty);
1582
ns.Prefix.SetValue(
PrefixHandleType
.A);
1589
attribute.Prefix.SetValue(
PrefixHandleType
.Empty);
1593
elementNode.Prefix.SetValue(
PrefixHandleType
.A);
System\Xml\PrefixHandle.cs (30)
19
PrefixHandleType
type;
30
public void SetValue(
PrefixHandleType
type)
32
Fx.Assert(type !=
PrefixHandleType
.Buffer, "");
47
SetValue(
PrefixHandleType
.Empty);
61
this.type =
PrefixHandleType
.Buffer;
70
return type ==
PrefixHandleType
.Empty;
78
if (type !=
PrefixHandleType
.Buffer)
96
if (type !=
PrefixHandleType
.Buffer)
108
public bool TryGetShortPrefix(out
PrefixHandleType
type)
111
return (type !=
PrefixHandleType
.Buffer);
114
public static string GetString(
PrefixHandleType
type)
116
Fx.Assert(type !=
PrefixHandleType
.Buffer, "");
120
public static
PrefixHandleType
GetAlphaPrefix(int index)
123
return (
PrefixHandleType
)(
PrefixHandleType
.A + index);
126
public static byte[] GetString(
PrefixHandleType
type, out int offset, out int length)
128
Fx.Assert(type !=
PrefixHandleType
.Buffer, "");
129
if (type ==
PrefixHandleType
.Empty)
137
offset = (int)(type -
PrefixHandleType
.A);
144
PrefixHandleType
type = this.type;
145
if (type !=
PrefixHandleType
.Buffer)
153
PrefixHandleType
type = this.type;
154
if (type !=
PrefixHandleType
.Buffer)
162
PrefixHandleType
type = this.type;
163
if (type !=
PrefixHandleType
.Buffer)
180
PrefixHandleType
type1 = this.type;
181
PrefixHandleType
type2 = prefix2.type;
184
if (type1 !=
PrefixHandleType
.Buffer)
194
PrefixHandleType
type = this.type;
195
if (type !=
PrefixHandleType
.Buffer)
System\Xml\XmlBaseReader.cs (15)
711
protected Namespace LookupNamespace(
PrefixHandleType
prefix)
931
for (
PrefixHandleType
i =
PrefixHandleType
.A; i <=
PrefixHandleType
.Z; i++)
2839
this.shortPrefixUri = new Namespace[(int)
PrefixHandleType
.Max];
2840
this.shortPrefixUri[(int)
PrefixHandleType
.Empty] = emptyNamespace;
2918
shortPrefixUri[(int)
PrefixHandleType
.Empty] = emptyNamespace;
2939
PrefixHandleType
shortPrefix;
3021
PrefixHandleType
shortPrefix;
3057
public Namespace LookupNamespace(
PrefixHandleType
prefix)
3064
PrefixHandleType
shortPrefix;
3080
PrefixHandleType
shortPrefix;
3094
bool TryGetShortPrefix(string s, out
PrefixHandleType
shortPrefix)
3099
shortPrefix =
PrefixHandleType
.Empty;
3111
shortPrefix =
PrefixHandleType
.Empty;
System\Xml\XmlBinaryReader.cs (10)
436
PrefixHandleType
prefix;
441
elementNode.Prefix.SetValue(
PrefixHandleType
.Empty);
444
elementNode.Namespace = LookupNamespace(
PrefixHandleType
.Empty);
457
elementNode.Prefix.SetValue(
PrefixHandleType
.Empty);
460
elementNode.Namespace = LookupNamespace(
PrefixHandleType
.Empty);
740
PrefixHandleType
prefix;
747
attributeNode.Prefix.SetValue(
PrefixHandleType
.Empty);
762
attributeNode.Prefix.SetValue(
PrefixHandleType
.Empty);
783
nameSpace.Prefix.SetValue(
PrefixHandleType
.Empty);
790
nameSpace.Prefix.SetValue(
PrefixHandleType
.Empty);
System\Xml\XmlUTF8TextReader.cs (2)
499
prefix.SetValue(
PrefixHandleType
.Empty);
591
ns.Prefix.SetValue(
PrefixHandleType
.Empty);