| 2050 | } |
| 2051 | |
| 2052 | MMethod* MProperty::GetGetMethod() const |
| 2053 | { |
| 2054 | if (!_hasGetMethod) |
| 2055 | return nullptr; |
| 2056 | if (_getMethod == nullptr) |
| 2057 | { |
| 2058 | MonoMethod* method = mono_property_get_get_method(_monoProperty); |
| 2059 | if (method != nullptr) |
| 2060 | { |
| 2061 | _hasGetMethod = true; |
| 2062 | return _getMethod = New<MMethod>(method, (MClass*)_parentClass); |
| 2063 | } |
| 2064 | } |
| 2065 | return _getMethod; |
| 2066 | } |
| 2067 | |
| 2068 | MMethod* MProperty::GetSetMethod() const |
| 2069 | { |
no outgoing calls
no test coverage detected