[.net] using the & symbol in xml comments...

Started by
1 comment, last by devronious 17 years, 1 month ago
I have the following xml comment in my c# code: if (l != null && l.layer == DrawLayer.OutsideBackground) The only prob is that I get an error: Warning 1 XML comment on 'WintschLabs.DirectX.DirectForms.SkinFrame' has badly formed XML -- 'A name was started with an invalid character.' C:\Projects\WintschLabs\DirectForms - Release 2\Base.cs 605 39 DirectForms r2 I think it's thinking that the & is supposed to mean something special. So what do I do so that I can use it as just a comment? Thanks in advance, Devin
Advertisement
Have you tried & ?
That was it. Thanks for the knowledge.

-Devin

This topic is closed to new replies.

Advertisement