(uint refId)
| 100 | } |
| 101 | |
| 102 | public object? GetRefValue(uint refId) |
| 103 | { |
| 104 | int index = checked((int)refId); |
| 105 | if (index < 0 || index >= _refs.Count) |
| 106 | { |
| 107 | throw new RefException($"ref_id out of range: {refId}"); |
| 108 | } |
| 109 | |
| 110 | return _refs[index]; |
| 111 | } |
| 112 | |
| 113 | public void Reset() |
| 114 | { |
no outgoing calls
no test coverage detected