1 write to LocationType
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractLocation.cs (1)
44
LocationType
= locationType;
16 references to LocationType
Analyzer.Utilities.UnitTests (4)
FlowAnalysis\Analysis\PropertySetAnalysis\PropertySetAnalysisTests.cs (4)
795
l.
LocationType
!= null
796
&& l.
LocationType
.MetadataName == "BitArray"))
815
l.
LocationType
!= null
816
&& l.
LocationType
.MetadataName == "BitArray"))
Microsoft.CodeAnalysis.AnalyzerUtilities (12)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\DisposeAnalysis\DisposeAnalysis.DisposeDataFlowOperationVisitor.cs (5)
69
location.
LocationType
!= null &&
70
(!location.
LocationType
.IsValueType || location.
LocationType
.IsRefLikeType) &&
71
IsDisposable(location.
LocationType
))
184
escapedLocations.Where(l => IsDisposable(l.
LocationType
));
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractLocation.cs (3)
105
hashCode.Add(
LocationType
.GetHashCodeOrDefault());
118
&&
LocationType
.GetHashCodeOrDefault() == other.
LocationType
.GetHashCodeOrDefault()
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (4)
1312
!IsInterfaceOrTypeParameter(location.
LocationType
) &&
1313
!targetType.DerivesFrom(location.
LocationType
) &&
1314
!location.
LocationType
.DerivesFrom(targetType))))
1331
pointsToValue.Locations.All(location => location.IsNoLocation || !location.IsNull && location.
LocationType
.DerivesFrom(targetType)))