Version Used: 5.5.0-2.26110.7 (47f526d)
Steps to Reproduce:
using static C<int*[]>; // error - expected
using static unsafe C<long*[]>; // error - unexpected
class C<T>;
using static unsafe C<int*[]>; // no error - expected
using static C<long*[]>; // no error - unexpected
class C<T>;
This seems to be because the binder (and hence its unsafe flag) is cached when going through the list of using declarations.
Related to test plan #56323.
Version Used: 5.5.0-2.26110.7 (47f526d)
Steps to Reproduce:
This seems to be because the binder (and hence its
unsafeflag) is cached when going through the list of using declarations.Related to test plan #56323.