17 references to ReadUInt16
System.Reflection.Metadata (17)
System\Reflection\PortableExecutable\CoffHeader.cs (2)
57
Machine = (Machine)reader.
ReadUInt16
();
63
Characteristics = (Characteristics)reader.
ReadUInt16
();
System\Reflection\PortableExecutable\CorHeader.cs (2)
25
MajorRuntimeVersion = reader.
ReadUInt16
();
26
MinorRuntimeVersion = reader.
ReadUInt16
();
System\Reflection\PortableExecutable\PEHeader.cs (9)
286
PEMagic magic = (PEMagic)reader.
ReadUInt16
();
323
MajorOperatingSystemVersion = reader.
ReadUInt16
();
324
MinorOperatingSystemVersion = reader.
ReadUInt16
();
325
MajorImageVersion = reader.
ReadUInt16
();
326
MinorImageVersion = reader.
ReadUInt16
();
327
MajorSubsystemVersion = reader.
ReadUInt16
();
328
MinorSubsystemVersion = reader.
ReadUInt16
();
336
Subsystem = (Subsystem)reader.
ReadUInt16
();
337
DllCharacteristics = (DllCharacteristics)reader.
ReadUInt16
();
System\Reflection\PortableExecutable\PEHeaders.cs (2)
252
ushort dosSig = reader.
ReadUInt16
();
260
if (dosSig != 0 || reader.
ReadUInt16
() != 0xffff)
System\Reflection\PortableExecutable\SectionHeader.cs (2)
98
NumberOfRelocations = reader.
ReadUInt16
();
99
NumberOfLineNumbers = reader.
ReadUInt16
();