Advertisement Jump to content
Sign in to follow this  

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

This topic is 4333 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!