Boo.Lang.Compiler.Steps.ProcessMethodBodies.CheckBuiltinUsage C# (CSharp) Method

CheckBuiltinUsage() protected method

protected CheckBuiltinUsage ( ReferenceExpression node, IEntity entity ) : void
node Boo.Lang.Compiler.Ast.ReferenceExpression
entity IEntity
return void
        protected virtual void CheckBuiltinUsage(ReferenceExpression node, IEntity entity)
        {
            if (!AstUtil.IsTargetOfMethodInvocation(node))
            {
                Error(node, CompilerErrorFactory.BuiltinCannotBeUsedAsExpression(node, entity.Name));
            }
        }
ProcessMethodBodies