public override string ToString()
{
return "{ "
+
(
Attributes.Count == 0
? ":"
: String.Join
(
", ",
(from a in Attributes select a.ToString())
.Union(from r in References select r.ToString())
.Union(from k in Keys select k.ToString())
)
) + " }";
}