22 references to TrimStart
ILLink.RoslynAnalyzer (4)
src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeNameParser.cs (1)
33
ReadOnlySpan<char> trimmedName = typeName.
TrimStart
(); // whitespaces at beginning are always OK
src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeNameParserHelpers.cs (3)
213
ReadOnlySpan<char> trimmed = span.Slice(1).
TrimStart
();
219
span = trimmed.Slice(1).
TrimStart
();
344
span = span.Slice(1).
TrimStart
();
Microsoft.AspNetCore.WebSockets (2)
WebSocketMiddleware.cs (2)
176
if (extension.AsSpan().
TrimStart
().StartsWith("permessage-deflate", StringComparison.Ordinal))
178
if (HandshakeHelpers.ParseDeflateOptions(extension.AsSpan().
TrimStart
(), serverContextTakeover, serverMaxWindowBits, out var parsedOptions, out var response))
PresentationFramework (1)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2092
if (assemblyName.
TrimStart
().IsEmpty)
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\PhoneAttribute.cs (1)
109
potentialExtension = potentialExtension.
TrimStart
();
System.Net.WebSockets.Client (1)
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
184
if (extension.AsSpan().
TrimStart
().StartsWith(ClientWebSocketDeflateConstants.Extension))
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Enum.cs (2)
926
value = value.
TrimStart
();
984
value = value.
TrimStart
();
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Trim.cs (1)
727
return span.
TrimStart
();
src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeNameParser.cs (2)
33
ReadOnlySpan<char> trimmedName = typeName.
TrimStart
(); // whitespaces at beginning are always OK
192
if (!_inputString.
TrimStart
().StartsWith(","))
src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeNameParserHelpers.cs (3)
213
ReadOnlySpan<char> trimmed = span.Slice(1).
TrimStart
();
219
span = trimmed.Slice(1).
TrimStart
();
344
span = span.Slice(1).
TrimStart
();
System.Reflection.Metadata (4)
System\Reflection\Metadata\TypeNameParser.cs (1)
33
ReadOnlySpan<char> trimmedName = typeName.
TrimStart
(); // whitespaces at beginning are always OK
System\Reflection\Metadata\TypeNameParserHelpers.cs (3)
213
ReadOnlySpan<char> trimmed = span.Slice(1).
TrimStart
();
219
span = trimmed.Slice(1).
TrimStart
();
344
span = span.Slice(1).
TrimStart
();
System.Text.Json (1)
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (1)
326
rest = rest.Slice(i + 1).
TrimStart
();