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

AssertUniqueLocal() защищенный Метод

protected AssertUniqueLocal ( Boo.Lang.Compiler.Ast.Declaration d ) : bool
d Boo.Lang.Compiler.Ast.Declaration
Результат bool
        protected bool AssertUniqueLocal(Declaration d)
        {
            if (null == _currentMethod.ResolveLocal(d.Name) &&
                null == _currentMethod.ResolveParameter(d.Name))
                return true;
            Error(CompilerErrorFactory.LocalAlreadyExists(d, d.Name));
            return false;
        }
ProcessMethodBodies