public bool Accepts(IType rtype) { if (rtype.DeTuple() is IntegerType) { var inttype = (IntegerType)rtype.DeTuple(); if (inttype.min >= min && inttype.max <= max) { return true; } } return false; }