Boo.Lang.Compiler.TypeSystem.TypeSystemServices.IsDuckType C# (CSharp) Method

IsDuckType() public method

public IsDuckType ( IType type ) : bool
type IType
return bool
        public bool IsDuckType(IType type)
        {
            if (type == null) throw new ArgumentNullException("type");
            if (type == DuckType) return true;
            if (type == ObjectType && _context.Parameters.Ducky) return true;
            return KnowsQuackFu(type);
        }
TypeSystemServices