Are there any rules that preclude this action?

I know weapons with the Ammunition property are forbidden per this line and [this question](

> If you use a weapon that has the ammunition property to make a melee attack, you treat the weapon as an improvised weapon .

... but what about darts and nets?