52 references to StringHandleType
System.Private.DataContractSerialization (52)
System\Xml\StringHandle.cs (52)
21
private
StringHandleType
_type;
39
_type =
StringHandleType
.UTF8;
46
_type =
StringHandleType
.ConstString;
52
_type = (escaped ?
StringHandleType
.EscapedUTF8 :
StringHandleType
.UTF8);
59
_type =
StringHandleType
.Dictionary;
75
if (_type ==
StringHandleType
.UTF8)
85
if (_type ==
StringHandleType
.UTF8)
103
Debug.Assert(_type ==
StringHandleType
.UTF8);
109
StringHandleType
type = _type;
110
if (type ==
StringHandleType
.UTF8)
112
if (type ==
StringHandleType
.Dictionary)
114
if (type ==
StringHandleType
.ConstString)
117
Debug.Assert(type ==
StringHandleType
.EscapedUTF8, "Should be EscapedUTF8");
123
StringHandleType
type = _type;
124
if (type ==
StringHandleType
.UTF8)
126
if (type ==
StringHandleType
.Dictionary)
128
if (type ==
StringHandleType
.ConstString)
131
Debug.Assert(type ==
StringHandleType
.EscapedUTF8, "Should be EscapedUTF8");
137
StringHandleType
type = _type;
138
if (type ==
StringHandleType
.UTF8)
144
if (type ==
StringHandleType
.Dictionary)
151
if (type ==
StringHandleType
.ConstString)
160
Debug.Assert(type ==
StringHandleType
.EscapedUTF8);
170
if (_type ==
StringHandleType
.Dictionary)
192
StringHandleType
type = _type;
193
if (type ==
StringHandleType
.Dictionary)
195
if (type ==
StringHandleType
.UTF8)
197
Debug.Assert(type ==
StringHandleType
.EscapedUTF8 || type ==
StringHandleType
.ConstString);
203
StringHandleType
type = _type;
204
if (type ==
StringHandleType
.Dictionary)
206
if (type ==
StringHandleType
.UTF8)
208
Debug.Assert(type ==
StringHandleType
.EscapedUTF8 || type ==
StringHandleType
.ConstString);
214
StringHandleType
type = _type;
215
if (type ==
StringHandleType
.Dictionary)
217
if (type ==
StringHandleType
.UTF8)
219
Debug.Assert(type ==
StringHandleType
.EscapedUTF8 || type ==
StringHandleType
.ConstString);
225
StringHandleType
type = _type;
226
if (type ==
StringHandleType
.Dictionary)
228
if (type ==
StringHandleType
.UTF8)
230
Debug.Assert(type ==
StringHandleType
.EscapedUTF8 || type ==
StringHandleType
.ConstString);
238
StringHandleType
type = other._type;
239
if (type ==
StringHandleType
.Dictionary)
241
if (type ==
StringHandleType
.UTF8)
243
Debug.Assert(type ==
StringHandleType
.EscapedUTF8 || type ==
StringHandleType
.ConstString);
279
if (_type ==
StringHandleType
.UTF8 && that._type ==
StringHandleType
.UTF8)