Boo.Lang.Compiler.CompilerErrorFactory.InvalidGeneratorReturnType C# (CSharp) Method

InvalidGeneratorReturnType() public static method

public static InvalidGeneratorReturnType ( Node node, IType type ) : CompilerError
node Node
type IType
return CompilerError
        public static CompilerError InvalidGeneratorReturnType(Node node, IType type)
        {
            return Instantiate("BCE0101", node, type, LanguageAmbiance.DefaultGeneratorTypeFor(type.DisplayName()));
        }
CompilerErrorFactory