protected override int ComputeHashCode() { return(HashUtilities.Combine(CreationOpt?.GetHashCode() ?? 0, HashUtilities.Combine(SymbolOpt?.GetHashCode() ?? 0, HashUtilities.Combine(AnalysisEntityOpt?.GetHashCode() ?? 0, HashUtilities.Combine(LocationTypeOpt?.GetHashCode() ?? 0, HashUtilities.Combine(_isSpecialSingleton.GetHashCode(), IsNull.GetHashCode())))))); }
private int ComputeIgnoringLocationHashCode() { var hashCode = HashUtilities.Combine(SymbolOpt?.GetHashCode() ?? 0, HashUtilities.Combine(InstanceReferenceOperationSyntaxOpt?.GetHashCode() ?? 0, HashUtilities.Combine(Type.GetHashCode(), HashUtilities.Combine(ParentOpt?.GetHashCode() ?? 0, Indices.Length.GetHashCode())))); foreach (AbstractIndex index in Indices) { hashCode = HashUtilities.Combine(index.GetHashCode(), hashCode); } return(hashCode); }
public override int GetHashCode() { return(HashUtilities.Combine(CreationOpt?.GetHashCode() ?? 0, HashUtilities.Combine(SymbolOpt?.GetHashCode() ?? 0, LocationType.GetHashCode()))); }
protected override int ComputeHashCode() { return(HashUtilities.Combine(CreationOpt?.GetHashCode() ?? 0, HashUtilities.Combine(SymbolOpt?.GetHashCode() ?? 0, HashUtilities.Combine(AnalysisEntityOpt?.GetHashCode() ?? 0, LocationTypeOpt?.GetHashCode() ?? 0)))); }