| 1412 | } |
| 1413 | |
| 1414 | void* ManagedBinaryModule::FindField(const ScriptingTypeHandle& typeHandle, const StringAnsiView& name) |
| 1415 | { |
| 1416 | const ScriptingType& type = typeHandle.GetType(); |
| 1417 | void* result = type.ManagedClass ? type.ManagedClass->GetField(name.Get()) : nullptr; |
| 1418 | if (!result && type.ManagedClass) |
| 1419 | { |
| 1420 | result = type.ManagedClass->GetProperty(name.Get()); |
| 1421 | if (result) |
| 1422 | result = SetManagedBinaryModulePropertyHandle(result); |
| 1423 | } |
| 1424 | return result; |
| 1425 | } |
| 1426 | |
| 1427 | void ManagedBinaryModule::GetFieldSignature(void* field, ScriptingTypeFieldSignature& fieldSignature) |
| 1428 | { |
no test coverage detected