# Support calling methods on parameters whose type is a constrained generic parameter without boxing.

## Description

... otherwise byRef cannot be achieved (mutating methods).

Idea:
In TypeUtils.IsValidInstanceType (used in by Expression.Call) insert a special case that checks if the method is defined by a constraint of the generic parameter.
This should allow calling the method without the Expression.Convert, i.e., without boxing and therefore preserving byRef semantics.

Search for TODOs.

Unassigned

User known

None

Normal