I am trying to add support for implicit casting between two types that don't have implicit casting.
I tried to do it via extension method:
//static classes cannot contain user defined operators
public static implicit operator Vector2D(this float2 a) => new(a.x, a.y);
But this is not allowed. Why does C# not allow extension methods for implicit casting ? What is the best way to get around this?