239 references to StartsWith
aspire (1)
Mcp\Docs\LlmsTxtParser.cs (1)
527if (afterHeading.StartsWith("[Section titled"))
Aspire.Dashboard (4)
Model\Assistant\Markdown\AspireEnrichmentParser.cs (1)
147if (input.Length >= (marker.Length * 2) && input.StartsWith(marker) && input.EndsWith(marker))
Model\TextVisualizerViewModel.cs (3)
205't' => input.AsSpan(i.Value).StartsWith("true"), // true 206'f' => input.AsSpan(i.Value).StartsWith("false"), // false 207'n' => input.AsSpan(i.Value).StartsWith("null"), // null
cdac-build-tool (2)
_generated\0\RegexGenerator.g.cs (2)
140if (!slice.StartsWith("%%")) 174if (!slice.StartsWith("%%"))
dotnet (3)
_generated\187\RegexGenerator.g.cs (3)
143if (!slice.StartsWith(" at ")) 216if (!slice.StartsWith(" in ")) 281if (!slice.StartsWith(":line "))
dotnet-dev-certs (2)
_generated\10\RegexGenerator.g.cs (2)
166if (!slice.StartsWith("OPENSSLDIR:")) 479if (!slice.StartsWith("pem"))
ILAssembler (3)
GrammarVisitor.cs (3)
3301if (value.StartsWith("-".AsSpan())) 3306if (value.StartsWith("0x".AsSpan())) 3311else if (value.StartsWith("0".AsSpan()))
ILCompiler.Compiler (3)
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (1)
949&& metadata.Name.AsSpan().StartsWith(ObjectiveCMsgSend);
src\runtime\src\tools\illink\src\ILLink.Shared\DataFlow\CompilerGeneratedNames.cs (2)
38return className.StartsWith("<>c"u8); 171return typeName.StartsWith("<G>"u8);
ILCompiler.ReadyToRun (9)
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (8)
4688if (methodName.StartsWith("System.Runtime.Intrinsics.ISimdVector<System.")) 4692if (partialMethodName.StartsWith("Numerics.Vector")) 4696if (partialMethodName.StartsWith("<T>,T>.")) 4701if (partialMethodName.StartsWith("Runtime.Intrinsics.Vector")) 4705if (partialMethodName.StartsWith("64<T>,T>.")) 4709else if (partialMethodName.StartsWith("128<T>,T>.") || 4710partialMethodName.StartsWith("256<T>,T>.") || 4711partialMethodName.StartsWith("512<T>,T>."))
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (1)
949&& metadata.Name.AsSpan().StartsWith(ObjectiveCMsgSend);
ILCompiler.TypeSystem (1)
src\runtime\src\coreclr\tools\Common\Internal\Text\Utf8Span.cs (1)
25public bool StartsWith(Utf8Span value) => _value.StartsWith(value.AsSpan());
illink (3)
ILLink.RoslynAnalyzer (2)
src\runtime\src\tools\illink\src\ILLink.Shared\DataFlow\CompilerGeneratedNames.cs (2)
38return className.StartsWith("<>c"u8); 171return typeName.StartsWith("<G>"u8);
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
TargetPickerUi.cs (1)
387if (devtoolsFrontendUrl.AsSpan().TrimStart('/').StartsWith(DefaultBrowserDevToolsPagePath))
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
_generated\0\RegexGenerator.g.cs (2)
166if (!slice.StartsWith("OPENSSLDIR:")) 479if (!slice.StartsWith("pem"))
Microsoft.AspNetCore.Mvc.Razor (1)
TagHelpers\UrlResolutionTagHelper.cs (1)
296if (!url.StartsWith("~/"))
Microsoft.AspNetCore.Routing (1)
Matching\HostMatcherPolicy.cs (1)
110host.StartsWith(WildcardPrefix) &&
Microsoft.AspNetCore.Server.HttpSys (1)
src\aspnetcore\src\Shared\PathNormalizer\PathNormalizer.cs (1)
59else if (MemoryMarshal.CreateSpan(ref src[nextIndex], 2).StartsWith(dotSlash))
Microsoft.AspNetCore.Server.IIS (1)
src\aspnetcore\src\Shared\PathNormalizer\PathNormalizer.cs (1)
59else if (MemoryMarshal.CreateSpan(ref src[nextIndex], 2).StartsWith(dotSlash))
Microsoft.AspNetCore.Server.Kestrel.Core (3)
_generated\1\RegexGenerator.g.cs (2)
167if (!slice.StartsWith("OPENSSLDIR:")) 482if (!slice.StartsWith("pem"))
src\aspnetcore\src\Shared\PathNormalizer\PathNormalizer.cs (1)
59else if (MemoryMarshal.CreateSpan(ref src[nextIndex], 2).StartsWith(dotSlash))
Microsoft.AspNetCore.WebSockets (2)
HandshakeHelpers.cs (2)
133else if (value.StartsWith(WebSocketDeflateConstants.ClientMaxWindowBits)) 178else if (value.StartsWith(WebSocketDeflateConstants.ServerMaxWindowBits))
Microsoft.Build (22)
_generated\0\RegexGenerator.g.cs (18)
4324if (!slice.StartsWith("--")) 4629if (!slice.StartsWith("--")) 4871if (!slice.StartsWith("--")) 5109if (!slice.StartsWith("--")) 5332if (!slice.StartsWith("@(")) 5433if (!slice.StartsWith("->")) 5713if (!slice.StartsWith("@(")) 5784if (!slice.StartsWith("->")) 6032if (!slice.StartsWith("<?")) 6050if (!slice.StartsWith("xml")) 6093if (!slice.StartsWith("?>")) 6241if (!slice.StartsWith("Project(\"")) 6302if (!slice.StartsWith("\")")) 7145if (!slice.StartsWith("%(")) 7719if (!slice.StartsWith("%(")) 8287if (!slice.StartsWith("%(")) 8854if (!slice.StartsWith("%(")) 9290if (!slice.StartsWith("xmlns=\""))
Definition\ToolsetReader.cs (3)
685if (remainder.StartsWith(")".AsSpan())) 689else if (remainder.StartsWith("32)".AsSpan())) 693else if (remainder.StartsWith("64)".AsSpan()))
Logging\TerminalLogger\TerminalLogger.cs (1)
1216message.AsSpan().StartsWith(Path.GetFileNameWithoutExtension(projectFileName)) && hasProject)
Microsoft.Build.Tasks.Core (5)
_generated\0\RegexGenerator.g.cs (5)
3238if (!slice.StartsWith(", Version=")) 3358if (!slice.StartsWith(", Culture=")) 3478if (!slice.StartsWith(", PublicKeyToken=")) 3598if (!slice.StartsWith(", ProcessorArchitecture=")) 3719if (!slice.StartsWith(", Type="))
Microsoft.CodeAnalysis.CSharp (2)
Parser\LanguageParser_InterpolatedString.cs (2)
293if (!currentLineWhitespace.StartsWith(indentationWhitespace)) 302var isLegalBlankLine = isBlankLine && indentationWhitespace.StartsWith(currentLineWhitespace);
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\FileBasedPrograms\AbstractAppDirectiveCompletionProvider.cs (2)
69if (textLeftOfCaret.Span.StartsWith(DirectiveKind)) 84else if (DirectiveKind.StartsWith(textLeftOfCaret.Span))
Microsoft.CodeAnalysis.Razor.Compiler (5)
Language\Intermediate\ComponentAttributeIntermediateNode.cs (3)
219if (candidate.Span.StartsWith("global::".AsSpan())) 256if (candidate.Span.StartsWith("global::".AsSpan())) 261if (!candidate.Span.StartsWith("System.Action".AsSpan()))
Language\Legacy\RoslynCSharpTokenizer.cs (1)
621return triviaString.AsSpan()[(i + 1)..].StartsWith(substring.AsSpan());
Language\RazorProjectEngineBuilderExtensions.cs (1)
24if (!configurationName.StartsWith(s_prefix.Span))
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\FindReferences\Finders\AbstractReferenceFinder_GlobalSuppressions.cs (1)
125if (!docCommentId.Span.StartsWith(expectedDocCommentId))
Microsoft.DotNet.HotReload.Watch (6)
_generated\0\RegexGenerator.g.cs (6)
176if (!slice.StartsWith("Now listening on: ")) 381if (!slice.StartsWith("Login to the dashboard at ")) 604if (!slice.StartsWith(": ")) 628if (!slice.Slice(1).StartsWith("rror")) 640if (!slice.Slice(1).StartsWith("arning")) 703if (!slice.Slice(1).StartsWith(": "))
Microsoft.DotNet.TemplateLocator (1)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadManifestReader.SystemTextJson.cs (1)
57if (span.StartsWith(utf8Bom))
Microsoft.Extensions.AI.Evaluation.NLP (5)
Common\SimpleWordTokenizer.cs (5)
92if (span.StartsWith("&quot;".AsSpan())) 104else if (span.StartsWith("&amp;".AsSpan())) 116else if (span.StartsWith("&lt;".AsSpan())) 128else if (span.StartsWith("&gt;".AsSpan())) 140else if (span.StartsWith("&apos;".AsSpan()))
Microsoft.Extensions.Diagnostics.ResourceMonitoring (4)
Linux\LinuxUtilizationParserCgroupV1.cs (2)
131if (!bufferWriter.Buffer.WrittenSpan.StartsWith(StartingTokens)) 266if (!firstLine.StartsWith(MemTotal))
Linux\LinuxUtilizationParserCgroupV2.cs (2)
177if (!bufferWriter.Buffer.WrittenSpan.StartsWith(StartingTokens)) 413if (!firstLine.StartsWith(MemTotal))
Microsoft.Extensions.Http.Diagnostics (1)
Http\HttpDependencyMetadataResolver.cs (1)
108if (routeSpan.StartsWith("//".AsSpan()))
Microsoft.ML.Tokenizers.Tests (4)
LlamaTests.cs (4)
850Assert.True(decodedWithNoSpecialTokens.AsSpan().StartsWith(destinationBuffer.AsSpan().Slice(0, charactersWritten))); 864Assert.True(textWithSpecialTokens.AsSpan().StartsWith(destinationBuffer.AsSpan().Slice(0, charactersWritten))); 889Assert.True(decodedWithNoSpecialTokens.AsSpan().StartsWith(destinationBuffer.AsSpan().Slice(0, charactersWritten))); 908Assert.True(textWithSpecialTokens.AsSpan().StartsWith(sp));
Microsoft.NET.Build.Containers (1)
_generated\0\RegexGenerator.g.cs (1)
156if (!slice.StartsWith("=\""))
Microsoft.NET.Build.Tasks (1)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadManifestReader.SystemTextJson.cs (1)
57if (span.StartsWith(utf8Bom))
Microsoft.NET.Sdk.WorkloadManifestReader (1)
WorkloadManifestReader.SystemTextJson.cs (1)
57if (span.StartsWith(utf8Bom))
Microsoft.Private.Windows.Core (2)
System\SpanReader.cs (2)
194public readonly bool IsNext(params ReadOnlySpan<T> next) => _unread.StartsWith(next); 204if (_unread.StartsWith(next))
PresentationFramework (1)
System\Windows\Controls\VirtualizingStackPanel.cs (1)
12235isWPFControl = name.StartsWith("System.Windows.Controls.");
RepoTasks (2)
_generated\0\RegexGenerator.g.cs (2)
166if (!slice.StartsWith("OPENSSLDIR:")) 479if (!slice.StartsWith("pem"))
Shared (1)
ServerSentEvents\SseParser_1.cs (1)
396advance = line.Length + newlineLength + (remainder.StartsWith(CRLF) ? 2 : 1);
System.Data.Common (1)
_generated\0\RegexGenerator.g.cs (1)
494if (!slice.StartsWith("}}"))
System.Data.Odbc (1)
_generated\1\RegexGenerator.g.cs (1)
494if (!slice.StartsWith("}}"))
System.Data.OleDb (1)
_generated\4\RegexGenerator.g.cs (1)
494if (!slice.StartsWith("}}"))
System.Diagnostics.Process (1)
src\runtime\src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcMountInfo.cs (1)
37if (!path.StartsWith(mount.MountPoint))
System.IO.Compression (4)
System\IO\Compression\ZipBlocks.cs (4)
422if (bytesRead < TotalSize || !blockContents.StartsWith(SignatureConstantBytes)) 495if (!blockContents.StartsWith(SignatureConstantBytes)) 719if (!buffer.StartsWith(SignatureConstantBytes)) 923if (!blockContents.StartsWith(SignatureConstantBytes))
System.IO.FileSystem.DriveInfo (1)
src\runtime\src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcMountInfo.cs (1)
37if (!path.StartsWith(mount.MountPoint))
System.Memory (2)
System\Buffers\SequenceReader.Search.cs (2)
791if (unread.StartsWith(next)) 814while (next.StartsWith(currentSpan))
System.Net.Http (16)
System\Net\Http\Headers\AltSvcHeaderParser.cs (2)
145else if (value.AsSpan(idx).StartsWith("persist=")) 222case 10 when span.StartsWith("http%2F1."):
System\Net\Http\HttpContent.cs (9)
718return data.StartsWith(UTF8Preamble) ? UTF8Preamble.Length : 0; 721return data.StartsWith(UTF32Preamble) ? UTF32Preamble.Length : 0; 724return data.StartsWith(UnicodePreamble) ? UnicodePreamble.Length : 0; 727return data.StartsWith(BigEndianUnicodePreamble) ? BigEndianUnicodePreamble.Length : 0; 731return preamble is not null && data.StartsWith(preamble) ? preamble.Length : 0; 737if (data.StartsWith(UTF8Preamble)) 744if (data.StartsWith(UTF32Preamble)) 751if (data.StartsWith(UnicodePreamble)) 758if (data.StartsWith(BigEndianUnicodePreamble))
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
1082if (IsDigit(minorVersion) && line.StartsWith("HTTP/1."u8))
System\Net\Http\SocketsHttpHandler\MultiProxy.cs (4)
225if (proxyString.StartsWith("http=")) 230else if (proxyString.StartsWith("https=")) 236if (proxyString.StartsWith("http://")) 244else if (proxyString.StartsWith("https://"))
System.Net.Mail (1)
System\Net\Mime\ByteEncoder.cs (1)
33if (_hasSpecialEncodingForCRLF && buffer.Slice(cur).StartsWith("\r\n"u8))
System.Net.ServerSentEvents (3)
System\Net\ServerSentEvents\SseParser_1.cs (3)
280return _lineBuffer.AsSpan(_newlineIndex, _lineLength - (_newlineIndex - _lineOffset)).StartsWith(CRLF) ? 2 : 1; 392advance = line.Length + newlineLength + (remainder.StartsWith(CRLF) ? 2 : 1); 549if (_lineBuffer.AsSpan(0, _lineLength).StartsWith(Utf8Bom))
System.Net.WebClient (2)
System\Net\WebClient.cs (2)
1141if (data.AsSpan().StartsWith(preamble)) 1157bomLengthInData = data.AsSpan().StartsWith(preamble) ? preamble.Length : 0;
System.Private.CoreLib (18)
src\runtime\src\libraries\Common\src\Interop\Linux\os-release\Interop.OSReleaseFile.cs (1)
61if (!line.StartsWith(prefix))
src\runtime\src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcMountInfo.cs (1)
37if (!path.StartsWith(mount.MountPoint))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (2)
552return source.StartsWith(prefix); 564return source.StartsWith(prefix);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Utf8.cs (2)
49return source.StartsWith(prefix); 61return source.StartsWith(prefix);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (1)
5787if (++Index < Length && Value.Slice(Index).StartsWith(str))
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (1)
3582StartsWith((ReadOnlySpan<T>)span, value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Globalization.cs (1)
393return span.StartsWith(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Globalization.Utf8.cs (1)
53return span.StartsWith(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Parsing.cs (7)
345if (!positiveSign.IsEmpty && value.StartsWith(positiveSign)) 355else if (!negativeSign.IsEmpty && value.StartsWith(negativeSign)) 1014if (!negativeSign.IsEmpty && value.Slice(index).StartsWith(negativeSign)) 1027if (!positiveSign.IsEmpty && value.Slice(index).StartsWith(positiveSign)) 1102if (value.Slice(index).StartsWith(decimalSeparator)) 1163if (!negSign.IsEmpty && value.Slice(index).StartsWith(negSign)) 1173else if (!posSign.IsEmpty && value.Slice(index).StartsWith(posSign))
src\runtime\src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeNameParser.cs (1)
192if (!_inputString.TrimStart().StartsWith(","))
System.Private.DataContractSerialization (2)
_generated\0\RegexGenerator.g.cs (2)
280if (!slice.StartsWith("System.Runtime.Serialization")) 316if (!slice.StartsWith("PublicKey"))
System.Private.TypeLoader (1)
src\runtime\src\coreclr\tools\Common\Internal\Text\Utf8Span.cs (1)
25public bool StartsWith(Utf8Span value) => _value.StartsWith(value.AsSpan());
System.Private.Windows.Core (3)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (1)
174if (isSerializedObject = bytes.AsSpan().StartsWith(s_serializedObjectID))
System\SpanReader.cs (2)
194public readonly bool IsNext(params ReadOnlySpan<T> next) => _unread.StartsWith(next); 204if (_unread.StartsWith(next))
System.Private.Xml (53)
_generated\0\RegexGenerator.g.cs (16)
879if (!slice.StartsWith("((")) 1152if (!slice.StartsWith("((")) 1361if (!slice.StartsWith(" = ")) 1415if (!slice.StartsWith("EnsureArrayIndex(")) 1447if (!slice.StartsWith(", ")) 1566if (!slice.StartsWith("++]")) 1880if (!slice.StartsWith("UnknownNode(null, @\"")) 1908if (!slice.StartsWith("\");")) 2019if (!slice.StartsWith("UnknownNode((object)")) 2053if (!slice.StartsWith(", @\"")) 2081if (!slice.StartsWith("\");")) 2191if (!slice.StartsWith("UnknownNode((object)")) 2225if (!slice.StartsWith(", null);")) 2335if (!slice.StartsWith("UnknownNode((object)")) 2369if (!slice.StartsWith(");")) 2479if (!slice.StartsWith("paramsRead["))
System\Xml\Core\XmlTextReaderImpl.cs (19)
3197if (_ps.bytes.AsSpan(0, _ps.bytesUsed).StartsWith(preamble)) 3611if (!_ps.chars.AsSpan(_ps.charPos).StartsWith(XmlDeclarationBeginning) || 3801if (_ps.chars.AsSpan(_ps.charPos).StartsWith("1.0")) 3963if (chars.AsSpan(pos).StartsWith("CDATA[")) 4183if (chars.AsSpan(pos).StartsWith("CDATA[")) 4390if (prefixLen == _lastPrefix.Length && chars.AsSpan(startPos).StartsWith(_lastPrefix)) 4566if (!chars.AsSpan(_ps.charPos).StartsWith(startTagNode.localName)) 4575if (!chars.AsSpan(_ps.charPos).StartsWith(startTagNode.prefix) || 4577!chars.AsSpan(colonPos + 1).StartsWith(startTagNode.localName)) 6698if (!_ps.chars.AsSpan(_ps.charPos).StartsWith("DOCTYPE")) 6780if (!_ps.chars.AsSpan(_ps.charPos).StartsWith("PUBLIC")) 6817if (!_ps.chars.AsSpan(_ps.charPos).StartsWith("SYSTEM")) 7691if (prefixLen == _lastPrefix.Length && _ps.chars.AsSpan(_ps.charPos).StartsWith(_lastPrefix)) 8240Debug.Assert(_ps.chars.AsSpan(_ps.charPos - 2).StartsWith("?>")); 8248Debug.Assert(_ps.chars.AsSpan(_ps.charPos - 3).StartsWith("-->")); 8256Debug.Assert(_ps.chars.AsSpan(_ps.charPos - 3).StartsWith("]]>")); 8376if (chars.AsSpan(pos + 2).StartsWith("[CDATA[")) 8396if ((endPos - _ps.charPos - 2) == checkName.Length && chars.AsSpan(_ps.charPos + 2).StartsWith(checkName) && 8435if (endPos - _ps.charPos - 1 == _curNode.localName.Length && _ps.chars.AsSpan(_ps.charPos + 1).StartsWith(_curNode.localName) &&
System\Xml\Core\XmlTextReaderImplAsync.cs (11)
1179if (!_ps.chars.AsSpan(_ps.charPos).StartsWith(XmlDeclarationBeginning) || 1366if (_ps.chars.AsSpan(_ps.charPos).StartsWith("1.0")) 1517if (chars.AsSpan(pos).StartsWith("CDATA[")) 1771if (chars.AsSpan(pos).StartsWith("CDATA[")) 1966if (prefixLen == _lastPrefix.Length && chars.AsSpan(startPos).StartsWith(_lastPrefix)) 2108if (!chars.AsSpan(_ps.charPos).StartsWith(startTagNode.localName)) 2117if (!chars.AsSpan(_ps.charPos).StartsWith(startTagNode.prefix) || 2119!chars.AsSpan(colonPos + 1).StartsWith(startTagNode.localName)) 4424if (!_ps.chars.AsSpan(_ps.charPos).StartsWith("DOCTYPE")) 4508if (!_ps.chars.AsSpan(_ps.charPos).StartsWith("PUBLIC")) 4545if (!_ps.chars.AsSpan(_ps.charPos).StartsWith("SYSTEM"))
System\Xml\Schema\DtdParser.cs (3)
1987if (_chars.AsSpan(_curPos + 1).StartsWith("PCDATA")) 3118if (!_chars.AsSpan(_curPos + 1).StartsWith("UBLIC")) 3137if (!_chars.AsSpan(_curPos + 1).StartsWith("YSTEM"))
System\Xml\Schema\DtdParserAsync.cs (4)
1585if (_chars.AsSpan(_curPos + 1).StartsWith("PCDATA")) 2169if (_chars.AsSpan(_curPos + 1).StartsWith("DATA")) 2531if (!_chars.AsSpan(_curPos + 1).StartsWith("UBLIC")) 2550if (!_chars.AsSpan(_curPos + 1).StartsWith("YSTEM"))
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
1804if (allowWildcards && embeddedSpan.StartsWith("*.") && embeddedSpan.Length > 2)
System.Text.Json (12)
System\Text\Json\Document\JsonDocument.cs (1)
368if (!otherUtf8Text.StartsWith(segment.Slice(0, idx)))
System\Text\Json\Reader\Utf8JsonReader.cs (5)
598if (other.Slice(matchedSoFar).StartsWith(span)) 623if (!other.StartsWith(localSpan.Slice(0, idx))) 658if (!other.Slice(matchedSoFar).StartsWith(span.Slice(0, idx))) 678if (!other.Slice(matchedSoFar).StartsWith(span)) 1139if (!span.StartsWith(literal))
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (4)
518if (!span.StartsWith(literal)) 558if (!literal.StartsWith(span)) 594if (span.StartsWith(leftToMatch)) 604if (!leftToMatch.StartsWith(span))
System\Text\Json\Serialization\PipeReadBufferState.cs (1)
107if (_sequence.First.Span.StartsWith(JsonConstants.Utf8Bom))
System\Text\Json\Serialization\StreamReadBufferState.cs (1)
181if (_buffer.AsSpan(0, _count).StartsWith(JsonConstants.Utf8Bom))
System.Windows.Extensions (3)
System\Media\SoundPlayer.cs (3)
622!data.AsSpan().StartsWith("RIFF"u8) || 623!data.AsSpan(8).StartsWith("WAVE"u8)) 635if (data.AsSpan(position).StartsWith("fmt "u8))
System.Windows.Forms (1)
System\Windows\Forms\Controls\ComboBox\ComboBox.AutoCompleteDropDownFinder.cs (1)
45if (length == AutoCompleteClassName.Length && buffer.StartsWith(AutoCompleteClassName))