Cysharp / ZString

Zero Allocation StringBuilder for .NET and Unity.
MIT License
2.04k stars 150 forks source link

Naming conflict with TextMeshPro and their Extensions #110

Open dexsper opened 5 months ago

dexsper commented 5 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