23 references to TypeArguments
PresentationFramework (1)
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
65fullTypeName.TypeArguments.Add(new XamlTypeName(typeArg));
System.Xaml (9)
System\Xaml\Schema\XamlTypeTypeConverter.cs (3)
105typeArgs = new XamlType[typeName.TypeArguments.Count]; 106for (int i = 0; i < typeName.TypeArguments.Count; i++) 108typeArgs[i] = GetXamlTypeOrUnknown(schemaContext, typeName.TypeArguments[i]);
System\Xaml\XamlSchemaContext.cs (4)
291typeArgs = new XamlType[xamlTypeName.TypeArguments.Count]; 292for (int i = 0; i < xamlTypeName.TypeArguments.Count; i++) 294if (xamlTypeName.TypeArguments[i] is null) 299typeArgs[i] = GetXamlType(xamlTypeName.TypeArguments[i]);
System\Xaml\XamlTypeName.cs (2)
49TypeArguments.Add(new XamlTypeName(argumentType)); 247ConvertListToStringInternal(result, TypeArguments, prefixGenerator);
System.Xaml.Tests (13)
System\Xaml\Schema\XamlTypeNameTests.cs (13)
20Assert.Empty(typeName.TypeArguments); 32Assert.Empty(typeName.TypeArguments); 49Assert.Equal(typeArguments ?? Array.Empty<XamlTypeName>(), typeName.TypeArguments); 59Assert.Empty(typeName.TypeArguments); 70Assert.Equal("typeNamespace", Assert.Single(typeName.TypeArguments).Namespace); 71Assert.Equal("typeName", Assert.Single(typeName.TypeArguments).Name); 72Assert.Empty(Assert.Single(typeName.TypeArguments).TypeArguments); 266AssertEqualTypeNames(expectedTypeArguments, name.TypeArguments.ToArray()); 284AssertEqualTypeNames(expectedTypeArguments, name.TypeArguments.ToArray()); 311Assert.Empty(name.TypeArguments); 464AssertEqualTypeNames(expected[i].TypeArguments.ToArray(), actual[i].TypeArguments.ToArray());