public string DebugLog() { var iter = from item in Parameters select item.DebugLog(); var param = string.Join(", ", iter); var returnType = Return.DebugLog(); if (ReturnIsPointer) { returnType += "*"; } return(string.Format("{0} {1} ({2})", returnType, Name, param)); }
public string DebugLog() { if (Type == null) { return(""); } var log = Type.DebugLog(); if (IsPointer) { log += "*"; } return(log + " " + Name); }