60 references to SubXamlMember
System.Xaml.Tests (60)
System\Xaml\XamlMemberTests.cs (59)
398yield return new object?[] { new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), null }; 524var member = new SubXamlMember(typeof(XamlDeferLoadData).GetProperty(propertyName)!, new XamlSchemaContext()); 534var member = new SubXamlMember(typeof(XamlDeferLoadData).GetProperty(propertyName)!, new XamlSchemaContext()); 573yield return new object?[] { new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), null }; 702var member = new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()); 739yield return new object[] { new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), false }; 768new SubXamlMember(typeof(AmbientData).GetProperty(nameof(AmbientData.Property))!, new XamlSchemaContext()), 810new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 863new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 868new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.PrivateGetProperty))!, new XamlSchemaContext()), 873new SubXamlMember(typeof(DataClass).GetProperty("InternalProperty", BindingFlags.Instance | BindingFlags.NonPublic)!, new XamlSchemaContext()), 878new SubXamlMember(typeof(DataClass).GetProperty("ProtectedProperty", BindingFlags.Instance | BindingFlags.NonPublic)!, new XamlSchemaContext()), 883new SubXamlMember(typeof(DataClass).GetProperty("PrivateProperty", BindingFlags.Instance | BindingFlags.NonPublic)!, new XamlSchemaContext()), 888new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.GetOnlyProperty))!, new XamlSchemaContext()), 893new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.SetOnlyProperty))!, new XamlSchemaContext()), 898new SubXamlMember(typeof(PrivateDeclaringType).GetProperty(nameof(PrivateDeclaringType.Property))!, new XamlSchemaContext()), 968new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 973new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.PrivateGetProperty))!, new XamlSchemaContext()), 978new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.GetOnlyProperty))!, new XamlSchemaContext()), 983new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.SetOnlyProperty))!, new XamlSchemaContext()), 1045new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 1105new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 1110new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.PrivateSetProperty))!, new XamlSchemaContext()), 1115new SubXamlMember(typeof(DataClass).GetProperty("InternalProperty", BindingFlags.Instance | BindingFlags.NonPublic)!, new XamlSchemaContext()), 1120new SubXamlMember(typeof(DataClass).GetProperty("ProtectedProperty", BindingFlags.Instance | BindingFlags.NonPublic)!, new XamlSchemaContext()), 1125new SubXamlMember(typeof(DataClass).GetProperty("PrivateProperty", BindingFlags.Instance | BindingFlags.NonPublic)!, new XamlSchemaContext()), 1130new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.GetOnlyProperty))!, new XamlSchemaContext()), 1135new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.SetOnlyProperty))!, new XamlSchemaContext()), 1140new SubXamlMember(typeof(PrivateDeclaringType).GetProperty(nameof(PrivateDeclaringType.Property))!, new XamlSchemaContext()), 1210new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 1215new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.PrivateSetProperty))!, new XamlSchemaContext()), 1220new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.GetOnlyProperty))!, new XamlSchemaContext()), 1225new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.SetOnlyProperty))!, new XamlSchemaContext()), 1284yield return new object?[] { new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), new Dictionary<char, char>() }; 1324new SubXamlMember(typeof(MarkupExtensionBracketCharactersData).GetProperty(nameof(MarkupExtensionBracketCharactersData.Property))!, new XamlSchemaContext()), 1398var member = new SubXamlMember(typeof(MarkupExtensionBracketCharactersData).GetProperty(nameof(MarkupExtensionBracketCharactersData.DuplicateProperty))!, new XamlSchemaContext()); 1418yield return new object[] { new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), DesignerSerializationVisibility.Visible }; 1458new SubXamlMember(typeof(DesignerSerializationVisibilityData).GetProperty(nameof(DesignerSerializationVisibilityData.Property))!, new XamlSchemaContext()), 1529new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 1606new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 1728new SubXamlMember(typeof(TypeConverterData).GetProperty(nameof(TypeConverterData.ClassWithTypeConverterAttribute))!, new XamlSchemaContext()), 1733new SubXamlMember(typeof(TypeConverterData).GetProperty(nameof(TypeConverterData.StructWithTypeConverterAttribute))!, new XamlSchemaContext()), 1738new SubXamlMember(typeof(TypeConverterData).GetProperty(nameof(TypeConverterData.InheritedClassWithTypeConverterAttribute))!, new XamlSchemaContext()), 1814var member = new SubXamlMember(typeof(TypeConverterData).GetProperty(propertyName)!, new XamlSchemaContext()); 1822var member = new SubXamlMember(typeof(TypeConverterData).GetProperty(nameof(TypeConverterData.ClassWithNullStringTypeConverterAttribute))!, new XamlSchemaContext()); 1845new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 1850new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.PrivateGetProperty))!, new XamlSchemaContext()), 1855new SubXamlMember(typeof(DataClass).GetProperty("PrivateProperty", BindingFlags.Instance | BindingFlags.NonPublic)!, new XamlSchemaContext()), 1860new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.SetOnlyProperty))!, new XamlSchemaContext()), 1909new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 1974new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 1979new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.PrivateGetProperty))!, new XamlSchemaContext()), 1984new SubXamlMember(typeof(DataClass).GetProperty("PrivateProperty", BindingFlags.Instance | BindingFlags.NonPublic)!, new XamlSchemaContext()), 1989new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.GetOnlyProperty))!, new XamlSchemaContext()), 2079new SubXamlMember(typeof(ValueSerializerData).GetProperty(nameof(ValueSerializerData.ClassWithValueSerializerAttribute))!, new XamlSchemaContext()), 2084new SubXamlMember(typeof(ValueSerializerData).GetProperty(nameof(ValueSerializerData.StructWithValueSerializerAttribute))!, new XamlSchemaContext()), 2089new SubXamlMember(typeof(ValueSerializerData).GetProperty(nameof(ValueSerializerData.InheritedClassWithValueSerializerAttribute))!, new XamlSchemaContext()), 2163var member = new SubXamlMember(typeof(ValueSerializerData).GetProperty(nameof(ValueSerializerData.ClassWithNullValueSerializerAttribute))!, new XamlSchemaContext()); 2171var member = new SubXamlMember(typeof(ValueSerializerData).GetProperty(nameof(ValueSerializerData.ClassWithNullStringValueSerializerAttribute))!, new XamlSchemaContext());
System\Xaml\XamlMemberTests.Mocks.cs (1)
79public CustomXamlMember(PropertyInfo propertyInfo, XamlSchemaContext schemaContext) : base(propertyInfo, schemaContext) { }