public override string ToString() { StringBuilder sb = new StringBuilder(); sb.AppendLine("********************************************************************"); sb.AppendLine("ROUTINE:"); sb.AppendLine("- Description: " + description); sb.AppendLine("- Functions: " + Functions.Count); sb.AppendLine("- Global variables: " + GlobalVariables.Count); sb.AppendLine(" - Original:" + GlobalVariables.Count(x => !x.fake)); sb.AppendLine(" - Fake:" + GlobalVariables.Count(x => x.fake)); sb.AppendLine("********************************************************************"); //sb.AppendLine("GLOBAL VARIABLES:"); //foreach (Variable var in GlobalVariables) //{ // sb.AppendLine(var.ToString()); //} //sb.AppendLine("********************************************************************"); sb.AppendLine("FUNCTIONS:"); foreach (Function func in Functions) { sb.Append(func.ToString()); } return(sb.ToString()); }