public override int GetHashCode() { unchecked { var hashCode = (containingType != null ? containingType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (fieldType != null ? fieldType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (fieldName != null ? fieldName.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (methodName != null ? methodName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (containingType != null ? containingType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)bindingFlags; hashCode = (hashCode * 397) ^ isGeneric.GetHashCode(); hashCode = (hashCode * 397) ^ (parameterTypes != null ? parameterTypes.GetHashCode() : 0); return(hashCode); } }