Confuser.Core/Utils.cs
/// <summary>
/// Checks if numeric value can be replaced with an sizeof instruction
/// </summary>
/// <param name="operand"></param>
/// <returns></returns>
Checks if numeric value can be replaced with an sizeof instruction
Checks if numeric value can be replaced with an sizeof instruction
public static bool IsSizeof(int operand)
        {
            if (operand == 2 || operand == 4 || operand == 8 || operand == 12 || operand == 16)
                return true;
            return false;
        }
public static bool IsSizeof ( int operand ) { if ( operand == 2 || operand == 4 || operand == 8 || operand == 12 || operand == 16 ) return true ; return false ; }
Checks if numeric value can be replaced with an sizeof instruction
Checks if numeric value can be replaced with an sizeof instruction
None
operand
int
None