protected override bool ComputeEqualsByHashCodeParts(AbstractDataFlowAnalysisContext <TaintedDataAnalysisData, TaintedDataAnalysisContext, TaintedDataAnalysisResult, TaintedDataAbstractValue> obj) { var other = (TaintedDataAnalysisContext)obj; return(SourceInfos.GetHashCode() == other.SourceInfos.GetHashCode() && SanitizerInfos.GetHashCode() == other.SanitizerInfos.GetHashCode() && SinkInfos.GetHashCode() == other.SinkInfos.GetHashCode()); }
protected override void ComputeHashCodePartsSpecific(Action <int> addPart) { addPart(SourceInfos.GetHashCode()); addPart(SanitizerInfos.GetHashCode()); addPart(SinkInfos.GetHashCode()); }
protected override void ComputeHashCodePartsSpecific(ref RoslynHashCode hashCode) { hashCode.Add(SourceInfos.GetHashCode()); hashCode.Add(SanitizerInfos.GetHashCode()); hashCode.Add(SinkInfos.GetHashCode()); }
protected override void ComputeHashCodePartsSpecific(ArrayBuilder <int> builder) { builder.Add(SourceInfos.GetHashCode()); builder.Add(SanitizerInfos.GetHashCode()); builder.Add(SinkInfos.GetHashCode()); }