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