Sign in to follow this  

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

Recommended Posts

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

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this