Added PureMethodAttribute that works for all functions as hints for compiler to inline the constant values.