9 references to ValidateRange
System.Reflection.Metadata (9)
System\Reflection\Metadata\BlobBuilder.cs (3)
273
BlobUtilities.
ValidateRange
(Count, start, byteCount, nameof(byteCount));
760
BlobUtilities.
ValidateRange
(buffer.Length, start, byteCount, nameof(byteCount));
787
BlobUtilities.
ValidateRange
(buffer.Length, start, byteCount, nameof(byteCount));
System\Reflection\Metadata\BlobWriter.cs (4)
89
BlobUtilities.
ValidateRange
(Length, start, byteCount, nameof(byteCount));
102
BlobUtilities.
ValidateRange
(Length, start, byteCount, nameof(byteCount));
207
BlobUtilities.
ValidateRange
(buffer.Length, start, byteCount, nameof(byteCount));
232
BlobUtilities.
ValidateRange
(buffer.Length, start, byteCount, nameof(byteCount));
System\Reflection\PortableExecutable\PEMemoryBlock.cs (2)
50
BlobUtilities.
ValidateRange
(Length, start, length, nameof(length));
68
BlobUtilities.
ValidateRange
(Length, start, length, nameof(length));