61 references to GetHashCodeOrDefault
Microsoft.CodeAnalysis.AnalyzerUtilities (61)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\ConstructorMapper.cs (2)
105
hashCode.Add(MapFromValueContentAbstractValue.
GetHashCodeOrDefault
());
106
hashCode.Add(MapFromPointsToAbstractValue.
GetHashCodeOrDefault
());
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\HazardousUsageEvaluator.cs (4)
122
this.ContainingTypeName.
GetHashCodeOrDefault
(),
123
this.MethodName.
GetHashCodeOrDefault
(),
124
this.ParameterNameOfPropertySetObject.
GetHashCodeOrDefault
(),
126
this.InvocationEvaluator.
GetHashCodeOrDefault
());
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertyMapper.cs (3)
123
this.PropertyName.
GetHashCodeOrDefault
(),
124
this.MapFromValueContentAbstractValue.
GetHashCodeOrDefault
(),
125
this.MapFromPointsToAbstractValue.
GetHashCodeOrDefault
());
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractDataFlowAnalysisContext.cs (15)
169
hashCode.Add(CopyAnalysisResult.
GetHashCodeOrDefault
());
170
hashCode.Add(PointsToAnalysisResult.
GetHashCodeOrDefault
());
171
hashCode.Add(ValueContentAnalysisResult.
GetHashCodeOrDefault
());
172
hashCode.Add(InterproceduralAnalysisData.
GetHashCodeOrDefault
());
173
hashCode.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)
100
hashCode.Add(Creation.
GetHashCodeOrDefault
());
102
hashCode.Add(Symbol.
GetHashCodeOrDefault
());
104
hashCode.Add(AnalysisEntity.
GetHashCodeOrDefault
());
105
hashCode.Add(LocationType.
GetHashCodeOrDefault
());
113
return 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)
234
return 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
()
261
hashCode.Add(Symbol.
GetHashCodeOrDefault
());
263
hashCode.Add(InstanceReferenceOperationSyntax.
GetHashCodeOrDefault
());
266
hashCode.Add(Parent.
GetHashCodeOrDefault
());
267
hashCode.Add(EntityForInstanceLocation.
GetHashCodeOrDefault
());
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ArgumentInfo.cs (3)
36
hashCode.Add(AnalysisEntity.
GetHashCodeOrDefault
());
45
&& AnalysisEntity.
GetHashCodeOrDefault
() == other.AnalysisEntity.
GetHashCodeOrDefault
()
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\InterproceduralAnalysisData.cs (6)
72
hashCode.Add(InitialAnalysisData.
GetHashCodeOrDefault
());
85
return InitialAnalysisData.
GetHashCodeOrDefault
() == other.InitialAnalysisData.
GetHashCodeOrDefault
()
101
hashCode.Add(instanceAndPointsToValue.Value.Instance.
GetHashCodeOrDefault
());
119
return left.Value.Instance.
GetHashCodeOrDefault
() == right.Value.Instance.
GetHashCodeOrDefault
()
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (2)
112
hashCode.Add(HandlingCatchRegion.
GetHashCodeOrDefault
());
113
hashCode.Add(ContainingFinallyRegion.
GetHashCodeOrDefault
());