Cysharp / ZString

Zero Allocation StringBuilder for .NET and Unity.
MIT License
2.07k stars 153 forks source link

Naming conflict with TextMeshPro and their Extensions #110

Closed dexsper closed 3 days ago

dexsper commented 6 months ago

Broken TextMeshPro Extensions

Extensions Text Mesh Pro
image image

You can use extension methods to extend a class or interface, but not to override them. An extension method with the same name and signature as an interface or class method will never be called. At compile time, extension methods always have lower priority than instance methods defined in the type itself.

In the current implementation, the extension method will be called only if the generic type is not equal to string

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days.