Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetSectionData() [2/2]

PEMemoryBlock System.Reflection.PortableExecutable.PEReader.GetSectionData ( string sectionName)
inline

Definition at line 283 of file PEReader.cs.

284 {
285 if (sectionName == null)
286 {
287 Throw.ArgumentNull("sectionName");
288 }
289 int num = PEHeaders.IndexOfSection(sectionName);
290 if (num < 0)
291 {
292 return default(PEMemoryBlock);
293 }
294 return new PEMemoryBlock(GetPESectionBlock(num));
295 }
AbstractMemoryBlock GetPESectionBlock(int index)
Definition PEReader.cs:229

References System.Reflection.Throw.ArgumentNull(), System.Reflection.PortableExecutable.PEReader.GetPESectionBlock(), and System.Reflection.PortableExecutable.PEHeaders.IndexOfSection().