A generic method whose type parameter declares `allows ref struct` and uses
that parameter in its return type or any parameter type cannot be wired
through the regular setup pipeline: ReturnMethodSetup<T> / IReturnMethodSetup<T>
do not declare the same anti-constraint, so the generated source fails with
CS9244 at every reference to the setup type.
The generator now treats these methods like the existing unsupported
ref-struct shapes: the override body throws NotSupportedException, and no
setup-interface declaration or explicit implementation is emitted. Verify
remains available because it does not parameterize on T.
A generic method whose type parameter declares
allows ref structand uses that parameter in its return type or any parameter type cannot be wiredthrough the regular setup pipeline: ReturnMethodSetup / IReturnMethodSetup
do not declare the same anti-constraint, so the generated source fails with CS9244 at every reference to the setup type.
The generator now treats these methods like the existing unsupported ref-struct shapes: the override body throws NotSupportedException, and no setup-interface declaration or explicit implementation is emitted. Verify remains available because it does not parameterize on T.