[C#] Add missing handling of traits with supertraits of supertraits