6 references to TrimEnd
Microsoft.AspNetCore.Mvc.Razor (1)
TagHelpers\UrlResolutionTagHelper.cs (1)
326
var lastNonWhitespaceChar = value.AsSpan().
TrimEnd
().LastIndexOfAnyExcept(ValidAttributeWhitespaceChars);
Microsoft.AspNetCore.WebSockets (1)
HandshakeHelpers.cs (1)
220
value = value[(startIndex + 1)..].
TrimEnd
();
Microsoft.ML.Core (1)
Utilities\LineParser.cs (1)
18
ReadOnlySpan<char> trimmedLine = line.AsSpan().
TrimEnd
(); // TrimEnd creates a Span, no allocations
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\PhoneAttribute.cs (1)
35
ReadOnlySpan<char> valueSpan = valueAsString.Replace("+", string.Empty).AsSpan().
TrimEnd
();
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Trim.cs (1)
760
return span.
TrimEnd
();
System.Text.Json (1)
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (1)
325
next = rest.Slice(0, i).
TrimEnd
();