public static TypeReference StackTypeForBinaryOperation(TypeReference type) { TypeReference reference = StackTypeFor(type); if (reference is ByReferenceType) { return TypeProvider.NativeIntTypeReference; } return reference; } }