1 write to _reader
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\PEBinaryReader.cs (1)
32
_reader
= new BinaryReader(stream, Encoding.UTF8, leaveOpen: true);
12 references to _reader
System.Reflection.Metadata (12)
System\Reflection\PortableExecutable\PEBinaryReader.cs (12)
37
get { return (int)(
_reader
.BaseStream.Position - _startOffset); }
43
_reader
.BaseStream.Seek(offset, SeekOrigin.Begin);
48
CheckBounds(
_reader
.BaseStream.Position, count);
49
return
_reader
.ReadBytes(count);
55
return
_reader
.ReadByte();
61
return
_reader
.ReadInt16();
67
return
_reader
.ReadUInt16();
73
return
_reader
.ReadInt32();
79
return
_reader
.ReadUInt32();
85
return
_reader
.ReadUInt64();
114
Debug.Assert(
_reader
.BaseStream.Position >= 0 && _maxOffset >= 0);
117
if ((ulong)
_reader
.BaseStream.Position + count > (ulong)_maxOffset)