Add following codes to compile:
public __mapped class MappedClass => Object{
public void test<T>(ISequence<T> seq) {
foreach (var item in seq) {
}
}
}
And there will be an compile error:
(E0) Internal error: Object reference not set to an instance of an object.