public static void Postfix(ResearchProjectDef __instance, ResearchProjectTagDef tag, ref bool __result)
 {
     // 'Greylist' certain research projects based on start tags - just saves XML work
     if (__result)
     {
         var researchProjectDefExtension = ResearchProjectDefExtension.Get(__instance);
         if (!researchProjectDefExtension.greylistedTags.NullOrEmpty() && researchProjectDefExtension.greylistedTags.Contains(tag))
         {
             __result = false;
         }
     }
 }
 private static bool <NonRedundantResearchProjects> m__3(ResearchProjectTagDef tag)
 {
     return(Find.Scenario.playerFaction.factionDef.startingResearchTags.Contains(tag));
 }