57 references to PrefixHandleType
dotnet-svcutil-lib (57)
FrameworkFork\System.Runtime.Serialization\System\Xml\PrefixHandle.cs (30)
23
private
PrefixHandleType
_type;
34
public void SetValue(
PrefixHandleType
type)
36
DiagnosticUtility.DebugAssert(type !=
PrefixHandleType
.Buffer, "");
51
SetValue(
PrefixHandleType
.Empty);
65
_type =
PrefixHandleType
.Buffer;
74
return _type ==
PrefixHandleType
.Empty;
82
if (_type !=
PrefixHandleType
.Buffer)
100
if (_type !=
PrefixHandleType
.Buffer)
112
public bool TryGetShortPrefix(out
PrefixHandleType
type)
115
return (type !=
PrefixHandleType
.Buffer);
118
public static string GetString(
PrefixHandleType
type)
120
DiagnosticUtility.DebugAssert(type !=
PrefixHandleType
.Buffer, "");
124
public static
PrefixHandleType
GetAlphaPrefix(int index)
127
return (
PrefixHandleType
)(
PrefixHandleType
.A + index);
130
public static byte[] GetString(
PrefixHandleType
type, out int offset, out int length)
132
DiagnosticUtility.DebugAssert(type !=
PrefixHandleType
.Buffer, "");
133
if (type ==
PrefixHandleType
.Empty)
141
offset = (int)(type -
PrefixHandleType
.A);
148
PrefixHandleType
type = _type;
149
if (type !=
PrefixHandleType
.Buffer)
157
PrefixHandleType
type = _type;
158
if (type !=
PrefixHandleType
.Buffer)
166
PrefixHandleType
type = _type;
167
if (type !=
PrefixHandleType
.Buffer)
185
PrefixHandleType
type1 = _type;
186
PrefixHandleType
type2 = prefix2._type;
189
if (type1 !=
PrefixHandleType
.Buffer)
199
PrefixHandleType
type = _type;
200
if (type !=
PrefixHandleType
.Buffer)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseReader.cs (15)
706
protected Namespace LookupNamespace(
PrefixHandleType
prefix)
932
for (
PrefixHandleType
i =
PrefixHandleType
.A; i <=
PrefixHandleType
.Z; i++)
2556
_shortPrefixUri = new Namespace[(int)
PrefixHandleType
.Max];
2557
_shortPrefixUri[(int)
PrefixHandleType
.Empty] = s_emptyNamespace;
2635
_shortPrefixUri[(int)
PrefixHandleType
.Empty] = s_emptyNamespace;
2656
PrefixHandleType
shortPrefix;
2714
PrefixHandleType
shortPrefix;
2750
public Namespace LookupNamespace(
PrefixHandleType
prefix)
2757
PrefixHandleType
shortPrefix;
2772
PrefixHandleType
shortPrefix;
2786
private bool TryGetShortPrefix(string s, out
PrefixHandleType
shortPrefix)
2791
shortPrefix =
PrefixHandleType
.Empty;
2803
shortPrefix =
PrefixHandleType
.Empty;
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryReader.cs (10)
408
PrefixHandleType
prefix;
413
elementNode.Prefix.SetValue(
PrefixHandleType
.Empty);
416
elementNode.Namespace = LookupNamespace(
PrefixHandleType
.Empty);
429
elementNode.Prefix.SetValue(
PrefixHandleType
.Empty);
432
elementNode.Namespace = LookupNamespace(
PrefixHandleType
.Empty);
712
PrefixHandleType
prefix;
719
attributeNode.Prefix.SetValue(
PrefixHandleType
.Empty);
734
attributeNode.Prefix.SetValue(
PrefixHandleType
.Empty);
755
nameSpace.Prefix.SetValue(
PrefixHandleType
.Empty);
762
nameSpace.Prefix.SetValue(
PrefixHandleType
.Empty);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlUTF8TextReader.cs (2)
758
prefix.SetValue(
PrefixHandleType
.Empty);
850
ns.Prefix.SetValue(
PrefixHandleType
.Empty);