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)
2036
IList<string> xamlNamespaces = type.
GetXamlNamespaces
();
System.Xaml (11)
System\Xaml\Context\XamlContext.cs (2)
171
|| (tagNamespace is null && propUsageNamespace is not null && tagType.
GetXamlNamespaces
().Contains(propUsageNamespace)))
359
!tagType.
GetXamlNamespaces
().Contains(propNs))
System\Xaml\XamlMarkupExtensionWriter.cs (1)
94
string prefix = xamlXmlWriter.LookupPrefix(type.
GetXamlNamespaces
(), out _);
System\Xaml\XamlMember.cs (1)
345
return DeclaringType.
GetXamlNamespaces
();
System\Xaml\XamlType.cs (1)
134
IList<string> namespaces =
GetXamlNamespaces
();
System\Xaml\XamlTypeName.cs (1)
43
Namespace = xamlType.
GetXamlNamespaces
()[0];
System\Xaml\XamlXmlWriter.cs (5)
556
var namespaces = type.
GetXamlNamespaces
();
583
string prefix = LookupPrefix(type.
GetXamlNamespaces
(), out chosenNamespace);
632
string prefix = LookupPrefix(type.
GetXamlNamespaces
(), out _);
824
string prefix = property.IsAttachable || property.IsDirective ? writer.FindPrefix(property.GetXamlNamespaces(), out ns) : writer.FindPrefix(type.
GetXamlNamespaces
(), out ns);
875
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
());