228 references to WriteLine
dotnet-svcutil-lib (228)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationGeneratedCode.cs (15)
118
_writer.
WriteLine
(" = null;");
124
_writer.
WriteLine
(" {");
127
_writer.
WriteLine
("get {");
132
_writer.
WriteLine
(" == null) {");
138
_writer.
WriteLine
("();");
147
_writer.
WriteLine
(" = _tmp;");
149
_writer.
WriteLine
("}");
153
_writer.
WriteLine
(";");
155
_writer.
WriteLine
("}");
158
_writer.
WriteLine
("}");
173
_writer.
WriteLine
(";");
185
_writer.
WriteLine
(" type) {");
205
_writer.
WriteLine
(")) return true;");
207
_writer.
WriteLine
("return false;");
209
_writer.
WriteLine
("}");
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (213)
1534
Writer.
WriteLine
(" {");
1585
Writer.
WriteLine
("}");
1605
Writer.
WriteLine
("protected override void InitCallbacks() {");
1627
Writer.
WriteLine
("));");
1632
Writer.
WriteLine
("}");
1641
Writer.
WriteLine
(" {");
1665
Writer.
WriteLine
(");");
1670
Writer.
WriteLine
("}");
1745
Writer.
WriteLine
(" | ");
1760
Writer.
WriteLine
(" {");
1791
Writer.
WriteLine
(");");
1796
Writer.
WriteLine
("}");
1814
Writer.
WriteLine
(");");
1836
Writer.
WriteLine
(");");
1846
Writer.
WriteLine
("WriteEndElement();");
1852
Writer.
WriteLine
(");");
1881
Writer.
WriteLine
("(object[] p) {");
1884
Writer.
WriteLine
("WriteStartDocument();");
1888
Writer.
WriteLine
("TopLevelElement();");
1894
Writer.
WriteLine
("int pLength = p.Length;");
1908
Writer.
WriteLine
(") {");
1912
Writer.
WriteLine
("}");
1941
Writer.
WriteLine
(") {");
1950
Writer.
WriteLine
(") {");
1959
Writer.
WriteLine
("}");
1963
Writer.
WriteLine
("}");
1995
Writer.
WriteLine
(") {");
2004
Writer.
WriteLine
(") {");
2037
Writer.
WriteLine
(");");
2046
Writer.
WriteLine
("}");
2050
Writer.
WriteLine
("}");
2064
Writer.
WriteLine
(") {");
2070
Writer.
WriteLine
("}");
2072
Writer.
WriteLine
("WriteReferencedElements();");
2075
Writer.
WriteLine
("}");
2087
Writer.
WriteLine
("(object o) {");
2090
Writer.
WriteLine
("WriteStartDocument();");
2092
Writer.
WriteLine
("if (o == null) {");
2103
Writer.
WriteLine
("return;");
2105
Writer.
WriteLine
("}");
2109
Writer.
WriteLine
("TopLevelElement();");
2116
Writer.
WriteLine
("WriteReferencedElements();");
2119
Writer.
WriteLine
("}");
2137
Writer.
WriteLine
("(object e) {");
2146
Writer.
WriteLine
(" v) {");
2149
Writer.
WriteLine
("string s = null;");
2156
Writer.
WriteLine
("switch (" + RaCodeGen.GetStringForEnumLongValue("v", mapping.TypeDesc.UseReflection) + " ){");
2158
Writer.
WriteLine
("switch (v) {");
2168
Writer.
WriteLine
("; break;");
2184
Writer.
WriteLine
(", ");
2195
Writer.
WriteLine
(", ");
2210
Writer.
WriteLine
("); break;");
2218
Writer.
WriteLine
(");");
2221
Writer.
WriteLine
("}");
2229
Writer.
WriteLine
(");");
2230
Writer.
WriteLine
("Writer.WriteString(s);");
2234
Writer.
WriteLine
("return s;");
2237
Writer.
WriteLine
("}");
2247
Writer.
WriteLine
(") {");
2264
Writer.
WriteLine
(");");
2265
Writer.
WriteLine
("return;");
2267
Writer.
WriteLine
("}");
2285
Writer.
WriteLine
(") {");
2294
Writer.
WriteLine
("Writer.WriteStartElement(n, ns);");
2299
Writer.
WriteLine
(");");
2304
Writer.
WriteLine
("o));");
2305
Writer.
WriteLine
("Writer.WriteEndElement();");
2306
Writer.
WriteLine
("return;");
2308
Writer.
WriteLine
("}");
2320
Writer.
WriteLine
(") {");
2323
Writer.
WriteLine
("Writer.WriteStartElement(n, ns);");
2328
Writer.
WriteLine
(");");
2332
Writer.
WriteLine
("Writer.WriteEndElement();");
2333
Writer.
WriteLine
("return;");
2335
Writer.
WriteLine
("}");
2354
Writer.
WriteLine
("(object s) {");
2365
Writer.
WriteLine
(", bool needType) {");
2369
Writer.
WriteLine
("if ((object)o == null) {");
2371
Writer.
WriteLine
("if (isNullable) WriteNullTagLiteral(n, ns);");
2372
Writer.
WriteLine
("return;");
2374
Writer.
WriteLine
("}");
2376
Writer.
WriteLine
("if (!needType) {");
2380
Writer.
WriteLine
(" t = o.GetType();");
2383
Writer.
WriteLine
(") {");
2384
Writer.
WriteLine
("}");
2388
Writer.
WriteLine
("else {");
2393
Writer.
WriteLine
("WriteTypedPrimitive(n, ns, o, true);");
2394
Writer.
WriteLine
("return;");
2398
Writer.
WriteLine
("throw CreateUnknownTypeException(o);");
2401
Writer.
WriteLine
("}");
2403
Writer.
WriteLine
("}");
2410
Writer.
WriteLine
("EscapeName = false;");
2435
Writer.
WriteLine
(");");
2442
Writer.
WriteLine
(");");
2461
Writer.
WriteLine
(") {");
2470
Writer.
WriteLine
(") {");
2478
Writer.
WriteLine
("}");
2483
Writer.
WriteLine
("}");
2502
Writer.
WriteLine
(") {");
2511
Writer.
WriteLine
(") {");
2526
Writer.
WriteLine
("}");
2531
Writer.
WriteLine
("}");
2540
Writer.
WriteLine
("}");
2557
Writer.
WriteLine
("{");
2563
Writer.
WriteLine
("if (a != null) {");
2582
Writer.
WriteLine
(");");
2589
Writer.
WriteLine
("();");
2602
Writer.
WriteLine
(").GetEnumerator();");
2613
Writer.
WriteLine
(".Invoke(a, new object[0]);");
2619
Writer.
WriteLine
(">)a).GetEnumerator();");
2631
Writer.
WriteLine
(";");
2633
Writer.
WriteLine
("if (e != null)");
2634
Writer.
WriteLine
("while (e.MoveNext()) {");
2645
Writer.
WriteLine
("a.Length; i++) {");
2651
Writer.
WriteLine
(")a).Count; i++) {");
2662
Writer.
WriteLine
("if (i != 0) Writer.WriteString(\" \");");
2667
Writer.
WriteLine
("if (i != 0) sb.Append(\" \");");
2674
Writer.
WriteLine
(");");
2681
Writer.
WriteLine
("}");
2687
Writer.
WriteLine
("Writer.WriteEndAttribute();");
2691
Writer.
WriteLine
("if (sb.Length != 0) {");
2703
Writer.
WriteLine
("sb.ToString());");
2705
Writer.
WriteLine
("}");
2712
Writer.
WriteLine
("}");
2715
Writer.
WriteLine
("}");
2734
Writer.
WriteLine
(");");
2760
Writer.
WriteLine
("{");
2766
Writer.
WriteLine
("if (a != null) {");
2776
Writer.
WriteLine
("if (c == null || c.Length < a.Length) {");
2784
Writer.
WriteLine
("}");
2791
Writer.
WriteLine
("}");
2794
Writer.
WriteLine
("}");
2811
Writer.
WriteLine
(").GetEnumerator();");
2824
Writer.
WriteLine
(", new object[0]);");
2832
Writer.
WriteLine
(").GetEnumerator();");
2844
Writer.
WriteLine
(";");
2846
Writer.
WriteLine
("if (e != null)");
2847
Writer.
WriteLine
("while (e.MoveNext()) {");
2875
Writer.
WriteLine
("++) {");
2895
Writer.
WriteLine
("}");
2921
Writer.
WriteLine
("{");
2960
Writer.
WriteLine
(") {");
2970
Writer.
WriteLine
("}");
2981
Writer.
WriteLine
(") {");
2988
Writer.
WriteLine
("}");
3001
Writer.
WriteLine
(") {");
3009
Writer.
WriteLine
(";");
3034
Writer.
WriteLine
(") {");
3041
Writer.
WriteLine
(") {");
3048
Writer.
WriteLine
("}");
3049
Writer.
WriteLine
("else {");
3052
Writer.
WriteLine
("// throw Value '{0}' of the choice identifier '{1}' does not match element '{2}' from namespace '{3}'.");
3058
Writer.
WriteLine
(", elem.Name, elem.NamespaceURI);");
3060
Writer.
WriteLine
("}");
3063
Writer.
WriteLine
("}");
3067
Writer.
WriteLine
("else {");
3076
Writer.
WriteLine
("throw CreateUnknownAnyElementException(elem.Name, elem.NamespaceURI);");
3081
Writer.
WriteLine
("}");
3084
Writer.
WriteLine
("}");
3095
Writer.
WriteLine
(") {");
3102
Writer.
WriteLine
("}");
3123
Writer.
WriteLine
("{");
3128
Writer.
WriteLine
(");");
3131
Writer.
WriteLine
("}");
3134
Writer.
WriteLine
("}");
3152
Writer.
WriteLine
(");");
3161
Writer.
WriteLine
(".WriteTo(Writer);");
3177
Writer.
WriteLine
(" != null) {");
3187
Writer.
WriteLine
("}");
3190
Writer.
WriteLine
("else {");
3194
Writer.
WriteLine
("}");
3219
Writer.
WriteLine
(");");
3227
Writer.
WriteLine
("{");
3242
Writer.
WriteLine
("{");
3267
Writer.
WriteLine
("++) {");
3275
Writer.
WriteLine
("}");
3278
Writer.
WriteLine
("}");
3280
Writer.
WriteLine
("}");
3285
Writer.
WriteLine
("{");
3300
Writer.
WriteLine
("{");
3307
Writer.
WriteLine
("}");
3309
Writer.
WriteLine
("}");
3321
Writer.
WriteLine
(");");
3325
Writer.
WriteLine
(");");
3397
Writer.
WriteLine
(");");
3421
Writer.
WriteLine
(") {");
3427
Writer.
WriteLine
("}");
3428
Writer.
WriteLine
("else {");
3433
Writer.
WriteLine
(");");
3436
Writer.
WriteLine
("}");
3460
Writer.
WriteLine
(");");
3500
Writer.
WriteLine
(");");
3507
Writer.
WriteLine
(") == null) {");
3511
Writer.
WriteLine
("}");
3512
Writer.
WriteLine
("else {");
3601
Writer.
WriteLine
(");");
3621
Writer.
WriteLine
("; i++) {");
3623
Writer.
WriteLine
("if (p[i] != null) {");
3625
Writer.
WriteLine
("WritePotentiallyReferencingElement(null, null, p[i], p[i].GetType(), true, false);");
3627
Writer.
WriteLine
("}");
3629
Writer.
WriteLine
("}");
3857
_writer.
WriteLine
("static " + typeof(Type).FullName + " " + typeVariable + " = " + elementTypeVariable + ".MakeArrayType();");
3864
_writer.
WriteLine
(");");
3875
_writer.
WriteLine
("static " + typeof(Type).FullName + " " + typeVariable + " = typeof(System.Nullable<>).MakeGenericType(new " + typeof(Type).FullName + "[] {" + parameterTypeVariable + "});");
3882
_writer.
WriteLine
(");");
3987
_writer.
WriteLine
(");");
4004
_writer.
WriteLine
(");");
4013
_writer.
WriteLine
(");");
4050
_writer.
WriteLine
("}, null);");
4070
_writer.
WriteLine
("{typeof(int)}));");
4282
_writer.
WriteLine
(";");
4292
_writer.
WriteLine
(";");
4330
_writer.
WriteLine
(";");