12 references to PadRight
aspire (1)
Telemetry\InternalMicrosoftDetector.cs (1)
950padded = padded.PadRight(padded.Length + ((4 - padded.Length % 4) % 4), '=');
Microsoft.Build (1)
Evaluation\Expander\WellKnownFunctions.cs (1)
322returnVal = text.PadRight(totalWidth, paddingChar[0]);
Microsoft.DotNet.Build.Tasks.Installers (6)
src\ArWriter.cs (6)
27Write(Encoding.ASCII.GetBytes(entry.Name.PadRight(16, ' ').Substring(0, 16))); 28Write(Encoding.ASCII.GetBytes(entry.Timestamp.ToString().PadRight(12, ' ').Substring(0, 12))); 29Write(Encoding.ASCII.GetBytes(entry.OwnerID.ToString().PadRight(6, ' ').Substring(0, 6))); 30Write(Encoding.ASCII.GetBytes(entry.GroupID.ToString().PadRight(6, ' ').Substring(0, 6))); 31Write(Encoding.ASCII.GetBytes(Convert.ToString(entry.Mode, 8).PadRight(8, ' ').Substring(0, 8))); 35Write(Encoding.ASCII.GetBytes(length.ToString().PadRight(10, ' ').Substring(0, 10)));
Microsoft.ML.Data (1)
Evaluators\EvaluatorUtils.cs (1)
1723return str.Substring(0, totalLength - 1).PadRight(totalLength, '.');
NuGet.CommandLine.XPlat (2)
Commands\PackageSearch\Table.cs (2)
89PrintRow(logger, _columns.Select(c => "".PadRight(c.Width, '-')).ToList(), ""); 98PrintRow(logger, _columns.Select(c => "".PadRight(c.Width, '-')).ToList(), "");
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (1)
1162public string PadRight(int totalWidth) => PadRight(totalWidth, ' ');