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

GeneratorTypeOf() private method

private GeneratorTypeOf ( IType generatorItemType ) : IType
generatorItemType IType
return IType
        private IType GeneratorTypeOf(IType generatorItemType)
        {
            if (generatorItemType == TypeSystemServices.VoidType)
                // cannot use 'void' as a generic argument
                return TypeSystemServices.ErrorEntity;
            return GetConstructedType(TypeSystemServices.IEnumerableGenericType, generatorItemType);
        }
ProcessMethodBodies