// // Returns full member name for error message // public virtual string GetSignatureForError() { var parent = Parent.GetSignatureForError(); if (parent == null) { return(member_name.GetSignatureForError()); } return(parent + "." + member_name.GetSignatureForError()); }
public string GetSignatureForError() { string s = TypeParameters == null ? null : "<" + TypeParameters.GetSignatureForError() + ">"; s = Name + s; if (ExplicitInterface != null) { s = ExplicitInterface.GetSignatureForError() + "." + s; } if (Left == null) { return(s); } return(Left.GetSignatureForError() + "." + s); }