Boo.Lang.Compiler.Steps.EmitAssembly.GetFromDecimalConversionMethod C# (CSharp) Метод

GetFromDecimalConversionMethod() приватный Метод

private GetFromDecimalConversionMethod ( IType type ) : MethodInfo
type IType
Результат System.Reflection.MethodInfo
        MethodInfo GetFromDecimalConversionMethod(IType type)
        {
            string toType = "To" + type.Name;

            MethodInfo method =
                typeof(Decimal).GetMethod(toType, new Type[] { typeof(Decimal) });
            if (method == null)
            {
                NotImplemented(string.Format("Numeric promotion for decimal to {0} not implemented!", type));
            }
            return method;
        }
EmitAssembly