Boo.Lang.Compiler.Steps.ProcessMethodBodies.AssertParameters C# (CSharp) Метод

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

private AssertParameters ( Node sourceNode, IEntity sourceEntity, ICallableType method, Boo.Lang.Compiler.Ast.ExpressionCollection args ) : bool
sourceNode Node
sourceEntity IEntity
method ICallableType
args Boo.Lang.Compiler.Ast.ExpressionCollection
Результат bool
        bool AssertParameters(Node sourceNode, IEntity sourceEntity, ICallableType method, ExpressionCollection args)
        {
            if (CheckParameters(method, args, true))
                return true;

            if (IsLikelyMacroExtensionMethodInvocation(sourceEntity))
                Error(CompilerErrorFactory.MacroExpansionError(sourceNode));
            else
                Error(CompilerErrorFactory.MethodSignature(sourceNode, sourceEntity, GetSignature(args)));
            return false;
        }

Same methods

ProcessMethodBodies::AssertParameters ( Node sourceNode, IMethod method, Boo.Lang.Compiler.Ast.ExpressionCollection args ) : bool
ProcessMethodBodies