public virtual void GetPEKind(out PortableExecutableKinds peKind, out ImageFileMachine machine) { RuntimeModule module = this as RuntimeModule; if (module != null) { module.GetPEKind(out peKind, out machine); } throw new NotImplementedException(); }
public virtual void GetPEKind(out PortableExecutableKinds peKind, out ImageFileMachine machine) { // This API was made virtual in V4. Code compiled against V2 might use // "call" rather than "callvirt" to call it. // This makes sure those code still works. RuntimeModule rtModule = this as RuntimeModule; if (rtModule != null) { rtModule.GetPEKind(out peKind, out machine); } throw new NotImplementedException(); }
void GetPEKind(out PortableExecutableKinds peKind, out ImageFileMachine machine) { RuntimeModule.GetPEKind(_impl, out peKind, out machine); }