MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetGetMethod

Method GetGetMethod

Source/Engine/Scripting/Runtime/Mono.cpp:2052–2066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2050}
2051
2052MMethod* 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
2068MMethod* MProperty::GetSetMethod() const
2069{

Callers 4

GetClassPropertiesMethod · 0.45
ToNativeMethod · 0.45
FindDebugCommandsFunction · 0.45
ReflectiveCompareMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected