I'm not sure why you're disabling 429, but you want to disable 0162 - that's the warning number you're getting:
#pragma warning disable 0162
Always look for the specific warning number in the build output.
(And of course, it's generally not a good idea to disable warnings anyway... try to fix the code rather than disabling the warning.)