You can use /nowarn [error number] but it's applied globally.

Jim

> -----Original Message-----
> From: Dejan Jelovic [mailto:[EMAIL PROTECTED]]
> Sent: 18 April 2002 10:27
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] Supressing warnings
>
>
> Is there a way to suppress a particular warning for some part
> of code when
> using the C# compiler? Something like VC++'s #pragma warn?
>
> Thanks,
> Dejan
>
> www.jelovic.com
>
> You can read messages from the DOTNET archive, unsubscribe
> from DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.
>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to