5 instantiations of MemberRelationship
System.ComponentModel.TypeConverter (3)
System\ComponentModel\Design\Serialization\MemberRelationshipService.cs (3)
79
return GetRelationship(new
MemberRelationship
(sourceOwner, sourceMember));
86
SetRelationship(new
MemberRelationship
(sourceOwner, sourceMember), value);
98
return new
MemberRelationship
(retVal._owner.Target!, retVal._member);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
1593
MemberRelationship source =
new
(lhs, p);
1594
MemberRelationship target =
new
(rhsPropTarget, rhsProp);
34 references to MemberRelationship
netstandard (1)
netstandard.cs (1)
289
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.Serialization.
MemberRelationship
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
275
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.Serialization.
MemberRelationship
))]
System.ComponentModel.TypeConverter (21)
System\ComponentModel\Design\Serialization\MemberRelationshipService.cs (21)
37
public
MemberRelationship
this[
MemberRelationship
source]
72
public
MemberRelationship
this[object sourceOwner, MemberDescriptor sourceMember]
94
protected virtual
MemberRelationship
GetRelationship(
MemberRelationship
source)
101
return
MemberRelationship
.Empty;
109
protected virtual void SetRelationship(
MemberRelationship
source,
MemberRelationship
relationship)
121
private static void ThrowRelationshipNotSupported(
MemberRelationship
source,
MemberRelationship
relationship)
131
public abstract bool SupportsRelationship(
MemberRelationship
source,
MemberRelationship
relationship);
142
internal RelationshipEntry(
MemberRelationship
rel)
173
public readonly struct MemberRelationship : IEquatable<
MemberRelationship
>
175
public static readonly
MemberRelationship
Empty;
207
public override bool Equals([NotNullWhen(true)] object? obj) => obj is
MemberRelationship
rel && Equals(rel);
212
public bool Equals(
MemberRelationship
other) => other.Owner == Owner && other.Member == Member;
222
public static bool operator ==(
MemberRelationship
left,
MemberRelationship
right) => left.Equals(right);
227
public static bool operator !=(
MemberRelationship
left,
MemberRelationship
right) => !left.Equals(right);
System.Windows.Forms.Design (11)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (2)
162
if (manager.TryGetService(out MemberRelationshipService? relationships) && relationships[comp, prop] !=
MemberRelationship
.Empty)
164
relationships[comp, prop] =
MemberRelationship
.Empty;
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (5)
1583
MemberRelationship
oldRelation =
MemberRelationship
.Empty;
1593
MemberRelationship
source = new(lhs, p);
1594
MemberRelationship
target = new(rhsPropTarget, rhsProp);
1607
relationships[lhs, p] =
MemberRelationship
.Empty;
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (4)
301
MemberRelationship
relationship = relationships[value, property];
303
if (relationship !=
MemberRelationship
.Empty)
407
MemberRelationship
relationship = relationships[value, descriptor];
409
if (relationship !=
MemberRelationship
.Empty)