protected override void ComputeHashCodePartsSpecific(ref RoslynHashCode hashCode) { hashCode.Add(TrackInstanceFields.GetHashCode()); hashCode.Add(DisposeOwnershipTransferAtConstructor.GetHashCode()); hashCode.Add(DisposeOwnershipTransferAtMethodCall.GetHashCode()); hashCode.Add(HashUtilities.Combine(DisposeOwnershipTransferLikelyTypes)); }
protected override void ComputeHashCodeParts(ref RoslynHashCode hashCode) { hashCode.Add(Operation.GetHashCode()); hashCode.Add(AnalysisEntity.GetHashCodeOrDefault()); hashCode.Add(InstanceLocation.GetHashCode()); hashCode.Add(Value?.GetHashCode() ?? 0); }
public override int GetHashCode() { var hashCode = new RoslynHashCode(); HashUtilities.Combine(PropertyAbstractValues, ref hashCode); hashCode.Add(MapFromValueContentAbstractValue.GetHashCodeOrDefault()); hashCode.Add(MapFromPointsToAbstractValue.GetHashCodeOrDefault()); return(hashCode.ToHashCode()); }
public override int GetHashCode() { var hashCode = new RoslynHashCode(); HashUtilities.Combine(this.ConcreteInfos, ref hashCode); HashUtilities.Combine(this.InterfaceInfos, ref hashCode); hashCode.Add(this.RequiresValueContentAnalysis.GetHashCode()); hashCode.Add(this.RequiresParameterReferenceAnalysis.GetHashCode()); hashCode.Add(this.RequiresFieldReferenceAnalysis.GetHashCode()); return(hashCode.ToHashCode()); }
public override int GetHashCode() { var hashCode = new RoslynHashCode(); HashUtilities.Combine(this.SinkProperties, ref hashCode); HashUtilities.Combine(this.SinkMethodParameters, ref hashCode); hashCode.Add(StringComparer.Ordinal.GetHashCode(this.FullTypeName)); HashUtilities.Combine(this.SinkKinds, ref hashCode); hashCode.Add(this.IsInterface.GetHashCode()); hashCode.Add(this.IsAnyStringParameterInConstructorASink.GetHashCode()); return(hashCode.ToHashCode()); }
public override int GetHashCode() { var hashCode = new RoslynHashCode(); HashUtilities.Combine(InterproceduralCallStack, ref hashCode); hashCode.Add(BasicBlockOrdinal.GetHashCode()); hashCode.Add(HandlingCatchRegion.GetHashCodeOrDefault()); hashCode.Add(ContainingFinallyRegion.GetHashCodeOrDefault()); hashCode.Add(ExceptionType.GetHashCode()); hashCode.Add(IsDefaultExceptionForExceptionsPathAnalysis.GetHashCode()); return(hashCode.ToHashCode()); }
protected override void ComputeHashCodeParts(ref RoslynHashCode hashCode) { hashCode.Add(Index.GetHashCode()); hashCode.Add(nameof(ConstantValueIndex).GetHashCode()); }
protected override void ComputeHashCodeParts(ref RoslynHashCode hashCode) { hashCode.Add(Operation.GetHashCode()); hashCode.Add(nameof(OperationBasedIndex).GetHashCode()); }
protected override void ComputeHashCodeParts(ref RoslynHashCode hashCode) { hashCode.Add(HashUtilities.Combine(AnalysisEntities)); hashCode.Add(Kind.GetHashCode()); }
protected override void ComputeHashCodeParts(ref RoslynHashCode hashCode) { hashCode.Add(AnalysisEntity.GetHashCode()); hashCode.Add(nameof(AnalysisEntityBasedIndex).GetHashCode()); }
protected override void ComputeHashCodePartsSpecific(ref RoslynHashCode hashCode) { hashCode.Add(SourceInfos.GetHashCode()); hashCode.Add(SanitizerInfos.GetHashCode()); hashCode.Add(SinkInfos.GetHashCode()); }
protected override void ComputeHashCodeParts(ref RoslynHashCode hashCode) { hashCode.Add(Location.GetHashCode()); hashCode.Add(Symbol.GetHashCode()); hashCode.Add(AccessingMethod.GetHashCode()); }
protected override void ComputeHashCodePartsSpecific(ref RoslynHashCode hashCode) { hashCode.Add(PointsToAnalysisKind.GetHashCode()); }
protected override void ComputeHashCodePartsSpecific(ref RoslynHashCode hashCode) { hashCode.Add(HashUtilities.Combine(AdditionalSupportedValueTypes)); }
protected sealed override void ComputeHashCodeParts(ref RoslynHashCode hashCode) { hashCode.Add(ValueDomain.GetHashCode()); hashCode.Add(OwningSymbol.GetHashCode()); hashCode.Add(ControlFlowGraph.GetHashCode()); hashCode.Add(AnalyzerOptions.GetHashCode()); hashCode.Add(InterproceduralAnalysisConfiguration.GetHashCode()); hashCode.Add(PessimisticAnalysis.GetHashCode()); hashCode.Add(PredicateAnalysis.GetHashCode()); hashCode.Add(ExceptionPathsAnalysis.GetHashCode()); hashCode.Add(CopyAnalysisResult.GetHashCodeOrDefault()); hashCode.Add(PointsToAnalysisResult.GetHashCodeOrDefault()); hashCode.Add(ValueContentAnalysisResult.GetHashCodeOrDefault()); hashCode.Add(InterproceduralAnalysisData.GetHashCodeOrDefault()); hashCode.Add(InterproceduralAnalysisPredicate.GetHashCodeOrDefault()); ComputeHashCodePartsSpecific(ref hashCode); }