private static PEInfo GetPEInfo(string fullPath) { bool isManaged = ContentUtil.IsManaged(fullPath); if (!isManaged) { return(new PEInfo(isManaged)); } bool isCrossgened = ContentUtil.IsCrossgened(fullPath); string publicKeyToken = ContentUtil.GetPublicKeyToken(fullPath); GetTargetFrameworkAndCopyright(fullPath, out string targetFramework, out string copyright); return(new PEInfo(isManaged, isCrossgened, copyright, publicKeyToken, targetFramework)); }