Beispiel #1
0
        // public abstract string GetSignatureForDocumentation(); //TODO:Add DOC
        public virtual string GetSignatureForError()
        {
            if (Parent != null)
            {
                var parent = Parent.GetSignatureForError();
                if (parent == null)
                {
                    return(member_name.GetSignatureForError());
                }

                return(parent + "." + member_name.GetSignatureForError());
            }
            else
            {
                return(member_name.GetSignatureForError());
            }
        }
Beispiel #2
0
        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);
        }