public virtual TResult Visit(MemberType symbol) { if (symbol == null) { return(default(TResult)); } else { return(symbol.Accept <TResult>(this)); } }
public override string DefaultVisit(MemberType type) { // If a type contains a precision value (e.g., datetime2(0)), the brackets must only be around the name part return(Regex.Replace(type.Accept(_typeNameVistor), "^[A-Za-z0-9]+", match => "[" + match.Value + "]")); }