Closed ds5678 closed 1 year ago
As discussed in discord, the generated IL may be invalid for some edge cases.
Currently all out parameters are being treated as reference types. The base type of the ByRefTypeSignature needs to be checked instead.
Verify that the IL for generic types and methods is correct.
Methods that return a ref should use the RefHelper.
ref
RefHelper
Context
As discussed in discord, the generated IL may be invalid for some edge cases.
Value Type Out Parameters
Currently all out parameters are being treated as reference types. The base type of the ByRefTypeSignature needs to be checked instead.
Generics
Verify that the IL for generic types and methods is correct.
Return by reference
Methods that return a
ref
should use theRefHelper
.