8 references to ClampEnd
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Trim.cs (8)
20int length = ClampEnd(span, start, trimElement); 38=> memory.Slice(0, ClampEnd(memory.Span, 0, trimElement)); 49int length = ClampEnd(span, start, trimElement); 67=> memory.Slice(0, ClampEnd(memory.Span, 0, trimElement)); 77int length = ClampEnd(span, start, trimElement); 95=> span.Slice(0, ClampEnd(span, 0, trimElement)); 105int length = ClampEnd(span, start, trimElement); 123=> span.Slice(0, ClampEnd(span, 0, trimElement));