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