typeof(T) == typeof(Y) gets inlined - Silk.NET