14 references to StartsWith
ILCompiler.Compiler (2)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\MachObjectWriter.cs (2)
438if (symbolName.AsSpan().StartsWith((byte)'.')) 1006private static bool IsSectionSymbolName(Utf8String symbolName) => symbolName.AsSpan().StartsWith((byte)'l');
ILCompiler.ReadyToRun (2)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\MachObjectWriter.cs (2)
438if (symbolName.AsSpan().StartsWith((byte)'.')) 1006private static bool IsSectionSymbolName(Utf8String symbolName) => symbolName.AsSpan().StartsWith((byte)'l');
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Components\ComponentNodeWriter.cs (1)
569var offset = nonGenericTypeName.Span.StartsWith('@')
PresentationCore (1)
System\Windows\Media\Knowncolors.cs (1)
819if (argbSpan.StartsWith('#') && uint.TryParse(argbSpan[1..], NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture, out uint uintValue))
System.Net.HttpListener (1)
src\runtime\src\libraries\Common\src\System\Net\CookieComparer.cs (1)
28internal static ReadOnlySpan<char> StripLeadingDot(ReadOnlySpan<char> s) => s.StartsWith('.') ? s[1..] : s;
System.Net.NameResolution (1)
System\Net\DnsEncodedName.cs (1)
211if (!name.StartsWith('.'))
System.Net.Primitives (1)
src\runtime\src\libraries\Common\src\System\Net\CookieComparer.cs (1)
28internal static ReadOnlySpan<char> StripLeadingDot(ReadOnlySpan<char> s) => s.StartsWith('.') ? s[1..] : s;
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStatus.Unix.cs (1)
171internal static bool IsNameHidden(ReadOnlySpan<char> fileName) => fileName.StartsWith('.');
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Path.Unix.cs (1)
134return path.StartsWith(PathInternal.DirectorySeparatorChar);
System.Private.Uri (2)
System\IPv6AddressHelper.cs (1)
126Debug.Assert(name.StartsWith('['));
System\Uri.cs (1)
3484Debug.Assert(original.StartsWith('?'));
System.Security.Cryptography (1)
System\Security\Cryptography\Helpers.cs (1)
95if (s.StartsWith('\u200E'))