public override int GetHashCode() { unchecked { return((_type.GetHashCode() * 397) ^ _arguments.Take(16).Aggregate(19, (result, item) => result * 31 + item.GetHashCode())); } }
int ISupportsInterning.GetHashCodeForInterning() { unchecked { return withoutSuffix.GetHashCode() + 715613 * withSuffix.GetHashCode(); } }
private static int GetHashCode(ITypeReference?obj) { var objSymbol = obj?.GetInternalSymbol(); if (objSymbol is object) { return(objSymbol.GetHashCode()); } return(obj?.GetHashCode() ?? 0); }
int ISupportsInterning.GetHashCodeForInterning() { int hashCode = genericType.GetHashCode(); unchecked { foreach (ITypeReference t in typeArguments) { hashCode *= 27; hashCode += t.GetHashCode(); } } return(hashCode); }
int ISupportsInterning.GetHashCodeForInterning() { unchecked { int hashCode; if (targetType != null) { hashCode = targetType.GetHashCode(); } else { hashCode = targetExpression.GetHashCode(); } hashCode ^= memberName.GetHashCode(); hashCode ^= typeArguments.GetHashCode(); return(hashCode); } }
int ISupportsInterning.GetHashCodeForInterning() { return(type.GetHashCode() ^ (attributes != null ? attributes.GetHashCode() : 0) ^ (defaultValue != null ? defaultValue.GetHashCode() : 0)); }
int ISupportsInterning.GetHashCodeForInterning() { return(elementType.GetHashCode() ^ 91725814); }
int ISupportsInterning.GetHashCodeForInterning() { return(attributeType.GetHashCode() ^ (positionalArguments != null ? positionalArguments.GetHashCode() : 0) ^ (namedArguments != null ? namedArguments.GetHashCode() : 0) ^ region.GetHashCode()); }
int ISupportsInterning.GetHashCodeForInterning() { return(elementType.GetHashCode() ^ dimensions); }
int ISupportsInterning.GetHashCodeForInterning() { return((elementType != null ? elementType.GetHashCode() : 0) ^ arrayElements.GetHashCode()); }
int ISupportsInterning.GetHashCodeForInterning() { unchecked { return(targetType.GetHashCode() + expression.GetHashCode() * 1018829); } }
int ISupportsInterning.GetHashCodeForInterning() { return(declaringTypeRef.GetHashCode() ^ name.GetHashCode() ^ additionalTypeParameterCount); }
public override int GetHashCode() { return(Hash.Combine(ElementType.GetHashCode(), Modifier.GetHashCode())); }
int ISupportsInterning.GetHashCodeForInterning() { return(attributeType.GetHashCode() ^ ctorParameterTypes.GetHashCode() ^ BlobReader.GetBlobHashCode(blob)); }
int ISupportsInterning.GetHashCodeForInterning() { return((int)entityType ^ typeReference.GetHashCode() ^ name.GetHashCode() ^ parameterTypes.GetHashCode()); }
int ISupportsInterning.GetHashCodeForInterning() { return(type.GetHashCode() ^ (value != null ? value.GetHashCode() : 0)); }
int ISupportsInterning.GetHashCodeForInterning() { return(type.GetHashCode()); }