Why don't you try it and let us know, instead ? I don't do much
conditional stuff, but my guess would be : No. What sayest thou ?
Why, you ask ? I'd say it was because the method call would be
compiled to IL only in a Debug build.
On Oct 29, 11:25 pm, oddvark <[EMAIL PROTECTED]> wrote:
> Hi,
>
> If a method is marked condtional and has a parameter, is the parameter
> not evaluated if the condition is false?
>
> for example (pseudo code):
>
> ===============
> [Conditional : Debug]
>
> public void DebugOut(string message)
> {
> xxxx
>
> }
>
> xxxx
>
> DebugOut( GetSongName(1) )
>
> ==============
>
> Does GetSongName still get called if Debug is false?
>
> Thanks.