482 references to Write
dotnet-svcutil-lib (482)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationGeneratedCode.cs (26)
115
_writer.
Write
(typeof(Hashtable).FullName);
116
_writer.
Write
(" ");
117
_writer.
Write
(privateName);
119
_writer.
Write
("public override ");
120
_writer.
Write
(typeof(Hashtable).FullName);
122
_writer.
Write
(" ");
123
_writer.
Write
(publicName);
130
_writer.
Write
("if (");
131
_writer.
Write
(privateName);
135
_writer.
Write
(typeof(Hashtable).FullName);
136
_writer.
Write
(" _tmp = new ");
137
_writer.
Write
(typeof(Hashtable).FullName);
143
_writer.
Write
("if (");
144
_writer.
Write
(privateName);
145
_writer.
Write
(" == null) ");
146
_writer.
Write
(privateName);
151
_writer.
Write
("return ");
152
_writer.
Write
(privateName);
169
_writer.
Write
("_tmp[");
171
_writer.
Write
("] = ");
181
_writer.
Write
("public override ");
182
_writer.
Write
(typeof(bool).FullName);
183
_writer.
Write
(" CanSerialize(");
184
_writer.
Write
(typeof(Type).FullName);
203
_writer.
Write
("if (type == typeof(");
204
_writer.
Write
(CodeIdentifier.GetCSharpName(type));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (456)
1529
Writer.
Write
(Access);
1530
Writer.
Write
(" class ");
1531
Writer.
Write
(ClassName);
1532
Writer.
Write
(" : ");
1533
Writer.
Write
(typeof(XmlSerializationWriter).FullName);
1617
Writer.
Write
("AddWriteCallback(");
1618
Writer.
Write
(RaCodeGen.GetStringForTypeof(typeMapping.TypeDesc.CSharpName, typeMapping.TypeDesc.UseReflection));
1619
Writer.
Write
(", ");
1621
Writer.
Write
(", ");
1623
Writer.
Write
(", new ");
1624
Writer.
Write
(typeof(XmlSerializationWriteCallback).FullName);
1625
Writer.
Write
("(this.");
1626
Writer.
Write
(methodName);
1645
Writer.
Write
(nullable ? ("WriteNullableQualifiedName" + suffix) : "WriteElementQualifiedName");
1646
Writer.
Write
("(");
1650
Writer.
Write
(", ");
1653
Writer.
Write
(", ");
1654
Writer.
Write
(source);
1658
Writer.
Write
(", new Microsoft.Xml.XmlQualifiedName(");
1660
Writer.
Write
(", ");
1662
Writer.
Write
(")");
1683
Writer.
Write
(methodName);
1684
Writer.
Write
("(");
1685
Writer.
Write
(source);
1686
Writer.
Write
(")");
1693
Writer.
Write
(source);
1699
Writer.
Write
(typeof(XmlConvert).FullName);
1700
Writer.
Write
(".ToString((");
1701
Writer.
Write
(typeDesc.CSharpName);
1702
Writer.
Write
(")");
1703
Writer.
Write
(source);
1704
Writer.
Write
(")");
1708
Writer.
Write
("From");
1709
Writer.
Write
(typeDesc.FormatterName);
1710
Writer.
Write
("(");
1711
Writer.
Write
(source);
1712
Writer.
Write
(")");
1730
Writer.
Write
("if (");
1732
Writer.
Write
(RaCodeGen.GetStringForEnumLongValue(source, mapping.TypeDesc.UseReflection));
1734
Writer.
Write
(source);
1735
Writer.
Write
(" != ");
1738
Writer.
Write
("(");
1746
Writer.
Write
(RaCodeGen.GetStringForEnumCompare((EnumMapping)mapping, values[i], mapping.TypeDesc.UseReflection));
1748
Writer.
Write
(")");
1752
Writer.
Write
(RaCodeGen.GetStringForEnumCompare((EnumMapping)mapping, (string)defaultValue, mapping.TypeDesc.UseReflection));
1754
Writer.
Write
(")");
1763
Writer.
Write
(method);
1764
Writer.
Write
("(");
1768
Writer.
Write
(", ");
1771
Writer.
Write
(", ");
1784
Writer.
Write
(", new Microsoft.Xml.XmlQualifiedName(");
1786
Writer.
Write
(", ");
1788
Writer.
Write
(")");
1802
Writer.
Write
(methodName);
1803
Writer.
Write
("(");
1805
Writer.
Write
(", ");
1808
Writer.
Write
("null");
1819
Writer.
Write
(methodName);
1820
Writer.
Write
("(");
1822
Writer.
Write
(", ");
1825
Writer.
Write
("null");
1831
Writer.
Write
(", null, ");
1833
Writer.
Write
("true");
1835
Writer.
Write
("false");
1850
Writer.
Write
("WriteEndElement(");
1851
Writer.
Write
(source);
1879
Writer.
Write
("public void ");
1880
Writer.
Write
(methodName);
1906
Writer.
Write
("if (pLength > ");
1907
Writer.
Write
(xmlnsMember.ToString());
1939
Writer.
Write
("if (pLength > ");
1940
Writer.
Write
(i.ToString());
1946
Writer.
Write
("if (pLength <= ");
1947
Writer.
Write
(specifiedPosition.ToString());
1948
Writer.
Write
(" || ");
1949
Writer.
Write
(specifiedSource);
1993
Writer.
Write
("if (pLength > ");
1994
Writer.
Write
(i.ToString());
2000
Writer.
Write
("if (pLength <= ");
2001
Writer.
Write
(specifiedPosition.ToString());
2002
Writer.
Write
(" || ");
2003
Writer.
Write
(specifiedSource);
2033
Writer.
Write
("WriteRpcResult(");
2035
Writer.
Write
(", ");
2062
Writer.
Write
("if (pLength > ");
2063
Writer.
Write
(mapping.Members.Length.ToString());
2085
Writer.
Write
("public void ");
2086
Writer.
Write
(methodName);
2135
Writer.
Write
("void ");
2136
Writer.
Write
(methodName);
2142
Writer.
Write
("string ");
2143
Writer.
Write
(methodName);
2144
Writer.
Write
("(");
2145
Writer.
Write
(mapping.TypeDesc.UseReflection ? "object" : fullTypeName);
2166
Writer.
Write
("s = ");
2176
Writer.
Write
("default: s = FromEnum(");
2177
Writer.
Write
(RaCodeGen.GetStringForEnumLongValue("v", mapping.TypeDesc.UseReflection));
2178
Writer.
Write
(", new string[] {");
2187
Writer.
Write
("}, new ");
2188
Writer.
Write
(typeof(long).FullName);
2189
Writer.
Write
("[] {");
2196
Writer.
Write
("(long)");
2198
Writer.
Write
(c.Value.ToString());
2201
Writer.
Write
(fullTypeName);
2202
Writer.
Write
(".@");
2204
Writer.
Write
(c.Name);
2208
Writer.
Write
("}, ");
2214
Writer.
Write
("default: throw CreateInvalidEnumValueException(");
2215
Writer.
Write
(RaCodeGen.GetStringForEnumLongValue("v", mapping.TypeDesc.UseReflection));
2216
Writer.
Write
(".ToString(System.Globalization.CultureInfo.InvariantCulture), ");
2225
Writer.
Write
("WriteXsiType(");
2227
Writer.
Write
(", ");
2245
Writer.
Write
("else if (");
2257
Writer.
Write
(methodName);
2258
Writer.
Write
("(n, ns,");
2259
if (!derived.TypeDesc.UseReflection) Writer.
Write
("(" + fullTypeName + ")");
2260
Writer.
Write
("o");
2262
Writer.
Write
(", isNullable");
2263
Writer.
Write
(", true");
2283
Writer.
Write
("else if (");
2295
Writer.
Write
("WriteXsiType(");
2297
Writer.
Write
(", ");
2300
Writer.
Write
("Writer.WriteString(");
2301
Writer.
Write
(methodName);
2302
Writer.
Write
("(");
2303
if (!mapping.TypeDesc.UseReflection) Writer.
Write
("(" + fullTypeName + ")");
2315
Writer.
Write
("else if (");
2324
Writer.
Write
("WriteXsiType(");
2326
Writer.
Write
(", ");
2347
Writer.
Write
("void ");
2348
Writer.
Write
(methodName);
2360
Writer.
Write
("(string n, string ns, ");
2361
Writer.
Write
(mapping.TypeDesc.UseReflection ? "object" : fullTypeName);
2362
Writer.
Write
(" o");
2364
Writer.
Write
(", bool isNullable");
2379
Writer.
Write
(typeof(Type).FullName);
2381
Writer.
Write
("if (");
2429
Writer.
Write
("WriteStartElement(n, ns, o, false, ");
2431
Writer.
Write
("null");
2433
Writer.
Write
(xmlnsSource);
2438
Writer.
Write
("if (needType) WriteXsiType(");
2440
Writer.
Write
(", ");
2457
Writer.
Write
("if (");
2460
Writer.
Write
(methodInvoke);
2466
Writer.
Write
("if (");
2469
Writer.
Write
(memberGet);
2498
Writer.
Write
("if (");
2501
Writer.
Write
(methodInvoke);
2507
Writer.
Write
("if (");
2510
Writer.
Write
(memberGet);
2570
Writer.
Write
("Writer.WriteStartAttribute(null, ");
2572
Writer.
Write
(", ");
2580
Writer.
Write
("null");
2586
Writer.
Write
(typeof(StringBuilder).FullName);
2587
Writer.
Write
(" sb = new ");
2588
Writer.
Write
(typeof(StringBuilder).FullName);
2596
Writer.
Write
(" e = ");
2597
Writer.
Write
(typeof(IEnumerator).FullName);
2600
Writer.
Write
("((");
2601
Writer.
Write
(typeof(IEnumerable).FullName);
2609
Writer.
Write
("(");
2610
Writer.
Write
(typeof(IEnumerator).FullName);
2611
Writer.
Write
(")");
2612
Writer.
Write
(RaCodeGen.GetReflectionVariable(memberTypeDesc.CSharpName, "System.Collections.Generic.IEnumerable*"));
2617
Writer.
Write
("((System.Collections.Generic.IEnumerable<");
2618
Writer.
Write
(arrayElementTypeDesc.CSharpName);
2626
Writer.
Write
("(");
2627
Writer.
Write
(typeof(IEnumerator).FullName);
2628
Writer.
Write
(")");
2630
Writer.
Write
(RaCodeGen.GetStringForMethodInvoke("a", memberTypeDesc.CSharpName, "GetEnumerator", memberTypeDesc.UseReflection));
2642
Writer.
Write
("for (int i = 0; i < ");
2649
Writer.
Write
("((");
2650
Writer.
Write
(typeof(ICollection).FullName);
2663
Writer.
Write
("WriteValue(");
2668
Writer.
Write
("sb.Append(");
2694
Writer.
Write
("WriteAttribute(");
2696
Writer.
Write
(", ");
2701
Writer.
Write
(", ");
2730
Writer.
Write
("WriteXmlAttribute(");
2731
Writer.
Write
(source);
2732
Writer.
Write
(", ");
2733
Writer.
Write
(parent);
2778
Writer.
Write
("throw CreateInvalidChoiceIdentifierValueException(");
2780
Writer.
Write
(", ");
2782
Writer.
Write
(");");
2803
Writer.
Write
(typeof(IEnumerator).FullName);
2804
Writer.
Write
(" e = ");
2807
Writer.
Write
("((");
2808
Writer.
Write
(typeof(IEnumerable).FullName);
2809
Writer.
Write
(")");
2810
Writer.
Write
(arrayName);
2818
Writer.
Write
("(");
2819
Writer.
Write
(typeof(IEnumerator).FullName);
2820
Writer.
Write
(")");
2821
Writer.
Write
(RaCodeGen.GetReflectionVariable(arrayTypeDesc.CSharpName, "System.Collections.Generic.IEnumerable*"));
2822
Writer.
Write
(".Invoke(");
2823
Writer.
Write
(arrayName);
2828
Writer.
Write
("((System.Collections.Generic.IEnumerable<");
2829
Writer.
Write
(arrayElementTypeDesc.CSharpName);
2830
Writer.
Write
(">)");
2831
Writer.
Write
(arrayName);
2839
Writer.
Write
("(");
2840
Writer.
Write
(typeof(IEnumerator).FullName);
2841
Writer.
Write
(")");
2843
Writer.
Write
(RaCodeGen.GetStringForMethodInvoke(arrayName, arrayTypeDesc.CSharpName, "GetEnumerator", arrayTypeDesc.UseReflection));
2855
Writer.
Write
("for (int i");
2856
Writer.
Write
(arrayName);
2857
Writer.
Write
(" = 0; i");
2858
Writer.
Write
(arrayName);
2859
Writer.
Write
(" < ");
2862
Writer.
Write
(arrayName);
2863
Writer.
Write
(".Length");
2867
Writer.
Write
("((");
2868
Writer.
Write
(typeof(ICollection).FullName);
2869
Writer.
Write
(")");
2870
Writer.
Write
(arrayName);
2871
Writer.
Write
(").Count");
2873
Writer.
Write
("; i");
2874
Writer.
Write
(arrayName);
2917
Writer.
Write
("if ((object)(");
2918
Writer.
Write
(source);
2919
Writer.
Write
(") != null)");
2948
if (wroteFirstIf) Writer.
Write
("else ");
2950
Writer.
Write
("if (");
2951
Writer.
Write
(enumUseReflection ? RaCodeGen.GetStringForEnumLongValue(enumSource, enumUseReflection) : enumSource);
2952
Writer.
Write
(" == ");
2953
Writer.
Write
(enumFullName);
2956
Writer.
Write
(" && ((object)(");
2957
Writer.
Write
(source);
2958
Writer.
Write
(") != null)");
2977
if (wroteFirstIf) Writer.
Write
("else ");
2979
Writer.
Write
("if (");
2993
if (elements.Length - anyCount > 0) Writer.
Write
("else ");
2997
Writer.
Write
("if (");
2998
Writer.
Write
(source);
2999
Writer.
Write
(" is ");
3000
Writer.
Write
(fullTypeName);
3004
Writer.
Write
(fullTypeName);
3005
Writer.
Write
(" elem = (");
3006
Writer.
Write
(fullTypeName);
3007
Writer.
Write
(")");
3008
Writer.
Write
(source);
3015
if (c++ > 0) Writer.
Write
("else ");
3024
Writer.
Write
("if (");
3025
Writer.
Write
(enumUseReflection ? RaCodeGen.GetStringForEnumLongValue(enumSource, enumUseReflection) : enumSource);
3026
Writer.
Write
(" == ");
3027
Writer.
Write
(enumFullName);
3030
Writer.
Write
(" && ((object)(");
3031
Writer.
Write
(source);
3032
Writer.
Write
(") != null)");
3037
Writer.
Write
("if (elem.Name == ");
3039
Writer.
Write
(" && elem.NamespaceURI == ");
3054
Writer.
Write
("throw CreateChoiceIdentifierValueException(");
3056
Writer.
Write
(", ");
3092
Writer.
Write
("else ");
3093
Writer.
Write
("if (");
3114
Writer.
Write
("else ");
3118
Writer.
Write
(" if ((object)(");
3119
Writer.
Write
(source);
3120
Writer.
Write
(") != null)");
3126
Writer.
Write
("throw CreateUnknownTypeException(");
3127
Writer.
Write
(source);
3143
Writer.
Write
("WriteValue(");
3160
Writer.
Write
(source);
3175
Writer.
Write
("if (");
3176
Writer.
Write
(source);
3202
Writer.
Write
("WritePotentiallyReferencingElement(");
3204
Writer.
Write
(", ");
3206
Writer.
Write
(", ");
3207
Writer.
Write
(source);
3210
Writer.
Write
(", ");
3211
Writer.
Write
(RaCodeGen.GetStringForTypeof(mapping.TypeDesc.CSharpName, mapping.TypeDesc.UseReflection));
3212
Writer.
Write
(", true, ");
3216
Writer.
Write
(", null, false, ");
3238
Writer.
Write
("if (");
3239
Writer.
Write
(elementArrayName);
3240
Writer.
Write
(" != null)");
3246
Writer.
Write
("for (int ");
3247
Writer.
Write
(arrayIndex);
3248
Writer.
Write
(" = 0; ");
3249
Writer.
Write
(arrayIndex);
3250
Writer.
Write
(" < ");
3254
Writer.
Write
(elementArrayName);
3255
Writer.
Write
(".Length");
3259
Writer.
Write
("((");
3260
Writer.
Write
(typeof(ICollection).FullName);
3261
Writer.
Write
(")");
3262
Writer.
Write
(elementArrayName);
3263
Writer.
Write
(").Count");
3265
Writer.
Write
("; ");
3266
Writer.
Write
(arrayIndex);
3296
Writer.
Write
("if (");
3297
Writer.
Write
(arrayName);
3298
Writer.
Write
(" != null)");
3317
Writer.
Write
("Writer.WriteStartElement(");
3319
Writer.
Write
(", ");
3322
Writer.
Write
(methodName);
3323
Writer.
Write
("(");
3324
Writer.
Write
(source);
3352
Writer.
Write
("WritePotentiallyReferencingElement(");
3354
Writer.
Write
(", ");
3356
Writer.
Write
(", ");
3357
Writer.
Write
(source);
3360
Writer.
Write
(", ");
3361
Writer.
Write
(RaCodeGen.GetStringForTypeof(mapping.TypeDesc.CSharpName, mapping.TypeDesc.UseReflection));
3362
Writer.
Write
(", true, ");
3366
Writer.
Write
(", null, false, ");
3378
Writer.
Write
(methodName);
3379
Writer.
Write
("(");
3381
Writer.
Write
(", ");
3383
Writer.
Write
("null");
3388
Writer.
Write
(", ");
3389
Writer.
Write
(source);
3392
Writer.
Write
(", ");
3395
Writer.
Write
(", false");
3414
Writer.
Write
("if ((");
3415
Writer.
Write
(source);
3416
Writer.
Write
(") is ");
3417
Writer.
Write
(typeof(XmlNode).FullName);
3418
Writer.
Write
(" || ");
3419
Writer.
Write
(source);
3420
Writer.
Write
(" == null");
3431
Writer.
Write
("throw CreateInvalidAnyTypeException(");
3432
Writer.
Write
(source);
3447
Writer.
Write
(func);
3448
Writer.
Write
("((");
3449
Writer.
Write
(cast.FullName);
3450
Writer.
Write
(")");
3451
Writer.
Write
(source);
3452
Writer.
Write
(", ");
3454
Writer.
Write
(", ");
3456
Writer.
Write
(", ");
3458
Writer.
Write
(", ");
3465
Writer.
Write
("if (");
3470
Writer.
Write
("(");
3471
Writer.
Write
(source);
3473
Writer.
Write
(" == null) || (");
3475
Writer.
Write
(" != null) && (");
3476
Writer.
Write
(source);
3477
Writer.
Write
(".Length != 0)");
3481
Writer.
Write
(source);
3482
Writer.
Write
(" != ");
3485
Writer.
Write
(")");
3490
Writer.
Write
("if (((object)");
3491
Writer.
Write
(source);
3492
Writer.
Write
(") != null && !(");
3494
Writer.
Write
(")) throw CreateMismatchChoiceException(");
3496
Writer.
Write
(", ");
3498
Writer.
Write
(", ");
3505
Writer.
Write
("if ((object)(");
3506
Writer.
Write
(source);
3520
Writer.
Write
("null");
3539
Writer.
Write
("\'");
3546
Writer.
Write
(((Int32)value).ToString(null, NumberFormatInfo.InvariantInfo));
3549
Writer.
Write
(((Double)value).ToString("R", NumberFormatInfo.InvariantInfo));
3552
Writer.
Write
((bool)value ? "true" : "false");
3561
Writer.
Write
("(");
3562
Writer.
Write
(type.FullName);
3563
Writer.
Write
(")");
3564
Writer.
Write
("(");
3565
Writer.
Write
(Convert.ToString(value, NumberFormatInfo.InvariantInfo));
3566
Writer.
Write
(")");
3569
Writer.
Write
(((Single)value).ToString("R", NumberFormatInfo.InvariantInfo));
3570
Writer.
Write
("f");
3573
Writer.
Write
(((Decimal)value).ToString(null, NumberFormatInfo.InvariantInfo));
3574
Writer.
Write
("m");
3577
Writer.
Write
(" new ");
3578
Writer.
Write
(type.FullName);
3579
Writer.
Write
("(");
3580
Writer.
Write
(((DateTime)value).Ticks.ToString());
3581
Writer.
Write
(")");
3586
Writer.
Write
(((int)value).ToString(null, NumberFormatInfo.InvariantInfo));
3599
Writer.
Write
("WriteNamespaceDeclarations(");
3600
Writer.
Write
(source);
3617
Writer.
Write
("for (int i = ");
3618
Writer.
Write
(loopStartSource);
3619
Writer.
Write
("; i < ");
3620
Writer.
Write
(loopEndSource);
3862
_writer.
Write
("static " + typeof(Type).FullName + " " + typeVariable + " = " + assemblyVariable + ".GetType(");
3880
_writer.
Write
("static " + typeof(Type).FullName + " " + typeVariable + " = " + assemblyVariable + ".GetType(");
3906
_writer.
Write
(String.Format(CultureInfo.InvariantCulture, s_helperClassesForUseReflection,
3985
_writer.
Write
("static " + typeof(Assembly).FullName + " " + assemblyVariable + " = " + "ResolveDynamicAssembly(");
4002
_writer.
Write
("static XSPropInfo " + propVariable + " = new XSPropInfo(" + typeVariable + ", ");
4011
_writer.
Write
("static XSFieldInfo " + fieldVariable + " = new XSFieldInfo(" + typeVariable + ", ");
4024
_writer.
Write
("static " + typeof(MethodInfo).FullName + " " + methodVariable + " = " + typeVariable + ".GetMethod(");
4026
_writer.
Write
(", ");
4029
_writer.
Write
(bindingFlags);
4030
_writer.
Write
(".Public | ");
4031
_writer.
Write
(bindingFlags);
4032
_writer.
Write
(".Instance | ");
4033
_writer.
Write
(bindingFlags);
4034
_writer.
Write
(".Static");
4038
_writer.
Write
(" | ");
4039
_writer.
Write
(bindingFlags);
4040
_writer.
Write
(".NonPublic");
4042
_writer.
Write
(", null, ");
4043
_writer.
Write
("new " + typeof(Type).FullName + "[] { ");
4046
_writer.
Write
(paramTypes[i]);
4048
_writer.
Write
(", ");
4059
_writer.
Write
("static XSArrayInfo ");
4060
_writer.
Write
(itemVariable);
4061
_writer.
Write
("= new XSArrayInfo(");
4062
_writer.
Write
(GetStringForTypeof(CodeIdentifier.GetCSharpName(type), collectionUseReflection));
4063
_writer.
Write
(".GetProperty(");
4065
_writer.
Write
(",");
4067
_writer.
Write
(GetStringForTypeof(CodeIdentifier.GetCSharpName(defaultIndexer.PropertyType), elementUseReflection));
4068
_writer.
Write
(",new ");
4069
_writer.
Write
(typeof(Type[]).FullName);
4270
_writer.
Write
(typeFullName);
4271
_writer.
Write
(" ");
4272
_writer.
Write
(variableName);
4275
_writer.
Write
(" = ");
4278
_writer.
Write
("(" + typeFullName + ")");
4280
_writer.
Write
(initValue);
4287
_writer.
Write
(useReflection ? "object" : escapedName);
4288
_writer.
Write
(" ");
4289
_writer.
Write
(source);
4290
_writer.
Write
(" = ");
4291
_writer.
Write
(GetStringForCreateInstance(escapedName, useReflection, ctorInaccessible, !useReflection && ctorInaccessible));
4298
_writer.
Write
(source);
4299
_writer.
Write
(" is ");
4300
_writer.
Write
(escapedTypeName);
4303
_writer.
Write
(GetReflectionVariable(escapedTypeName, null));
4304
_writer.
Write
(".IsAssignableFrom(");
4305
_writer.
Write
(source);
4306
_writer.
Write
(".GetType())");
4320
_writer.
Write
(typeName);
4321
_writer.
Write
(" ");
4322
_writer.
Write
(variableName);
4325
_writer.
Write
(" = ");
4327
_writer.
Write
("(" + typeName + ")");
4328
_writer.
Write
(initValue);
4334
_writer.
Write
("case ");
4337
_writer.
Write
(c.Value.ToString());
4341
_writer.
Write
(fullTypeName);
4342
_writer.
Write
(".@");
4344
_writer.
Write
(c.Name);
4346
_writer.
Write
(": ");
4350
_writer.
Write
(variable);
4351
_writer.
Write
(" == ");
4352
_writer.
Write
(GetStringForTypeof(escapedTypeName, useReflection));
4358
_writer.
Write
(variable);
4359
_writer.
Write
(" == typeof(");
4360
_writer.
Write
(escapedTypeName);
4361
_writer.
Write
(")");
4364
_writer.
Write
(variable);
4365
_writer.
Write
(".IsArray ");
4366
_writer.
Write
(" && ");
4374
writer.
Write
("null");
4377
writer.
Write
("@\"");
4383
writer.
Write
("\\r");
4385
writer.
Write
("\\n");
4387
writer.
Write
("\\t");
4391
writer.
Write
("\\x");
4398
writer.
Write
("\"\"");
4405
writer.
Write
("\"");