10 references to TrimStart
Microsoft.Extensions.Telemetry (2)
Http\HttpRouteFormatter.cs (1)
53var httpPathAsSpan = httpPath.AsSpan().TrimStart(ForwardSlash);
Http\HttpRouteParser.cs (1)
47httpPathAsSpan = httpPathAsSpan.TrimStart(ForwardSlash);
System.IO.Packaging (2)
System\IO\Packaging\ContentType.cs (2)
323parameterAndValue = parameterAndValue.TrimStart(s_linearWhiteSpaceChars); 339parameterAndValue = parameterAndValue.Slice(parameterStartIndex + parameterValueLength).TrimStart(s_linearWhiteSpaceChars);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Trim.cs (1)
714=> span.TrimStart(trimChars).TrimEnd(trimChars);
System.Resources.Extensions (5)
System\Resources\Extensions\TypeNameComparer.cs (5)
70ReadOnlySpan<char> typeSpan1 = assemblyQualifiedTypeName1.AsSpan().TrimStart(s_whiteSpaceChars); 71ReadOnlySpan<char> typeSpan2 = assemblyQualifiedTypeName2.AsSpan().TrimStart(s_whiteSpaceChars); 80typeSpan1 = typeSpan1.Length > type1.Length ? typeSpan1.Slice(type1.Length + 1).TrimStart(s_whiteSpaceChars) : ReadOnlySpan<char>.Empty; 81typeSpan2 = typeSpan2.Length > type2.Length ? typeSpan2.Slice(type2.Length + 1).TrimStart(s_whiteSpaceChars) : ReadOnlySpan<char>.Empty; 123ReadOnlySpan<char> typeSpan = assemblyQualifiedTypeName.AsSpan().TrimStart(s_whiteSpaceChars);