Base:
method
ToString
System.ValueType.ToString()
59 references to ToString
Microsoft.AspNetCore.Components.Endpoints (2)
FormMapping\FormDataReader.cs (2)
273return _currentPrefixBuffer.Span[(index + 1)..].ToString(); 278return _currentPrefixBuffer.Span[(index + 1)..^1].ToString();
Microsoft.AspNetCore.Http.Abstractions (2)
PathString.cs (2)
191return new PathString(pathBuffer.ToString()); 207return new PathString(pathBuffer.ToString());
Microsoft.AspNetCore.Http.Extensions (3)
src\Components\Endpoints\src\FormMapping\FormDataReader.cs (2)
273return _currentPrefixBuffer.Span[(index + 1)..].ToString(); 278return _currentPrefixBuffer.Span[(index + 1)..^1].ToString();
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
93string s = _chars.Slice(0, _pos).ToString();
Microsoft.AspNetCore.HttpLogging (1)
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
93string s = _chars.Slice(0, _pos).ToString();
Microsoft.AspNetCore.WebSockets (1)
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
93string s = _chars.Slice(0, _pos).ToString();
Microsoft.AspNetCore.WebUtilities (2)
HttpRequestStreamReader.cs (2)
422return ReadLineStepResult.FromResult(span.ToString()); 444return ReadLineStepResult.FromResult(span.ToString());
Microsoft.Build (2)
FileUtilities.cs (2)
576return shouldAdjust ? newValue.ToString() : value; 608return shouldAdjust ? newValue.ToString().AsMemory() : value;
Microsoft.Build.Engine.OM.UnitTests (2)
FileUtilities.cs (2)
576return shouldAdjust ? newValue.ToString() : value; 608return shouldAdjust ? newValue.ToString().AsMemory() : value;
Microsoft.Build.Tasks.Core (2)
FileUtilities.cs (2)
576return shouldAdjust ? newValue.ToString() : value; 608return shouldAdjust ? newValue.ToString().AsMemory() : value;
Microsoft.Build.Utilities.Core (2)
FileUtilities.cs (2)
576return shouldAdjust ? newValue.ToString() : value; 608return shouldAdjust ? newValue.ToString().AsMemory() : value;
Microsoft.Extensions.Logging.Abstractions (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
MSBuild (2)
FileUtilities.cs (2)
576return shouldAdjust ? newValue.ToString() : value; 608return shouldAdjust ? newValue.ToString().AsMemory() : value;
System.Console (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
System.Diagnostics.DiagnosticSource (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
System.Diagnostics.Process (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
System.Formats.Tar (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
System.IO.FileSystem.Watcher (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
System.Net.Http (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
System.Net.Mail (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
System.Net.Primitives (1)
src\libraries\Common\src\System\Net\SocketAddress.cs (1)
198return result.Slice(0, length).ToString();
System.Private.CoreLib (11)
src\libraries\Common\src\Interop\Interop.Utils.cs (2)
27result = buffer.Slice(0, buffer.IndexOf('\0')).ToString(); 37result = buffer.Slice(0, buffer.IndexOf('\0')).ToString();
src\libraries\Common\src\Interop\Windows\Kernel32\Interop.FormatMessage.cs (1)
84return buffer.Slice(0, length).ToString();
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
src\libraries\System.Private.CoreLib\src\System\Convert.cs (1)
2310return chars.Slice(i).ToString();
src\libraries\System.Private.CoreLib\src\System\Environment.Variables.Windows.cs (1)
39span.Slice(0, (int)length).ToString() :
src\libraries\System.Private.CoreLib\src\System\Globalization\CalendarData.Icu.cs (1)
237shortDatePatterns[0] = modifiedPattern.ToString();
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.Icu.cs (1)
389return result.Slice(0, resultPos).ToString();
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (1)
980return span.Slice(0, charsWritten).ToString();
src\libraries\System.Private.CoreLib\src\System\Memory.cs (1)
215return (_object is string str) ? str.Substring(_index, _length) : Span.ToString();
src\libraries\System.Private.CoreLib\src\System\Version.cs (1)
176return dest.Slice(0, charsWritten).ToString();
System.Private.Uri (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
System.Private.Xml (4)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
System\Xml\Cache\XPathDocumentNavigator.cs (1)
925return buf.Slice(0, idx).ToString();
System\Xml\Schema\XsdDateTime.cs (1)
503return destination.Slice(0, charsWritten).ToString();
System\Xml\Schema\XsdDuration.cs (1)
349return destination.Slice(0, charsWritten).ToString();
System.Reflection.Metadata (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
System.Runtime.Numerics (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
System.Security.Cryptography (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
System.Text.Encodings.Web (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
System.Text.Json (2)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
src\libraries\System.Text.Json\Common\JsonSeparatorNamingPolicy.cs (1)
136string result = destination.Slice(0, charsWritten).ToString();
System.Text.Json.SourceGeneration (1)
src\libraries\System.Text.Json\Common\JsonSeparatorNamingPolicy.cs (1)
136string result = destination.Slice(0, charsWritten).ToString();
System.Text.RegularExpressions (2)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
System\Text\RegularExpressions\RegexNode.cs (1)
1453return new StartingLiteralData(setChars: setChars.Slice(0, numChars).ToString(), negated: RegexCharClass.IsNegated(node.Str!));
System.Text.RegularExpressions.Generator (4)
src\libraries\Common\src\System\HexConverter.cs (1)
193return result.ToString();
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
92string s = _chars.Slice(0, _pos).ToString();
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNode.cs (1)
1453return new StartingLiteralData(setChars: setChars.Slice(0, numChars).ToString(), negated: RegexCharClass.IsNegated(node.Str!));
Stubs.cs (1)
42return span.ToString();