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