public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append(Command.ToString()); sb.Append("<"); sb.Append(string.Join <TypeDescriptor>(", ", OperandTypes)); sb.Append(" => "); sb.Append(string.Join <TypeDescriptor>(", ", ResultTypes)); sb.Append(">"); if (Preds.Length > 0) { sb.Append(" "); sb.Append(string.Join <InstructionDependency>(", ", Preds)); } if (CILRef != null) { sb.Append(" {"); sb.Append(CILRef.ToString()); sb.Append("}"); } return(sb.ToString()); }
public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append(Command.ToString()); sb.Append(" ("); sb.Append(string.Join(", ", OperandSlots)); sb.Append(") => ("); sb.Append(string.Join(", ", ResultSlots)); sb.Append(")"); if (Preds.Length > 0) { sb.Append(" "); sb.Append(string.Join <InstructionDependency>(", ", Preds)); } if (CILRef != null) { sb.Append(" {"); sb.Append(CILRef.ToString()); sb.Append("}"); } return(sb.ToString()); }