411 references to Output
System.CodeDom (411)
Microsoft\VisualBasic\VBCodeGenerator.cs (325)
290Indentation indentObj = new Indentation((ExposedTabStringIndentedTextWriter)Output, Indent + 1); 399Output.Write(":="); 401((ICodeGenerator)this).GenerateCodeFromExpression(arg.Value, ((ExposedTabStringIndentedTextWriter)Output).InnerWriter, Options); 422Output.Write(", "); 426Output.Write(' '); 432Output.Write(prefix); 437Output.Write(GetTypeOutput(current.AttributeType)); 439Output.Write('('); 450Output.Write(", "); 456Output.Write(')'); 459Output.Write(' '); 464Output.WriteLine(); 478Output.Write("ByVal "); 482Output.Write("ByRef "); 489Output.Write("CType(Nothing, " + GetTypeOutput(e.Type) + ")"); 503Output.Write(""); 511Output.Write("Shared "); 515Output.Write("Const "); 518Output.Write(""); 528Output.Write("Friend "); 531Output.Write("Friend "); 534Output.Write("Protected "); 537Output.Write("Protected Friend "); 540Output.Write("Private "); 543Output.Write("Public "); 553Output.Write("Shadows "); 563Output.Write("MustOverride "); 566Output.Write(""); 574Output.Write("Shared "); 578Output.Write("Overrides "); 581Output.Write("Private "); 589Output.Write("Overridable "); 604Output.Write("<>"); 607Output.Write("Is"); 610Output.Write("OrElse"); 613Output.Write("AndAlso"); 616Output.Write('='); 619Output.Write("Mod"); 622Output.Write("Or"); 625Output.Write("And"); 635Output.Write("(Not ("); 637Output.Write(") Is "); 638Output.Write(NullToken); 639Output.Write(')'); 673Output.Write(CreateEscapedIdentifier(ident)); 678Output.Write(GetTypeOutputWithoutArrayPostFix(typeRef)); 685Output.Write("Shadows "); 692Output.Write("Partial "); 699Output.Write("Public "); 702Output.Write("Private "); 706Output.Write("Protected "); 711Output.Write("Friend "); 714Output.Write("Protected Friend "); 720Output.Write("Structure "); 724Output.Write("Enum "); 735Output.Write("Module "); 741Output.Write("NotInheritable "); 745Output.Write("MustInherit "); 747Output.Write("Class "); 751Output.Write("Interface "); 764Output.Write(" As "); 796Output.Write(GetArrayPostfix(typeRef)); 803Output.Write("Do While "); 805Output.WriteLine(); 810Output.WriteLine("Loop"); 817Output.Write("Global.Microsoft.VisualBasic.ChrW(" + ((IConvertible)e.Value).ToInt32(CultureInfo.InvariantCulture).ToString(CultureInfo.InvariantCulture) + ")"); 821Output.Write("CSByte("); 822Output.Write(((sbyte)e.Value).ToString(CultureInfo.InvariantCulture)); 823Output.Write(')'); 827Output.Write(((ushort)e.Value).ToString(CultureInfo.InvariantCulture)); 828Output.Write("US"); 832Output.Write(((uint)e.Value).ToString(CultureInfo.InvariantCulture)); 833Output.Write("UI"); 837Output.Write(((ulong)e.Value).ToString(CultureInfo.InvariantCulture)); 838Output.Write("UL"); 848Output.Write("Throw"); 851Output.Write(' '); 854Output.WriteLine(); 860Output.Write("New "); 866Output.Write(typeName); 874Output.Write("()"); 877Output.Write(" {"); 881Output.Write('}'); 890Output.Write(typeName); 891Output.Write('('); 896Output.Write(typeName.AsSpan(0, index + 1)); 905Output.Write('('); 907Output.Write(") - 1"); 911Output.Write(e.Size - 1); 916Output.Write(')'); 921Output.Write(typeName.AsSpan(index + 1)); 927Output.Write(" {}"); 933Output.Write("MyBase"); 938Output.Write("CType("); 940Output.Write(','); 943Output.Write(')'); 948Output.Write("AddressOf "); 950Output.Write('.'); 959Output.Write('.'); 969Output.Write("Single.NaN"); 973Output.Write("Single.NegativeInfinity"); 977Output.Write("Single.PositiveInfinity"); 981Output.Write(s.ToString(CultureInfo.InvariantCulture)); 982Output.Write('!'); 990Output.Write("Double.NaN"); 994Output.Write("Double.NegativeInfinity"); 998Output.Write("Double.PositiveInfinity"); 1002Output.Write(d.ToString("R", CultureInfo.InvariantCulture)); 1004Output.Write('R'); 1010Output.Write(d.ToString(CultureInfo.InvariantCulture)); 1011Output.Write('D'); 1031Output.Write(".Item"); 1034Output.Write('('); 1044Output.Write(", "); 1048Output.Write(')'); 1054Output.Write('('); 1064Output.Write(", "); 1068Output.Write(')'); 1073Output.Write(e.Value); 1082Output.Write('('); 1084Output.Write(')'); 1093Output.Write('.'); 1094Output.Write(e.MethodName); 1103Output.Write(GetTypeArgumentsOutput(e.TypeArguments)); 1113Output.Write('.'); 1116Output.Write(e.EventName + "Event"); 1120Output.Write(e.EventName); 1137Output.Write('.'); 1149Output.Write("RaiseEvent "); 1161Output.Write('('); 1163Output.Write(')'); 1169Output.Write("New "); 1172Output.Write('('); 1174Output.Write(')'); 1189Output.Write("value"); 1194Output.Write("Me"); 1200Output.WriteLine(); 1234Output.Write(commentLineStart); 1244Output.Write(' '); 1249Output.Write(value[i]); 1255Output.Write('\n'); 1258((ExposedTabStringIndentedTextWriter)Output).InternalOutputTabs(); 1259Output.Write(commentLineStart); 1264((ExposedTabStringIndentedTextWriter)Output).InternalOutputTabs(); 1265Output.Write(commentLineStart); 1270Output.Write(commentLineStart); 1274Output.WriteLine(); 1281Output.Write("Return "); 1283Output.WriteLine(); 1287Output.WriteLine("Return"); 1293Output.Write("If "); 1295Output.WriteLine(" Then"); 1303Output.Write("Else"); 1304Output.WriteLine(); 1309Output.WriteLine("End If"); 1314Output.WriteLine("Try "); 1321Output.Write("Catch "); 1323Output.WriteLine(); 1332Output.WriteLine("Finally"); 1337Output.WriteLine("End Try"); 1343Output.Write(" = "); 1345Output.WriteLine(); 1350Output.Write("AddHandler "); 1352Output.Write(", "); 1354Output.WriteLine(); 1359Output.Write("RemoveHandler "); 1361Output.Write(", "); 1363Output.WriteLine(); 1368Output.WriteLine(e.Value); 1373Output.Write("goto "); 1374Output.WriteLine(e.Label); 1380Output.Write(e.Label); 1381Output.WriteLine(':'); 1393Output.Write("Dim "); 1403Output.Write('('); 1407Output.Write('('); 1409Output.Write(") - 1"); 1413Output.Write(eAsArrayCreate.Size - 1); 1416Output.Write(')'); 1421Output.Write(" As "); 1432Output.Write(" = "); 1436Output.WriteLine(); 1440Output.WriteLine(); 1441Output.Write("#ExternalSource(\""); 1442Output.Write(e.FileName); 1443Output.Write("\","); 1444Output.Write(e.LineNumber); 1445Output.WriteLine(')'); 1450Output.WriteLine(); 1451Output.WriteLine("#End ExternalSource"); 1472Output.Write("Event "); 1477Output.Write(" Implements "); 1487Output.Write(" , "); 1490Output.Write('.'); 1496Output.Write(" Implements "); 1498Output.Write('.'); 1502Output.WriteLine(); 1519Output.Write(" = "); 1522Output.WriteLine(); 1537Output.Write("WithEvents "); 1543Output.Write(" = "); 1546Output.WriteLine(); 1576Output.Write(e.Text); 1604Output.Write("Overloads "); 1622Output.Write("Sub "); 1626Output.Write("Function "); 1633Output.Write('('); 1635Output.Write(')'); 1639Output.Write(" As "); 1650Output.Write(" Implements "); 1660Output.Write(" , "); 1663Output.Write('.'); 1669Output.Write(" Implements "); 1671Output.Write('.'); 1674Output.WriteLine(); 1685Output.WriteLine("End Sub"); 1689Output.WriteLine("End Function"); 1703Output.WriteLine("Public Shared Sub Main()"); 1709Output.WriteLine("End Sub"); 1757Output.Write("Overloads "); 1770Output.Write("Default "); 1776Output.Write("ReadOnly "); 1781Output.Write("WriteOnly "); 1783Output.Write("Property "); 1785Output.Write('('); 1790Output.Write(')'); 1791Output.Write(" As "); 1797Output.Write(" Implements "); 1807Output.Write(" , "); 1810Output.Write('.'); 1816Output.Write(" Implements "); 1818Output.Write('.'); 1822Output.WriteLine(); 1830Output.WriteLine("Get"); 1839Output.WriteLine("End Get"); 1844Output.WriteLine("Set"); 1850Output.WriteLine("End Set"); 1854Output.WriteLine("End Property"); 1865Output.Write('.'); 1866Output.Write(e.PropertyName); 1884Output.Write("Sub New("); 1886Output.WriteLine(')'); 1894Output.Write("Me.New("); 1896Output.Write(')'); 1897Output.WriteLine(); 1901Output.Write("MyBase.New("); 1903Output.Write(')'); 1904Output.WriteLine(); 1909Output.WriteLine("MyBase.New"); 1914Output.WriteLine("End Sub"); 1926Output.WriteLine("Shared Sub New()"); 1930Output.WriteLine("End Sub"); 1935Output.Write("GetType("); 1936Output.Write(GetTypeOutput(e.Type)); 1937Output.Write(')'); 1952Output.Write("Public "); 1961Output.Write("Delegate Function "); 1963Output.Write("Delegate Sub "); 1965Output.Write('('); 1967Output.Write(')'); 1970Output.Write(" As "); 1974Output.WriteLine(); 1988Output.Write(" As "); 1992Output.WriteLine(); 2024Output.WriteLine(); 2025Output.Write("Inherits "); 2030Output.WriteLine(); 2031Output.Write("Implements "); 2036Output.Write(", "); 2041Output.WriteLine(); 2052Output.Write("(Of "); 2062Output.Write(", "); 2064Output.Write(typeParameters[i].Name); 2068Output.Write(')'); 2088Output.Write(" As "); 2091Output.Write(" {"); 2103Output.Write(", "); 2105Output.Write(GetTypeOutput(typeRef)); 2112Output.Write(", "); 2115Output.Write("New"); 2120Output.Write('}'); 2153Output.WriteLine(ending); 2163Output.WriteLine(); 2206Output.WriteLine("'------------------------------------------------------------------------------"); 2207Output.Write("' <"); 2208Output.WriteLine(SR.AutoGen_Comment_Line1); 2209Output.Write("' "); 2210Output.WriteLine(SR.AutoGen_Comment_Line2); 2211Output.WriteLine("'"); 2212Output.Write("' "); 2213Output.WriteLine(SR.AutoGen_Comment_Line4); 2214Output.Write("' "); 2215Output.WriteLine(SR.AutoGen_Comment_Line5); 2216Output.Write("' </"); 2217Output.WriteLine(SR.AutoGen_Comment_Line1); 2218Output.WriteLine("'------------------------------------------------------------------------------"); 2219Output.WriteLine(); 2222Output.WriteLine("Option Strict Off"); 2224Output.WriteLine("Option Strict On"); 2227Output.WriteLine("Option Explicit Off"); 2229Output.WriteLine("Option Explicit On"); 2231Output.WriteLine(); 2256Output.Write("Imports "); 2258Output.WriteLine(); 2289Output.Write("#ExternalChecksum(\""); 2290Output.Write(checksumPragma.FileName); 2291Output.Write("\",\""); 2292Output.Write(checksumPragma.ChecksumAlgorithmId.ToString("B", CultureInfo.InvariantCulture)); 2293Output.Write("\",\""); 2298Output.Write(b.ToString("X2")); 2301Output.WriteLine("\")"); 2313Output.Write("#Region \""); 2314Output.Write(regionDirective.RegionText); 2315Output.WriteLine("\""); 2319Output.WriteLine("#End Region"); 2327Output.Write("Namespace "); 2333Output.Write('.'); 2336Output.WriteLine(); 2346Output.WriteLine("End Namespace"); 2352Output.Write("Imports "); 2354Output.WriteLine(); 2359Output.Write('<'); 2364Output.Write('>'); 2587Output.Write(st); 2588Output.WriteLine(" _");
System\CodeDom\Compiler\CodeGenerator.cs (86)
111Output.WriteLine(); 184Output.WriteLine(); 208Output.WriteLine(); 246Output.WriteLine(); 449Output.WriteLine(); 484Output.WriteLine(); 634Output.WriteLine(); 671Output.WriteLine(); 710Output.WriteLine(); 727Output.WriteLine(e.Value); 749Output.WriteLine(); 789Output.WriteLine(); 815Output.WriteLine(); 853Output.WriteLine(); 1013Output.Write(current.Name); 1014Output.Write('('); 1025Output.Write(", "); 1031Output.Write(')'); 1046Output.Write('='); 1058Output.Write("out "); 1061Output.Write("ref "); 1071Output.Write("new "); 1080Output.Write("static "); 1083Output.Write("const "); 1095Output.Write("internal "); 1098Output.Write("internal "); /*FamANDAssem*/ 1101Output.Write("protected "); 1104Output.Write("protected internal "); 1107Output.Write("private "); 1110Output.Write("public "); 1120Output.Write("new "); 1127Output.Write("abstract "); 1130Output.Write(""); 1133Output.Write("static "); 1136Output.Write("override "); 1143Output.Write("virtual "); 1161Output.Write("public "); 1164Output.Write("private "); 1170Output.Write("struct "); 1174Output.Write("enum "); 1183Output.Write("sealed "); 1187Output.Write("abstract "); 1189Output.Write("class "); 1192Output.Write("interface "); 1201Output.Write(' '); 1205protected virtual void OutputIdentifier(string ident) => Output.Write(ident); 1227Output.Write(", "); 1239Output.Write('+'); 1242Output.Write('-'); 1245Output.Write('*'); 1248Output.Write('/'); 1251Output.Write('%'); 1254Output.Write('='); 1257Output.Write("!="); 1260Output.Write("=="); 1263Output.Write("=="); 1266Output.Write('|'); 1269Output.Write('&'); 1272Output.Write("||"); 1275Output.Write("&&"); 1278Output.Write('<'); 1281Output.Write("<="); 1284Output.Write('>'); 1287Output.Write(">="); 1313Output.Write(", "); 1338Output.Write('('); 1341Output.Write(' '); 1359Output.Write(' '); 1362Output.Write(')'); 1370protected virtual void ContinueOnNewLine(string st) => Output.WriteLine(st); 1396Output.Write(' '); 1423Output.Write(NullToken); 1427Output.Write(QuoteSnippetString((string)e.Value)); 1431Output.Write("'" + e.Value.ToString() + "'"); 1435Output.Write(((byte)e.Value).ToString(CultureInfo.InvariantCulture)); 1439Output.Write(((short)e.Value).ToString(CultureInfo.InvariantCulture)); 1443Output.Write(((int)e.Value).ToString(CultureInfo.InvariantCulture)); 1447Output.Write(((long)e.Value).ToString(CultureInfo.InvariantCulture)); 1465Output.Write("true"); 1469Output.Write("false"); 1478protected virtual void GenerateSingleFloatValue(float s) => Output.Write(s.ToString("R", CultureInfo.InvariantCulture)); 1480protected virtual void GenerateDoubleValue(double d) => Output.Write(d.ToString("R", CultureInfo.InvariantCulture)); 1482protected virtual void GenerateDecimalValue(decimal d) => Output.Write(d.ToString(CultureInfo.InvariantCulture)); 1511Output.Write("typeof("); 1513Output.Write(')'); 1563Output.WriteLine(e.Value);