| 881 | } |
| 882 | |
| 883 | ScriptingTypeHandle ManagedBinaryModule::FindType(const MClass* klass) |
| 884 | { |
| 885 | auto typeModule = FindModule(klass); |
| 886 | if (typeModule) |
| 887 | { |
| 888 | int32 typeIndex; |
| 889 | if (typeModule->ClassToTypeIndex.TryGet(klass, typeIndex)) |
| 890 | return ScriptingTypeHandle(typeModule, typeIndex); |
| 891 | } |
| 892 | return ScriptingTypeHandle(); |
| 893 | } |
| 894 | |
| 895 | #endif |
| 896 |
nothing calls this directly
no test coverage detected