1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

ToCleanAttributeString now removes explicit System namespace

This commit is contained in:
Brian Fiete 2025-06-02 09:46:26 +02:00
parent a84b06aff0
commit 9e9b170548

View file

@ -1273,7 +1273,8 @@ String BfTypeReference::ToCleanAttributeString()
if (typeRefName.EndsWith("Attribute")) if (typeRefName.EndsWith("Attribute"))
typeRefName.RemoveFromEnd(9); typeRefName.RemoveFromEnd(9);
} }
if (typeRefName.StartsWith("System."))
typeRefName.Remove(0, 7);
return typeRefName; return typeRefName;
} }