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