VS 2010 Class Diagram Error "The type cannot be edited..."

Posted by Eric J. on Stack Overflow See other posts from Stack Overflow or by Eric J.
Published on 2010-05-30T05:20:25Z Indexed on 2010/05/30 5:22 UTC
Read the original article Hit count: 320

A few of the classes on a VS 2010 class diagram are displayed with a red title. The Class Details window shows all of the methods, properties, fields and correctly shows no events. However, there's an entry under each of methods, properties, fields and events that states where the name should be:

"The type cannot be edited because the source code file contains an error."

However, the source file builds with no errors or warnings.

Anyone seen this? Any idea how to fix it?

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about class-diagram