2 writes to PropertyIndex
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertyMapper.cs (2)
54PropertyIndex = propertyIndex; 83PropertyIndex = propertyIndex;
5 references to PropertyIndex
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertyMapperCollection.cs (5)
29if (propertyMappers.Any(p => p.PropertyIndex >= 0)) 31if (!propertyMappers.All(p => p.PropertyIndex >= 0)) 39foreach (int pi in propertyMappers.Select(p => p.PropertyIndex).Distinct().OrderBy(propertyIndex => propertyIndex)) 62int indexToAdd = p.PropertyIndex >= 0 ? p.PropertyIndex : index++;