1 write to IndexValues
ILLink.RoslynAnalyzer (1)
TrimAnalysis\ArrayValue.cs (1)
29
IndexValues
= new Dictionary<int, MultiValue> ();
14 references to IndexValues
ILLink.RoslynAnalyzer (14)
TrimAnalysis\ArrayValue.cs (7)
34
if (
IndexValues
.TryGetValue (index, out value))
52
equals &=
IndexValues
.Count == otherArr.
IndexValues
.Count;
60
foreach (var kvp in
IndexValues
)
61
if (!otherArr.
IndexValues
.TryGetValue (kvp.Key, out MultiValue value) || !kvp.Value.Equals (value))
71
foreach (var kvp in
IndexValues
) {
81
newArray.
IndexValues
.Add (kvp.Key, kvp.Value.DeepCopy ());
TrimAnalysis\TrimAnalysisVisitor.cs (7)
113
array.
IndexValues
.Add (i, ArrayValue.SanitizeArrayElementValue(elements[i]));
266
arr.
IndexValues
.Clear ();
267
} else if (arr.
IndexValues
.TryGetValue (index.Value, out _) || arr.
IndexValues
.Count < MaxTrackedArrayValues) {
269
arr.
IndexValues
[index.Value] = merge
270
? _multiValueLattice.Meet (arr.
IndexValues
[index.Value], sanitizedValue)
310
arrayValue.
IndexValues
.Clear ();