Catel.Fody.Weaving.Argument.ArgumentWeaver.IsOperandSupportedForArgumentChecks C# (CSharp) Method

IsOperandSupportedForArgumentChecks() private method

private IsOperandSupportedForArgumentChecks ( object operand ) : bool
operand object
return bool
        private bool IsOperandSupportedForArgumentChecks(object operand)
        {
            if (operand == null)
            {
                return false;
            }

            // Ignore strings
            if (operand.GetType().FullName.Contains("System.String"))
            {
                return false;
            }

            return true;
        }
        #endregion