3 instantiations of RelationshipEntry
System.ComponentModel.TypeConverter (3)
System\ComponentModel\Design\Serialization\MemberRelationshipService.cs (3)
96
if (_relationships.TryGetValue(new
RelationshipEntry
(source), out RelationshipEntry retVal) && retVal._owner.IsAlive)
116
_relationships[new
RelationshipEntry
(source)] = new
RelationshipEntry
(relationship);
13 references to RelationshipEntry
System.ComponentModel.TypeConverter (13)
System\ComponentModel\Design\Serialization\MemberRelationshipService.cs (13)
29
private readonly Dictionary<
RelationshipEntry
,
RelationshipEntry
> _relationships = new Dictionary<
RelationshipEntry
,
RelationshipEntry
>();
96
if (_relationships.TryGetValue(new RelationshipEntry(source), out
RelationshipEntry
retVal) && retVal._owner.IsAlive)
136
private struct RelationshipEntry : IEquatable<
RelationshipEntry
>
151
Debug.Assert(o is
RelationshipEntry
, "This is only called indirectly from a dictionary only containing RelationshipEntry structs.");
152
return Equals((
RelationshipEntry
)o);
155
public bool Equals(
RelationshipEntry
other)
162
public static bool operator ==(
RelationshipEntry
re1,
RelationshipEntry
re2) => re1.Equals(re2);
164
public static bool operator !=(
RelationshipEntry
re1,
RelationshipEntry
re2) => !re1.Equals(re2);