Re: UNREFERENCED_PARAMETER for C#?
- From: "Ben Voigt" <rbv@xxxxxxxxxxxxx>
- Date: Wed, 24 Jan 2007 11:25:12 -0600
"zxli" <imzxli@xxxxxxxxxxx> wrote in message
news:%232tgK%233PHHA.3624@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,
Is there an UNREFERENCED_PARAMETER alike macro in C#?
There are no macros in C#, only preprocessor variables.
I don't think C# generates warnings for unused parameters, only unused local
variables. If it does, try giving the parameter a type but no variable name
(that eliminates the warning in C/C++).
Thanks
zxli
.
- References:
- UNREFERENCED_PARAMETER for C#?
- From: zxli
- UNREFERENCED_PARAMETER for C#?
- Prev by Date: Windows Service Project
- Next by Date: Re: how do you do freehand drawing on a panel
- Previous by thread: UNREFERENCED_PARAMETER for C#?
- Next by thread: Adding reference of my project to testing application
- Index(es):