I wouldn’t mind using the new advanced pattern matching, if performant
if (point is int3(1, var myY, _))
{
}
I wouldn’t mind using the new advanced pattern matching, if performant
if (point is int3(1, var myY, _))
{
}
We are working on trying to bring support for the C# 9.0 compiler to 2021.2 so that it should support pattern matching like that. It’s a stretch goal, so we can’t make a definitive promise for this, but we are doing our best. But we have been already starting on this and so far, it looks that we should be able to ship it…
Though we will have to make sure that these things are also working well with Burst (assuming that this int3 might be used in the context of Burst)
Wow that’s impressive how you guys have managed to go from being way behind in c# version to being on par!
Is this what switching to Roslyn brings?