System\Xaml\XamlMemberTests.cs (60)
48yield return new object[] { typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext() };
69yield return new object?[] { typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext(), null };
70yield return new object?[] { typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext(), new XamlMemberInvoker(new XamlMember("name", type, false)) };
324PropertyInfo propertyInfo = typeof(DataClass).GetProperty(nameof(DataClass.Property))!;
362var member = new XamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext());
369var member = new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()) { GetXamlNamespacesResult = new string[] { "namespace1", "namespace2" } };
376var member = new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()) { GetXamlNamespacesResult = Array.Empty<string>() };
383var member = new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()) { GetXamlNamespacesResult = null };
398yield return new object?[] { new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), null };
403new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
414new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
573yield return new object?[] { new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), null };
578new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
582GetCustomAttributesAction = (attributeType, inherit) => new object[] { new DependsOnAttribute(nameof(DataClass.Property))!, new DependsOnAttribute(""), new DependsOnAttribute(nameof(DataClass.Event)) }
585new XamlMember[] { new XamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()) }
589new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
604GetCustomAttributesAction = (attributeType, inherit) => new object[] { new DependsOnAttribute(nameof(DataClass.Property))!, new DependsOnAttribute(""), new DependsOnAttribute(nameof(DataClass.Event)) }
702var member = new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext());
711var member = new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext(), invoker);
739yield return new object[] { new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), false };
744new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
810new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()),
863new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()),
968new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()),
1045new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()),
1075new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
1105new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()),
1210new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()),
1284yield return new object?[] { new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), new Dictionary<char, char>() };
1289new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
1300new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
1418yield return new object[] { new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), DesignerSerializationVisibility.Visible };
1423new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
1434new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
1529new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()),
1576new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
1606new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()),
1693new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
1704new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
1845new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()),
1846typeof(DataClass).GetProperty(nameof(DataClass.Property))!.GetGetMethod(true)!
1887new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
1909new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()),
1910typeof(DataClass).GetProperty(nameof(DataClass.Property))!, typeof(DataClass).GetProperty(nameof(DataClass.Property))!
1974new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()),
1975typeof(DataClass).GetProperty(nameof(DataClass.Property))!.GetSetMethod(true)!
2021new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
2044new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
2055new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
2121var member = new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
2135var member = new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
2149var member = new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext())
2189var member = new XamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext());
2195var member = new XamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext());
2197yield return new object?[] { member, new XamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), true };
2220new XamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()),
2269new XamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()),
2317yield return new object[] { new XamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()) };
2320new XamlMember(new CustomPropertyInfo(typeof(DataClass).GetProperty(nameof(DataClass.Property))!)