private static int CreateKey(Type type, RedactAttribute redactAttribute) { unchecked { var key = type.GetHashCode(); if (redactAttribute != null) { key = (key * 397) ^ redactAttribute.GetHashCode(); } return(key); } }
private static int CreateKey(Type type, RedactAttribute redactAttribute) { unchecked { var key = type.GetHashCode(); if (redactAttribute != null) { key = (key * 397) ^ redactAttribute.GetHashCode(); } return key; } }