Boo.Lang.Compiler.Steps.TransformCallableDefinitions.CreateRuntimeMethod C# (CSharp) Метод

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

private CreateRuntimeMethod ( string name, TypeReference returnType ) : Method
name string
returnType Boo.Lang.Compiler.Ast.TypeReference
Результат Boo.Lang.Compiler.Ast.Method
        Method CreateRuntimeMethod(string name, TypeReference returnType)
        {
            Method method = new Method();
            method.Name = name;
            method.ReturnType = returnType;
            method.Modifiers = TypeMemberModifiers.Public|TypeMemberModifiers.Virtual;
            method.ImplementationFlags = MethodImplementationFlags.Runtime;
            return method;
        }