dnlib icon indicating copy to clipboard operation
dnlib copied to clipboard

Ignore checkValueType if type is TypeDef

Open CreateAndInject opened this issue 2 years ago • 1 comments

https://github.com/0xd4d/dnlib/blob/6f4dc6f0a7f86dbe12449b74d5501daf1192c187/src/DotNet/ICodedToken.cs#L215-L217

We know if type is ValueType or not exactly here, why create a possible wrong TypeSig?

CreateAndInject avatar Jun 26 '22 15:06 CreateAndInject

How about rename parameter name from checkValueType to resolveToCheckValueType ?

CreateAndInject avatar Jun 28 '22 19:06 CreateAndInject