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