2 writes to _rules
System.Core (2)
Microsoft\Scripting\Actions\RuleCache.cs (2)
73_rules = AddOrInsert(_rules, newRule); 87_rules = AddOrInsert(_rules, newRule);
14 references to _rules
System.Core (14)
Microsoft\Scripting\Actions\RuleCache.cs (14)
36return _rules; 47int count = _rules.Length - i; 53int max = Math.Min(_rules.Length, i + count); 55if (_rules[index] == rule) { 63T oldRule = _rules[oldIndex]; 64_rules[oldIndex] = _rules[oldIndex - 1]; 65_rules[oldIndex - 1] = _rules[oldIndex - 2]; 66_rules[oldIndex - 2] = oldRule; 73_rules = AddOrInsert(_rules, newRule); 80int i = Array.IndexOf(_rules, oldRule); 82_rules[i] = newRule; 87_rules = AddOrInsert(_rules, newRule);