Base:
method
ToString
System.ValueType.ToString()
15 references to ToString
Microsoft.Build (2)
Evaluation\Profiler\EvaluationLocationPrettyPrinterBase.cs (1)
93evaluationLocation.ParentId?.ToString() ?? string.Empty,
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
1314return value.ToString();
Microsoft.Build.Engine.UnitTests (5)
Evaluation\Expander_Tests.cs (3)
4575TestPropertyFunction("$([MSBuild]::Add($(X), 1))", "X", long.MaxValue.ToString(), expected); 4610TestPropertyFunction("$([MSBuild]::Subtract($(X), 9223372036854775806))", "X", long.MaxValue.ToString(), expected); 4630TestPropertyFunction("$([MSBuild]::Multiply($(X), 2))", "X", long.MaxValue.ToString(), expected);
Evaluation\IntrinsicFunctionOverload_Tests.cs (2)
35string expected = isIntrinsicFunctionOverloadsEnabled ? unchecked(long.MaxValue + 1).ToString() : (long.MaxValue + 1.0).ToString(); 217string expected = isIntrinsicFunctionOverloadsEnabled ? unchecked(long.MaxValue * 2).ToString() : (long.MaxValue * 2.0).ToString();
Microsoft.Build.Framework (1)
Profiler\EvaluationLocation.cs (1)
252$"{Id}\t{ParentId?.ToString() ?? string.Empty}\t{EvaluationPassDescription ?? string.Empty}\t{File ?? string.Empty}\t{Line?.ToString() ?? string.Empty}\t{ElementName ?? string.Empty}\tDescription:{ElementDescription}\t{this.EvaluationPassDescription}";
Microsoft.Build.Tasks.UnitTests (3)
XmlPeek_Tests.cs (1)
337string dir = Path.Combine(Path.GetTempPath(), DateTime.Now.Ticks.ToString());
XmlPoke_Tests.cs (1)
333string dir = Path.Combine(Path.GetTempPath(), DateTime.Now.Ticks.ToString());
XslTransformation_Tests.cs (1)
1107dir = Path.Combine(Path.GetTempPath(), DateTime.Now.Ticks.ToString());
System.Formats.Tar (1)
System\Formats\Tar\TarHeader.Write.cs (1)
921ExtendedAttributes[PaxEaSize] = _size.ToString();
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
337SetSpecialHeaders(HttpKnownHeaderNames.ContentLength, value.ToString());
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Convert.cs (1)
1972return value.ToString();
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
206public override string ToString() => ((nint_t)_value).ToString();