Method
addObject
(object obj, bool is_valuetype, bool is_enum)
Source from the content-addressed store, hash-verified
| 792 | } |
| 793 | |
| 794 | int addObject(object obj, bool is_valuetype, bool is_enum) |
| 795 | { |
| 796 | int index = objects.Add(obj); |
| 797 | if (is_enum) |
| 798 | { |
| 799 | enumMap[obj] = index; |
| 800 | } |
| 801 | else if (!is_valuetype) |
| 802 | { |
| 803 | reverseMap[obj] = index; |
| 804 | } |
| 805 | |
| 806 | return index; |
| 807 | } |
| 808 | |
| 809 | public object GetObject(RealStatePtr L,int index) |
| 810 | { |
Callers
nothing calls this directly
Tested by
no test coverage detected