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)
36
return
_rules
;
47
int count =
_rules
.Length - i;
53
int max = Math.Min(
_rules
.Length, i + count);
55
if (
_rules
[index] == rule) {
63
T 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);
80
int i = Array.IndexOf(
_rules
, oldRule);
82
_rules
[i] = newRule;
87
_rules = AddOrInsert(
_rules
, newRule);