Skip to content

Commit

Permalink
fix: Update GetObjectUid to also check Uid namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKeepCoding committed Jan 15, 2025
1 parent de9635a commit 7ec9cd2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5883,7 +5883,7 @@ internal static bool IsLocalizablePropertyType(INamedTypeSymbol? propertyType)
private string? GetObjectUid(XamlObjectDefinition objectDefinition)
{
string? objectUid = null;
var localizedObject = FindMember(objectDefinition, "Uid");
var localizedObject = FindMember(objectDefinition, "Uid", XamlConstants.PresentationXamlXmlNamespace);
if (localizedObject?.Value != null)
{
objectUid = localizedObject.Value.ToString();
Expand Down

0 comments on commit 7ec9cd2

Please sign in to comment.