7 overrides of WriteLine
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.CodeDom\Compiler\IndentTextWriter.cs (1)
437public override void WriteLine(string format, object arg0)
Microsoft.Build (1)
BackEnd\Node\OutOfProcServerNode.cs (1)
722public override void WriteLine(string format, object? arg0)
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\CodeDom\Compiler\IndentedTextWriter.cs (1)
345public override void WriteLine([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, object? arg0)
src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (1)
586public override void WriteLine([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, object? arg0)
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.CreateBroadcasting.cs (1)
407public override void WriteLine([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, object? arg0)
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.cs (2)
745public override void WriteLine([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, object? arg0) { } 914public override void WriteLine([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, object? arg0) => _out.WriteLine(format, arg0);
178 references to WriteLine
BoundTreeGenerator (1)
Program.cs (1)
27Console.Error.WriteLine("Usage: \"{0} <language> <input> <output>\", where <language> is \"VB\" or \"CSharp\"", Path.GetFileNameWithoutExtension(args[0]));
CSharpSyntaxGenerator (1)
SignatureWriter.cs (1)
110_writer.WriteLine(" // {0}", kind.Name);
dotnet-svcutil-lib (15)
FrameworkFork\Microsoft.CodeDom\Compiler\IndentTextWriter.cs (1)
440_writer.WriteLine(format, arg0);
FrameworkFork\Microsoft.Xml\Xml\Core\util\TernaryTreeGenerator.cs (2)
409streamWriter.WriteLine("{0}internal abstract class HtmlTernaryTree {{", indent1); 463streamWriter.WriteLine("{0}}};", indent2);
FrameworkFork\Microsoft.Xml\Xml\schema\AstTree.cs (5)
529msw.WriteLine(" <URN> {0} </URN>", printaxis.Urn); 530msw.WriteLine(" <Prefix> {0} </Prefix>", printaxis.Prefix); 531msw.WriteLine(" <Name> {0} </Name>", printaxis.Name); 532msw.WriteLine(" <NodeType> {0} </NodeType>", printaxis.NodeType); 533msw.WriteLine(" <AxisType> {0} </AxisType>", printaxis.TypeOfAxis);
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\SecurityKeyIdentifier.cs (1)
118writer.WriteLine(" IsReadOnly = {0},", this.IsReadOnly);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\InMemoryNonceCache.cs (2)
43writer.WriteLine(" Caching Timespan: {0}", this.CachingTimeSpan); 44writer.WriteLine(" Capacity: {0}", this.CacheSize);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\GenericXmlSecurityToken.cs (4)
112writer.WriteLine(" validFrom: {0}", this.ValidFrom); 113writer.WriteLine(" validTo: {0}", this.ValidTo); 115writer.WriteLine(" InternalTokenReference: {0}", _internalTokenReference); 117writer.WriteLine(" ExternalTokenReference: {0}", _externalTokenReference);
illink (2)
IOperationGenerator (1)
Program.cs (1)
16Console.Error.WriteLine("Usage: \"{0} <input> <output>\"", Path.GetFileNameWithoutExtension(args[0]));
Microsoft.Build (3)
BackEnd\Components\Scheduler\Scheduler.cs (1)
2594file.WriteLine("Scheduler state at timestamp {0}:", _schedulingData.EventTime.Ticks);
BackEnd\Node\OutOfProcServerNode.cs (1)
726_internalWriter.WriteLine(format, arg0);
ExceptionHandling.cs (1)
360writer.WriteLine("UNHANDLED EXCEPTIONS FROM PROCESS {0}:", pid);
Microsoft.Build.Utilities.Core (1)
ExceptionHandling.cs (1)
360writer.WriteLine("UNHANDLED EXCEPTIONS FROM PROCESS {0}:", pid);
Microsoft.Cci.Extensions (1)
Writers\TypeForwardWriter.cs (1)
34_writer.WriteLine("[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof({0}))]",
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
635Console.Error.WriteLine(InteractiveHostResources.Specified_file_not_found_colon_0, path);
Microsoft.DotNet.RemoteExecutor (1)
Program.cs (1)
25Console.Error.WriteLine("Usage: {0} assemblyName typeName methodName exceptionFile [additionalArgs]", typeof(Program).GetTypeInfo().Assembly.GetName().Name);
Microsoft.ML.Core (1)
Environment\ConsoleEnvironment.cs (1)
168_out.WriteLine("Elapsed {0:c}.", channel.Watch.Elapsed);
Microsoft.ML.Data (19)
Commands\ShowSchemaCommand.cs (1)
94writer.WriteLine("---- {0} ----", view.GetType().Name);
Dirty\PredictorUtils.cs (6)
30writer.WriteLine("'{0}' does not support saving summary", predictor.GetType().Name); 55writer.WriteLine("'{0}' does not support saving in text format, writing out model summary instead", predictor.GetType().Name); 62writer.WriteLine("'{0}' does not support saving in text format", predictor.GetType().Name); 102writer.WriteLine("'{0}' does not support saving in INI format, writing out model summary instead", predictor.GetType().Name); 109writer.WriteLine("'{0}' does not support saving in INI format", predictor.GetType().Name); 129writer.WriteLine("'{0}' does not support saving in code.", predictor.GetType().Name);
Prediction\Calibrator.cs (2)
1764writer.WriteLine("A={0:R}", (object)Slope); 1765writer.WriteLine("B={0:R}", Offset);
Transforms\NormalizeColumnDbl.cs (4)
71writer.WriteLine("NumNormalizationFeatures={0}", numFeatures); 218writer.WriteLine("NumNormalizationFeatures={0}", binUpperBounds.Length); 283writer.WriteLine("NumNormalizationFeatures={0}", mean.Length); 284writer.WriteLine("Log={0}", useLog);
Transforms\NormalizeColumnSng.cs (4)
71writer.WriteLine("NumNormalizationFeatures={0}", numFeatures); 218writer.WriteLine("NumNormalizationFeatures={0}", binUpperBounds.Length); 283writer.WriteLine("NumNormalizationFeatures={0}", mean.Length); 284writer.WriteLine("Log={0}", useLog);
Transforms\ValueToKeyMappingTransformerImpl.cs (2)
671writer.WriteLine("# Number of terms = {0}", Count); 1228writer.WriteLine("\t{0}", sb.ToString());
Microsoft.ML.Ensemble (6)
PipelineEnsemble.cs (1)
573writer.WriteLine("Partition model {0} summary:", i);
Trainer\EnsembleModelParametersBase.cs (5)
136writer.WriteLine(";; Partition model {0}", i); 137writer.WriteLine(";; Weight={0}", (Weights != null ? Weights[i] : 1)); 150writer.WriteLine(";; Partition model {0}", i); 151writer.WriteLine(";; Weight={0}", (Weights != null ? Weights[i] : 1)); 158writer.WriteLine("The Model {0} does not support saving summaries", Models[i].GetType().Name);
Microsoft.ML.KMeansClustering (2)
KMeansModelParameters.cs (2)
180writer.WriteLine("K: {0}", _k); 181writer.WriteLine("Dimensionality: {0}", _dimensionality);
Microsoft.ML.Maml (1)
MAML.cs (1)
297writer.WriteLine(" {0}", name);
Microsoft.ML.Mkl.Components (2)
OlsLinearRegression.cs (2)
905writer.WriteLine("R-squared: {0:g4}", RSquared); 909writer.WriteLine("Adjusted R-squared: {0:g4}", RSquaredAdjusted);
Microsoft.ML.PCA (2)
PcaTrainer.cs (2)
562writer.WriteLine("Dimension: {0}", _dimension); 563writer.WriteLine("Rank: {0}", _rank);
Microsoft.ML.Predictor.Tests (7)
CompareBaselines.cs (7)
78log.WriteLine("*** Missing right file: '{0}'", relCur); 89log.WriteLine("*** Missing left file: '{0}'", Path.Combine(rel, kvp.Key)); 101log.WriteLine("*** Missing right directory: '{0}'", relCur); 112log.WriteLine("*** Missing left directory: '{0}'", Path.Combine(rel, kvp.Key)); 156log.WriteLine("Diffs: 0, File: {0}", path); 184log.WriteLine("*** First file is shorter: {0}", rel); 189log.WriteLine("*** First file is longer: {0}", rel);
Microsoft.ML.ResultProcessor (7)
ResultProcessor.cs (7)
161Console.Error.WriteLine("Can't load trainer '{0}'", predictorName); 384Console.Error.WriteLine("ResultProcessor was asked to process results from file {0} which does not exist.", filename); 391Console.Error.WriteLine("Empty file {0}", filename); 415Console.Error.WriteLine("Results file {0} does not contain the MAML executable command:", filename); 416Console.Error.WriteLine("\t{0}", commandline); 904Console.Error.WriteLine("ResultProcessor tried to extract fold starting at line {0}, couldn't find end-of-fold separator before end of file.", startLineIdx); 916Console.Error.WriteLine("Fold {0} results have already been added, not adding.", thisFoldResults.Key);
Microsoft.ML.StandardTrainers (8)
Standard\ModelStatistics.cs (4)
161writer.WriteLine("Count of training examples:\t{0}", TrainingExampleCount); 162writer.WriteLine("Residual Deviance: \t{0}", Deviance); 163writer.WriteLine("Null Deviance: \t{0}", NullDeviance); 164writer.WriteLine("AIC: \t{0}", 2 * ParametersCount + Deviance);
Standard\MulticlassClassification\OneVersusAllTrainer.cs (4)
462writer.WriteLine("double[] outputs = new double[{0}];", preds.Length); 471writer.WriteLine("outputs[{0}] = output;", i); 488writer.WriteLine("#region: class-{0} classifier", i); 491writer.WriteLine("#endregion: class-{0} classifier", i);
Microsoft.ML.TestFramework (2)
BaseTestPredictorsMaml.cs (1)
273writer.WriteLine("Loaded predictor test results differ! Compare baseline with {0}", consOutPath2.Path);
DataPipe\TestDataPipeBase.cs (1)
227writer.WriteLine("Cursored through {0} rows", count);
Microsoft.ML.Tests (3)
ExpressionLanguageTests\ExpressionLanguageTests.cs (3)
592OutWriter.WriteLine("ExprDump: {0}", a); 598OutWriter.WriteLine(fmt.ToString(), a); 607OutWriter.WriteLine("ExprDumpChars: {0}", sb);
MSBuildTaskHost (3)
ExceptionHandling.cs (1)
360writer.WriteLine("UNHANDLED EXCEPTIONS FROM PROCESS {0}:", pid);
OutOfProcTaskHostNode.cs (2)
826debugWriter?.WriteLine("Node shutting down with reason {0}.", _shutdownReason); 844debugWriter?.WriteLine("Failed to restore the original environment: {0}.", ex);
System.Console (1)
System\Console.cs (1)
825Out.WriteLine(format, arg0);
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\CodeDom\Compiler\IndentedTextWriter.cs (1)
348_writer.WriteLine(format, arg0);
src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (1)
594base.WriteLine(format, arg0);
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.CreateBroadcasting.cs (1)
411writer.WriteLine(format, arg0);
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.cs (1)
914public override void WriteLine([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, object? arg0) => _out.WriteLine(format, arg0);
System.Private.Xml (4)
System\Xml\Xsl\IlGen\GenerateHelper.cs (4)
536_writerDump!.WriteLine(".method {0}()", methInfo.Name); 1521_writerDump!.WriteLine("// Source File '{0}'", _sourceFile); 1560_writerDump!.WriteLine("Label {0}:", _symbols![lbl]); 1570_writerDump!.WriteLine(" {0}", opcode.Name);
System.Text.RegularExpressions (4)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Dgml.cs (4)
29writer.WriteLine(" <Node Id=\"dfa\" Label=\" \" Group=\"Collapsed\" Category=\"DFA\" DFAInfo=\"{0}\" />", FormatInfo(this, transitions.Count)); 30writer.WriteLine(" <Node Id=\"dfainfo\" Category=\"DFAInfo\" Label=\"{0}\"/>", FormatInfo(this, transitions.Count)); 53writer.WriteLine(" <Link Source=\"dfa\" Target=\"{0}\" Label=\"\" Category=\"StartTransition\" />", initialState.Id); 78writer.WriteLine(" <Link Source=\"{0}\" Target=\"{0}info\" Category=\"Contains\" />", state.Id);
VisualBasicSyntaxGenerator (75)
GreenNodes\GreenNodeFactoryWriter.vb (7)
39_writer.WriteLine("Namespace {0}", Ident(_parseTree.NamespaceName) + ".Syntax.InternalSyntax") 44_writer.WriteLine(" Friend Class {0}", Ident(_parseTree.ContextualFactoryClassName)) 47_writer.WriteLine(" Friend Partial Class {0}", Ident(_parseTree.FactoryClassName)) 108_writer.WriteLine(" Debug.Assert(SyntaxFacts.Is{0}(kind))", structureName) 112_writer.WriteLine(" Debug.Assert({0} IsNot Nothing)", name) 231_writer.WriteLine(") As {0}", StructureTypeName(nodeStructure)) 293_writer.WriteLine(" Return DirectCast(cached, {0})", StructureTypeName(nodeStructure))
GreenNodes\GreenNodeWriter.vb (13)
40_writer.WriteLine("Namespace {0}", Ident(_parseTree.NamespaceName) + ".Syntax.InternalSyntax") 104_writer.WriteLine(" Inherits {0}", StructureTypeName(nodeStructure.ParentStructure)) 250_writer.WriteLine(" Case {0}", i) 399_writer.WriteLine(" If {0} IsNot Nothing Then", ChildParamName(child)) 409_writer.WriteLine(" End If", ChildParamName(child)) 498_writer.WriteLine(" Return Me.{0}", FieldVarName(field)) 514_writer.WriteLine(" Return Me.{0}", ChildVarName(child)) 542_writer.WriteLine(" Ensures(Result(Of {0}) IsNot Nothing)", StructureTypeName(withChild.ContainingStructure)) 580_writer.WriteLine(" Return visitor.{0}(Me)", VisitorMethodName(nodeStructure)) 593_writer.WriteLine(" Friend MustInherit Class {0}", Ident(_parseTree.VisitorName)) 596_writer.WriteLine(" Public Overridable Function Visit(ByVal node As {0}) As VisualBasicSyntaxNode", StructureTypeName(_parseTree.RootStructure)) 629_writer.WriteLine(" Return {0}(node)", VisitorMethodName(nodeStructure.ParentStructure)) 638_writer.WriteLine(" Friend MustInherit Class {0}", Ident(_parseTree.RewriteVisitorName))
RedNodes\RedNodeFactoryWriter.vb (21)
33_writer.WriteLine("Namespace {0}", Ident(_parseTree.NamespaceName)) 37_writer.WriteLine(" Public Partial Class {0}", Ident(_parseTree.FactoryClassName)) 138_writer.WriteLine(" Private Shared Function {0}(kind As SyntaxKind) As SyntaxKind", name) 144_writer.WriteLine(" Case SyntaxKind.{0}", nodeKind.Name) 145_writer.WriteLine(" Return SyntaxKind.{0}", childNodeKind.Name) 149_writer.WriteLine(" Throw New ArgumentException(""{0}"")", child.Name) 427_writer.WriteLine(") As {0}", StructureTypeName(nodeStructure)) 434_writer.WriteLine(" If Not SyntaxFacts.Is{0}(kind) Then", structureName) 440_writer.WriteLine(" if {0} Is Nothing Then", name) 441_writer.WriteLine(" Throw New ArgumentNullException(NameOf({0}))", name) 460_writer.WriteLine(" Select Case {0}.Kind()", paramName) 465_writer.WriteLine(" Throw new ArgumentException(""{0}"")", paramName) 480_writer.WriteLine(" Throw new ArgumentException(""{0}"")", paramName) 486_writer.WriteLine(" Select Case {0}.Kind()", paramName) 503_writer.WriteLine(" Throw new ArgumentException(""{0}"")", paramName) 520_writer.WriteLine(" Select Case {0}.Kind()", paramName) 530_writer.WriteLine(" Throw new ArgumentException(""{0}"")", paramName) 546_writer.WriteLine(" Throw new ArgumentException(""{0}"")", paramName) 551_writer.WriteLine(" Select Case {0}.Kind()", paramName) 571_writer.WriteLine(" Throw new ArgumentException(""{0}"")", paramName) 736_writer.WriteLine(") As {0}", StructureTypeName(nodeStructure))
RedNodes\RedNodeWriter.vb (21)
32_writer.WriteLine("Namespace {0}", Ident(_parseTree.NamespaceName)) 53_writer.WriteLine("Namespace {0}", Ident(_parseTree.NamespaceName & ".Syntax")) 91_writer.WriteLine(" Public Enum {0}", EnumerationTypeName(enumeration)) 135_writer.WriteLine("Public MustInherit Class {0}", StructureTypeName(nodeStructure)) 137_writer.WriteLine("Public NotInheritable Class {0}", StructureTypeName(nodeStructure)) 144_writer.WriteLine(" Inherits {0}", StructureTypeName(nodeStructure.ParentStructure)) 215_writer.WriteLine(" Return Add{0}Core(items)", child.Name) 222_writer.WriteLine(" Return Me.With{0}(Me.{0}.AddRange(items))", child.Name) 230_writer.WriteLine(" Return Add{0}(items)", child.Name) 306_writer.WriteLine(" Return {0}", If(nodeStructure.IsTerminal, "True", "False")) 544_writer.WriteLine($" {extraIndent}Dim listNode = GetRedAtZero({{0}})", ChildVarName(child)) 548_writer.WriteLine($" {extraIndent}Return new {{0}}(listNode)", ChildPropertyTypeRef(nodeStructure, child, False)) 555_writer.WriteLine($" {extraIndent}Return GetRedAtZero({{0}})", ChildVarName(child)) 685_writer.WriteLine(" Return visitor.{0}(Me)", VisitorMethodName(nodeStructure)) 690_writer.WriteLine(" visitor.{0}(Me)", VisitorMethodName(nodeStructure)) 739_writer.WriteLine(") As {0}", structureName) 821_writer.WriteLine(" Case {0}", i) 880_writer.WriteLine(" Case {0}", i) 931_writer.WriteLine(" End {0}", If(withResult, "Function", "Sub")) 936_writer.WriteLine(" Public MustInherit Class {0}", Ident(_parseTree.RewriteVisitorName)) 937_writer.WriteLine(" Inherits {0}(Of SyntaxNode)", Ident(_parseTree.VisitorName))
RedNodes\SyntaxFactsWriter.vb (5)
30_writer.WriteLine("Namespace {0}", Ident(_parseTree.NamespaceName)) 52_writer.WriteLine("Namespace {0}", Ident(_parseTree.NamespaceName)) 94_writer.WriteLine(" Case SyntaxKind.{0}", kind.Name) 97_writer.WriteLine(" Return {0}", tokenText) 99_writer.WriteLine(" Return ""{0}""", tokenText)
Tests\TestWriter.vb (4)
141_writer.WriteLine("() As {0}", StructureTypeName(nodeStructure)) 499_writer.WriteLine(" Assert.NotNull(objectUnderTest.{0})", LowerFirstCharacter(child.Name)) 504_writer.WriteLine(" Dim withObj = objectUnderTest{0}", withStat) 542_writer.WriteLine(" Dim rewriter = New {0}IdentityRewriter()", funcNamePart)
Util\WriteDumper.vb (2)
47_writer.WriteLine("Namespace {0}", _parseTree.NamespaceName) 96_writer.WriteLine(" ""{0}"",", StructureTypeName(nodeStructure))
Util\WriteUtils.vb (2)
626writer.WriteLine(prefix & "<param name=""{0}"">", parameterName) 642writer.WriteLine(prefix & "<typeparam name=""{0}"">", typeParameterName)