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