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

CheckCharLiteralValue() private method

private CheckCharLiteralValue ( CharLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.CharLiteralExpression
return void
        private void CheckCharLiteralValue(CharLiteralExpression node)
        {
            var value = node.Value;
            if (value == null || value.Length != 1)
                Errors.Add(CompilerErrorFactory.InvalidCharLiteral(node, value));
        }
ProcessMethodBodies