11 references to EndsWith
Aspire.Dashboard (1)
Model\Assistant\Markdown\AspireEnrichmentParser.cs (1)
147if (input.Length >= (marker.Length * 2) && input.StartsWith(marker) && input.EndsWith(marker))
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)
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 (6)
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (2)
695return source.EndsWith(suffix); 707return source.EndsWith(suffix);
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (1)
3600EndsWith((ReadOnlySpan<T>)span, value);
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Globalization.cs (1)
313return span.EndsWith(value);
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (2)
2436while (endIndex >= index && this.AsSpan(index..(endIndex + 1)).EndsWith(trimChars)) 2584while (endIndex >= 0 && this.AsSpan(..(endIndex + 1)).EndsWith(trimChars))
System.Private.DataContractSerialization (1)
System\Xml\EncodingStreamWrapper.cs (1)
362if (!buffer.AsSpan(0, i + 1).EndsWith("encoding"u8))