/// <summary> /// Gets a value indicating whether the <paramref name="type"/> should be treated as having value semantics. /// </summary> bool IEquivalencyAssertionOptions.IsValueType(Type type) { return(valueTypes.Contains(type) || isValueType(type) || AssertionOptions.IsValueType(type)); }
public static bool IsComplexType(this Type type) { return(HasProperties(type) && !AssertionOptions.IsValueType(type)); }