17 references to GetXamlType
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
68
return _parentSchemaContext.
GetXamlType
(fullTypeName);
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
309
XamlType xamlType =
GetXamlType
(xamlTypeName);
System\Windows\TemplateContent.cs (1)
1458
return _schemaContext.
GetXamlType
(XamlTypeName.Parse(qualifiedTypeName, this)).UnderlyingType;
System.Xaml (3)
System\Xaml\Context\XamlContext.cs (1)
270
XamlType xamlType = _schemaContext.
GetXamlType
(typeName);
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
96
XamlType result = schemaContext.
GetXamlType
(typeName);
System\Xaml\XamlSchemaContext.cs (1)
299
typeArgs[i] =
GetXamlType
(xamlTypeName.TypeArguments[i]);
System.Xaml.Tests (11)
System\Xaml\XamlSchemaContextTests.cs (11)
806
XamlType actual = context.
GetXamlType
(xamlTypeName);
808
Assert.Same(actual, context.
GetXamlType
(xamlTypeName));
820
XamlType actual = context.
GetXamlType
(xamlTypeName);
836
Assert.Null(context.
GetXamlType
(xamlTypeName));
850
Assert.Null(context.
GetXamlType
(xamlTypeName));
934
XamlType actual = context.
GetXamlType
(xamlTypeName);
943
Assert.Throws<NullReferenceException>(() => context.
GetXamlType
(type));
964
Assert.Throws<ArgumentNullException>("xamlTypeName", () => context.
GetXamlType
((XamlTypeName)null!));
971
Assert.Throws<ArgumentException>("xamlTypeName", () => context.
GetXamlType
(new XamlTypeName(null, "name")));
978
Assert.Throws<ArgumentException>("xamlTypeName", () => context.
GetXamlType
(new XamlTypeName("xamlNamespace", null)));
987
Assert.Throws<ArgumentException>(() => context.
GetXamlType
(xamlTypeName));