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