6 references to Requires
Microsoft.AspNetCore.Components.Server (6)
BlazorPack\SequenceOfT.cs (6)
50Requires.NotNull(memoryPool, nameof(memoryPool)); 60Requires.NotNull(arrayPool, nameof(arrayPool)); 133Requires.Argument(current != null, nameof(position), "Position does not represent a valid position in this sequence."); 136Requires.Argument(firstIndex >= current.Start, nameof(position), "Position must not be earlier than current position."); 211Requires.Range(sizeHint >= 0, nameof(sizeHint)); 423Requires.Range(count >= 0 && this.End + count <= this.Memory.Length, nameof(count));