20 references to XamlTypeName
System.Xaml (3)
System\Xaml\Parser\GenericTypeNameParser.cs (1)
280XamlTypeName typeName = new XamlTypeName(frame.Namespace, frame.Name, frame.TypeArgs);
System\Xaml\Parser\XamlScanner.cs (1)
387XamlTypeName typeName = new XamlTypeName(xmlns, name, typeArgs);
System\Xaml\XamlTypeName.cs (1)
25: this(xamlNamespace, name, null)
System.Xaml.Tests (17)
System\Xaml\Schema\XamlTypeNameTests.cs (7)
46var typeName = new XamlTypeName(xamlNamespace, name, typeArguments); 85yield return new object?[] { new XamlTypeName("namespace", "name", new XamlTypeName[] { new XamlTypeName("typeNamespace", "typeName") }), null, "{namespace}name({typeNamespace}typeName)" }; 86yield return new object?[] { new XamlTypeName("namespace", "name[", new XamlTypeName[] { new XamlTypeName("typeNamespace1", "typeName1"), new XamlTypeName("typeNamespace2", "typeName2") }), null, "{namespace}name({typeNamespace1}typeName1, {typeNamespace2}typeName2)[" }; 87yield return new object?[] { new XamlTypeName("namespace", "name[value]", Array.Empty<XamlTypeName>()), null, "{namespace}name[value]" }; 117new XamlTypeName("namespace", "name", new XamlTypeName[] { new XamlTypeName("typeNamespace", "typeName") }), 176var typeName = new XamlTypeName("namespace", "name", new XamlTypeName?[] { null }); 190var typeName = new XamlTypeName("namespace", "name", new XamlTypeName?[] { null });
System\Xaml\XamlSchemaContextTests.cs (10)
606new XamlTypeName("clr-namespace:System.Collections.Generic;assembly=" + Name(typeof(List<>).Assembly), "List", new XamlTypeName[] 614new XamlTypeName("clr-namespace:System.Collections.Generic;assembly=" + Name(typeof(List<>).Assembly), "List[]", new XamlTypeName[] 622new XamlTypeName("clr-namespace:System.Collections.Generic;assembly=" + Name(typeof(List<>).Assembly), "List[][,]", new XamlTypeName[] 630new XamlTypeName("clr-namespace:System.Collections.Generic;assembly=" + Name(typeof(List<>).Assembly), "List[ ] [ , ]", new XamlTypeName[] 638new XamlTypeName("clr-namespace:System.Collections.Generic;assembly=" + Name(typeof(List<>).Assembly), "List[, ,]", new XamlTypeName[] 646new XamlTypeName("clr-namespace:System.Collections.Generic;assembly=" + Name(typeof(List<>).Assembly), "NoSuchType", new XamlTypeName[] 654new XamlTypeName("clr-namespace:System.Collections.Generic;assembly=" + Name(typeof(List<>).Assembly), "List", new XamlTypeName[] 665new XamlTypeName("clr-namespace:System.Collections.Generic;assembly=" + Name(typeof(List<>).Assembly), invalidArrayName, new XamlTypeName[] 846var xamlTypeName = new XamlTypeName("clr-namespace:System.Collections.Generic;assembly=" + typeof(List<int>).Assembly.FullName, "List", new XamlTypeName[] 985var xamlTypeName = new XamlTypeName("xamlNamespace", "name", new XamlTypeName?[] { null });