12 references to ToString
Microsoft.Build (4)
Logging\TerminalLogger\TerminalLogger.cs (4)
603
string duration = (e.Timestamp - _buildStartTime).TotalSeconds.
ToString
("F1");
613
string testDuration = (_testStartTime != null && _testEndTime != null ? (_testEndTime - _testStartTime).Value.TotalSeconds : 0).
ToString
("F1");
698
string duration = project.Stopwatch.ElapsedSeconds.
ToString
("F1");
816
string duration = project.Stopwatch.ElapsedSeconds.
ToString
("F1");
Microsoft.DotNet.HotReload.Watch (3)
Build\EvaluationResult.cs (2)
91
logger.LogDebug("Projects restored in {Time}s.", stopwatch.Elapsed.TotalSeconds.
ToString
("0.0"));
124
logger.LogDebug("Design-time build completed in {Time}s.", stopwatch.Elapsed.TotalSeconds.
ToString
("0.0"));
Build\ProjectGraphFactory.cs (1)
68
logger.LogDebug("Project graph loaded in {Time}s.", stopwatch.Elapsed.TotalSeconds.
ToString
("0.0"));
Microsoft.ML.FastTree (3)
TreeEnsemble\InternalRegressionTree.cs (3)
1214
sbGainPValue?.Append(_gainPValue[n].
ToString
("0.000e00") + toAppend);
1229
sbThreshold.Append(threshold.
ToString
("R") + toAppend);
1294
sbThreshold.Append(((double)0.5).
ToString
("R") + toAppend);
Microsoft.ML.Transforms (1)
Expression\Tokens.cs (1)
176
res = Value.
ToString
("R");
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
839
public string ToString([StringSyntax(StringSyntaxAttribute.NumericFormat)] string? format) => _value.
ToString
(format);