private static string WriteMethodsToPreserveBlackList(string stagingAreaData, RuntimeClassRegistry rcr) { string path = (!Path.IsPathRooted(stagingAreaData) ? Directory.GetCurrentDirectory() + "/" : string.Empty) + stagingAreaData + "/methods_pointedto_by_uievents.xml"; File.WriteAllText(path, AssemblyStripper.GetMethodPreserveBlacklistContents(rcr)); return(path); }
private static string WriteMethodsToPreserveBlackList(RuntimeClassRegistry rcr, BuildTarget target) { string tempFileName = Path.GetTempFileName(); File.WriteAllText(tempFileName, AssemblyStripper.GetMethodPreserveBlacklistContents(rcr, target)); return(tempFileName); }