1 override of GetXamlNamespaces
System.Xaml.Tests (1)
Common\CustomXamlType.cs (1)
227
public override IList<string>
GetXamlNamespaces
()
17 references to GetXamlNamespaces
PresentationFramework (1)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2037
IList<string> xamlNamespaces = type.
GetXamlNamespaces
();
System.Xaml (11)
System\Xaml\Context\XamlContext.cs (2)
172
|| (tagNamespace is null && propUsageNamespace is not null && tagType.
GetXamlNamespaces
().Contains(propUsageNamespace)))
360
!tagType.
GetXamlNamespaces
().Contains(propNs))
System\Xaml\XamlMarkupExtensionWriter.cs (1)
95
string prefix = xamlXmlWriter.LookupPrefix(type.
GetXamlNamespaces
(), out _);
System\Xaml\XamlMember.cs (1)
345
return DeclaringType.
GetXamlNamespaces
();
System\Xaml\XamlType.cs (1)
135
IList<string> namespaces =
GetXamlNamespaces
();
System\Xaml\XamlTypeName.cs (1)
44
Namespace = xamlType.
GetXamlNamespaces
()[0];
System\Xaml\XamlXmlWriter.cs (5)
558
var namespaces = type.
GetXamlNamespaces
();
585
string prefix = LookupPrefix(type.
GetXamlNamespaces
(), out chosenNamespace);
634
string prefix = LookupPrefix(type.
GetXamlNamespaces
(), out _);
827
string prefix = property.IsAttachable || property.IsDirective ? writer.FindPrefix(property.GetXamlNamespaces(), out ns) : writer.FindPrefix(type.
GetXamlNamespaces
(), out ns);
878
string prefix = writer.FindPrefix(type.
GetXamlNamespaces
(), out ns);
System.Xaml.Tests (5)
Common\CustomXamlType.cs (1)
229
return GetXamlNamespacesResult.Or(base.
GetXamlNamespaces
)!;
System\Xaml\XamlMemberTests.cs (1)
2190
Assert.Equal(member.DeclaringType.
GetXamlNamespaces
(), member.GetXamlNamespaces());
System\Xaml\XamlTypeTests.cs (3)
35
Assert.Equal(new string[] { unknownTypeNamespace }, type.
GetXamlNamespaces
());
65
Assert.Equal(new string[] { "" }, type.
GetXamlNamespaces
());
308
Assert.Equal(expected, type.
GetXamlNamespaces
());