Some warnings are made by the generator twice, once for each stub the generator makes (native, managed). The generator should only warn once.