I use GhostDoc
for the XML-Docum开发者_StackOverflow中文版entation of my code, and it has a neat "auto-document"-function I use quite often, so now I used it on an enumeration and it came up with some strange hash-code I don't quite understand.
What is it for? Looks sort of like this:
{35A90EBF-F421-44A3-BE3A-47C72AFE47FE}
I just discovered the same, and I think it is a bug in GhostDoc. Funningly enough, it only happens (in my machine) when your enum values are all in the same line, i.e., something like this:
enum GhostDocBug {
Funny, Guid, Appearing
}
If you put each value in its own line, it goes away
this is a String representation of a Guid. See the System.Guid type for more details.
Guids are essentially random codes (some types of Guids depend on MAC-Address or time though) which is so unlikely to occur again in this corner of SpaceTime that is can be considered to be unique in all Creation.
精彩评论