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