15 references to EndsWith
Aspire.Dashboard (1)
Model\Assistant\Markdown\AspireEnrichmentParser.cs (1)
147if (input.Length >= (marker.Length * 2) && input.StartsWith(marker) && input.EndsWith(marker))
ILCompiler.Compiler (1)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\StringTableBuilder.cs (1)
57if (!lastText.IsNull && lastText.AsSpan().EndsWith(text.AsSpan()))
ILCompiler.ReadyToRun (1)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\StringTableBuilder.cs (1)
57if (!lastText.IsNull && lastText.AsSpan().EndsWith(text.AsSpan()))
ILCompiler.TypeSystem (1)
src\runtime\src\coreclr\tools\Common\Internal\Text\Utf8Span.cs (1)
27public bool EndsWith(Utf8Span value) => _value.EndsWith(value.AsSpan());
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
RedisHubLifetimeManager.cs (1)
828Debug.Assert(base64.EndsWith("=="));
Microsoft.AspNetCore.WebSockets (1)
HandshakeHelpers.cs (1)
230if (value[0] == '"' && value.EndsWith("\"".AsSpan()) && value.Length > 1)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (2)
Utils\Globbing\StaticWebAssetGlobMatcherBuilder.cs (2)
75if (patternMemory.Span.EndsWith("/".AsSpan()) || patternMemory.Span.EndsWith("\\".AsSpan()))
System.Net.WebSockets (1)
System\Net\WebSockets\Compression\WebSocketDeflater.cs (1)
107.EndsWith(WebSocketInflater.FlushMarker), "The deflated block must always end with a flush marker.");
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (2)
695return source.EndsWith(suffix); 707return source.EndsWith(suffix);
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (1)
3624EndsWith((ReadOnlySpan<T>)span, value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Globalization.cs (1)
377return span.EndsWith(value);
System.Private.DataContractSerialization (1)
System\Xml\EncodingStreamWrapper.cs (1)
362if (!buffer.AsSpan(0, i + 1).EndsWith("encoding"u8))
System.Private.TypeLoader (1)
src\runtime\src\coreclr\tools\Common\Internal\Text\Utf8Span.cs (1)
27public bool EndsWith(Utf8Span value) => _value.EndsWith(value.AsSpan());