FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (336)
443Indentation indentObj = new Indentation((IndentedTextWriter)Output, Indent + 1);
700Output.WriteLine(st);
730Output.Write(CreateEscapedIdentifier(ident));
740Output.Write(GetTypeOutput(typeRef));
753Output.Write("new ");
764Output.Write("[]");
766Output.WriteLine(" {");
770Output.Write("}");
774Output.Write(GetBaseTypeOutput(e.CreateType));
776Output.Write("[");
783Output.Write(e.Size);
785Output.Write("]");
790Output.Write("[]");
803Output.Write("base");
815Output.Write("(");
818Output.Write(" ");
836Output.Write(" ");
839Output.Write(")");
855Output.Write("((");
857Output.Write(")(");
859Output.Write("))");
887Output.Write("default(");
889Output.Write(")");
900Output.Write("new ");
902Output.Write("(");
904Output.Write(".");
906Output.Write(")");
920Output.WriteLine();
951Output.WriteLine();
981Output.Write(".");
1005Output.Write("[");
1015Output.Write(", ");
1019Output.Write("]");
1025Output.Write("[");
1035Output.Write(", ");
1039Output.Write("]");
1051Output.WriteLine(e.Value);
1068Output.Write(e.Value);
1079Output.Write("(");
1081Output.Write(")");
1090Output.Write("(");
1092Output.Write(")");
1098Output.Write(".");
1104Output.Write(GetTypeArgumentsOutput(e.TypeArguments));
1128Output.WriteLine("");
1269Output.Write(".");
1286Output.Write("(");
1288Output.Write(")");
1298Output.Write("new ");
1300Output.Write("(");
1302Output.Write(")");
1320Output.Write(((SByte)e.Value).ToString());
1326Output.Write(((UInt16)e.Value).ToString());
1330Output.Write(((UInt32)e.Value).ToString());
1331Output.Write("u");
1335Output.Write(((UInt64)e.Value).ToString());
1336Output.Write("ul");
1354Output.Write(NullToken);
1358Output.Write(QuoteSnippetString((string)e.Value));
1362Output.Write("'" + e.Value.ToString() + "'");
1366Output.Write(((byte)e.Value).ToString());
1370Output.Write(((Int16)e.Value).ToString());
1374Output.Write(((Int32)e.Value).ToString());
1378Output.Write(((Int64)e.Value).ToString());
1396Output.Write("true");
1400Output.Write("false");
1411Output.Write('\'');
1415Output.Write("\\r");
1418Output.Write("\\t");
1421Output.Write("\\\"");
1424Output.Write("\\\'");
1427Output.Write("\\\\");
1430Output.Write("\\0");
1433Output.Write("\\n");
1449Output.Write(c);
1453Output.Write('\'');
1460Output.Write("\\u");
1461Output.Write(((int)value).ToString("X4", CultureInfo.InvariantCulture));
1472Output.Write("value");
1483Output.Write("this");
1497Output.WriteLine(";");
1510Output.Write("for (");
1512Output.Write("; ");
1514Output.Write("; ");
1516Output.Write(")");
1522Output.WriteLine("}");
1532Output.Write("throw");
1535Output.Write(" ");
1538Output.WriteLine(";");
1544Output.Write(commentLineStart);
1545Output.Write(" ");
1554Output.Write(value[i]);
1560Output.Write('\n');
1563((IndentedTextWriter)Output).InternalOutputTabs();
1564Output.Write(commentLineStart);
1568((IndentedTextWriter)Output).InternalOutputTabs();
1569Output.Write(commentLineStart);
1573Output.Write(commentLineStart);
1576Output.WriteLine();
1611Output.Write("return");
1614Output.Write(" ");
1617Output.WriteLine(";");
1627Output.Write("if (");
1629Output.Write(")");
1638Output.Write("}");
1641Output.Write(" ");
1645Output.WriteLine("");
1647Output.Write("else");
1653Output.WriteLine("}");
1663Output.Write("try");
1674Output.Write("}");
1677Output.Write(" ");
1681Output.WriteLine("");
1684Output.Write("catch (");
1686Output.Write(" ");
1688Output.Write(")");
1699Output.Write("}");
1702Output.Write(" ");
1706Output.WriteLine("");
1708Output.Write("finally");
1714Output.WriteLine("}");
1725Output.Write(" = ");
1729Output.WriteLine(";");
1742Output.Write(" += ");
1744Output.WriteLine(";");
1756Output.Write(" -= ");
1758Output.WriteLine(";");
1763Output.WriteLine(e.Value);
1768Output.Write("goto ");
1769Output.Write(e.Label);
1770Output.WriteLine(";");
1776Output.Write(e.Label);
1777Output.WriteLine(":");
1796Output.Write(" = ");
1801Output.WriteLine(";");
1812Output.WriteLine("");
1813Output.Write("#line ");
1814Output.Write(e.LineNumber);
1815Output.Write(" \"");
1816Output.Write(e.FileName);
1817Output.Write("\"");
1818Output.WriteLine("");
1828Output.WriteLine();
1829Output.WriteLine("#line default");
1830Output.WriteLine("#line hidden");
1846Output.Write("event ");
1853Output.WriteLine(";");
1993Output.Write(" = ");
1996Output.WriteLine(",");
2011Output.Write(" = ");
2014Output.WriteLine(";");
2025Output.Write(e.Text);
2046Output.Write("public static ");
2048Output.Write(" Main()");
2055Output.WriteLine("}");
2071Output.WriteLine();
2131Output.Write(" ");
2134Output.Write(GetBaseTypeOutput(e.PrivateImplementationType));
2135Output.Write(".");
2141Output.Write("(");
2143Output.Write(")");
2156Output.WriteLine("}");
2160Output.WriteLine(";");
2175Output.WriteLine();
2222Output.Write(" ");
2226Output.Write(GetBaseTypeOutput(e.PrivateImplementationType));
2227Output.Write(".");
2232Output.Write("this[");
2234Output.Write("]");
2248Output.WriteLine("get;");
2252Output.Write("get");
2257Output.WriteLine("}");
2264Output.WriteLine("set;");
2268Output.Write("set");
2273Output.WriteLine("}");
2278Output.WriteLine("}");
2285Output.Write("float.NaN");
2289Output.Write("float.NegativeInfinity");
2293Output.Write("float.PositiveInfinity");
2297Output.Write(s.ToString("R", CultureInfo.InvariantCulture));
2298Output.Write('F');
2306Output.Write("double.NaN");
2310Output.Write("double.NegativeInfinity");
2314Output.Write("double.PositiveInfinity");
2318Output.Write(d.ToString("R", CultureInfo.InvariantCulture));
2320Output.Write("D");
2326Output.Write(d.ToString("F" + CultureInfo.CurrentCulture.NumberFormat.NumberDecimalDigits, CultureInfo.InvariantCulture));
2327Output.Write('m');
2335Output.Write("new ");
2350Output.Write("internal ");
2353Output.Write("internal "); /*FamANDAssem*/
2356Output.Write("protected ");
2359Output.Write("protected internal ");
2362Output.Write("private ");
2365Output.Write("public ");
2375Output.Write("abstract ");
2378Output.Write("");
2381Output.Write("static ");
2384Output.Write("override ");
2392Output.Write("virtual ");
2412Output.Write("+");
2415Output.Write("-");
2418Output.Write("*");
2421Output.Write("/");
2424Output.Write("%");
2427Output.Write("=");
2430Output.Write("!=");
2433Output.Write("==");
2436Output.Write("==");
2439Output.Write("|");
2442Output.Write("&");
2445Output.Write("||");
2448Output.Write("&&");
2451Output.Write("<");
2454Output.Write("<=");
2457Output.Write(">");
2460Output.Write(">=");
2472Output.Write("static ");
2475Output.Write("const ");
2493Output.Write(".");
2509Output.WriteLine();
2545Output.Write("(");
2547Output.Write(")");
2554Output.WriteLine(" : ");
2557Output.Write("base(");
2559Output.Write(")");
2566Output.WriteLine(" : ");
2569Output.Write("this(");
2571Output.Write(")");
2580Output.WriteLine("}");
2596Output.Write("static ");
2597Output.Write(CurrentTypeName);
2598Output.Write("()");
2603Output.WriteLine("}");
2625Output.Write("typeof(");
2627Output.Write(")");
2692Output.WriteLine();
2716Output.Write("public ");
2724Output.Write("delegate ");
2726Output.Write(" ");
2728Output.Write("(");
2730Output.WriteLine(");");
2744Output.Write(" : ");
2749Output.Write(", ");
2765Output.WriteLine();
2838Output.WriteLine();
2863Output.WriteLine();
2895Output.WriteLine();
2928Output.WriteLine();
2941Output.WriteLine();
2973Output.Write("=");
2990Output.Write("out ");
2993Output.Write("ref ");
3029Output.Write(", ");
3059Output.Write(", ");
3081Output.Write(" ");
3092Output.Write('<');
3102Output.Write(", ");
3108Output.Write(' ');
3111Output.Write(typeParameters[i].Name);
3114Output.Write('>');
3128Output.WriteLine();
3138Output.Write("where ");
3139Output.Write(typeParameters[i].Name);
3140Output.Write(" : ");
3145Output.Write(", ");
3155Output.Write("where ");
3156Output.Write(typeParameters[i].Name);
3157Output.Write(" : new()");
3161Output.Write(", new ()");
3174Output.Write("new ");
3182Output.Write("public ");
3185Output.Write("private ");
3188Output.Write("protected ");
3193Output.Write("internal ");
3196Output.Write("protected internal ");
3204Output.Write("partial ");
3206Output.Write("struct ");
3210Output.Write("enum ");
3219Output.Write("sealed ");
3223Output.Write("abstract ");
3227Output.Write("partial ");
3230Output.Write("class ");
3236Output.Write("partial ");
3238Output.Write("interface ");
3254Output.WriteLine("}");
3267Output.Write("namespace ");
3273Output.Write(".");
3305Output.WriteLine("//------------------------------------------------------------------------------");
3306Output.WriteLine("// <auto-generated>");
3307Output.Write("// ");
3308Output.WriteLine(SRCodeDom.AutoGen_Comment_Line2);
3310Output.WriteLine("//");
3311Output.Write("// ");
3312Output.WriteLine(SRCodeDom.AutoGen_Comment_Line4);
3313Output.Write("// ");
3314Output.WriteLine(SRCodeDom.AutoGen_Comment_Line5);
3315Output.WriteLine("// </auto-generated>");
3316Output.WriteLine("//------------------------------------------------------------------------------");
3317Output.WriteLine("");
3345Output.Write("using ");
3347Output.WriteLine(";");
3351Output.WriteLine("");
3358Output.WriteLine("");
3407Output.Write("#pragma checksum \"");
3408Output.Write(checksumPragma.FileName);
3409Output.Write("\" \"");
3410Output.Write(checksumPragma.ChecksumAlgorithmId.ToString("B"));
3411Output.Write("\" \"");
3416Output.Write(b.ToString("X2", CultureInfo.InvariantCulture));
3419Output.WriteLine("\"");
3426Output.Write("#region ");
3427Output.WriteLine(regionDirective.RegionText);
3431Output.WriteLine("#endregion");
3439Output.Write("#if ");
3440Output.WriteLine(ifDirective.IfText);
3444Output.WriteLine("#endif");
3459Output.WriteLine("}");
3470Output.Write("using ");
3472Output.WriteLine(";");
3482Output.Write("[");
3492Output.Write("]");
3528Output.Write(prefix);
3533Output.Write(GetTypeOutput(current.AttributeType));
3535Output.Write("(");
3546Output.Write(", ");
3552Output.Write(")");
3556Output.Write(" ");
3560Output.WriteLine();
3568Output.Write(prefix);
3570Output.Write("params");
3574Output.Write(" ");
3578Output.WriteLine();
3854Output.WriteLine("");
3855Output.WriteLine("{");
3859Output.WriteLine(" {");