public override bool Equals(object obj) { var asStr = obj as QuotedStringValue; if (asStr == null) return false; return asStr.Value == Value; }