System\Xaml\AttachableMemberIdentifierTests.cs (15)
18var identifier = new AttachableMemberIdentifier(declaringType, memberName);
25var identifier = new AttachableMemberIdentifier(typeof(int), "memberName");
27yield return new object?[] { identifier, new AttachableMemberIdentifier(typeof(int), "memberName"), true };
28yield return new object?[] { identifier, new AttachableMemberIdentifier(typeof(string), "memberName"), false };
29yield return new object?[] { identifier, new AttachableMemberIdentifier(null, "memberName"), false };
30yield return new object?[] { identifier, new AttachableMemberIdentifier(typeof(int), "otherMemberName"), false };
31yield return new object?[] { identifier, new AttachableMemberIdentifier(typeof(int), null), false };
32yield return new object?[] { new AttachableMemberIdentifier(null, null), new AttachableMemberIdentifier(null, null), true };
33yield return new object?[] { new AttachableMemberIdentifier(null, null), new AttachableMemberIdentifier(typeof(int), null), false };
34yield return new object?[] { new AttachableMemberIdentifier(null, null), new AttachableMemberIdentifier(null, "memberName"), false };
69yield return new object[] { new AttachableMemberIdentifier(null, "memberName"), "memberName" };
70yield return new object[] { new AttachableMemberIdentifier(typeof(int), "memberName"), "System.Int32.memberName" };