9 types derived from XamlSchemaContext
PresentationFramework (6)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
28internal partial class Baml2006SchemaContext : XamlSchemaContext
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
11internal partial class Baml2006SchemaContext : XamlSchemaContext
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
9partial class WpfSharedBamlSchemaContext: XamlSchemaContext
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10partial class WpfSharedBamlSchemaContext : XamlSchemaContext
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
26partial class WpfSharedBamlSchemaContext: XamlSchemaContext
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
16internal class XamlTypeMapperSchemaContext : XamlSchemaContext
System.Xaml.Tests (3)
System\Xaml\Replacements\TypeTypeConverterTests.cs (1)
344private class CustomXamlSchemaContext : XamlSchemaContext
System\Xaml\XamlSchemaContextTests.cs (1)
1024private class CustomXamlSchemaContext : XamlSchemaContext
System\Xaml\XamlTypeTests.cs (1)
5288private class CustomXamlSchemaContext : XamlSchemaContext
1569 instantiations of XamlSchemaContext
System.Xaml (4)
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
221schemaContext = new XamlSchemaContext();
System\Xaml\XamlLanguage.cs (1)
438XamlSchemaContext result = new XamlSchemaContext(assemblies, settings);
System\Xaml\XamlObjectReader.cs (1)
36: this(instance, new XamlSchemaContext(), settings)
System\Xaml\XamlServices.cs (1)
180using (XamlXmlWriter xamlWriter = new XamlXmlWriter(writer, new XamlSchemaContext()))
System.Xaml.Tests (1565)
System\Windows\Markup\XamlSetMarkupExtensionEventArgsTests.cs (1)
14var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Windows\Markup\XamlSetTypeConverterEventArgsTests.cs (1)
16var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Windows\Markup\XamlSetValueEventArgsTests.cs (1)
14var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Xaml\AmbientPropertyValueTests.cs (1)
14var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Xaml\Replacements\DateTimeConverter2Tests.cs (8)
22var type = new XamlType(typeof(DateTime), new XamlSchemaContext()); 41var type = new XamlType(typeof(DateTime), new XamlSchemaContext()); 51var type = new XamlType(typeof(DateTime), new XamlSchemaContext()); 63var type = new XamlType(typeof(DateTime), new XamlSchemaContext()); 82var type = new XamlType(typeof(DateTime), new XamlSchemaContext()); 92var type = new XamlType(typeof(DateTime), new XamlSchemaContext()); 102var type = new XamlType(typeof(DateTime), new XamlSchemaContext()); 110var type = new XamlType(typeof(DateTime), new XamlSchemaContext());
System\Xaml\Replacements\DateTimeOffsetConverter2Tests.cs (9)
24var type = new XamlType(typeof(DateTimeOffset), new XamlSchemaContext()); 41var type = new XamlType(typeof(DateTimeOffset), new XamlSchemaContext()); 51var type = new XamlType(typeof(DateTimeOffset), new XamlSchemaContext()); 63var type = new XamlType(typeof(DateTimeOffset), new XamlSchemaContext()); 78var type = new XamlType(typeof(DateTimeOffset), new XamlSchemaContext()); 87var type = new XamlType(typeof(DateTimeOffset), new XamlSchemaContext()); 101var type = new XamlType(typeof(DateTimeOffset), new XamlSchemaContext()); 110var type = new XamlType(typeof(DateTimeOffset), new XamlSchemaContext()); 118var type = new XamlType(typeof(DateTimeOffset), new XamlSchemaContext());
System\Xaml\Replacements\EventConverterTests.cs (10)
21var type = new XamlType(typeof(Delegate), new XamlSchemaContext()); 29var type = new XamlType(typeof(Delegate), new XamlSchemaContext()); 68var type = new XamlType(typeof(Delegate), new XamlSchemaContext()); 103var type = new XamlType(typeof(Delegate), new XamlSchemaContext()); 130var type = new XamlType(typeof(Delegate), new XamlSchemaContext()); 140var type = new XamlType(typeof(Delegate), new XamlSchemaContext()); 153var type = new XamlType(typeof(Delegate), new XamlSchemaContext()); 163var type = new XamlType(typeof(Delegate), new XamlSchemaContext()); 173var type = new XamlType(typeof(Delegate), new XamlSchemaContext()); 182var type = new XamlType(typeof(Delegate), new XamlSchemaContext());
System\Xaml\Replacements\TypeListConverterTests.cs (7)
20var type = new XamlType(typeof(Type[]), new XamlSchemaContext()); 28var type = new XamlType(typeof(Type[]), new XamlSchemaContext()); 39var type = new XamlType(typeof(Type[]), new XamlSchemaContext()); 52var type = new XamlType(typeof(Type[]), new XamlSchemaContext()); 62var type = new XamlType(typeof(Type[]), new XamlSchemaContext()); 71var type = new XamlType(typeof(Type[]), new XamlSchemaContext()); 79var type = new XamlType(typeof(Type[]), new XamlSchemaContext());
System\Xaml\Replacements\TypeTypeConverterTests.cs (18)
22var type = new XamlType(typeof(Type), new XamlSchemaContext()); 30var type = new XamlType(typeof(Type), new XamlSchemaContext()); 55var type = new XamlType(typeof(Type), new XamlSchemaContext()); 71var type = new XamlType(typeof(Type), new XamlSchemaContext()); 81var type = new XamlType(typeof(Type), new XamlSchemaContext()); 94var type = new XamlType(typeof(Type), new XamlSchemaContext()); 102var type = new XamlType(typeof(Type), new XamlSchemaContext()); 112SchemaContextResult = new XamlSchemaContext() 138var type = new XamlType(typeof(Type), new XamlSchemaContext()); 150GetXamlTypeAction = (type) => new XamlType(typeof(short), new XamlSchemaContext()) 177var type = new XamlType(typeof(Type), new XamlSchemaContext()); 207var type = new XamlType(typeof(Type), new XamlSchemaContext()); 225var type = new XamlType(typeof(Type), new XamlSchemaContext()); 235SchemaContextResult = new XamlSchemaContext() 249var expectedType = new XamlType(typeof(int), new XamlSchemaContext()); 258var type = new XamlType(typeof(Type), new XamlSchemaContext()); 268var type = new XamlType(typeof(Type), new XamlSchemaContext()); 277var type = new XamlType(typeof(Type), new XamlSchemaContext());
System\Xaml\Replacements\TypeUriConverterTests.cs (2)
32var normalType = new XamlType(typeof(Uri), new XamlSchemaContext()); 39var type = new XamlType(typeof(Uri), new XamlSchemaContext());
System\Xaml\Schema\XamlMemberInvokerTests.cs (15)
24var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 36var member = new XamlMember("StaticProperty", getter, setter, new XamlSchemaContext()); 62var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 72var member = new XamlMember(property, new XamlSchemaContext()); 83var member = new XamlMember("StaticProperty", getter, setter, new XamlSchemaContext()); 99var member = new XamlMember("StaticProperty", null, setter, new XamlSchemaContext()); 116var member = new XamlMember(property, new XamlSchemaContext()); 128var member = new XamlMember("StaticProperty", getter, setter, new XamlSchemaContext()); 145var member = new XamlMember("StaticProperty", getter, null, new XamlSchemaContext()); 166var member = new XamlMember(property, new XamlSchemaContext()); 181var member = new XamlMember(nameof(SerializeClass.AttachablePublicProperty), getter, setter, new XamlSchemaContext()); 196var member = new XamlMember(nameof(SerializeClass.AttachablePrivateProperty), getter, setter, new XamlSchemaContext()); 211var member = new CustomTargetType(nameof(SerializeClass.AttachableCustomProperty), getter, setter, new XamlSchemaContext()); 221var member = new XamlMember(property, new XamlSchemaContext()); 284return new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Xaml\Schema\XamlTypeInvokerTests.cs (71)
27var type = new XamlType(typeof(ClassWithAttributes), new XamlSchemaContext()); 51var invoker = new XamlTypeInvoker(new XamlType(typeof(ListAddGetEnumeratorClass), new XamlSchemaContext())); 78yield return new object[] { new XamlTypeInvoker(new XamlType("namespace", "name", null, new XamlSchemaContext())) }; 91var invoker = new XamlTypeInvoker(new XamlType(typeof(object), new XamlSchemaContext())); 98var invoker = new XamlTypeInvoker(new XamlType(typeof(List<int>), new XamlSchemaContext())); 105var invoker = new XamlTypeInvoker(new XamlType(typeof(DictionaryAddGetEnumeratorClass), new XamlSchemaContext())); 141var invoker = new XamlTypeInvoker(new XamlType(typeof(object), new XamlSchemaContext())); 148var invoker = new XamlTypeInvoker(new XamlType(typeof(Dictionary<object, int>), new XamlSchemaContext())); 155var invoker = new XamlTypeInvoker(new XamlType(typeof(PublicClass), new XamlSchemaContext())); 163var invoker = new XamlTypeInvoker(new XamlType(typeof(PublicClass), new XamlSchemaContext())); 170var invoker = new XamlTypeInvoker(new XamlType(typeof(PrivateClass), new XamlSchemaContext())); 178var invoker = new XamlTypeInvoker(new XamlType(typeof(int), new XamlSchemaContext())); 194var invoker = new XamlTypeInvoker(new XamlType(typeof(NoDefaultConstructorClass), new XamlSchemaContext())); 224new XamlType(typeof(int), new XamlSchemaContext()), 229new XamlTypeInvoker(new XamlType("namespace", "name", null, new XamlSchemaContext())), 230new XamlType(typeof(int), new XamlSchemaContext()), 235new XamlTypeInvoker(new XamlType(typeof(int), new XamlSchemaContext())), 236new XamlType(typeof(int), new XamlSchemaContext()), 243new XamlTypeInvoker(new XamlType(typeof(List<int>), new XamlSchemaContext())), 244new XamlType(typeof(int), new XamlSchemaContext()), 249new XamlTypeInvoker(new XamlType(typeof(List<Array>), new XamlSchemaContext())), 250new XamlType(typeof(int[]), new XamlSchemaContext()), 255new XamlTypeInvoker(new XamlType(typeof(List<Array>), new XamlSchemaContext())), 256new XamlType(typeof(object), new XamlSchemaContext()), 261new XamlTypeInvoker(new XamlType(typeof(List<int>), new XamlSchemaContext())), 262new XamlType(typeof(string), new XamlSchemaContext()), 267new XamlTypeInvoker(new XamlType(typeof(ListAddGetEnumeratorClass), new XamlSchemaContext())), 268new XamlType(typeof(object), new XamlSchemaContext()), 273new XamlTypeInvoker(new XamlType(typeof(Dictionary<int, string>), new XamlSchemaContext())), 274new XamlType(typeof(int[]), new XamlSchemaContext()), 279new XamlTypeInvoker(new XamlType(typeof(Dictionary<int, string>), new XamlSchemaContext())), 280new XamlType(typeof(KeyValuePair<int, string>), new XamlSchemaContext()), 285new XamlTypeInvoker(new XamlType(typeof(DictionaryAddGetEnumeratorClass), new XamlSchemaContext())), 286new XamlType(typeof(object), new XamlSchemaContext()), 295new XamlTypeInvoker(new XamlType(type, new XamlSchemaContext())), 296new XamlType(typeof(int), new XamlSchemaContext()), 301new XamlTypeInvoker(new XamlType(type, new XamlSchemaContext())), 302new XamlType(typeof(string), new XamlSchemaContext()), 307new XamlTypeInvoker(new CustomXamlType(type, new XamlSchemaContext()) 311new XamlType(typeof(string), new XamlSchemaContext()), 312new XamlType(typeof(Array), new XamlSchemaContext()), 313new XamlType(typeof(short), new XamlSchemaContext()) 316new XamlType(typeof(string), new XamlSchemaContext()), 321new XamlTypeInvoker(new XamlType(type, new XamlSchemaContext())), 322new XamlType(typeof(Array), new XamlSchemaContext()), 327new XamlTypeInvoker(new XamlType(type, new XamlSchemaContext())), 328new XamlType(typeof(int[]), new XamlSchemaContext()), 333new XamlTypeInvoker(new CustomXamlType(type, new XamlSchemaContext()) 337new XamlType(typeof(string), new XamlSchemaContext()), 338new XamlType(typeof(Array), new XamlSchemaContext()), 339new XamlType(typeof(double), new XamlSchemaContext()) 342new XamlType(typeof(int[]), new XamlSchemaContext()), 347new XamlTypeInvoker(new CustomXamlType(type, new XamlSchemaContext()) 351new XamlType(typeof(string), new XamlSchemaContext()), 352new XamlType(typeof(Array), new XamlSchemaContext()), 353new XamlType(typeof(double), new XamlSchemaContext()) 356new XamlType(typeof(double), new XamlSchemaContext()), 361new XamlTypeInvoker(new CustomXamlType(type, new XamlSchemaContext()) 365new XamlType(typeof(string), new XamlSchemaContext()), 366new XamlType(typeof(Array), new XamlSchemaContext()), 367new XamlType(typeof(double), new XamlSchemaContext()) 370new XamlType(typeof(object), new XamlSchemaContext()), 452new XamlTypeInvoker(new XamlType("namespace", "name", null, new XamlSchemaContext())), 457new XamlTypeInvoker(new XamlType(typeof(int), new XamlSchemaContext())), 464new XamlTypeInvoker(new XamlType(typeof(ICollection<int>), new XamlSchemaContext())), 469new XamlTypeInvoker(new XamlType(typeof(List<int>), new XamlSchemaContext())), 474new XamlTypeInvoker(new XamlType(typeof(GetEnumeratorClass), new XamlSchemaContext())), 479new XamlTypeInvoker(new XamlType(typeof(BadReturnGetEnumeratorClass), new XamlSchemaContext())), 484new XamlTypeInvoker(new XamlType(typeof(TooManyParametersGetEnumeratorClass), new XamlSchemaContext())), 500var invoker = new XamlTypeInvoker(new XamlType(typeof(GetEnumeratorClass), new XamlSchemaContext())); 534var invoker = new XamlTypeInvoker(new XamlType(typeof(object), new XamlSchemaContext()));
System\Xaml\Schema\XamlTypeNameTests.cs (3)
55var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 65var typeArgument = new XamlType("typeNamespace", "typeName", null, new XamlSchemaContext()); 66var type = new XamlType("unknownTypeNamespace", "unknownTypeName", new XamlType[] { typeArgument }, new XamlSchemaContext());
System\Xaml\Schema\XamlTypeTypeConverterTests.cs (6)
27var context = new XamlSchemaContext(); 108SchemaContextResult = new XamlSchemaContext() 225var type = new XamlType(typeof(int), new XamlSchemaContext()); 248var type = new XamlType(typeof(int), new XamlSchemaContext()); 267var type = new XamlType(typeof(int), new XamlSchemaContext()); 276var type = new XamlType(typeof(int), new XamlSchemaContext());
System\Xaml\Schema\XamlValueConverterTests.cs (8)
15var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 32var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 59var type = new XamlType(typeof(string), new XamlSchemaContext()); 68var type = new XamlType(typeof(ConsoleColor), new XamlSchemaContext()); 77var type = new XamlType(typeof(ConsoleColor), new XamlSchemaContext()); 85var type = new XamlType(typeof(string), new XamlSchemaContext()); 93var type = new XamlType(typeof(ConsoleColor), new XamlSchemaContext()); 100var type1 = new XamlType("unknownTypeNamespace", "unknownTypeName1", null, new XamlSchemaContext());
System\Xaml\XamlBackgroundReaderTests.cs (10)
25TypeResult = new XamlType(typeof(int), new XamlSchemaContext()), 27MemberResult = new XamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), 28SchemaContextResult = new XamlSchemaContext(), 173SchemaContextResult = new XamlSchemaContext() 195SchemaContextResult = new XamlSchemaContext() 243SchemaContextResult = new XamlSchemaContext() 267SchemaContextResult = new XamlSchemaContext() 283SchemaContextResult = new XamlSchemaContext(), 296SchemaContextResult = new XamlSchemaContext() 311SchemaContextResult = new XamlSchemaContext(),
System\Xaml\XamlDirectiveTests.cs (11)
17var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 29var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 48var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 55var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 82var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 90var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 97var type1 = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 98var type2 = new XamlType("unknownTypeNamespace2", "unknownTypeName", null, new XamlSchemaContext()); 149var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 248var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 257var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Xaml\XamlDuplicateMemberExceptionTests.cs (1)
39var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext());
System\Xaml\XamlMemberTests.cs (327)
23var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 36var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 48yield return new object[] { typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext() }; 68var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, 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)) }; 98Assert.Throws<ArgumentNullException>("propertyInfo", () => new XamlMember((PropertyInfo)null!, new XamlSchemaContext())); 99Assert.Throws<ArgumentNullException>("propertyInfo", () => new XamlMember((PropertyInfo)null!, new XamlSchemaContext(), XamlMemberInvoker.UnknownInvoker)); 104yield return new object[] { typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext() }; 124var type = new XamlType("unknownTypeNamespace", "unknownTypeName", null, new XamlSchemaContext()); 125yield return new object?[] { typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext(), null }; 126yield return new object?[] { typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext(), new XamlMemberInvoker(new XamlMember("name", type, false)) }; 154Assert.Throws<ArgumentNullException>("eventInfo", () => new XamlMember((EventInfo)null!, new XamlSchemaContext())); 155Assert.Throws<ArgumentNullException>("eventInfo", () => new XamlMember((EventInfo)null!, new XamlSchemaContext(), XamlMemberInvoker.UnknownInvoker)); 160yield return new object?[] { "name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext() }; 161yield return new object?[] { "name", null, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext() }; 162yield return new object?[] { "name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, null, new XamlSchemaContext() }; 163yield return new object?[] { "", typeof(AccessorClass).GetMethod(nameof(AccessorClass.StaticGetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.StaticSetMethod))!, new XamlSchemaContext() }; 183yield return new object?[] { "name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext(), null }; 184yield return new object?[] { "name", null, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext(), XamlMemberInvoker.UnknownInvoker }; 185yield return new object?[] { "name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, null, new XamlSchemaContext(), null }; 186yield return new object?[] { "", typeof(AccessorClass).GetMethod(nameof(AccessorClass.StaticGetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.StaticSetMethod))!, new XamlSchemaContext(), null }; 215Assert.Throws<ArgumentNullException>("attachablePropertyName", () => new XamlMember(null, getter, null, new XamlSchemaContext())); 216Assert.Throws<ArgumentNullException>("attachablePropertyName", () => new XamlMember(null, getter, null, new XamlSchemaContext(), XamlMemberInvoker.UnknownInvoker)); 222Assert.Throws<ArgumentNullException>(() => new XamlMember("name", null, null, new XamlSchemaContext())); 223Assert.Throws<ArgumentNullException>(() => new XamlMember("name", null, null, new XamlSchemaContext(), XamlMemberInvoker.UnknownInvoker)); 233Assert.Throws<ArgumentException>("getter", () => new XamlMember("name", getter, null, new XamlSchemaContext())); 234Assert.Throws<ArgumentException>("getter", () => new XamlMember("name", getter, null, new XamlSchemaContext(), XamlMemberInvoker.UnknownInvoker)); 243Assert.Throws<ArgumentException>("setter", () => new XamlMember("name", null, setter, new XamlSchemaContext())); 244Assert.Throws<ArgumentException>("setter", () => new XamlMember("name", null, setter, new XamlSchemaContext(), XamlMemberInvoker.UnknownInvoker)); 249yield return new object[] { "name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext() }; 250yield return new object[] { "", typeof(AccessorClass).GetMethod(nameof(AccessorClass.StaticSetMethod))!, new XamlSchemaContext() }; 270yield return new object?[] { "name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext(), null }; 271yield return new object?[] { "", typeof(AccessorClass).GetMethod(nameof(AccessorClass.StaticSetMethod))!, new XamlSchemaContext(), XamlMemberInvoker.UnknownInvoker }; 300Assert.Throws<ArgumentNullException>("attachableEventName", () => new XamlMember(null, adder, new XamlSchemaContext())); 301Assert.Throws<ArgumentNullException>("attachableEventName", () => new XamlMember(null, adder, new XamlSchemaContext(), XamlMemberInvoker.UnknownInvoker)); 307Assert.Throws<ArgumentNullException>("adder", () => new XamlMember("name", null, new XamlSchemaContext())); 308Assert.Throws<ArgumentNullException>("adder", () => new XamlMember("name", null, new XamlSchemaContext(), XamlMemberInvoker.UnknownInvoker)); 317Assert.Throws<ArgumentException>("adder", () => new XamlMember("name", adder, new XamlSchemaContext())); 318Assert.Throws<ArgumentException>("adder", () => new XamlMember("name", adder, new XamlSchemaContext(), XamlMemberInvoker.UnknownInvoker)); 347var member = new XamlMember(name, new XamlType(typeof(int), new XamlSchemaContext()), false); 355var member = new XamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false); 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 }; 390var member = new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false); 396yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), null }; 397yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), 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()) 425new CustomXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 438new CustomXamlMember(typeof(XamlDeferLoadData).GetProperty(nameof(XamlDeferLoadData.TypeXamlDeferLoadAttribute))!, new XamlSchemaContext()), 443new CustomXamlMember(typeof(XamlDeferLoadData).GetProperty(nameof(XamlDeferLoadData.StringXamlDeferLoadAttribute))!, new XamlSchemaContext()), 448new CustomXamlMember(typeof(XamlDeferLoadData).GetProperty(nameof(XamlDeferLoadData.ClassWithTypeXamlDeferLoadAttribute))!, new XamlSchemaContext()), 453new CustomXamlMember(typeof(XamlDeferLoadData).GetProperty(nameof(XamlDeferLoadData.ClassWithStringXamlDeferLoadAttribute))!, new XamlSchemaContext()), 459new CustomXamlMember(typeof(XamlDeferLoadData).GetProperty(nameof(XamlDeferLoadData.TypeXamlDeferLoadAttribute))!, new XamlSchemaContext()) 478var member = new CustomXamlMember(typeof(XamlDeferLoadData).GetProperty(nameof(XamlDeferLoadData.TypeXamlDeferLoadAttribute))!, new XamlSchemaContext()) 492var member = new CustomXamlMember(typeof(XamlDeferLoadData).GetProperty(nameof(XamlDeferLoadData.TypeXamlDeferLoadAttribute))!, new XamlSchemaContext()) 506var member = new CustomXamlMember(typeof(XamlDeferLoadData).GetProperty(nameof(XamlDeferLoadData.TypeXamlDeferLoadAttribute))!, new XamlSchemaContext()) 524var member = new SubXamlMember(typeof(XamlDeferLoadData).GetProperty(propertyName)!, new XamlSchemaContext()); 534var member = new SubXamlMember(typeof(XamlDeferLoadData).GetProperty(propertyName)!, new XamlSchemaContext()); 571yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), null }; 572yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), null }; 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()) 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()) 600new CustomXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 612new CustomXamlMember(typeof(MarkupExtensionBracketCharactersData).GetProperty(nameof(MarkupExtensionBracketCharactersData.Property))!, new XamlSchemaContext()) 638var member = new CustomXamlMember(typeof(MarkupExtensionBracketCharactersData).GetProperty(nameof(MarkupExtensionBracketCharactersData.Property))!, new XamlSchemaContext()) 652var member = new CustomXamlMember(typeof(MarkupExtensionBracketCharactersData).GetProperty(nameof(MarkupExtensionBracketCharactersData.Property))!, new XamlSchemaContext()) 666var member = new CustomXamlMember(typeof(MarkupExtensionBracketCharactersData).GetProperty(nameof(MarkupExtensionBracketCharactersData.Property))!, new XamlSchemaContext()) 680var member = new CustomXamlMember(typeof(MarkupExtensionBracketCharactersData).GetProperty(nameof(MarkupExtensionBracketCharactersData.Property))!, new XamlSchemaContext()) 694var member = new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false); 702var member = new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()); 710var invoker = new XamlMemberInvoker(new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext())); 711var member = new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext(), invoker); 720var member = new CustomXamlMember(typeof(XamlDeferLoadData).GetProperty(nameof(XamlDeferLoadData.ClassWithTypeXamlDeferLoadAttribute))!, new XamlSchemaContext()) 737yield return new object[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), false }; 738yield return new object[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), false }; 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()) 755new CustomXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 768new SubXamlMember(typeof(AmbientData).GetProperty(nameof(AmbientData.Property))!, new XamlSchemaContext()), 774new CustomXamlMember(typeof(AmbientData).GetProperty(nameof(AmbientData.Property))!, new XamlSchemaContext()) 805yield return new object[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), false, false }; 806yield return new object[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), false, false }; 810new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 815new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 821new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 826new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 832new CustomXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 840new CustomXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()) 858yield return new object[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), true, true }; 859yield return new object[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), true, true }; 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()), 903new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 908new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, null, new XamlSchemaContext()), 913new SubXamlMember("name", null, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 919new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 924new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 930new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.GetOnlyProperty))!, new XamlSchemaContext()) 938new CustomXamlMember(typeof(PrivateDeclaringType).GetProperty(nameof(PrivateDeclaringType.Property))!, new XamlSchemaContext()) 963yield return new object[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), false }; 964yield return new object[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), false }; 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()), 988new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 993new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, null, new XamlSchemaContext()), 998new SubXamlMember("name", null, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1004new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1009new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1015new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.GetOnlyProperty))!, new XamlSchemaContext()) 1040yield return new object[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), true, true }; 1041yield return new object[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), true, true }; 1045new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 1050new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1056new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1061new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1067new CustomXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 1075new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()) 1100yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), true, true }; 1101yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), true, true }; 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()), 1145new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1150new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, null, new XamlSchemaContext()), 1155new SubXamlMember("name", null, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1161new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1166new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1172new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.GetOnlyProperty))!, new XamlSchemaContext()) 1180new CustomXamlMember(typeof(PrivateDeclaringType).GetProperty(nameof(PrivateDeclaringType.Property))!, new XamlSchemaContext()) 1205yield return new object[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), false }; 1206yield return new object[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), false }; 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()), 1230new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1235new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, null, new XamlSchemaContext()), 1240new SubXamlMember("name", null, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1246new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1251new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1257new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.SetOnlyProperty))!, new XamlSchemaContext()) 1282yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), null }; 1283yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), null }; 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()) 1311new CustomXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 1324new SubXamlMember(typeof(MarkupExtensionBracketCharactersData).GetProperty(nameof(MarkupExtensionBracketCharactersData.Property))!, new XamlSchemaContext()), 1330new CustomXamlMember(typeof(MarkupExtensionBracketCharactersData).GetProperty(nameof(MarkupExtensionBracketCharactersData.Property))!, new XamlSchemaContext()) 1356var member = new CustomXamlMember(typeof(MarkupExtensionBracketCharactersData).GetProperty(nameof(MarkupExtensionBracketCharactersData.Property))!, new XamlSchemaContext()) 1370var member = new CustomXamlMember(typeof(MarkupExtensionBracketCharactersData).GetProperty(nameof(MarkupExtensionBracketCharactersData.Property))!, new XamlSchemaContext()) 1384var member = new CustomXamlMember(typeof(MarkupExtensionBracketCharactersData).GetProperty(nameof(MarkupExtensionBracketCharactersData.Property))!, new XamlSchemaContext()) 1398var member = new SubXamlMember(typeof(MarkupExtensionBracketCharactersData).GetProperty(nameof(MarkupExtensionBracketCharactersData.DuplicateProperty))!, new XamlSchemaContext()); 1416yield return new object[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), DesignerSerializationVisibility.Visible }; 1417yield return new object[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), DesignerSerializationVisibility.Visible }; 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()) 1445new CustomXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 1458new SubXamlMember(typeof(DesignerSerializationVisibilityData).GetProperty(nameof(DesignerSerializationVisibilityData.Property))!, new XamlSchemaContext()), 1480var member = new CustomXamlMember(typeof(DesignerSerializationVisibilityData).GetProperty(nameof(DesignerSerializationVisibilityData.Property))!, new XamlSchemaContext()) 1493var member = new CustomXamlMember(typeof(DesignerSerializationVisibilityData).GetProperty(nameof(DesignerSerializationVisibilityData.Property))!, new XamlSchemaContext()) 1506var member = new CustomXamlMember(typeof(DesignerSerializationVisibilityData).GetProperty(nameof(DesignerSerializationVisibilityData.Property))!, new XamlSchemaContext()) 1524yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), new XamlType(typeof(int), new XamlSchemaContext()), new XamlType(typeof(int), new XamlSchemaContext()) }; 1525yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), XamlLanguage.Object, XamlLanguage.Object }; 1529new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 1530new XamlType(typeof(DataClass), new XamlSchemaContext()), new XamlType(typeof(DataClass), new XamlSchemaContext()) 1534new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1535new XamlType(typeof(string), new XamlSchemaContext()), new XamlType(typeof(string), new XamlSchemaContext()) 1540new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1541new XamlType(typeof(DataClass), new XamlSchemaContext()), new XamlType(typeof(DataClass), new XamlSchemaContext()) 1545new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1546new XamlType(typeof(int), new XamlSchemaContext()), new XamlType(typeof(int), new XamlSchemaContext()) 1551new CustomXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true) 1560new CustomXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true) 1568new CustomXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()) 1576new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()) 1580null, new XamlType(typeof(DataClass), new XamlSchemaContext()) 1601yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), null }; 1602yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), null }; 1606new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 1607new XamlType(typeof(int), new XamlSchemaContext()) 1611new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1612new XamlType(typeof(int), new XamlSchemaContext()) 1616new SubXamlMember("name", null, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1617new XamlType(typeof(string), new XamlSchemaContext()) 1621new SubXamlMember("name", null, typeof(AccessorClass).GetMethod(nameof(AccessorClass.StaticSetMethod))!, new XamlSchemaContext()), 1622new XamlType(typeof(int), new XamlSchemaContext()) 1627new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1628new XamlType(typeof(EventHandler), new XamlSchemaContext()) 1632new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1633new XamlType(typeof(string), new XamlSchemaContext()) 1637new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.StaticSetMethod))!, new XamlSchemaContext()), 1638new XamlType(typeof(int), new XamlSchemaContext()) 1643new CustomXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 1650new XamlType(typeof(string), new XamlSchemaContext()) 1654new CustomXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 1662new CustomXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()) 1687yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), new XamlValueConverter<TypeConverter>(null, XamlLanguage.Object), null }; 1688yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), new XamlValueConverter<TypeConverter>(null, XamlLanguage.Object), null }; 1693new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()) 1704new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()) 1715new CustomXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 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()), 1744new CustomXamlMember(typeof(TypeConverterData).GetProperty(nameof(TypeConverterData.ClassWithTypeConverterAttribute))!, new XamlSchemaContext()) 1770var member = new CustomXamlMember(typeof(TypeConverterData).GetProperty(nameof(TypeConverterData.ClassWithTypeConverterAttribute))!, new XamlSchemaContext()) 1784var member = new CustomXamlMember(typeof(TypeConverterData).GetProperty(nameof(TypeConverterData.ClassWithTypeConverterAttribute))!, new XamlSchemaContext()) 1798var member = new CustomXamlMember(typeof(TypeConverterData).GetProperty(nameof(TypeConverterData.ClassWithTypeConverterAttribute))!, new XamlSchemaContext()) 1814var member = new SubXamlMember(typeof(TypeConverterData).GetProperty(propertyName)!, new XamlSchemaContext()); 1822var member = new SubXamlMember(typeof(TypeConverterData).GetProperty(nameof(TypeConverterData.ClassWithNullStringTypeConverterAttribute))!, new XamlSchemaContext()); 1840yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), null }; 1841yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), null }; 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()), 1865new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1870new SubXamlMember("name", null, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1876new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1881new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1887new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()) 1904yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), null, null }; 1905yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), null, null }; 1909new SubXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 1914new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1919new SubXamlMember("name", null, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1925new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 1930new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1936new CustomXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()) 1944new CustomXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 1969yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), null }; 1970yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), null }; 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()), 1994new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 1999new SubXamlMember("name", null, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 2005new SubXamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event))!, new XamlSchemaContext()), 2010new SubXamlMember(typeof(DataClass).GetEvent("PrivateEvent", BindingFlags.Instance | BindingFlags.NonPublic)!, new XamlSchemaContext()), 2015new SubXamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 2021new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()) 2038yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), null }; 2039yield return new object?[] { new SubXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true), null }; 2044new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()) 2055new CustomXamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()) 2066new CustomXamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 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()), 2095new CustomXamlMember(typeof(ValueSerializerData).GetProperty(nameof(ValueSerializerData.ClassWithValueSerializerAttribute))!, 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()) 2163var member = new SubXamlMember(typeof(ValueSerializerData).GetProperty(nameof(ValueSerializerData.ClassWithNullValueSerializerAttribute))!, new XamlSchemaContext()); 2171var member = new SubXamlMember(typeof(ValueSerializerData).GetProperty(nameof(ValueSerializerData.ClassWithNullStringValueSerializerAttribute))!, 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 }; 2198yield return new object?[] { member, new XamlMember(typeof(DesignerSerializationVisibilityData).GetProperty(nameof(DesignerSerializationVisibilityData.Property))!, new XamlSchemaContext()), false }; 2199yield return new object?[] { member, new XamlMember(typeof(AmbientData).GetProperty(nameof(AmbientData.Property))!, new XamlSchemaContext()), false }; 2200yield return new object?[] { member, new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), false }; 2201yield return new object?[] { member, new XamlMember("name", new XamlType(typeof(DataClass), new XamlSchemaContext()), false), false }; 2202yield return new object?[] { member, new XamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), false }; 2203yield return new object?[] { member, new XamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), false }; 2207new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2208new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2213new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2214new XamlMember(typeof(DataClass).GetEvent("PrivateEvent", BindingFlags.Instance | BindingFlags.NonPublic), new XamlSchemaContext()), 2219new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2220new XamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 2225new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2226new XamlMember("name", new XamlType(typeof(DataClass), new XamlSchemaContext()), false), 2231new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2232new XamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 2237new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2238new XamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 2244new XamlMember("name", new XamlType(typeof(DataClass), new XamlSchemaContext()), false), 2245new XamlMember("name", new XamlType(typeof(DataClass), new XamlSchemaContext()), false), 2250new XamlMember("name", new XamlType(typeof(DataClass), new XamlSchemaContext()), false), 2251new XamlMember("other", new XamlType(typeof(DataClass), new XamlSchemaContext()), false), 2256new XamlMember("name", new XamlType(typeof(DataClass), new XamlSchemaContext()), false), 2257new XamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), 2262new XamlMember("name", new XamlType(typeof(DataClass), new XamlSchemaContext()), false), 2263new XamlMember("name", new XamlType(typeof(DataClass), new XamlSchemaContext()), true), 2268new XamlMember("Property", new XamlType(typeof(DataClass), new XamlSchemaContext()), false), 2269new XamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()), 2274new XamlMember("Event", new XamlType(typeof(DataClass), new XamlSchemaContext()), false), 2275new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()), 2280new XamlMember("name", new XamlType(typeof(DataClass), new XamlSchemaContext()), false), 2281new XamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.GetMethod))!, typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 2286new XamlMember("name", new XamlType(typeof(DataClass), new XamlSchemaContext()), false), 2287new XamlMember("name", typeof(AccessorClass).GetMethod(nameof(AccessorClass.SetMethod))!, new XamlSchemaContext()), 2314yield return new object[] { new XamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) }; 2315yield return new object[] { new XamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), true) }; 2317yield return new object[] { new XamlMember(typeof(DataClass).GetProperty(nameof(DataClass.Property))!, new XamlSchemaContext()) }; 2323}, new XamlSchemaContext()) 2325yield return new object[] { new XamlMember(typeof(DataClass).GetEvent(nameof(DataClass.Event)), new XamlSchemaContext()) };
System\Xaml\XamlNodeListTests.cs (40)
15var context = new XamlSchemaContext(); 25var context = new XamlSchemaContext(); 40var context = new XamlSchemaContext(); 47var context = new XamlSchemaContext(); 68var context = new XamlSchemaContext(); 111var list = new XamlNodeList(new XamlSchemaContext()); 123var context = new XamlSchemaContext(); 147var context = new XamlSchemaContext(); 171var context = new XamlSchemaContext(); 197var context = new XamlSchemaContext(); 211var list = new XamlNodeList(new XamlSchemaContext()); 218var list = new XamlNodeList(new XamlSchemaContext()); 232var list = new XamlNodeList(new XamlSchemaContext()); 241var list = new XamlNodeList(new XamlSchemaContext()); 261var list = new XamlNodeList(new XamlSchemaContext()); 271var list = new XamlNodeList(new XamlSchemaContext()); 291var list = new XamlNodeList(new XamlSchemaContext()); 301var list = new XamlNodeList(new XamlSchemaContext()); 321var list = new XamlNodeList(new XamlSchemaContext()); 331var list = new XamlNodeList(new XamlSchemaContext()); 351var list = new XamlNodeList(new XamlSchemaContext()); 361var list = new XamlNodeList(new XamlSchemaContext()); 381var list = new XamlNodeList(new XamlSchemaContext()); 391var list = new XamlNodeList(new XamlSchemaContext()); 411var list = new XamlNodeList(new XamlSchemaContext()); 421var list = new XamlNodeList(new XamlSchemaContext()); 442var list = new XamlNodeList(new XamlSchemaContext()); 452var list = new XamlNodeList(new XamlSchemaContext()); 484var list = new XamlNodeList(new XamlSchemaContext()); 511var list = new XamlNodeList(new XamlSchemaContext()); 537var list = new XamlNodeList(new XamlSchemaContext()); 548var list = new XamlNodeList(new XamlSchemaContext()); 556var list = new XamlNodeList(new XamlSchemaContext()); 567var list = new XamlNodeList(new XamlSchemaContext()); 576var list = new XamlNodeList(new XamlSchemaContext()); 589var list = new XamlNodeList(new XamlSchemaContext()); 612var list = new XamlNodeList(new XamlSchemaContext()); 635var list = new XamlNodeList(new XamlSchemaContext()); 655var list = new XamlNodeList(new XamlSchemaContext()); 675var list = new XamlNodeList(new XamlSchemaContext());
System\Xaml\XamlNodeQueueTests.cs (28)
16var context = new XamlSchemaContext(); 31var context = new XamlSchemaContext(); 49var context = new XamlSchemaContext(); 60var context = new XamlSchemaContext(); 77var context = new XamlSchemaContext(); 88var context = new XamlSchemaContext(); 98var queue = new XamlNodeQueue(new XamlSchemaContext()); 117var queue = new XamlNodeQueue(new XamlSchemaContext()); 155var queue = new XamlNodeQueue(new XamlSchemaContext()); 165var queue = new XamlNodeQueue(new XamlSchemaContext()); 184var queue = new XamlNodeQueue(new XamlSchemaContext()); 222var queue = new XamlNodeQueue(new XamlSchemaContext()); 232var queue = new XamlNodeQueue(new XamlSchemaContext()); 251var queue = new XamlNodeQueue(new XamlSchemaContext()); 268var queue = new XamlNodeQueue(new XamlSchemaContext()); 287var queue = new XamlNodeQueue(new XamlSchemaContext()); 325var queue = new XamlNodeQueue(new XamlSchemaContext()); 335var queue = new XamlNodeQueue(new XamlSchemaContext()); 366var queue = new XamlNodeQueue(new XamlSchemaContext()); 392var queue = new XamlNodeQueue(new XamlSchemaContext()); 417var queue = new XamlNodeQueue(new XamlSchemaContext()); 446var queue = new XamlNodeQueue(new XamlSchemaContext()); 457var queue = new XamlNodeQueue(new XamlSchemaContext()); 465var queue = new XamlNodeQueue(new XamlSchemaContext()); 476var queue = new XamlNodeQueue(new XamlSchemaContext()); 488var queue = new XamlNodeQueue(new XamlSchemaContext()); 501var queue = new XamlNodeQueue(new XamlSchemaContext()); 524var queue = new XamlNodeQueue(new XamlSchemaContext());
System\Xaml\XamlReaderTests.cs (3)
63TypeResult = new XamlType(typeof(int), new XamlSchemaContext()), 65MemberResult = new XamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false), 66SchemaContextResult = new XamlSchemaContext()
System\Xaml\XamlSchemaContextTests.cs (75)
21var context = new XamlSchemaContext(); 44var context = new XamlSchemaContext(settings); 61var context = new XamlSchemaContext(referenceAssemblies); 89var context = new XamlSchemaContext(referenceAssemblies, settings); 123var context = new XamlSchemaContext(); 177var context = new XamlSchemaContext(new Assembly[] { assembly1, assembly2 }); 185var context = new XamlSchemaContext(); 259var context = new XamlSchemaContext(new Assembly[] { assemblyWithPrefix }); 266var context = new XamlSchemaContext(new Assembly?[] { null }); 273var context = new XamlSchemaContext(); 329var context = new XamlSchemaContext(new Assembly[] { assembly }); 343var context = new XamlSchemaContext(new Assembly[] { assembly }); 357var context = new XamlSchemaContext(new Assembly[] { assembly }); 371var context = new XamlSchemaContext(new Assembly[] { assembly }); 385var context = new XamlSchemaContext(new Assembly[] { assembly }); 436var context = new XamlSchemaContext(); 448new XamlType(typeof(ArrayExtension), new XamlSchemaContext()) 453new XamlType(typeof(ArrayExtension), new XamlSchemaContext()) 458new XamlType(typeof(MemberDefinition), new XamlSchemaContext()) 463new XamlType(typeof(NullExtension), new XamlSchemaContext()) 468new XamlType(typeof(NullExtension), new XamlSchemaContext()) 473new XamlType(typeof(PropertyDefinition), new XamlSchemaContext()) 478new XamlType(typeof(Reference), new XamlSchemaContext()) 483new XamlType(typeof(Reference), new XamlSchemaContext()) 488new XamlType(typeof(StaticExtension), new XamlSchemaContext()) 493new XamlType(typeof(StaticExtension), new XamlSchemaContext()) 498new XamlType(typeof(TypeExtension), new XamlSchemaContext()) 503new XamlType(typeof(TypeExtension), new XamlSchemaContext()) 508new XamlType(typeof(string), new XamlSchemaContext()) 513new XamlType(typeof(double), new XamlSchemaContext()) 518new XamlType(typeof(short), new XamlSchemaContext()) 523new XamlType(typeof(int), new XamlSchemaContext()) 528new XamlType(typeof(long), new XamlSchemaContext()) 533new XamlType(typeof(bool), new XamlSchemaContext()) 538new XamlType(typeof(XData), new XamlSchemaContext()) 543new XamlType(typeof(object), new XamlSchemaContext()) 548new XamlType(typeof(char), new XamlSchemaContext()) 553new XamlType(typeof(float), new XamlSchemaContext()) 558new XamlType(typeof(byte), new XamlSchemaContext()) 563new XamlType(typeof(decimal), new XamlSchemaContext()) 568new XamlType(typeof(Uri), new XamlSchemaContext()) 573new XamlType(typeof(TimeSpan), new XamlSchemaContext()) 590new XamlType(typeof(int), new XamlSchemaContext()) 595new XamlType(typeof(int), new XamlSchemaContext()) 600new XamlType(typeof(XamlSchemaContextTests), new XamlSchemaContext()) 610new XamlType(typeof(List<int>), new XamlSchemaContext()) 618new XamlType(typeof(List<int>[]), new XamlSchemaContext()) 626new XamlType(typeof(List<int>[,][]), new XamlSchemaContext()) 634new XamlType(typeof(List<int>[,][]), new XamlSchemaContext()) 642new XamlType(typeof(List<int>[,,]), new XamlSchemaContext()) 677new XamlType(typeof(PublicNestedClass), new XamlSchemaContext()) 687new XamlType(typeof(PublicNestedClass.PublicClass), new XamlSchemaContext()) 709new XamlType(typeof(XamlType), new XamlSchemaContext()) 714new XamlType(typeof(MemberDefinition), new XamlSchemaContext()) 719new XamlType(typeof(MemberDefinition), new XamlSchemaContext()) 734new XamlType(typeof(PropertyDefinition), new XamlSchemaContext()) 739new XamlType(typeof(PropertyDefinition), new XamlSchemaContext()) 754new XamlType(typeof(AmbientAttribute), new XamlSchemaContext()) 805var context = new XamlSchemaContext(); 819var context = new XamlSchemaContext(settings); 858new XamlType(typeof(int), new XamlSchemaContext()) 868new XamlType(typeof(int), new XamlSchemaContext()) 878new XamlType(typeof(int), new XamlSchemaContext()) 886new XamlType(typeof(int), new XamlSchemaContext()) 933var context = new XamlSchemaContext(new Assembly[] { typeof(int).Assembly }); 941var context = new XamlSchemaContext(new Assembly?[] { null }); 949var context = new XamlSchemaContext(); 956var context = new XamlSchemaContext(); 963var context = new XamlSchemaContext(); 970var context = new XamlSchemaContext(); 977var context = new XamlSchemaContext(); 984var context = new XamlSchemaContext(); 996var context = new XamlSchemaContext(); 998Assert.Equal(new XamlType(underlyingType, new XamlSchemaContext()), type); 1007var context = new XamlSchemaContext();
System\Xaml\XamlServicesTests.cs (2)
52Assert.Throws<ArgumentNullException>("xamlReader", () => XamlServices.Transform((XamlReader)null!, new XamlObjectWriter(new XamlSchemaContext()))); 53Assert.Throws<ArgumentNullException>("xamlReader", () => XamlServices.Transform((XamlReader)null!, new XamlObjectWriter(new XamlSchemaContext()), false));
System\Xaml\XamlTypeTests.cs (905)
25yield return new object?[] { "", "", null, new XamlSchemaContext() }; 26yield return new object?[] { "unknownTypeNamespace", "unknownTypeName", Array.Empty<XamlType>(), new XamlSchemaContext() }; 27yield return new object?[] { "unknownTypeNamespace", "unknownTypeName", new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) }, new XamlSchemaContext() }; 46Assert.Throws<ArgumentNullException>("unknownTypeNamespace", () => new XamlType(null, "unknownTypeName", Array.Empty<XamlType>(), new XamlSchemaContext())); 52Assert.Throws<ArgumentNullException>("unknownTypeName", () => new XamlType("unknownTypeNamespace", null, Array.Empty<XamlType>(), new XamlSchemaContext())); 57yield return new object?[] { "", null, new XamlSchemaContext() }; 76Assert.Throws<ArgumentNullException>("typeName", () => new SubXamlType(null!, Array.Empty<XamlType>(), new XamlSchemaContext())); 81yield return new object?[] { typeof(int), new XamlSchemaContext(), "Int32", null }; 82yield return new object?[] { typeof(NestedClass), new XamlSchemaContext(), "XamlTypeTests+NestedClass", null }; 83yield return new object?[] { typeof(List<int>), new XamlSchemaContext(), "List", new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) } }; 84yield return new object?[] { typeof(List<int>[][]), new XamlSchemaContext(), "List[][]", new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) } }; 101yield return new object?[] { typeof(int), new XamlSchemaContext(), null, "Int32", null }; 102yield return new object?[] { typeof(NestedClass), new XamlSchemaContext(), new XamlTypeInvoker(new XamlType(typeof(int), new XamlSchemaContext())), "XamlTypeTests+NestedClass", null }; 103yield return new object?[] { typeof(List<int>), new XamlSchemaContext(), XamlTypeInvoker.UnknownInvoker, "List", new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) } }; 104yield return new object?[] { typeof(List<int>[][]), new XamlSchemaContext(), null, "List[][]", new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) } }; 130Assert.Throws<ArgumentNullException>("underlyingType", () => new XamlType(null, new XamlSchemaContext())); 131Assert.Throws<ArgumentNullException>("underlyingType", () => new XamlType(null, new XamlSchemaContext(), XamlTypeInvoker.UnknownInvoker)); 138Assert.Throws<ArgumentException>(() => new XamlType("unknownTypeNamespace", "unknownTypeName", new XamlType?[] { null }, new XamlSchemaContext())); 139Assert.Throws<ArgumentException>(() => new SubXamlType("typeName", new XamlType?[] { null }, new XamlSchemaContext())); 161var type = new XamlType("namespace", name, null, new XamlSchemaContext()); 169var type = new XamlType("namespace", "name", null, new XamlSchemaContext()); 176var type = new XamlType(typeof(int), new XamlSchemaContext()); 183var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) { GetXamlNamespacesResult = new string[] { "namespace1", "namespace2" } }; 190var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) { GetXamlNamespacesResult = Array.Empty<string>() }; 197var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) { GetXamlNamespacesResult = null }; 208yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), new string[] { "namespace" } }; 209yield return new object?[] { new SubXamlType("", "name", null, new XamlSchemaContext()), new string[] { "" } }; 210yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), new string[] { "" } }; 216new XamlType(typeof(int), new XamlSchemaContext()), 221new XamlType(typeof(int), new XamlSchemaContext(new XamlSchemaContextSettings 231new XamlType(typeof(GlobalNamespaceClass), new XamlSchemaContext()), 236new XamlType(typeof(GlobalNamespaceClass), new XamlSchemaContext(new XamlSchemaContextSettings 244new XamlType(typeof(XamlTypeTests), new XamlSchemaContext()), 249new XamlType(typeof(XamlTypeTests), new XamlSchemaContext(new XamlSchemaContextSettings 259new XamlType(new ReflectionOnlyType(typeof(XamlTypeTests)), new XamlSchemaContext()), 282}, new XamlSchemaContext()), 291var dynamicCacheContext = new XamlSchemaContext(); 357}, new XamlSchemaContext()); 373}, new XamlSchemaContext()); 389}, new XamlSchemaContext()); 405}, new XamlSchemaContext()); 421}, new XamlSchemaContext()); 427yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), XamlLanguage.Key, null }; 428yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), XamlLanguage.Key, null }; 429yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), XamlLanguage.Key, null }; 435new CustomXamlType(typeof(int), new XamlSchemaContext()) 443new XamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 447new SubXamlType(typeof(ClassWithAliasedAttributes), new XamlSchemaContext()), 449new XamlMember("keyName", new XamlType(typeof(ClassWithAliasedAttributes), new XamlSchemaContext()), false) 453new SubXamlType(typeof(InheritedClassWithAliasedAttributes), new XamlSchemaContext()), 455new XamlMember("keyName", new XamlType(typeof(InheritedClassWithAliasedAttributes), new XamlSchemaContext()), false) 459new SubXamlType(typeof(ClassWithNullAttributes), new XamlSchemaContext()), 467new CustomXamlType(typeof(int), new XamlSchemaContext()) 475new XamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 479new SubXamlType(typeof(ClassWithAliasedAttributes), new XamlSchemaContext()), 481new XamlMember("runtimeName", new XamlType(typeof(ClassWithAliasedAttributes), new XamlSchemaContext()), false) 485new SubXamlType(typeof(InheritedClassWithAliasedAttributes), new XamlSchemaContext()), 487new XamlMember("runtimeName", new XamlType(typeof(InheritedClassWithAliasedAttributes), new XamlSchemaContext()), false) 491new SubXamlType(typeof(ClassWithNullAttributes), new XamlSchemaContext()), 499new CustomXamlType(typeof(int), new XamlSchemaContext()) 507new XamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 511new SubXamlType(typeof(ClassWithAliasedAttributes), new XamlSchemaContext()), 513new XamlMember("uidName", new XamlType(typeof(ClassWithAliasedAttributes), new XamlSchemaContext()), false) 517new SubXamlType(typeof(InheritedClassWithAliasedAttributes), new XamlSchemaContext()), 519new XamlMember("uidName", new XamlType(typeof(InheritedClassWithAliasedAttributes), new XamlSchemaContext()), false) 523new SubXamlType(typeof(ClassWithNullAttributes), new XamlSchemaContext()), 531new CustomXamlType(typeof(int), new XamlSchemaContext()) 539new XamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 543new SubXamlType(typeof(ClassWithAliasedAttributes), new XamlSchemaContext()), 545new XamlMember("langName", new XamlType(typeof(ClassWithAliasedAttributes), new XamlSchemaContext()), false) 549new SubXamlType(typeof(InheritedClassWithAliasedAttributes), new XamlSchemaContext()), 551new XamlMember("langName", new XamlType(typeof(InheritedClassWithAliasedAttributes), new XamlSchemaContext()), false) 555new SubXamlType(typeof(ClassWithNullAttributes), new XamlSchemaContext()), 563new CustomXamlType(typeof(int), new XamlSchemaContext()) 575new CustomXamlType(typeof(int), new XamlSchemaContext()) 587new SubXamlType(new ReflectionOnlyCustomAttributeDataType(typeof(int)), new XamlSchemaContext()), 593new SubXamlType(new ThrowsCustomAttributeFormatExceptionDelegator(typeof(int)), new XamlSchemaContext()), 599new CustomXamlType(typeof(int), new XamlSchemaContext()) 601LookupBaseTypeResult = new XamlType("namespace", "name", null, new XamlSchemaContext()) 621var type = new SubXamlType(typeof(int), new XamlSchemaContext()); 638var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 653var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 668var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 699}, new XamlSchemaContext()); 726yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), Array.Empty<XamlMember>() }; 727yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), Array.Empty<XamlMember>() }; 728yield return new object?[] { new SubXamlType(typeof(EmptyClass), new XamlSchemaContext()), Array.Empty<XamlMember>() }; 729yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), Array.Empty<XamlMember>() }; 734new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 737new XamlMember("", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.AddHandler)), new XamlSchemaContext()), 738new XamlMember("DifferentFirstParameter", null, typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetDifferentFirstParameter)), new XamlSchemaContext()), 739new XamlMember("DifferentFirstParameter", null, typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetDifferentFirstParameter)), new XamlSchemaContext()), 740new XamlMember("DifferentSecondParameter", null, typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetDifferentSecondParameter)), new XamlSchemaContext()), 741new XamlMember("DifferentSecondParameter", null, typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetDifferentSecondParameter)), new XamlSchemaContext()), 742new XamlMember("Event", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.AddEventHandler)), new XamlSchemaContext()), 743new XamlMember("GetOnlyDictionaryProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyDictionaryProperty)), null, new XamlSchemaContext()), 744new XamlMember("GetOnlyIntProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyIntProperty)), null, new XamlSchemaContext()), 745new XamlMember("GetOnlyListProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyListProperty)), null, new XamlSchemaContext()), 746new XamlMember("GetOnlyXDataProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyXDataProperty)), null, new XamlSchemaContext()), 747new XamlMember("GetSetProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetSetProperty)), typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetGetSetProperty)), new XamlSchemaContext()), 748new XamlMember("GetSetProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetSetProperty)), typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetGetSetProperty)), new XamlSchemaContext()), 749new XamlMember("InternalProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 750new XamlMember("InternalProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 751new XamlMember("ProtectedProperty", typeof(AttachableMembersDataClass).GetMethod("GetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), typeof(AttachableMembersDataClass).GetMethod("SetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 752new XamlMember("ProtectedProperty", typeof(AttachableMembersDataClass).GetMethod("GetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), typeof(AttachableMembersDataClass).GetMethod("SetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 753new XamlMember("SetOnlyProperty", null, typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetSetOnlyProperty)), new XamlSchemaContext()), 757new XamlMember("", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.AddHandler)), new XamlSchemaContext()), 758new XamlMember("DifferentFirstParameter", null, typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetDifferentFirstParameter)), new XamlSchemaContext()), 759new XamlMember("DifferentSecondParameter", null, typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetDifferentSecondParameter)), new XamlSchemaContext()), 760new XamlMember("Event", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.AddEventHandler)), new XamlSchemaContext()), 761new XamlMember("GetOnlyDictionaryProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyDictionaryProperty)), null, new XamlSchemaContext()), 762new XamlMember("GetOnlyIntProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyIntProperty)), null, new XamlSchemaContext()), 763new XamlMember("GetOnlyListProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyListProperty)), null, new XamlSchemaContext()), 764new XamlMember("GetOnlyXDataProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyXDataProperty)), null, new XamlSchemaContext()), 765new XamlMember("GetSetProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetSetProperty)), typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetGetSetProperty)), new XamlSchemaContext()), 766new XamlMember("InternalProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 767new XamlMember("ProtectedProperty", typeof(AttachableMembersDataClass).GetMethod("GetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), typeof(AttachableMembersDataClass).GetMethod("SetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 768new XamlMember("SetOnlyProperty", null, typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetSetOnlyProperty)), new XamlSchemaContext()) 773new SubXamlType(typeof(PrivateAttachableMembersDataClass), new XamlSchemaContext()), 776new XamlMember("", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.AddHandler)), new XamlSchemaContext()), 777new XamlMember("DifferentFirstParameter", null, typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetDifferentFirstParameter)), new XamlSchemaContext()), 778new XamlMember("DifferentFirstParameter", null, typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetDifferentFirstParameter)), new XamlSchemaContext()), 779new XamlMember("DifferentSecondParameter", null, typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetDifferentSecondParameter)), new XamlSchemaContext()), 780new XamlMember("DifferentSecondParameter", null, typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetDifferentSecondParameter)), new XamlSchemaContext()), 781new XamlMember("Event", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.AddEventHandler)), new XamlSchemaContext()), 782new XamlMember("GetOnlyDictionaryProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyDictionaryProperty)), null, new XamlSchemaContext()), 783new XamlMember("GetOnlyIntProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyIntProperty)), null, new XamlSchemaContext()), 784new XamlMember("GetOnlyListProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyListProperty)), null, new XamlSchemaContext()), 785new XamlMember("GetOnlyXDataProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyXDataProperty)), null, new XamlSchemaContext()), 786new XamlMember("GetSetProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetSetProperty)), typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetGetSetProperty)), new XamlSchemaContext()), 787new XamlMember("GetSetProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetSetProperty)), typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetGetSetProperty)), new XamlSchemaContext()), 788new XamlMember("InternalProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 789new XamlMember("InternalProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 790new XamlMember("ProtectedProperty", typeof(PrivateAttachableMembersDataClass).GetMethod("GetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), typeof(PrivateAttachableMembersDataClass).GetMethod("SetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 791new XamlMember("ProtectedProperty", typeof(PrivateAttachableMembersDataClass).GetMethod("GetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), typeof(PrivateAttachableMembersDataClass).GetMethod("SetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 792new XamlMember("SetOnlyProperty", null, typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetSetOnlyProperty)), new XamlSchemaContext()), 796new XamlMember("", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.AddHandler)), new XamlSchemaContext()), 797new XamlMember("DifferentFirstParameter", null, typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetDifferentFirstParameter)), new XamlSchemaContext()), 798new XamlMember("DifferentSecondParameter", null, typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetDifferentSecondParameter)), new XamlSchemaContext()), 799new XamlMember("Event", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.AddEventHandler)), new XamlSchemaContext()), 800new XamlMember("GetOnlyDictionaryProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyDictionaryProperty)), null, new XamlSchemaContext()), 801new XamlMember("GetOnlyIntProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyIntProperty)), null, new XamlSchemaContext()), 802new XamlMember("GetOnlyListProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyListProperty)), null, new XamlSchemaContext()), 803new XamlMember("GetOnlyXDataProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyXDataProperty)), null, new XamlSchemaContext()), 804new XamlMember("GetSetProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetSetProperty)), typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetGetSetProperty)), new XamlSchemaContext()), 805new XamlMember("InternalProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 806new XamlMember("ProtectedProperty", typeof(PrivateAttachableMembersDataClass).GetMethod("GetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), typeof(PrivateAttachableMembersDataClass).GetMethod("SetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 807new XamlMember("SetOnlyProperty", null, typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetSetOnlyProperty)), new XamlSchemaContext()) 813new SubXamlType(typeof(DuplicateDataClass), new XamlSchemaContext()), 816new XamlMember("Event", typeof(DuplicateDataClass).GetMethod(nameof(DuplicateDataClass.AddEventHandler), new Type[] { typeof(object), typeof(EventHandler) }), new XamlSchemaContext()), 817new XamlMember("Getter", typeof(DuplicateDataClass).GetMethod(nameof(DuplicateDataClass.GetGetter), new Type[] { typeof(string) }), null, new XamlSchemaContext()), 818new XamlMember("InternalThenInternal", typeof(DuplicateDataClass).GetMethod(nameof(DuplicateDataClass.GetInternalThenInternal), BindingFlags.Static | BindingFlags.NonPublic, null, new Type[] { typeof(string) }, null), null, new XamlSchemaContext()), 819new XamlMember("InternalThenInternalEvent", typeof(DuplicateDataClass).GetMethod(nameof(DuplicateDataClass.AddInternalThenInternalEventHandler), BindingFlags.Static | BindingFlags.NonPublic, null, new Type[] { typeof(object), typeof(EventHandler) }, null), new XamlSchemaContext()), 820new XamlMember("InternalThenPublic", typeof(DuplicateDataClass).GetMethod(nameof(DuplicateDataClass.GetInternalThenPublic), new Type[] { typeof(int) }), null, new XamlSchemaContext()), 821new XamlMember("InternalThenPublicEvent", typeof(DuplicateDataClass).GetMethod(nameof(DuplicateDataClass.AddInternalThenPublicEventHandler), new Type[] { typeof(object), typeof(OtherHandler) }), new XamlSchemaContext()), 822new XamlMember("PublicThenInternal", typeof(DuplicateDataClass).GetMethod(nameof(DuplicateDataClass.GetPublicThenInternal), new Type[] { typeof(string) }), null, new XamlSchemaContext()), 823new XamlMember("PublicThenInternalEvent", typeof(DuplicateDataClass).GetMethod(nameof(DuplicateDataClass.AddPublicThenInternalEventHandler), new Type[] { typeof(object), typeof(EventHandler) }), new XamlSchemaContext()), 824new XamlMember("Setter", null, typeof(DuplicateDataClass).GetMethod(nameof(DuplicateDataClass.SetSetter), new Type[] { typeof(string), typeof(int) }), new XamlSchemaContext()), 830new SubXamlType(typeof(PrivateDuplicateDataClass), new XamlSchemaContext()), 833new XamlMember("Event", typeof(PrivateDuplicateDataClass).GetMethod(nameof(DuplicateDataClass.AddEventHandler), new Type[] { typeof(object), typeof(EventHandler) }), new XamlSchemaContext()), 834new XamlMember("Getter", typeof(PrivateDuplicateDataClass).GetMethod(nameof(DuplicateDataClass.GetGetter), new Type[] { typeof(string) }), null, new XamlSchemaContext()), 835new XamlMember("InternalThenInternal", typeof(PrivateDuplicateDataClass).GetMethod(nameof(DuplicateDataClass.GetInternalThenInternal), BindingFlags.Static | BindingFlags.NonPublic, null, new Type[] { typeof(string) }, null), null, new XamlSchemaContext()), 836new XamlMember("InternalThenInternalEvent", typeof(PrivateDuplicateDataClass).GetMethod(nameof(DuplicateDataClass.AddInternalThenInternalEventHandler), BindingFlags.Static | BindingFlags.NonPublic, null, new Type[] { typeof(object), typeof(EventHandler) }, null), new XamlSchemaContext()), 837new XamlMember("InternalThenPublic", typeof(PrivateDuplicateDataClass).GetMethod(nameof(DuplicateDataClass.GetInternalThenPublic), BindingFlags.Static | BindingFlags.NonPublic, null, new Type[] { typeof(string) }, null), null, new XamlSchemaContext()), 838new XamlMember("InternalThenPublicEvent", typeof(PrivateDuplicateDataClass).GetMethod(nameof(DuplicateDataClass.AddInternalThenPublicEventHandler), BindingFlags.Static | BindingFlags.NonPublic, null, new Type[] { typeof(object), typeof(EventHandler) }, null), new XamlSchemaContext()), 839new XamlMember("PublicThenInternal", typeof(PrivateDuplicateDataClass).GetMethod(nameof(DuplicateDataClass.GetPublicThenInternal), new Type[] { typeof(string) }), null, new XamlSchemaContext()), 840new XamlMember("PublicThenInternalEvent", typeof(PrivateDuplicateDataClass).GetMethod(nameof(DuplicateDataClass.AddPublicThenInternalEventHandler), new Type[] { typeof(object), typeof(EventHandler) }), new XamlSchemaContext()), 841new XamlMember("Setter", null, typeof(PrivateDuplicateDataClass).GetMethod(nameof(DuplicateDataClass.SetSetter), new Type[] { typeof(string), typeof(int) }), new XamlSchemaContext()), 847new SubXamlType(typeof(NonMatchingInternalSetterClass), new XamlSchemaContext()), 850new XamlMember("DictionaryProperty", typeof(NonMatchingInternalSetterClass).GetMethod(nameof(NonMatchingInternalSetterClass.GetDictionaryProperty)), null, new XamlSchemaContext()), 851new XamlMember("DictionaryProperty", typeof(NonMatchingInternalSetterClass).GetMethod(nameof(NonMatchingInternalSetterClass.GetDictionaryProperty)), null, new XamlSchemaContext()), 852new XamlMember("ListProperty", typeof(NonMatchingInternalSetterClass).GetMethod(nameof(NonMatchingInternalSetterClass.GetListProperty)), null, new XamlSchemaContext()), 853new XamlMember("ListProperty", typeof(NonMatchingInternalSetterClass).GetMethod(nameof(NonMatchingInternalSetterClass.GetListProperty)), null, new XamlSchemaContext()), 854new XamlMember("XDataProperty", typeof(NonMatchingInternalSetterClass).GetMethod(nameof(NonMatchingInternalSetterClass.GetXDataProperty)), null, new XamlSchemaContext()), 855new XamlMember("XDataProperty", typeof(NonMatchingInternalSetterClass).GetMethod(nameof(NonMatchingInternalSetterClass.GetXDataProperty)), null, new XamlSchemaContext()) 859new XamlMember("DictionaryProperty", typeof(NonMatchingInternalSetterClass).GetMethod(nameof(NonMatchingInternalSetterClass.GetDictionaryProperty)), null, new XamlSchemaContext()), 860new XamlMember("ListProperty", typeof(NonMatchingInternalSetterClass).GetMethod(nameof(NonMatchingInternalSetterClass.GetListProperty)), null, new XamlSchemaContext()), 861new XamlMember("XDataProperty", typeof(NonMatchingInternalSetterClass).GetMethod(nameof(NonMatchingInternalSetterClass.GetXDataProperty)), null, new XamlSchemaContext()) 867new SubXamlType(typeof(PrivateNonMatchingInternalSetterClass), new XamlSchemaContext()), 870new XamlMember("DictionaryProperty", null, typeof(PrivateNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetDictionaryProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 871new XamlMember("DictionaryProperty", null, typeof(PrivateNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetDictionaryProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 872new XamlMember("IntProperty", null, typeof(PrivateNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetIntProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 873new XamlMember("IntProperty", null, typeof(PrivateNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetIntProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 874new XamlMember("ListProperty", null, typeof(PrivateNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetListProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 875new XamlMember("ListProperty", null, typeof(PrivateNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetListProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 876new XamlMember("XDataProperty", null, typeof(PrivateNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetXDataProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 877new XamlMember("XDataProperty", null, typeof(PrivateNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetXDataProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()) 881new XamlMember("DictionaryProperty", null, typeof(PrivateNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetDictionaryProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 882new XamlMember("IntProperty", null, typeof(PrivateNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetIntProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 883new XamlMember("ListProperty", null, typeof(PrivateNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetListProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 884new XamlMember("XDataProperty", null, typeof(PrivateNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetXDataProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()) 890new SubXamlType(typeof(InternalGetterNonMatchingInternalSetterClass), new XamlSchemaContext()), 893new XamlMember("DictionaryProperty", null, typeof(InternalGetterNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetDictionaryProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 894new XamlMember("DictionaryProperty", null, typeof(InternalGetterNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetDictionaryProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 895new XamlMember("IntProperty", null, typeof(InternalGetterNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetIntProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 896new XamlMember("IntProperty", null, typeof(InternalGetterNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetIntProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 897new XamlMember("ListProperty", null, typeof(InternalGetterNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetListProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 898new XamlMember("ListProperty", null, typeof(InternalGetterNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetListProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 899new XamlMember("XDataProperty", null, typeof(InternalGetterNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetXDataProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 900new XamlMember("XDataProperty", null, typeof(InternalGetterNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetXDataProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()) 904new XamlMember("DictionaryProperty", null, typeof(InternalGetterNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetDictionaryProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 905new XamlMember("IntProperty", null, typeof(InternalGetterNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetIntProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 906new XamlMember("ListProperty", null, typeof(InternalGetterNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetListProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()), 907new XamlMember("XDataProperty", null, typeof(InternalGetterNonMatchingInternalSetterClass).GetMethod(nameof(PrivateNonMatchingInternalSetterClass.SetXDataProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()) 913new CustomXamlType(typeof(int), new XamlSchemaContext()) 1153yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), Array.Empty<XamlMember>() }; 1154yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), Array.Empty<XamlMember>() }; 1155yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), Array.Empty<XamlMember>() }; 1156yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), Array.Empty<XamlMember>() }; 1161new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 1164new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.Property)), new XamlSchemaContext()), 1165new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.SetOnlyProperty)), new XamlSchemaContext()), 1166new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.PrivateGetProperty)), new XamlSchemaContext()), 1167new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.PrivateSetProperty)), new XamlSchemaContext()), 1168new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.GetOnlyListProperty)), new XamlSchemaContext()), 1169new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.GetOnlyDictionaryProperty)), new XamlSchemaContext()), 1170new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.GetXDataProperty)), new XamlSchemaContext()), 1171new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.InternalProperty), BindingFlags.Instance | BindingFlags.NonPublic), new XamlSchemaContext()), 1172new XamlMember(typeof(MembersDataClass).GetProperty("ProtectedProperty", BindingFlags.Instance | BindingFlags.NonPublic), new XamlSchemaContext()), 1173new XamlMember(typeof(MembersDataClass).GetEvent(nameof(MembersDataClass.Event)), new XamlSchemaContext()) 1178new SubXamlType(typeof(MoreDerivedShadowedDataClass), new XamlSchemaContext()), 1181new XamlMember(typeof(MoreDerivedShadowedDataClass).GetProperty(nameof(MoreDerivedShadowedDataClass.Property), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly), new XamlSchemaContext()), 1182new XamlMember(typeof(MoreDerivedShadowedDataClass).GetProperty(nameof(MoreDerivedShadowedDataClass.Property), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly), new XamlSchemaContext()), 1183new XamlMember(typeof(MoreDerivedShadowedDataClass).GetEvent(nameof(MoreDerivedShadowedDataClass.Event), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly), new XamlSchemaContext()) 1187new XamlMember(typeof(MoreDerivedShadowedDataClass).GetProperty(nameof(MoreDerivedShadowedDataClass.Property), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly), new XamlSchemaContext()), 1188new XamlMember(typeof(MoreDerivedShadowedDataClass).GetEvent(nameof(MoreDerivedShadowedDataClass.Event), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly), new XamlSchemaContext()) 1193new SubXamlType(typeof(PrivateMembersDataClass), new XamlSchemaContext()), 1211}, new XamlSchemaContext()), 1214new XamlMember(typeof(MoreDerivedShadowedDataClass).GetProperty(nameof(MoreDerivedShadowedDataClass.Property), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly), new XamlSchemaContext()), 1215new XamlMember(typeof(MoreDerivedShadowedDataClass).GetProperty(nameof(MoreDerivedShadowedDataClass.Property), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly), new XamlSchemaContext()), 1216new XamlMember(typeof(MoreDerivedShadowedDataClass).GetEvent(nameof(MoreDerivedShadowedDataClass.Event), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly), new XamlSchemaContext()), 1217new XamlMember(typeof(MoreDerivedShadowedDataClass).GetEvent(nameof(MoreDerivedShadowedDataClass.Event), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly), new XamlSchemaContext()) 1221new XamlMember(typeof(MoreDerivedShadowedDataClass).GetProperty(nameof(MoreDerivedShadowedDataClass.Property), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly), new XamlSchemaContext()), 1222new XamlMember(typeof(MoreDerivedShadowedDataClass).GetEvent(nameof(MoreDerivedShadowedDataClass.Event), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly), new XamlSchemaContext()) 1228new CustomXamlType(typeof(MembersDataClass), new XamlSchemaContext()) 1345yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), new XamlType?[] { null } }; 1346yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), new XamlType?[] { null } }; 1347yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), new XamlType?[] { null } }; 1348yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), new XamlType?[] { null } }; 1349yield return new object?[] { new SubXamlType(typeof(List<int>), new XamlSchemaContext()), new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) } }; 1355new CustomXamlType(typeof(List<string>), new XamlSchemaContext()) 1362new XamlType[] { new XamlType(typeof(string), new XamlSchemaContext()) } 1366new CustomXamlType(typeof(List<string>), new XamlSchemaContext()) 1373new XamlType[] { new XamlType(typeof(string), new XamlSchemaContext()) } 1377new CustomXamlType("namespace", "name", null, new XamlSchemaContext()) 1390new SubXamlType(typeof(ClassWithContentPropertyContentWrapperAttribute), new XamlSchemaContext()), 1391new XamlType[] { new XamlType(typeof(string), new XamlSchemaContext()), new XamlType(typeof(int), new XamlSchemaContext()) } 1396new SubXamlType(typeof(ClassWithContentWrapperAttribute), new XamlSchemaContext()), 1397new XamlType[] { new XamlType(typeof(string), new XamlSchemaContext()) } 1401new SubXamlType(typeof(InheritedClassWithContentWrapperAttribute), new XamlSchemaContext()), 1402new XamlType[] { new XamlType(typeof(string), new XamlSchemaContext()) } 1406new SubXamlType(new ReflectionOnlyCustomAttributeDataType(typeof(ClassWithContentWrapperAttribute)), new XamlSchemaContext()), 1407new XamlType[] { new XamlType(typeof(string), new XamlSchemaContext()) } 1411new SubXamlType(new ThrowsCustomAttributeFormatExceptionDelegator(typeof(List<string>)), new XamlSchemaContext()), 1412new XamlType[] { new XamlType(typeof(string), new XamlSchemaContext()) } 1417new CustomXamlType(typeof(ClassWithContentWrapperAttribute), new XamlSchemaContext()) 1436var type = new SubXamlType(typeof(ClassWithNullContentWrapperAttribute), new XamlSchemaContext()); 1444var type = new CustomXamlType(typeof(List<int>), new XamlSchemaContext()) 1458var type = new CustomXamlType(typeof(List<int>), new XamlSchemaContext()) 1472var type = new CustomXamlType(typeof(List<int>), new XamlSchemaContext()) 1512}, new XamlSchemaContext()); 1519yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), "name", null }; 1520yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), "", null }; 1521yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), "name", null }; 1522yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), "name", null }; 1523yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), "name", null }; 1529new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1531new XamlMember("GetSetProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetSetProperty)), typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetGetSetProperty)), new XamlSchemaContext()) 1535new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1537new XamlMember("ProtectedProperty", typeof(AttachableMembersDataClass).GetMethod("GetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), typeof(AttachableMembersDataClass).GetMethod("SetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()) 1541new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1543new XamlMember("InternalProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()) 1547new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1553new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1559new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1561new XamlMember("GetOnlyListProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyListProperty)), null, new XamlSchemaContext()) 1565new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1567new XamlMember("GetOnlyDictionaryProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyDictionaryProperty)), null, new XamlSchemaContext()) 1571new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1573new XamlMember("GetOnlyXDataProperty", typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.GetGetOnlyXDataProperty)), null, new XamlSchemaContext()) 1577new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1579new XamlMember("DifferentFirstParameter", null, typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetDifferentFirstParameter)), new XamlSchemaContext()) 1583new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1585new XamlMember("DifferentSecondParameter", null, typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.SetDifferentSecondParameter)), new XamlSchemaContext()) 1589new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1595new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1601new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1609new SubXamlType(typeof(PrivateAttachableMembersDataClass), new XamlSchemaContext()), 1611new XamlMember("GetSetProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(PrivateAttachableMembersDataClass.GetGetSetProperty)), typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(PrivateAttachableMembersDataClass.SetGetSetProperty)), new XamlSchemaContext()) 1615new SubXamlType(typeof(PrivateAttachableMembersDataClass), new XamlSchemaContext()), 1617new XamlMember("ProtectedProperty", typeof(PrivateAttachableMembersDataClass).GetMethod("GetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), typeof(PrivateAttachableMembersDataClass).GetMethod("SetProtectedProperty", BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()) 1621new SubXamlType(typeof(PrivateAttachableMembersDataClass), new XamlSchemaContext()), 1623new XamlMember("InternalProperty", typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(PrivateAttachableMembersDataClass.GetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), typeof(PrivateAttachableMembersDataClass).GetMethod(nameof(PrivateAttachableMembersDataClass.SetInternalProperty), BindingFlags.Static | BindingFlags.NonPublic), new XamlSchemaContext()) 1627new SubXamlType(typeof(PrivateAttachableMembersDataClass), new XamlSchemaContext()), 1635new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1637new XamlMember("Event", null, typeof(AttachableMembersDataClass).GetMethod(nameof(AttachableMembersDataClass.AddEventHandler)), new XamlSchemaContext()) 1641new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1647new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1653new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1659new SubXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()), 1666new CustomXamlType(typeof(AttachableMembersDataClass), new XamlSchemaContext()) 1686var type = new SubXamlType(typeof(int), new XamlSchemaContext()); 1701yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), XamlLanguage.Object }; 1702yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), XamlLanguage.Object }; 1705yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), new XamlType(typeof(ValueType), new XamlSchemaContext()) }; 1706yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), null }; 1707yield return new object?[] { new SubXamlType(typeof(IConvertible), new XamlSchemaContext()), null }; 1723new CustomXamlType(typeof(int), new XamlSchemaContext()) 1741yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), XamlCollectionKind.None }; 1742yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), XamlCollectionKind.None }; 1745yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), XamlCollectionKind.None }; 1746yield return new object?[] { new SubXamlType(typeof(int[]), new XamlSchemaContext()), XamlCollectionKind.Array }; 1747yield return new object?[] { new SubXamlType(typeof(IEnumerable), new XamlSchemaContext()), XamlCollectionKind.None }; 1748yield return new object?[] { new SubXamlType(typeof(IEnumerable<int>), new XamlSchemaContext()), XamlCollectionKind.None }; 1749yield return new object?[] { new SubXamlType(typeof(ICollection), new XamlSchemaContext()), XamlCollectionKind.None }; 1750yield return new object?[] { new SubXamlType(typeof(ICollection<int>), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1751yield return new object?[] { new SubXamlType(typeof(IList), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1752yield return new object?[] { new SubXamlType(typeof(IList<int>), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1753yield return new object?[] { new SubXamlType(typeof(IDictionary), new XamlSchemaContext()), XamlCollectionKind.Dictionary }; 1754yield return new object?[] { new SubXamlType(typeof(IDictionary<int, int>), new XamlSchemaContext()), XamlCollectionKind.Dictionary }; 1755yield return new object?[] { new SubXamlType(typeof(Collection<int>), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1756yield return new object?[] { new SubXamlType(typeof(List<int>), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1757yield return new object?[] { new SubXamlType(typeof(GetEnumeratorClass), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1758yield return new object?[] { new SubXamlType(typeof(InvalidReturnGetEnumeratorClass), new XamlSchemaContext()), XamlCollectionKind.None }; 1759yield return new object?[] { new SubXamlType(typeof(InvalidParametersGetEnumeratorClass), new XamlSchemaContext()), XamlCollectionKind.None }; 1760yield return new object?[] { new SubXamlType(typeof(MultiICollectionImplementer), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1761yield return new object?[] { new SubXamlType(typeof(ICollectionImplementer), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1762yield return new object?[] { new SubXamlType(typeof(InternalICollectionImplementer), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1763yield return new object?[] { new SubXamlType(typeof(MoreThanOneICollectionImplementer), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1764yield return new object?[] { new SubXamlType(typeof(PrivateICollectionImplementer), new XamlSchemaContext()), XamlCollectionKind.None }; 1765yield return new object?[] { new SubXamlType(typeof(ProtectedICollectionImplementer), new XamlSchemaContext()), XamlCollectionKind.None }; 1766yield return new object?[] { new SubXamlType(typeof(Dictionary<int, int>), new XamlSchemaContext()), XamlCollectionKind.Dictionary }; 1767yield return new object?[] { new SubXamlType(typeof(IDictionaryImplementer), new XamlSchemaContext()), XamlCollectionKind.Dictionary }; 1768yield return new object?[] { new SubXamlType(typeof(InternalIDictionaryImplementer), new XamlSchemaContext()), XamlCollectionKind.Dictionary }; 1769yield return new object?[] { new SubXamlType(typeof(MoreThanOneIDictionaryImplementer), new XamlSchemaContext()), XamlCollectionKind.Dictionary }; 1770yield return new object?[] { new SubXamlType(typeof(PrivateIDictionaryImplementer), new XamlSchemaContext()), XamlCollectionKind.None }; 1771yield return new object?[] { new SubXamlType(typeof(ProtectedIDictionaryImplementer), new XamlSchemaContext()), XamlCollectionKind.None }; 1781new CustomXamlType(typeof(int), new XamlSchemaContext()) 1906yield return new object[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), false }; 1907yield return new object[] { new SubXamlType("name", null, new XamlSchemaContext()), false }; 1910yield return new object[] { new SubXamlType(typeof(int), new XamlSchemaContext()), false }; 1911yield return new object[] { new SubXamlType(typeof(ClassWithDefaultConstructor), new XamlSchemaContext()), false }; 1912yield return new object[] { new SubXamlType(typeof(AbstractClass), new XamlSchemaContext()), true }; 1913yield return new object[] { new SubXamlType(typeof(IConvertible), new XamlSchemaContext()), true }; 1914yield return new object[] { new SubXamlType(typeof(NestedClass), new XamlSchemaContext()), false }; 1915yield return new object[] { new SubXamlType(typeof(ClassWithInternalDefaultConstructor), new XamlSchemaContext()), false }; 1916yield return new object[] { new SubXamlType(typeof(ClassWithProtectedDefaultConstructor), new XamlSchemaContext()), true }; 1917yield return new object[] { new SubXamlType(typeof(ClassWithPrivateDefaultConstructor), new XamlSchemaContext()), true }; 1918yield return new object[] { new SubXamlType(typeof(ClassWithCustomConstructor), new XamlSchemaContext()), true }; 1919yield return new object[] { new SubXamlType(typeof(StaticClass), new XamlSchemaContext()), true }; 1923new CustomXamlType(typeof(ClassWithCustomConstructor), new XamlSchemaContext()) 1941yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), null }; 1942yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), null }; 1943yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), null }; 1944yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), null }; 1950new CustomXamlType(typeof(int), new XamlSchemaContext()) 1957new XamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false) 1961new CustomXamlType(typeof(int), new XamlSchemaContext()) 1972new CustomXamlType("namespace", "name", null, new XamlSchemaContext()) 1985new SubXamlType(typeof(ClassWithKnownContentPropertyAttribute), new XamlSchemaContext()), 1986new XamlMember(typeof(ClassWithKnownContentPropertyAttribute).GetProperty(nameof(ClassWithKnownContentPropertyAttribute.Name)), new XamlSchemaContext()) 1990new SubXamlType(typeof(ClassWithUnknownContentPropertyAttribute), new XamlSchemaContext()), 1991new XamlMember("name", new XamlType(typeof(ClassWithUnknownContentPropertyAttribute), new XamlSchemaContext()), false) 1995new SubXamlType(typeof(InheritedClassWithContentPropertyAttribute), new XamlSchemaContext()), 1996new XamlMember(typeof(ClassWithKnownContentPropertyAttribute).GetProperty(nameof(ClassWithKnownContentPropertyAttribute.Name)), new XamlSchemaContext()) 2000new SubXamlType(typeof(ClassWithNullContentPropertyAttribute), new XamlSchemaContext()), 2005new SubXamlType(typeof(ClassWithDefaultContentPropertyAttribute), new XamlSchemaContext()), 2010new SubXamlType(new ReflectionOnlyCustomAttributeDataType(typeof(ClassWithUnknownContentPropertyAttribute)), new XamlSchemaContext()), 2011new XamlMember("name", new XamlType(new ReflectionOnlyCustomAttributeDataType(typeof(ClassWithUnknownContentPropertyAttribute)), new XamlSchemaContext()), false) 2015new SubXamlType(new ThrowsCustomAttributeFormatExceptionDelegator(typeof(int)), new XamlSchemaContext()), 2020new CustomXamlType(typeof(int), new XamlSchemaContext()) 2022LookupBaseTypeResult = new XamlType("namespace", "name", null, new XamlSchemaContext()) 2029new CustomXamlType(typeof(ClassWithUnknownContentPropertyAttribute), new XamlSchemaContext()) 2048var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 2062var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 2076var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 2107}, new XamlSchemaContext()); 2139yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), null }; 2140yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), null }; 2141yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), null }; 2142yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), null }; 2143yield return new object?[] { new SubXamlType(typeof(List<int>), new XamlSchemaContext()), null }; 2149new CustomXamlType(typeof(List<string>), new XamlSchemaContext()) 2156new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) } 2160new CustomXamlType(typeof(List<string>), new XamlSchemaContext()) 2171new CustomXamlType("namespace", "name", null, new XamlSchemaContext()) 2184new SubXamlType(typeof(ClassWithContentWrapperAttribute), new XamlSchemaContext()), 2185new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) } 2189new SubXamlType(typeof(InheritedClassWithContentWrapperAttribute), new XamlSchemaContext()), 2190new XamlType[] { new XamlType(typeof(string), new XamlSchemaContext()), new XamlType(typeof(int), new XamlSchemaContext()) } 2194new SubXamlType(new ReflectionOnlyCustomAttributeDataType(typeof(ClassWithContentWrapperAttribute)), new XamlSchemaContext()), 2195new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) } 2199new SubXamlType(new ThrowsCustomAttributeFormatExceptionDelegator(typeof(List<string>)), new XamlSchemaContext()), 2205new CustomXamlType(typeof(ClassWithContentWrapperAttribute), new XamlSchemaContext()) 2224var type = new SubXamlType(typeof(ClassWithNullContentWrapperAttribute), new XamlSchemaContext()); 2232var type = new CustomXamlType(typeof(List<int>), new XamlSchemaContext()) 2246var type = new CustomXamlType(typeof(List<int>), new XamlSchemaContext()) 2260var type = new CustomXamlType(typeof(List<int>), new XamlSchemaContext()) 2291}, new XamlSchemaContext()); 2314var type = new SubXamlType(typeof(int), new XamlSchemaContext()); 2321var type = new SubXamlType("namespace", "name", null, new XamlSchemaContext()); 2327yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), null }; 2328yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), null }; 2329yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), null }; 2330yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), null }; 2336new CustomXamlType(typeof(int), new XamlSchemaContext()) 2347new CustomXamlType(typeof(int), new XamlSchemaContext()) 2358new CustomXamlType("namespace", "name", null, new XamlSchemaContext()) 2371new SubXamlType(typeof(ClassWithTypeXamlDeferLoadAttribute), new XamlSchemaContext()), 2376new SubXamlType(typeof(InheritedClassWithTypeXamlDeferLoadAttribute), new XamlSchemaContext()), 2381new SubXamlType(new ReflectionOnlyCustomAttributeDataType(typeof(ClassWithStringXamlDeferLoadAttribute)), new XamlSchemaContext()), 2386new SubXamlType(new ThrowsCustomAttributeFormatExceptionDelegator(typeof(int)), new XamlSchemaContext()), 2392new CustomXamlType(typeof(ClassWithTypeXamlDeferLoadAttribute), new XamlSchemaContext()) 2411var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 2425var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 2439var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 2470}, new XamlSchemaContext()); 2483var type = new SubXamlType(underlyingType, new XamlSchemaContext()); 2493var type = new SubXamlType(underlyingType, new XamlSchemaContext()); 2545var type = new SubXamlType("namespace", "name", null, new XamlSchemaContext()); 2553var type = new SubXamlType(typeof(int), new XamlSchemaContext()); 2561var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 2571yield return new object[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), false }; 2572yield return new object[] { new SubXamlType("name", null, new XamlSchemaContext()), false }; 2573yield return new object[] { new SubXamlType(typeof(int), new XamlSchemaContext()), false }; 2574yield return new object[] { new SubXamlType(typeof(object), new XamlSchemaContext()), false }; 2580new CustomXamlType(typeof(int), new XamlSchemaContext()) 2591new CustomXamlType("namespace", "name", null, new XamlSchemaContext()) 2604new SubXamlType(typeof(ClassWithAmbientAttribute), new XamlSchemaContext()), 2609new SubXamlType(typeof(InheritedClassWithAmbientAttribute), new XamlSchemaContext()), 2614new SubXamlType(new ReflectionOnlyCustomAttributeDataType(typeof(ClassWithAmbientAttribute)), new XamlSchemaContext()), 2619new SubXamlType(new ThrowsCustomAttributeFormatExceptionDelegator(typeof(int)), new XamlSchemaContext()), 2625new CustomXamlType(typeof(ClassWithAmbientAttribute), new XamlSchemaContext()) 2652yield return new object[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), true }; 2653yield return new object[] { new SubXamlType("name", null, new XamlSchemaContext()), true }; 2656yield return new object[] { new SubXamlType(typeof(int), new XamlSchemaContext()), true }; 2657yield return new object[] { new SubXamlType(typeof(AbstractClass), new XamlSchemaContext()), false }; 2658yield return new object[] { new SubXamlType(typeof(IConvertible), new XamlSchemaContext()), false }; 2659yield return new object[] { new SubXamlType(typeof(NestedClass), new XamlSchemaContext()), false }; 2660yield return new object[] { new SubXamlType(typeof(List<>), new XamlSchemaContext()), false }; 2661yield return new object[] { new SubXamlType(typeof(List<>).GetTypeInfo().GenericTypeParameters[0], new XamlSchemaContext()), false }; 2662yield return new object[] { new SubXamlType(typeof(List<int>), new XamlSchemaContext()), true }; 2663yield return new object[] { new SubXamlType(typeof(ClassWithDefaultConstructor), new XamlSchemaContext()), true }; 2664yield return new object[] { new SubXamlType(typeof(ClassWithInternalDefaultConstructor), new XamlSchemaContext()), true }; 2665yield return new object[] { new SubXamlType(typeof(ClassWithProtectedDefaultConstructor), new XamlSchemaContext()), false }; 2666yield return new object[] { new SubXamlType(typeof(ClassWithPrivateDefaultConstructor), new XamlSchemaContext()), false }; 2667yield return new object[] { new SubXamlType(typeof(ClassWithCustomConstructor), new XamlSchemaContext()), true }; 2668yield return new object[] { new SubXamlType(typeof(StaticClass), new XamlSchemaContext()), false }; 2672new CustomXamlType(typeof(ClassWithCustomConstructor), new XamlSchemaContext()) 2690yield return new object[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), false }; 2691yield return new object[] { new SubXamlType("name", null, new XamlSchemaContext()), false }; 2694yield return new object[] { new SubXamlType(typeof(MarkupExtension), new XamlSchemaContext()), true }; 2695yield return new object[] { new SubXamlType(typeof(ArrayExtension), new XamlSchemaContext()), true }; 2696yield return new object[] { new SubXamlType(typeof(int), new XamlSchemaContext()), false }; 2700new CustomXamlType(typeof(MarkupExtension), new XamlSchemaContext()) 2718yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), false }; 2719yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), false }; 2722yield return new object?[] { new SubXamlType(typeof(INameScope), new XamlSchemaContext()), true }; 2723yield return new object?[] { new SubXamlType(typeof(INameScopeDictionary), new XamlSchemaContext()), true }; 2724yield return new object?[] { new SubXamlType(typeof(CustomNameScope), new XamlSchemaContext()), true }; 2725yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), false }; 2729new CustomXamlType(typeof(INameScope), new XamlSchemaContext()) 2775yield return new object[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), true }; 2776yield return new object[] { new SubXamlType("name", null, new XamlSchemaContext()), true }; 2779yield return new object[] { new SubXamlType(typeof(int?), new XamlSchemaContext()), true }; 2780yield return new object[] { new SubXamlType(typeof(System.Nullable<>), new XamlSchemaContext()), true }; 2781yield return new object[] { new SubXamlType(typeof(Nullable<int>), new XamlSchemaContext()), false }; 2782yield return new object[] { new SubXamlType(typeof(Generic<int>), new XamlSchemaContext()), false }; 2783yield return new object[] { new SubXamlType(typeof(KeyValuePair<int, string>), new XamlSchemaContext()), false }; 2784yield return new object[] { new SubXamlType(typeof(int), new XamlSchemaContext()), false }; 2785yield return new object[] { new SubXamlType(typeof(string), new XamlSchemaContext()), true }; 2786yield return new object[] { new SubXamlType(typeof(List<int>), new XamlSchemaContext()), true }; 2796new XamlSchemaContext()), false 2801new CustomXamlType(typeof(int?), new XamlSchemaContext()) 2822yield return new object[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), true }; 2823yield return new object[] { new SubXamlType("name", null, new XamlSchemaContext()), true }; 2826yield return new object[] { new SubXamlType(typeof(int), new XamlSchemaContext()), true }; 2827yield return new object[] { new SubXamlType(typeof(Generic<>), new XamlSchemaContext()), false }; 2831new CustomXamlType(typeof(INameScope), new XamlSchemaContext()) 2849yield return new object[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), true, true }; 2850yield return new object[] { new SubXamlType("name", null, new XamlSchemaContext()), true, true }; 2853yield return new object[] { new SubXamlType(typeof(int), new XamlSchemaContext()), false, false }; 2857new CustomXamlType(typeof(int), new XamlSchemaContext()) 2875yield return new object[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), false, true }; 2876yield return new object[] { new SubXamlType("name", null, new XamlSchemaContext()), false, true }; 2877yield return new object[] { new SubXamlType(typeof(int), new XamlSchemaContext()), false, false }; 2878yield return new object[] { new SubXamlType(typeof(object), new XamlSchemaContext()), false, false }; 2884new CustomXamlType(typeof(int), new XamlSchemaContext()) 2895new CustomXamlType("namespace", "name", null, new XamlSchemaContext()) 2908new SubXamlType(typeof(ClassWithWhitespaceSignificantCollectionAttribute), new XamlSchemaContext()), 2913new SubXamlType(typeof(InheritedClassWithWhitespaceSignificantCollectionAttribute), new XamlSchemaContext()), 2918new SubXamlType(new ReflectionOnlyCustomAttributeDataType(typeof(ClassWithWhitespaceSignificantCollectionAttribute)), new XamlSchemaContext()), 2923new SubXamlType(new ThrowsCustomAttributeFormatExceptionDelegator(typeof(int)), new XamlSchemaContext()), 2929new CustomXamlType(typeof(ClassWithWhitespaceSignificantCollectionAttribute), new XamlSchemaContext()) 2956yield return new object[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), false }; 2957yield return new object[] { new SubXamlType("name", null, new XamlSchemaContext()), false }; 2960yield return new object[] { new SubXamlType(typeof(IXmlSerializable), new XamlSchemaContext()), true }; 2961yield return new object[] { new SubXamlType(typeof(int), new XamlSchemaContext()), false }; 2965new CustomXamlType(typeof(IXmlSerializable), new XamlSchemaContext()) 2983yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), null }; 2984yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), null }; 2985yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), null }; 2986yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), null }; 2989yield return new object?[] { new SubXamlType(typeof(int[]), new XamlSchemaContext()), new XamlType(typeof(int), new XamlSchemaContext()) }; 2990yield return new object?[] { new SubXamlType(typeof(IList), new XamlSchemaContext()), new XamlType(typeof(object), new XamlSchemaContext()) }; 2991yield return new object?[] { new SubXamlType(typeof(List<int>), new XamlSchemaContext()), new XamlType(typeof(int), new XamlSchemaContext()) }; 2992yield return new object?[] { new SubXamlType(typeof(AmbiguousIList), new XamlSchemaContext()), new XamlType(typeof(object), new XamlSchemaContext()) }; 2993yield return new object?[] { new SubXamlType(typeof(AmbiguousICollection), new XamlSchemaContext()), null }; 2994yield return new object?[] { new SubXamlType(typeof(MultiICollectionImplementer), new XamlSchemaContext()), new XamlType(typeof(object), new XamlSchemaContext()) }; 2995yield return new object?[] { new SubXamlType(typeof(GetEnumeratorClass), new XamlSchemaContext()), new XamlType(typeof(object), new XamlSchemaContext()) }; 2996yield return new object?[] { new SubXamlType(typeof(IDictionary), new XamlSchemaContext()), new XamlType(typeof(object), new XamlSchemaContext()) }; 2997yield return new object?[] { new SubXamlType(typeof(Dictionary<int, string>), new XamlSchemaContext()), new XamlType(typeof(string), new XamlSchemaContext()) }; 2998yield return new object?[] { new SubXamlType(typeof(AmbiguousIDictionary), new XamlSchemaContext()), new XamlType(typeof(object), new XamlSchemaContext()) }; 3002new CustomXamlType(typeof(int), new XamlSchemaContext()) 3004LookupBaseTypeResult = new XamlType("namespace", "name", null, new XamlSchemaContext()) 3010new CustomXamlType(typeof(List<int>), new XamlSchemaContext()) 3031var type = new SubXamlType(underlyingType, new XamlSchemaContext()); 3038yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), null }; 3039yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), null }; 3040yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), null }; 3041yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), null }; 3044yield return new object?[] { new SubXamlType(typeof(int[]), new XamlSchemaContext()), null }; 3045yield return new object?[] { new SubXamlType(typeof(IList), new XamlSchemaContext()), null }; 3046yield return new object?[] { new SubXamlType(typeof(List<int>), new XamlSchemaContext()), null }; 3047yield return new object?[] { new SubXamlType(typeof(AmbiguousIList), new XamlSchemaContext()), null }; 3048yield return new object?[] { new SubXamlType(typeof(AmbiguousICollection), new XamlSchemaContext()), null }; 3049yield return new object?[] { new SubXamlType(typeof(MultiICollectionImplementer), new XamlSchemaContext()), null }; 3050yield return new object?[] { new SubXamlType(typeof(GetEnumeratorClass), new XamlSchemaContext()), null }; 3051yield return new object?[] { new SubXamlType(typeof(IDictionary), new XamlSchemaContext()), new XamlType(typeof(object), new XamlSchemaContext()) }; 3052yield return new object?[] { new SubXamlType(typeof(Dictionary<int, string>), new XamlSchemaContext()), new XamlType(typeof(int), new XamlSchemaContext()) }; 3053yield return new object?[] { new SubXamlType(typeof(AmbiguousIDictionary), new XamlSchemaContext()), new XamlType(typeof(object), new XamlSchemaContext()) }; 3057new CustomXamlType(typeof(int), new XamlSchemaContext()) 3059LookupBaseTypeResult = new XamlType("namespace", "name", null, new XamlSchemaContext()) 3065new CustomXamlType(typeof(Dictionary<int, string>), new XamlSchemaContext()) 3086var type = new SubXamlType(underlyingType, new XamlSchemaContext()); 3289yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), null }; 3290yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), null }; 3291yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), null }; 3292yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), null }; 3293yield return new object?[] { new SubXamlType(typeof(MarkupExtension), new XamlSchemaContext()), null }; 3299new CustomXamlType(typeof(MarkupExtension), new XamlSchemaContext()) 3306new XamlType(typeof(int), new XamlSchemaContext()) 3310new CustomXamlType(typeof(MarkupExtension), new XamlSchemaContext()) 3321new CustomXamlType("namespace", "name", null, new XamlSchemaContext()) 3334new SubXamlType(typeof(ClassWithMarkupExtensionReturnTypeAttribute), new XamlSchemaContext()), 3335new XamlType(typeof(int), new XamlSchemaContext()) 3339new SubXamlType(typeof(InheritedClassWithMarkupExtensionReturnTypeAttribute), new XamlSchemaContext()), 3340new XamlType(typeof(int), new XamlSchemaContext()) 3344new SubXamlType(new ReflectionOnlyCustomAttributeDataType(typeof(ClassWithMarkupExtensionReturnTypeAttribute)), new XamlSchemaContext()), 3345new XamlType(typeof(int), new XamlSchemaContext()) 3349new SubXamlType(new ThrowsCustomAttributeFormatExceptionDelegator(typeof(MarkupExtension)), new XamlSchemaContext()), 3355new CustomXamlType(typeof(ClassWithMarkupExtensionReturnTypeAttribute), new XamlSchemaContext()) 3374var type = new SubXamlType(typeof(ClassWithNullMarkupExtensionReturnTypeAttribute), new XamlSchemaContext()); 3382var type = new CustomXamlType(typeof(MarkupExtension), new XamlSchemaContext()) 3396var type = new CustomXamlType(typeof(MarkupExtension), new XamlSchemaContext()) 3410var type = new CustomXamlType(typeof(MarkupExtension), new XamlSchemaContext()) 3453yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), "name", false, null, null }; 3454yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), "", true, null, null }; 3455yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), "name", false, null, null }; 3456yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), "name", false, null, null }; 3457yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), "name", false, null, null }; 3466new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3468new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.Property)), new XamlSchemaContext()), 3469new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.Property)), new XamlSchemaContext()) 3473new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3475new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.GetOnlyListProperty)), new XamlSchemaContext()), 3476new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.GetOnlyListProperty)), new XamlSchemaContext()) 3480new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3482new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.GetOnlyDictionaryProperty)), new XamlSchemaContext()), 3483new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.GetOnlyDictionaryProperty)), new XamlSchemaContext()) 3487new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3489new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.GetXDataProperty)), new XamlSchemaContext()), 3490new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.GetXDataProperty)), new XamlSchemaContext()) 3494new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3496new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.SetOnlyProperty)), new XamlSchemaContext()), 3497new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.SetOnlyProperty)), new XamlSchemaContext()) 3501new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3503new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.PrivateGetProperty)), new XamlSchemaContext()), 3504new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.PrivateGetProperty)), new XamlSchemaContext()) 3508new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3510new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.PrivateSetProperty)), new XamlSchemaContext()), 3511new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.PrivateSetProperty)), new XamlSchemaContext()) 3515new SubXamlType(typeof(MoreDerivedShadowedDataClass), new XamlSchemaContext()), 3517new XamlMember(typeof(MoreDerivedShadowedDataClass).GetProperty(nameof(MoreDerivedShadowedDataClass.Property), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly)!, new XamlSchemaContext()), 3518new XamlMember(typeof(MoreDerivedShadowedDataClass).GetProperty(nameof(MoreDerivedShadowedDataClass.Property), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly)!, new XamlSchemaContext()) 3530}, new XamlSchemaContext()), 3532new XamlMember(typeof(EvenMoreDerivedShadowedBaseClass).GetProperty(nameof(EvenMoreDerivedShadowedBaseClass.Property), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly)!, new XamlSchemaContext()), 3533new XamlMember(typeof(EvenMoreDerivedShadowedBaseClass).GetProperty(nameof(EvenMoreDerivedShadowedBaseClass.Property), BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly)!, new XamlSchemaContext()) 3545}, new XamlSchemaContext()), 3547new XamlMember(typeof(EvenMoreDerivedShadowedBaseClass).GetProperty(nameof(EvenMoreDerivedShadowedBaseClass.Property)!, BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly), new XamlSchemaContext()), 3548new XamlMember(typeof(EvenMoreDerivedShadowedBaseClass).GetProperty(nameof(EvenMoreDerivedShadowedBaseClass.Property)!, BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly), new XamlSchemaContext()) 3552new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3559new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3561new XamlMember(typeof(MembersDataClass).GetProperty("ProtectedProperty", BindingFlags.Instance | BindingFlags.NonPublic)!, new XamlSchemaContext()), 3562new XamlMember(typeof(MembersDataClass).GetProperty("ProtectedProperty", BindingFlags.Instance | BindingFlags.NonPublic)!, new XamlSchemaContext()) 3566new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3568new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.InternalProperty), BindingFlags.Instance | BindingFlags.NonPublic)!, new XamlSchemaContext()), 3569new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.InternalProperty), BindingFlags.Instance | BindingFlags.NonPublic)!, new XamlSchemaContext()) 3573new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3580new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3587new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3596new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3603new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3605new XamlMember(typeof(MembersDataClass).GetProperty(nameof(MembersDataClass.GetOnlyProperty))!, new XamlSchemaContext()), 3614new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3616new XamlMember(typeof(MembersDataClass).GetEvent(nameof(MembersDataClass.Event))!, new XamlSchemaContext()), 3617new XamlMember(typeof(MembersDataClass).GetEvent(nameof(MembersDataClass.Event))!, new XamlSchemaContext()) 3621new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3628new SubXamlType(typeof(MembersDataClass), new XamlSchemaContext()), 3637new CustomXamlType(typeof(MembersDataClass), new XamlSchemaContext()) 3658var type = new SubXamlType(typeof(int), new XamlSchemaContext()); 3673yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), 1, null }; 3674yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), 1, null }; 3675yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), 1, null }; 3676yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), -1, null }; 3677yield return new object?[] { new SubXamlType(typeof(MarkupExtension), new XamlSchemaContext()), 1, null }; 3680yield return new object?[] { new SubXamlType(typeof(ClassWithCustomConstructor), new XamlSchemaContext()), 1, new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) } }; 3682yield return new object?[] { new SubXamlType(typeof(TypeExtension), new XamlSchemaContext()), 2, null }; 3683yield return new object?[] { new SubXamlType(typeof(TypeExtension), new XamlSchemaContext()), 1, new XamlType[] { new XamlType(typeof(Type), new XamlSchemaContext()) } }; 3684yield return new object?[] { new SubXamlType(typeof(TypeExtension), new XamlSchemaContext()), 0, null }; 3685yield return new object?[] { new SubXamlType(typeof(TypeExtension), new XamlSchemaContext()), -1, null }; 3688yield return new object?[] { new SubXamlType(typeof(ArrayExtension), new XamlSchemaContext(duplicateSupport)), 2, null }; 3689yield return new object?[] { new SubXamlType(typeof(ArrayExtension), new XamlSchemaContext(duplicateSupport)), 1, new XamlType[] { new XamlType(typeof(Type), new XamlSchemaContext()) } }; 3690yield return new object?[] { new SubXamlType(typeof(ArrayExtension), new XamlSchemaContext(duplicateSupport)), 0, Array.Empty<XamlType>() }; 3691yield return new object?[] { new SubXamlType(typeof(ArrayExtension), new XamlSchemaContext(duplicateSupport)), -1, null }; 3695new CustomXamlType(typeof(ArrayExtension), new XamlSchemaContext()) 3717var type = new SubXamlType(underlyingType, new XamlSchemaContext()); 3724yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), null }; 3725yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), null }; 3726yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), null }; 3727yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), null }; 3733new CustomXamlType(typeof(ClassWithXamlSetMarkupExtensionEventArgsDelegate), new XamlSchemaContext()) 3744new CustomXamlType(typeof(int), new XamlSchemaContext()) 3755new CustomXamlType("namespace", "name", null, new XamlSchemaContext()) 3768new SubXamlType(typeof(ClassWithXamlSetMarkupExtensionAttribute), new XamlSchemaContext()), 3773new SubXamlType(typeof(InheritedClassWithXamlSetMarkupExtensionAttribute), new XamlSchemaContext()), 3778new SubXamlType(typeof(ClassWithNullXamlSetMarkupExtensionAttribute), new XamlSchemaContext()), 3783new SubXamlType(new ThrowsCustomAttributeFormatExceptionDelegator(typeof(int)), new XamlSchemaContext()), 3789new CustomXamlType(typeof(ClassWithXamlSetMarkupExtensionAttribute), new XamlSchemaContext()) 3797new CustomXamlType(typeof(int), new XamlSchemaContext()) 3799LookupBaseTypeResult = new XamlType("namespace", "name", null, new XamlSchemaContext()) 3815var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 3828var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 3841var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 3871}, new XamlSchemaContext()); 3878var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 3891var type = new SubXamlType(new ReflectionOnlyCustomAttributeDataType(typeof(ClassWithXamlSetMarkupExtensionAttribute)), new XamlSchemaContext()); 3923yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), null }; 3924yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), null }; 3925yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), null }; 3926yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), null }; 3932new CustomXamlType(typeof(ClassWithXamlSetTypeConverterEventArgsDelegate), new XamlSchemaContext()) 3943new CustomXamlType(typeof(int), new XamlSchemaContext()) 3954new CustomXamlType("namespace", "name", null, new XamlSchemaContext()) 3967new SubXamlType(typeof(ClassWithXamlSetTypeConverterAttribute), new XamlSchemaContext()), 3972new SubXamlType(typeof(InheritedClassWithXamlSetTypeConverterAttribute), new XamlSchemaContext()), 3977new SubXamlType(typeof(ClassWithNullXamlSetTypeConverterAttribute), new XamlSchemaContext()), 3982new SubXamlType(new ThrowsCustomAttributeFormatExceptionDelegator(typeof(int)), new XamlSchemaContext()), 3988new CustomXamlType(typeof(ClassWithXamlSetTypeConverterAttribute), new XamlSchemaContext()) 3996new CustomXamlType(typeof(int), new XamlSchemaContext()) 3998LookupBaseTypeResult = new XamlType("namespace", "name", null, new XamlSchemaContext()) 4014var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 4027var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 4040var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 4070}, new XamlSchemaContext()); 4077var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 4090var type = new SubXamlType(new ReflectionOnlyCustomAttributeDataType(typeof(ClassWithXamlSetTypeConverterAttribute)), new XamlSchemaContext()); 4122yield return new object[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), false }; 4123yield return new object[] { new SubXamlType("name", null, new XamlSchemaContext()), false }; 4124yield return new object[] { new SubXamlType(typeof(int), new XamlSchemaContext()), false }; 4125yield return new object[] { new SubXamlType(typeof(object), new XamlSchemaContext()), false }; 4131new CustomXamlType(typeof(int), new XamlSchemaContext()) 4142new CustomXamlType("namespace", "name", null, new XamlSchemaContext()) 4155new SubXamlType(typeof(ClassWithTrimSurroundingWhitespaceAttribute), new XamlSchemaContext()), 4160new SubXamlType(typeof(InheritedClassWithTrimSurroundingWhitespaceAttribute), new XamlSchemaContext()), 4165new SubXamlType(new ReflectionOnlyCustomAttributeDataType(typeof(ClassWithTrimSurroundingWhitespaceAttribute)), new XamlSchemaContext()), 4170new SubXamlType(new ThrowsCustomAttributeFormatExceptionDelegator(typeof(int)), new XamlSchemaContext()), 4176new CustomXamlType(typeof(ClassWithTrimSurroundingWhitespaceAttribute), new XamlSchemaContext()) 4203yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), null }; 4204yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), null }; 4205yield return new object?[] { new SubXamlType(typeof(byte), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(ByteConverter), null) }; 4206yield return new object?[] { new SubXamlType(typeof(sbyte), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(SByteConverter), null) }; 4207yield return new object?[] { new SubXamlType(typeof(ushort), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(UInt16Converter), null) }; 4208yield return new object?[] { new SubXamlType(typeof(short), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(Int16Converter), null) }; 4209yield return new object?[] { new SubXamlType(typeof(uint), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(UInt32Converter), null) }; 4210yield return new object?[] { new SubXamlType(typeof(int), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(Int32Converter), null) }; 4211yield return new object?[] { new SubXamlType(typeof(ulong), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(UInt64Converter), null) }; 4212yield return new object?[] { new SubXamlType(typeof(long), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(Int64Converter), null) }; 4213yield return new object?[] { new SubXamlType(typeof(char), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(CharConverter), null) }; 4214yield return new object?[] { new SubXamlType(typeof(bool), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(BooleanConverter), null) }; 4215yield return new object?[] { new SubXamlType(typeof(float), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(SingleConverter), null) }; 4216yield return new object?[] { new SubXamlType(typeof(double), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(DoubleConverter), null) }; 4217yield return new object?[] { new SubXamlType(typeof(decimal), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(DecimalConverter), null) }; 4218yield return new object?[] { new SubXamlType(typeof(string), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(StringConverter), null) }; 4219yield return new object?[] { new SubXamlType(typeof(TimeSpan), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(TimeSpanConverter), null) }; 4220yield return new object?[] { new SubXamlType(typeof(Guid), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(GuidConverter), null) }; 4221yield return new object?[] { new SubXamlType(typeof(CultureInfo), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(CultureInfoConverter), null) }; 4222yield return new object?[] { new SubXamlType(typeof(ConsoleColor), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(EnumConverter), new XamlType(typeof(ConsoleColor), new XamlSchemaContext())) }; 4223yield return new object?[] { new SubXamlType(typeof(int?), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(typeof(Int32Converter), null) }; 4224yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), new XamlValueConverter<TypeConverter>(null, XamlLanguage.Object) }; 4230new CustomXamlType(typeof(int), new XamlSchemaContext()) 4241new CustomXamlType(typeof(int), new XamlSchemaContext()) 4252new CustomXamlType("namespace", "name", null, new XamlSchemaContext()) 4265new SubXamlType(typeof(ClassWithTypeConverterAttribute), new XamlSchemaContext()), 4270new SubXamlType(typeof(StructWithTypeConverterAttribute?), new XamlSchemaContext()), 4275new SubXamlType(typeof(InheritedClassWithTypeConverterAttribute), new XamlSchemaContext()), 4280new SubXamlType(new ReflectionOnlyCustomAttributeDataType(typeof(ClassWithStringTypeConverterAttribute)), new XamlSchemaContext()), 4285new SubXamlType(new ThrowsCustomAttributeFormatExceptionDelegator(typeof(int)), new XamlSchemaContext()), 4291new CustomXamlType(typeof(ClassWithTypeConverterAttribute), new XamlSchemaContext()) 4310var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 4324var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 4338var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 4369}, new XamlSchemaContext()); 4379var type = new SubXamlType(underlyingType, new XamlSchemaContext()); 4387var type = new SubXamlType(typeof(ClassWithNullStringTypeConverterAttribute), new XamlSchemaContext()); 4429var type = new SubXamlType("namespace", "name", null, new XamlSchemaContext()); 4437var type = new SubXamlType(typeof(int), new XamlSchemaContext()); 4445var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 4455yield return new object[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), false }; 4456yield return new object[] { new SubXamlType("name", null, new XamlSchemaContext()), false }; 4457yield return new object[] { new SubXamlType(typeof(int), new XamlSchemaContext()), false }; 4458yield return new object[] { new SubXamlType(typeof(object), new XamlSchemaContext()), false }; 4459yield return new object[] { new SubXamlType(typeof(MarkupExtension), new XamlSchemaContext()), false }; 4465new CustomXamlType(typeof(int), new XamlSchemaContext()) 4476new CustomXamlType(typeof(int), new XamlSchemaContext()) 4487new CustomXamlType("namespace", "name", null, new XamlSchemaContext()) 4500new SubXamlType(typeof(ClassWithUsableDuringInitializationAttribute), new XamlSchemaContext()), 4505new SubXamlType(typeof(InheritedClassWithUsableDuringInitializationAttribute), new XamlSchemaContext()), 4510new SubXamlType(new ReflectionOnlyCustomAttributeDataType(typeof(ClassWithUsableDuringInitializationAttribute)), new XamlSchemaContext()), 4515new SubXamlType(new ThrowsCustomAttributeFormatExceptionDelegator(typeof(int)), new XamlSchemaContext()), 4521new CustomXamlType(typeof(ClassWithUsableDuringInitializationAttribute), new XamlSchemaContext()) 4540var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 4554var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 4568var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 4582var type = new CustomXamlType(typeof(MarkupExtension), new XamlSchemaContext()) 4610}, new XamlSchemaContext()); 4627yield return new object?[] { new SubXamlType("namespace", "name", null, new XamlSchemaContext()), null }; 4628yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), null }; 4630yield return new object?[] { new SubXamlType(typeof(int?), new XamlSchemaContext()), null }; 4631yield return new object?[] { new SubXamlType(typeof(string), new XamlSchemaContext()), new XamlValueConverter<ValueSerializer>(ValueSerializer.GetSerializerFor(typeof(string))!.GetType(), null) }; 4632yield return new object?[] { new SubXamlType(typeof(object), new XamlSchemaContext()), null }; 4638new CustomXamlType(typeof(int), new XamlSchemaContext()) 4649new CustomXamlType(typeof(int), new XamlSchemaContext()) 4660new CustomXamlType("namespace", "name", null, new XamlSchemaContext()) 4673new SubXamlType(typeof(ClassWithValueSerializerAttribute), new XamlSchemaContext()), 4678new SubXamlType(typeof(StructWithValueSerializerAttribute?), new XamlSchemaContext()), 4683new SubXamlType(typeof(InheritedClassWithValueSerializerAttribute), new XamlSchemaContext()), 4688new SubXamlType(new ReflectionOnlyCustomAttributeDataType(typeof(ClassWithStringValueSerializerAttribute)), new XamlSchemaContext()), 4693new SubXamlType(new ThrowsCustomAttributeFormatExceptionDelegator(typeof(int)), new XamlSchemaContext()), 4699new CustomXamlType(typeof(ClassWithValueSerializerAttribute), new XamlSchemaContext()) 4718var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 4732var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 4746var type = new CustomXamlType(typeof(int), new XamlSchemaContext()) 4777}, new XamlSchemaContext()); 4785var type = new SubXamlType(typeof(ClassWithNullValueSerializerAttribute), new XamlSchemaContext()); 4793var type = new SubXamlType(typeof(ClassWithNullStringValueSerializerAttribute), new XamlSchemaContext()); 4830yield return new object?[] { new XamlType(typeof(int), new XamlSchemaContext()), new XamlType(typeof(int), new XamlSchemaContext()), true }; 4831yield return new object?[] { new XamlType(typeof(int), new XamlSchemaContext()), new XamlType(typeof(object), new XamlSchemaContext()), true }; 4832yield return new object?[] { new XamlType(typeof(int), new XamlSchemaContext()), new XamlType(typeof(string), new XamlSchemaContext()), false }; 4833yield return new object?[] { new XamlType(typeof(SubXamlType), new XamlSchemaContext()), new XamlType(typeof(XamlType), new XamlSchemaContext()), true }; 4834yield return new object?[] { new XamlType(typeof(XamlType), new XamlSchemaContext()), new XamlType(typeof(SubXamlType), new XamlSchemaContext()), false }; 4835yield return new object?[] { new XamlType(typeof(int), new XamlSchemaContext()), new XamlType("unknownTypeNamespace", "unknownType", null, new XamlSchemaContext()), false }; 4836yield return new object?[] { new XamlType(typeof(int), new XamlSchemaContext()), null, false }; 4839yield return new object?[] { new XamlType("unknownTypeNamespace", "unknownType", null, new XamlSchemaContext()), new XamlType("unknownTypeNamespace", "unknownType", null, new XamlSchemaContext()), true }; 4840yield return new object?[] { new XamlType("unknownTypeNamespace", "unknownType", null, new XamlSchemaContext()), new XamlType("otherTypeNamespace", "unknownType", null, new XamlSchemaContext()), false }; 4841yield return new object?[] { new XamlType("unknownTypeNamespace", "unknownType", null, new XamlSchemaContext()), new XamlType(typeof(int), new XamlSchemaContext()), false }; 4842yield return new object?[] { new XamlType("unknownTypeNamespace", "unknownType", null, new XamlSchemaContext()), null, false }; 4847new XamlType(new ReflectionOnlyType(typeof(XamlType)), new XamlSchemaContext()), 4848new XamlType(typeof(XamlType), new XamlSchemaContext()), 4853new XamlType(new ReflectionOnlyType(typeof(XamlType)), new XamlSchemaContext()), 4854new XamlType(typeof(XamlSchemaContext), new XamlSchemaContext()), 4859new XamlType(new ReflectionOnlyType(typeof(int)), new XamlSchemaContext()), 4860new XamlType(typeof(XamlSchemaContext), new XamlSchemaContext()), 4865new XamlType(new ReflectionOnlyType(typeof(XamlObjectWriterSettings)), new XamlSchemaContext()), 4866new XamlType(typeof(XamlWriterSettings), new XamlSchemaContext()), 4871new XamlType(new ReflectionOnlyType(typeof(XamlWriterSettings)), new XamlSchemaContext()), 4872new XamlType(typeof(XamlObjectWriterSettings), new XamlSchemaContext()), 4886new XamlType(differentVersionType, new XamlSchemaContext()), 4887new XamlType(typeof(XamlType), new XamlSchemaContext()), 4899new XamlType(differentCultureType, new XamlSchemaContext()), 4900new XamlType(typeof(XamlType), new XamlSchemaContext()), 4912new XamlType(differentPublicKeyTokenType, new XamlSchemaContext()), 4913new XamlType(typeof(XamlType), new XamlSchemaContext()), 4927new XamlType(windowsBaseType, new XamlSchemaContext()), 4928new XamlType(typeof(XamlType), new XamlSchemaContext()), 4941new XamlType(invalidWindowsBaseType, new XamlSchemaContext()), 4942new XamlType(typeof(XamlType), new XamlSchemaContext()), 4957new XamlType(invalidKeyTokenWindowsBaseType, new XamlSchemaContext()), 4958new XamlType(typeof(XamlType), new XamlSchemaContext()), 4965new XamlType(new ReflectionOnlyType(typeof(int)), new XamlSchemaContext()), 4966new XamlType(typeof(XamlType), new XamlSchemaContext()), 4973new XamlType(new ReflectionOnlyType(typeof(CustomNameScope)), new XamlSchemaContext()), 4974new XamlType(typeof(INameScope), new XamlSchemaContext()), 4979new XamlType(new ReflectionOnlyType(typeof(CustomNameScopeDictionary)), new XamlSchemaContext()), 4980new XamlType(typeof(INameScope), new XamlSchemaContext()), 4985new XamlType(new ReflectionOnlyType(typeof(XamlType)), new XamlSchemaContext()), 4986new XamlType(typeof(INameScope), new XamlSchemaContext()), 4991new XamlType(new ReflectionOnlyType(typeof(int)), new XamlSchemaContext()), 4992new XamlType(typeof(INameScope), new XamlSchemaContext()), 4997new XamlType(new ReflectionOnlyType(typeof(INameScope)), new XamlSchemaContext()), 4998new XamlType(typeof(INameScope), new XamlSchemaContext()), 5003new XamlType(new ReflectionOnlyType(typeof(INameScope)), new XamlSchemaContext()), 5004new XamlType(typeof(INameScopeDictionary), new XamlSchemaContext()), 5009new XamlType(new ReflectionOnlyType(typeof(INameScopeDictionary)), new XamlSchemaContext()), 5010new XamlType(typeof(INameScope), new XamlSchemaContext()), 5020new XamlType(nullInterface, new XamlSchemaContext()), 5021new XamlType(typeof(INameScope), new XamlSchemaContext()), 5029new XamlType(new ReflectionOnlyType(typeof(int)), new XamlSchemaContext()), 5030new XamlType(genericTypeParameter, new XamlSchemaContext()), 5040new XamlType(new ReflectionOnlyType(typeof(int)), new XamlSchemaContext()), 5041new XamlType(nullConstrainedGenericParameter, new XamlSchemaContext()), 5051new XamlType(new ReflectionOnlyType(typeof(XamlObjectWriterSettings)), new XamlSchemaContext()), 5052new XamlType(constrainedGenericParameter, new XamlSchemaContext()), 5058new XamlType(new ReflectionOnlyType(typeof(XamlWriterSettings)), new XamlSchemaContext()), 5059new XamlType(constrainedGenericParameter, new XamlSchemaContext()), 5067new XamlType(new ReflectionOnlyType(typeof(XamlType)), new XamlSchemaContext()), 5068new XamlType(new InconsistentNameTypeDelegator(typeof(XamlType)), new XamlSchemaContext()), 5082var type = new XamlType(typeof(int), new XamlSchemaContext()); 5084yield return new object?[] { type, new XamlType(typeof(int), new XamlSchemaContext()), true }; 5085yield return new object?[] { type, new XamlType(typeof(string), new XamlSchemaContext()), false }; 5086yield return new object?[] { type, new XamlType("namespace", "name", null, new XamlSchemaContext()), false }; 5087yield return new object?[] { type, new SubXamlType("name", null, new XamlSchemaContext()), false }; 5089yield return new object?[] { new XamlType("namespace", "name", null, new XamlSchemaContext()), new XamlType("namespace", "name", null, new XamlSchemaContext()), true }; 5090yield return new object?[] { new XamlType("namespace", "name", new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) }, new XamlSchemaContext()), new XamlType("namespace", "name", new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) }, new XamlSchemaContext()), true }; 5091yield return new object?[] { new XamlType("namespace", "name", null, new XamlSchemaContext()), new XamlType("otherNamespace", "name", null, new XamlSchemaContext()), false }; 5092yield return new object?[] { new XamlType("namespace", "name", null, new XamlSchemaContext()), new XamlType("namespace", "otherName", null, new XamlSchemaContext()), false }; 5093yield return new object?[] { new XamlType("namespace", "name", null, new XamlSchemaContext()), new XamlType("namespace", "name", new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) }, new XamlSchemaContext()), false }; 5094yield return new object?[] { new XamlType("namespace", "name", new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) }, new XamlSchemaContext()), new XamlType("namespace", "name", null, new XamlSchemaContext()), false }; 5095yield return new object?[] { new XamlType("namespace", "name", new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) }, new XamlSchemaContext()), new XamlType("namespace", "name", new XamlType[] { new XamlType(typeof(string), new XamlSchemaContext()) }, new XamlSchemaContext()), false }; 5096yield return new object?[] { new XamlType("namespace", "name", new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()), new XamlType(typeof(string), new XamlSchemaContext()) }, new XamlSchemaContext()), new XamlType("namespace", "name", new XamlType[] { new XamlType(typeof(string), new XamlSchemaContext()) }, new XamlSchemaContext()), false }; 5097yield return new object?[] { new XamlType("namespace", "name", new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) }, new XamlSchemaContext()), new XamlType("namespace", "name", new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()), new XamlType(typeof(string), new XamlSchemaContext()) }, new XamlSchemaContext()), false }; 5098yield return new object?[] { new XamlType("namespace", "name", null, new XamlSchemaContext()), new XamlType(typeof(int), new XamlSchemaContext()), false }; 5099yield return new object?[] { new XamlType("namespace", "name", null, new XamlSchemaContext()), new SubXamlType("name", null, new XamlSchemaContext()), false }; 5101yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), new SubXamlType("name", null, new XamlSchemaContext()), true }; 5102yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), new SubXamlType("otherName", null, new XamlSchemaContext()), false }; 5103yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), new XamlType(typeof(int), new XamlSchemaContext()), false }; 5104yield return new object?[] { new SubXamlType("name", null, new XamlSchemaContext()), new XamlType("namespace", "name", null, new XamlSchemaContext()), false }; 5129yield return new object[] { new XamlType("name", "namespace", null, new XamlSchemaContext()) }; 5130yield return new object[] { new XamlType("name", "namespace", new XamlType[] { new XamlType(typeof(int), new XamlSchemaContext()) }, new XamlSchemaContext()) }; 5131yield return new object[] { new XamlType(typeof(int), new XamlSchemaContext()) }; 5132yield return new object[] { new SubXamlType("typeName", null, new XamlSchemaContext()) }; 5176public NoUnderlyingOrBaseType() : base("name", null, new XamlSchemaContext()) { }
System\Xaml\XamlWriterTests.cs (2)
33TypeResult = new XamlType(typeof(int), new XamlSchemaContext()) 46MemberResult = new XamlMember("name", new XamlType(typeof(int), new XamlSchemaContext()), false)
239 references to XamlSchemaContext
PresentationFramework (33)
MS\Internal\Helper.cs (1)
617System.Xaml.XamlSchemaContext sc = scp.SchemaContext;
System\Windows\DeferrableContentConverter.cs (1)
32XamlSchemaContext xamlSchemaContext =
System\Windows\Markup\Baml2006\Baml2006KeyRecord.cs (2)
24public KeyRecord(bool shared, bool sharedSet, int valuePosition, XamlSchemaContext context) : 98public StaticResource(XamlType type, XamlSchemaContext schemaContext)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
185override public XamlSchemaContext SchemaContext
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (2)
18internal Baml2006SchemaContext(Assembly localAssembly, XamlSchemaContext parentSchemaContext) 692private XamlSchemaContext _parentSchemaContext;
System\Windows\Markup\Baml2006\WpfKnownMember.cs (2)
66public WpfKnownMember(XamlSchemaContext schema, 78public WpfKnownMember(XamlSchemaContext schema,
System\Windows\Markup\Baml2006\WpfKnownType.cs (2)
64public WpfKnownType(XamlSchemaContext schema, 72public WpfKnownType(XamlSchemaContext schema,
System\Windows\Markup\Baml2006\WpfXamlMember.cs (4)
47XamlSchemaContext schemaContext, 58XamlSchemaContext schemaContext, 69XamlSchemaContext schemaContext, 80XamlSchemaContext schemaContext,
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
75public WpfXamlType(Type type, XamlSchemaContext schema, bool isBamlScenario, bool useV3Rules)
System\Windows\Markup\DependencyPropertyConverter.cs (3)
165XamlSchemaContext schemaContext = (serviceProvider.GetService(typeof(IXamlSchemaContextProvider)) 182XamlSchemaContext schemaContext = ixscp.SchemaContext; 241private static Type GetTypeFromName(XamlSchemaContext schemaContext,
System\Windows\Markup\RestrictiveXamlXmlReader.cs (2)
72public RestrictiveXamlXmlReader(XmlReader xmlReader, XamlSchemaContext schemaContext, XamlXmlReaderSettings settings) : base(xmlReader, schemaContext, settings) 79internal RestrictiveXamlXmlReader(XmlReader xmlReader, XamlSchemaContext schemaContext, XamlXmlReaderSettings settings, List<Type> safeTypes) : base(xmlReader, schemaContext, settings)
System\Windows\Markup\RoutedEventConverter.cs (1)
85XamlSchemaContext schemaContext = schemaContextProvider.SchemaContext;
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
100XamlSchemaContext schemaContext = ixsc.SchemaContext;
System\Windows\Markup\WpfXamlLoader.cs (1)
47internal static void EnsureXmlNamespaceMaps(object rootObject, XamlSchemaContext schemaContext)
System\Windows\Markup\XamlReader.cs (3)
349XamlSchemaContext schemaContext = parserContext.XamlTypeMapper != null ? 770public static XamlSchemaContext GetWpfSchemaContext() 895XamlSchemaContext schemaContext = parserContext.XamlTypeMapper != null ?
System\Windows\Markup\XamlTypeMapper.cs (1)
3866internal System.Xaml.XamlSchemaContext SchemaContext
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
414public VisibilityMaskingXamlType(Type underlyingType, XamlSchemaContext schemaContext)
System\Windows\StaticResourceExtension.cs (1)
208XamlSchemaContext schemaContext = schemaContextProvider.SchemaContext;
System\Windows\TemplateContent.cs (3)
1395internal XamlSchemaContext SchemaContext { get; private set; } 1425private XamlSchemaContext _schemaContext; 1429public ServiceProviderWrapper(IServiceProvider services, XamlSchemaContext schemaContext)
PresentationFramework.Aero (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
234public ThemesKnownType(XamlSchemaContext xsc, int bamlNumber, string name, Type type) :
PresentationFramework.Aero2 (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
234public ThemesKnownType(XamlSchemaContext xsc, int bamlNumber, string name, Type type) :
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
234public ThemesKnownType(XamlSchemaContext xsc, int bamlNumber, string name, Type type) :
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
234public ThemesKnownType(XamlSchemaContext xsc, int bamlNumber, string name, Type type) :
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
234public ThemesKnownType(XamlSchemaContext xsc, int bamlNumber, string name, Type type) :
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
234public ThemesKnownType(XamlSchemaContext xsc, int bamlNumber, string name, Type type) :
System.Xaml (109)
System\Xaml\Context\ObjectWriterContext.cs (1)
78public ObjectWriterContext(XamlSchemaContext schemaContext,
System\Xaml\Context\SavedContext.cs (2)
15private XamlSchemaContext _context; 37public XamlSchemaContext SchemaContext { get { return _context; } }
System\Xaml\Context\ServiceProviderContext.cs (1)
220XamlSchemaContext IXamlSchemaContextProvider.SchemaContext
System\Xaml\Context\XamlContext.cs (3)
16private XamlSchemaContext _schemaContext; 20protected XamlContext(XamlSchemaContext schemaContext) 25public XamlSchemaContext SchemaContext
System\Xaml\Context\XamlParserContext.cs (1)
22public XamlParserContext(XamlSchemaContext schemaContext, Assembly localAssembly)
System\Xaml\InfosetObjects\DeferredWriter.cs (1)
272public override XamlSchemaContext SchemaContext
System\Xaml\InfosetObjects\XamlObjectWriter.cs (5)
46public XamlObjectWriter(XamlSchemaContext schemaContext) 52public XamlObjectWriter(XamlSchemaContext schemaContext, XamlObjectWriterSettings settings) 69void Initialize(XamlSchemaContext schemaContext, XamlSavedContext savedContext, XamlObjectWriterSettings settings) 119private XamlRuntime CreateRuntime(XamlObjectWriterSettings settings, XamlSchemaContext schemaContext) 1026public override XamlSchemaContext SchemaContext
System\Xaml\InfosetObjects\XamlXmlReader.cs (10)
42public XamlXmlReader(XmlReader xmlReader, XamlSchemaContext schemaContext) 50public XamlXmlReader(XmlReader xmlReader, XamlSchemaContext schemaContext, XamlXmlReaderSettings settings) 71public XamlXmlReader(string fileName, XamlSchemaContext schemaContext) 79public XamlXmlReader(string fileName, XamlSchemaContext schemaContext, XamlXmlReaderSettings settings) 105public XamlXmlReader(Stream stream, XamlSchemaContext schemaContext) 113public XamlXmlReader(Stream stream, XamlSchemaContext schemaContext, XamlXmlReaderSettings settings) 139public XamlXmlReader(TextReader textReader, XamlSchemaContext schemaContext) 147public XamlXmlReader(TextReader textReader, XamlSchemaContext schemaContext, XamlXmlReaderSettings settings) 161private void Initialize(XmlReader givenXmlReader, XamlSchemaContext schemaContext, XamlXmlReaderSettings settings) 308public override XamlSchemaContext SchemaContext
System\Xaml\IXamlSchemaContextProvider.cs (1)
11XamlSchemaContext SchemaContext { get; }
System\Xaml\MS\Impl\XmlNsInfo.cs (1)
208XamlSchemaContext.CreateDictionary<string, IList<string>>();
System\Xaml\Parser\NodeStreamSorter.cs (1)
230XamlSchemaContext schemaContext = _context.SchemaContext;
System\Xaml\Parser\XamlScanner.cs (1)
297XamlSchemaContext schemaContext = _parserContext.SchemaContext;
System\Xaml\ReaderBaseDelegate.cs (3)
17protected XamlSchemaContext _schemaContext; 22protected ReaderBaseDelegate(XamlSchemaContext schemaContext) 57public override XamlSchemaContext SchemaContext
System\Xaml\ReaderDelegate.cs (1)
19public ReaderDelegate(XamlSchemaContext schemaContext, XamlNodeNextDelegate next, bool hasLineInfo)
System\Xaml\ReaderMultiIndexDelegate.cs (1)
29public ReaderMultiIndexDelegate(XamlSchemaContext schemaContext, XamlNodeIndexDelegate indexDelegate, int count, bool hasLineInfo)
System\Xaml\Runtime\DynamicMethodRuntime.cs (2)
45XamlSchemaContext _schemaContext; 127internal DynamicMethodRuntime(XamlRuntimeSettings settings, XamlSchemaContext schemaContext,
System\Xaml\Runtime\PartialTrustTolerantRuntime.cs (2)
36XamlSchemaContext _schemaContext; 38public PartialTrustTolerantRuntime(XamlRuntimeSettings runtimeSettings, XamlAccessLevel accessLevel, XamlSchemaContext schemaContext)
System\Xaml\Schema\MemberReflector.cs (3)
223internal static bool IsInternalVisibleTo(MethodInfo method, Assembly accessingAssembly, XamlSchemaContext schemaContext) 247internal static bool IsProtectedVisibleTo(MethodInfo method, Type derivedType, XamlSchemaContext schemaContext) 281internal static bool GenericArgumentsAreVisibleTo(MethodInfo method, Assembly accessingAssembly, XamlSchemaContext schemaContext)
System\Xaml\Schema\TypeReflector.cs (5)
126internal static bool IsVisibleTo(Type type, Assembly accessingAssembly, XamlSchemaContext schemaContext) 379var dict = XamlSchemaContext.CreateDictionary<XamlDirective, XamlMember>(); 985internal IList<XamlMember> LookupAllAttachableMembers(XamlSchemaContext schemaContext) 1002private void GetOrCreateAttachableProperties(XamlSchemaContext schemaContext, List<XamlMember> result, 1045private void GetOrCreateAttachableEvents(XamlSchemaContext schemaContext,
System\Xaml\Schema\XamlNamespace.cs (5)
16public readonly XamlSchemaContext SchemaContext; 24public XamlNamespace(XamlSchemaContext schemaContext) 30public XamlNamespace(XamlSchemaContext schemaContext, string clrNs, string assemblyName) 47_typeCache = XamlSchemaContext.CreateDictionary<string, XamlType>(); 93return XamlSchemaContext.TryAdd(_typeCache, typeName, xamlType);
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
94private static XamlType GetXamlTypeOrUnknown(XamlSchemaContext schemaContext, XamlTypeName typeName)
System\Xaml\WriterDelegate.cs (3)
17XamlSchemaContext _schemaContext; 19public WriterDelegate(XamlNodeAddDelegate add, XamlLineInfoAddDelegate addlineInfoDelegate, XamlSchemaContext xamlSchemaContext) 90public override XamlSchemaContext SchemaContext
System\Xaml\XamlBackgroundReader.cs (1)
308public override XamlSchemaContext SchemaContext
System\Xaml\XamlLanguage.cs (4)
56private static Lazy<XamlSchemaContext> s_schemaContext = 57new Lazy<XamlSchemaContext>(GetSchemaContext); 429private static XamlSchemaContext GetSchemaContext() 438XamlSchemaContext result = new XamlSchemaContext(assemblies, settings);
System\Xaml\XamlMarkupExtensionWriter.cs (1)
48public override XamlSchemaContext SchemaContext
System\Xaml\XamlMember.cs (13)
42public XamlMember(PropertyInfo propertyInfo, XamlSchemaContext schemaContext) 47public XamlMember(PropertyInfo propertyInfo, XamlSchemaContext schemaContext, XamlMemberInvoker invoker) 52internal XamlMember(PropertyInfo propertyInfo, XamlSchemaContext schemaContext, XamlMemberInvoker invoker, MemberReflector reflector) 65public XamlMember(EventInfo eventInfo, XamlSchemaContext schemaContext) 70public XamlMember(EventInfo eventInfo, XamlSchemaContext schemaContext, XamlMemberInvoker invoker) 75internal XamlMember(EventInfo eventInfo, XamlSchemaContext schemaContext, XamlMemberInvoker invoker, MemberReflector reflector) 89XamlSchemaContext schemaContext) 95XamlSchemaContext schemaContext, XamlMemberInvoker invoker) 101XamlSchemaContext schemaContext, XamlMemberInvoker invoker, MemberReflector reflector) 123public XamlMember(string attachableEventName, MethodInfo adder, XamlSchemaContext schemaContext) 128public XamlMember(string attachableEventName, MethodInfo adder, XamlSchemaContext schemaContext, 134internal XamlMember(string attachableEventName, MethodInfo adder, XamlSchemaContext schemaContext, 892private XamlSchemaContext SchemaContext { get { return _declaringType.SchemaContext; } }
System\Xaml\XamlNodeList.cs (3)
22public XamlNodeList(XamlSchemaContext schemaContext) 28public XamlNodeList(XamlSchemaContext schemaContext, int size) 34private void Initialize(XamlSchemaContext schemaContext, int size)
System\Xaml\XamlNodeQueue.cs (1)
23public XamlNodeQueue(XamlSchemaContext schemaContext)
System\Xaml\XamlObjectReader.cs (8)
25XamlSchemaContext schemaContext; 40public XamlObjectReader(object instance, XamlSchemaContext schemaContext) 45public XamlObjectReader(object instance, XamlSchemaContext schemaContext, XamlObjectReaderSettings settings) 161public override XamlSchemaContext SchemaContext 2489XamlSchemaContext schemaContext; 2493public SerializerContext(XamlSchemaContext schemaContext, XamlObjectReaderSettings settings) 2543public XamlSchemaContext SchemaContext { get { return schemaContext; } } 2868public XamlSchemaContext SchemaContext { get { return context.SchemaContext; } }
System\Xaml\XamlReader.cs (1)
23public abstract XamlSchemaContext SchemaContext { get; }
System\Xaml\XamlSchemaContext.cs (4)
816if (weakRef.Target is XamlSchemaContext schemaContext) 1388public AssemblyLoadHandler(XamlSchemaContext schemaContext) 1395XamlSchemaContext schemaContext = (XamlSchemaContext)schemaContextRef.Target;
System\Xaml\XamlSubreader.cs (1)
72public override XamlSchemaContext SchemaContext
System\Xaml\XamlType.cs (8)
23XamlSchemaContext _schemaContext; 39protected XamlType(string typeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext) 46public XamlType(string unknownTypeNamespace, string unknownTypeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext) 57public XamlType(Type underlyingType, XamlSchemaContext schemaContext) 62public XamlType(Type underlyingType, XamlSchemaContext schemaContext, XamlTypeInvoker invoker) 67internal XamlType(string alias, Type underlyingType, XamlSchemaContext schemaContext, XamlTypeInvoker invoker, TypeReflector reflector) 348public XamlSchemaContext SchemaContext { get { return _schemaContext; } } 1595private static ReadOnlyCollection<XamlType> GetTypeArguments(Type type, XamlSchemaContext schemaContext)
System\Xaml\XamlWriter.cs (1)
20public abstract XamlSchemaContext SchemaContext { get; }
System\Xaml\XamlXmlWriter.cs (9)
39XamlSchemaContext schemaContext; 46public XamlXmlWriter(Stream stream, XamlSchemaContext schemaContext) 51public XamlXmlWriter(Stream stream, XamlSchemaContext schemaContext, XamlXmlWriterSettings settings) 65public XamlXmlWriter(TextWriter textWriter, XamlSchemaContext schemaContext) 70public XamlXmlWriter(TextWriter textWriter, XamlSchemaContext schemaContext, XamlXmlWriterSettings settings) 84public XamlXmlWriter(XmlWriter xmlWriter, XamlSchemaContext schemaContext) 89public XamlXmlWriter(XmlWriter xmlWriter, XamlSchemaContext schemaContext, XamlXmlWriterSettings settings) 96void InitializeXamlXmlWriter(XmlWriter xmlWriter, XamlSchemaContext schemaContext, XamlXmlWriterSettings settings) 253public override XamlSchemaContext SchemaContext
System.Xaml.Tests (91)
Common\CustomXamlType.cs (3)
15public CustomXamlType(string unknownTypeNamespace, string unknownTypeName, IList<XamlType?>? typeArguments, XamlSchemaContext schemaContext) : base(unknownTypeNamespace, unknownTypeName, typeArguments, schemaContext) { } 17public CustomXamlType(Type underlyingType, XamlSchemaContext schemaContext) : base(underlyingType, schemaContext) { } 19public CustomXamlType(string typeName, IList<XamlType?>? typeArguments, XamlSchemaContext schemaContext) : base(typeName, typeArguments, schemaContext) { }
Common\SubXamlReader.cs (2)
42public XamlSchemaContext? SchemaContextResult { get; set; } 43public override XamlSchemaContext SchemaContext => SchemaContextResult!;
Common\SubXamlType.cs (3)
15public SubXamlType(string? unknownTypeNamespace, string? unknownTypeName, IList<XamlType?>? typeArguments, XamlSchemaContext schemaContext) : base(unknownTypeNamespace, unknownTypeName, typeArguments, schemaContext) { } 17public SubXamlType(Type? underlyingType, XamlSchemaContext? schemaContext) : base(underlyingType, schemaContext) { } 19public SubXamlType(string? typeName, IList<XamlType?>? typeArguments, XamlSchemaContext? schemaContext) : base(typeName, typeArguments, schemaContext) { }
System\Xaml\Replacements\TypeTypeConverterTests.cs (2)
309public XamlSchemaContext? SchemaContextResult { get; set; } 311public XamlSchemaContext? SchemaContext => SchemaContextResult;
System\Xaml\Schema\XamlMemberInvokerTests.cs (1)
278public CustomTargetType(string attachablePropertyName, MethodInfo getter, MethodInfo setter, XamlSchemaContext schemaContext) : base(attachablePropertyName, getter, setter, schemaContext)
System\Xaml\Schema\XamlTypeTypeConverterTests.cs (4)
27var context = new XamlSchemaContext(); 57public void ConvertFrom_ValidContextService_ReturnsExpected(string value, string namespaceResult, XamlSchemaContext schemaContext, XamlType expected) 339public XamlSchemaContext? SchemaContextResult { get; set; } 341public XamlSchemaContext? SchemaContext => SchemaContextResult;
System\Xaml\XamlMemberTests.cs (8)
53public void Ctor_PropertyInfo_XamlSchemaContext(PropertyInfo propertyInfo, XamlSchemaContext schemaContext) 75public void Ctor_PropertyInfo_XamlSchemaContext_XamlMemberInvoker(PropertyInfo propertyInfo, XamlSchemaContext schemaContext, XamlMemberInvoker invoker) 109public void Ctor_EventInfo_XamlSchemaContext(EventInfo eventInfo, XamlSchemaContext schemaContext) 131public void Ctor_EventInfo_XamlSchemaContext_XamlMemberInvoker(EventInfo eventInfo, XamlSchemaContext schemaContext, XamlMemberInvoker invoker) 168public void Ctor_String_MethodInfo_MethodInfo_XamlSchemaContext(string attachablePropertyName, MethodInfo getter, MethodInfo setter, XamlSchemaContext schemaContext) 191public void Ctor_String_MethodInfo_MethodInfo_XamlSchemaContext_XamlMemberInvoker(string attachablePropertyName, MethodInfo getter, MethodInfo setter, XamlSchemaContext schemaContext, XamlMemberInvoker invoker) 255public void Ctor_String_MethodInfo_XamlSchemaContext(string attachablePropertyName, MethodInfo adder, XamlSchemaContext schemaContext) 276public void Ctor_String_MethodInfo_XamlSchemaContext_XamlMemberInvoker(string attachablePropertyName, MethodInfo adder, XamlSchemaContext schemaContext, XamlMemberInvoker invoker)
System\Xaml\XamlMemberTests.Mocks.cs (16)
20public SubXamlMember(PropertyInfo propertyInfo, XamlSchemaContext schemaContext) : base(propertyInfo, schemaContext) { } 22public SubXamlMember(PropertyInfo propertyInfo, XamlSchemaContext schemaContext, XamlMemberInvoker invoker) : base(propertyInfo, schemaContext, invoker) { } 24public SubXamlMember(string attachablePropertyName, MethodInfo? getter, MethodInfo? setter, XamlSchemaContext schemaContext) : base(attachablePropertyName, getter, setter, schemaContext) { } 26public SubXamlMember(string attachablePropertyName, MethodInfo? getter, MethodInfo? setter, XamlSchemaContext schemaContext, XamlMemberInvoker invoker) : base(attachablePropertyName, getter, setter, schemaContext, invoker) { } 28public SubXamlMember(EventInfo eventInfo, XamlSchemaContext schemaContext) : base(eventInfo, schemaContext) { } 30public SubXamlMember(EventInfo eventInfo, XamlSchemaContext schemaContext, XamlMemberInvoker invoker) : base(eventInfo, schemaContext, invoker) { } 32public SubXamlMember(string attachableEventName, MethodInfo adder, XamlSchemaContext schemaContext) : base(attachableEventName, adder, schemaContext) { } 34public SubXamlMember(string attachableEventName, MethodInfo adder, XamlSchemaContext schemaContext, XamlMemberInvoker invoker) : base(attachableEventName, adder, schemaContext, invoker) { } 79public CustomXamlMember(PropertyInfo propertyInfo, XamlSchemaContext schemaContext) : base(propertyInfo, schemaContext) { } 81public CustomXamlMember(PropertyInfo propertyInfo, XamlSchemaContext schemaContext, XamlMemberInvoker invoker) : base(propertyInfo, schemaContext, invoker) { } 83public CustomXamlMember(string attachablePropertyName, MethodInfo getter, MethodInfo setter, XamlSchemaContext schemaContext) : base(attachablePropertyName, getter, setter, schemaContext) { } 85public CustomXamlMember(string attachablePropertyName, MethodInfo getter, MethodInfo setter, XamlSchemaContext schemaContext, XamlMemberInvoker invoker) : base(attachablePropertyName, getter, setter, schemaContext, invoker) { } 87public CustomXamlMember(EventInfo eventInfo, XamlSchemaContext schemaContext) : base(eventInfo, schemaContext) { } 89public CustomXamlMember(EventInfo eventInfo, XamlSchemaContext schemaContext, XamlMemberInvoker invoker) : base(eventInfo, schemaContext, invoker) { } 91public CustomXamlMember(string attachableEventName, MethodInfo adder, XamlSchemaContext schemaContext) : base(attachableEventName, adder, schemaContext) { } 93public CustomXamlMember(string attachableEventName, MethodInfo adder, XamlSchemaContext schemaContext, XamlMemberInvoker invoker) : base(attachableEventName, adder, schemaContext, invoker) { }
System\Xaml\XamlNodeListTests.cs (9)
15var context = new XamlSchemaContext(); 25var context = new XamlSchemaContext(); 40var context = new XamlSchemaContext(); 47var context = new XamlSchemaContext(); 68var context = new XamlSchemaContext(); 123var context = new XamlSchemaContext(); 147var context = new XamlSchemaContext(); 171var context = new XamlSchemaContext(); 197var context = new XamlSchemaContext();
System\Xaml\XamlNodeQueueTests.cs (6)
16var context = new XamlSchemaContext(); 31var context = new XamlSchemaContext(); 49var context = new XamlSchemaContext(); 60var context = new XamlSchemaContext(); 77var context = new XamlSchemaContext(); 88var context = new XamlSchemaContext();
System\Xaml\XamlSchemaContextTests.cs (28)
21var context = new XamlSchemaContext(); 44var context = new XamlSchemaContext(settings); 61var context = new XamlSchemaContext(referenceAssemblies); 89var context = new XamlSchemaContext(referenceAssemblies, settings); 123var context = new XamlSchemaContext(); 177var context = new XamlSchemaContext(new Assembly[] { assembly1, assembly2 }); 185var context = new XamlSchemaContext(); 259var context = new XamlSchemaContext(new Assembly[] { assemblyWithPrefix }); 266var context = new XamlSchemaContext(new Assembly?[] { null }); 273var context = new XamlSchemaContext(); 329var context = new XamlSchemaContext(new Assembly[] { assembly }); 343var context = new XamlSchemaContext(new Assembly[] { assembly }); 357var context = new XamlSchemaContext(new Assembly[] { assembly }); 371var context = new XamlSchemaContext(new Assembly[] { assembly }); 385var context = new XamlSchemaContext(new Assembly[] { assembly }); 436var context = new XamlSchemaContext(); 805var context = new XamlSchemaContext(); 819var context = new XamlSchemaContext(settings); 933var context = new XamlSchemaContext(new Assembly[] { typeof(int).Assembly }); 941var context = new XamlSchemaContext(new Assembly?[] { null }); 949var context = new XamlSchemaContext(); 956var context = new XamlSchemaContext(); 963var context = new XamlSchemaContext(); 970var context = new XamlSchemaContext(); 977var context = new XamlSchemaContext(); 984var context = new XamlSchemaContext(); 996var context = new XamlSchemaContext(); 1007var context = new XamlSchemaContext();
System\Xaml\XamlTypeTests.cs (8)
32public void Ctor_String_String_XamlTypeNames_XamlSchemaContext(string unknownTypeNamespace, string unknownTypeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext) 62public void Ctor_String_XamlTypeNames_XamlSchemaContext(string typeName, IList<XamlType?>? typeArguments, XamlSchemaContext schemaContext) 89public void Ctor_Type_XamlSchemaContext(Type underlyingType, XamlSchemaContext schemaContext, string expectedName, XamlType[] expectedTypeArguments) 109public void Ctor_Type_XamlSchemaContext_XamlTypeInvoker(Type underlyingType, XamlSchemaContext schemaContext, XamlTypeInvoker invoker, string expectedName, XamlType[] expectedTypeArguments) 291var dynamicCacheContext = new XamlSchemaContext(); 1715Assert.Equal(typeof(XamlSchemaContext), type); 4854new XamlType(typeof(XamlSchemaContext), new XamlSchemaContext()), 4860new XamlType(typeof(XamlSchemaContext), new XamlSchemaContext()),
System\Xaml\XamlWriterTests.cs (1)
163public override XamlSchemaContext? SchemaContext { get; }