public MethodSpec impl_meth; // the implementation of the method public override string ToString() { if (unimpl_meth == null) { return("{null}"); } else if (impl_meth == null) { return(unimpl_meth.ToString()); } else { return(unimpl_meth.ToString() + " (" + impl_meth.ToString() + ")"); } }
public mapping SpecToMethodInfos(MethodSpec spec) { mapping result; if (methodMap.TryGetValue(spec, out result)) { return(result); } throw new ServerContractException(StringConsts.GLUE_ENDPOINT_MSPEC_NOT_FOUND_ERROR.Args(ServerEndPoint.Name, Contract.FullName, spec.ToString())); }