private GetResolvedMethod ( IType type, string name ) : IMethod | ||
type | IType | |
name | string | |
return | IMethod |
private IMethod GetResolvedMethod(IType type, string name)
{
IMethod method = NameResolutionService.ResolveMethod(type, name);
if (null == method) throw new System.ArgumentException(string.Format("Method '{0}' not found in type '{1}'", type, name));
return method;
}
#endregion