61 references to GetHashCodeOrDefault
Microsoft.CodeAnalysis.AnalyzerUtilities (61)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\ConstructorMapper.cs (2)
105hashCode.Add(MapFromValueContentAbstractValue.GetHashCodeOrDefault()); 106hashCode.Add(MapFromPointsToAbstractValue.GetHashCodeOrDefault());
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\HazardousUsageEvaluator.cs (4)
122this.ContainingTypeName.GetHashCodeOrDefault(), 123this.MethodName.GetHashCodeOrDefault(), 124this.ParameterNameOfPropertySetObject.GetHashCodeOrDefault(), 126this.InvocationEvaluator.GetHashCodeOrDefault());
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertyMapper.cs (3)
123this.PropertyName.GetHashCodeOrDefault(), 124this.MapFromValueContentAbstractValue.GetHashCodeOrDefault(), 125this.MapFromPointsToAbstractValue.GetHashCodeOrDefault());
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractDataFlowAnalysisContext.cs (15)
169hashCode.Add(CopyAnalysisResult.GetHashCodeOrDefault()); 170hashCode.Add(PointsToAnalysisResult.GetHashCodeOrDefault()); 171hashCode.Add(ValueContentAnalysisResult.GetHashCodeOrDefault()); 172hashCode.Add(InterproceduralAnalysisData.GetHashCodeOrDefault()); 173hashCode.Add(InterproceduralAnalysisPredicate.GetHashCodeOrDefault()); 188&& CopyAnalysisResult.GetHashCodeOrDefault() == other.CopyAnalysisResult.GetHashCodeOrDefault() 189&& PointsToAnalysisResult.GetHashCodeOrDefault() == other.PointsToAnalysisResult.GetHashCodeOrDefault() 190&& ValueContentAnalysisResult.GetHashCodeOrDefault() == other.ValueContentAnalysisResult.GetHashCodeOrDefault() 191&& InterproceduralAnalysisData.GetHashCodeOrDefault() == other.InterproceduralAnalysisData.GetHashCodeOrDefault() 192&& InterproceduralAnalysisPredicate.GetHashCodeOrDefault() == other.InterproceduralAnalysisPredicate.GetHashCodeOrDefault()
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractLocation.cs (12)
100hashCode.Add(Creation.GetHashCodeOrDefault()); 102hashCode.Add(Symbol.GetHashCodeOrDefault()); 104hashCode.Add(AnalysisEntity.GetHashCodeOrDefault()); 105hashCode.Add(LocationType.GetHashCodeOrDefault()); 113return Creation.GetHashCodeOrDefault() == other.Creation.GetHashCodeOrDefault() 115&& Symbol.GetHashCodeOrDefault() == other.Symbol.GetHashCodeOrDefault() 117&& AnalysisEntity.GetHashCodeOrDefault() == other.AnalysisEntity.GetHashCodeOrDefault() 118&& LocationType.GetHashCodeOrDefault() == other.LocationType.GetHashCodeOrDefault()
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntity.cs (14)
234return Symbol.GetHashCodeOrDefault() == other.Symbol.GetHashCodeOrDefault() 236&& InstanceReferenceOperationSyntax.GetHashCodeOrDefault() == other.InstanceReferenceOperationSyntax.GetHashCodeOrDefault() 238&& Type.GetHashCodeOrDefault() == other.Type.GetHashCodeOrDefault() 239&& Parent.GetHashCodeOrDefault() == other.Parent.GetHashCodeOrDefault() 240&& EntityForInstanceLocation.GetHashCodeOrDefault() == other.EntityForInstanceLocation.GetHashCodeOrDefault() 261hashCode.Add(Symbol.GetHashCodeOrDefault()); 263hashCode.Add(InstanceReferenceOperationSyntax.GetHashCodeOrDefault()); 266hashCode.Add(Parent.GetHashCodeOrDefault()); 267hashCode.Add(EntityForInstanceLocation.GetHashCodeOrDefault());
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ArgumentInfo.cs (3)
36hashCode.Add(AnalysisEntity.GetHashCodeOrDefault()); 45&& AnalysisEntity.GetHashCodeOrDefault() == other.AnalysisEntity.GetHashCodeOrDefault()
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\InterproceduralAnalysisData.cs (6)
72hashCode.Add(InitialAnalysisData.GetHashCodeOrDefault()); 85return InitialAnalysisData.GetHashCodeOrDefault() == other.InitialAnalysisData.GetHashCodeOrDefault() 101hashCode.Add(instanceAndPointsToValue.Value.Instance.GetHashCodeOrDefault()); 119return left.Value.Instance.GetHashCodeOrDefault() == right.Value.Instance.GetHashCodeOrDefault()
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (2)
112hashCode.Add(HandlingCatchRegion.GetHashCodeOrDefault()); 113hashCode.Add(ContainingFinallyRegion.GetHashCodeOrDefault());