Fix compilation with C# disabled

This commit is contained in:
Wojtek Figat
2023-04-05 19:39:04 +02:00
parent a9b706becf
commit f4e62afe8a
2 changed files with 8 additions and 3 deletions

View File

@@ -234,7 +234,7 @@ bool MAssembly::LoadCorlib()
return false;
}
bool MAssembly::LoadImage(const String& assemblyPath)
bool MAssembly::LoadImage(const String& assemblyPath, const StringView& nativePath)
{
_hasCachedClasses = false;
_assemblyPath = assemblyPath;
@@ -246,6 +246,11 @@ bool MAssembly::UnloadImage(bool isReloading)
return false;
}
bool MAssembly::ResolveMissingFile(String& assemblyPath) const
{
return true;
}
MClass::~MClass()
{
_fields.ClearDelete();