Skip to content

Commit 24ce6c5

Browse files
committed
Merge fixes
1 parent e737ee3 commit 24ce6c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/DllManipulator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ public class DllManipulatorOptions
704704
public DllManipulatorOptions CloneTo(DllManipulatorOptions other)
705705
{
706706
other.dllPathPattern = dllPathPattern;
707-
other.assemblyPaths = (string[]) assemblyPaths.Clone();
707+
other.assemblyNames = assemblyNames.Select(item => (string)item.Clone()).ToList();
708708
other.loadingMode = loadingMode;
709709
other.posixDlopenFlags = posixDlopenFlags;
710710
other.threadSafe = threadSafe;
@@ -720,7 +720,7 @@ public DllManipulatorOptions CloneTo(DllManipulatorOptions other)
720720

721721
public bool Equals(DllManipulatorOptions other)
722722
{
723-
return other.dllPathPattern == dllPathPattern && other.assemblyPaths.SequenceEqual(assemblyPaths) &&
723+
return other.dllPathPattern == dllPathPattern && other.assemblyNames.SequenceEqual(assemblyNames) &&
724724
other.loadingMode == loadingMode && other.posixDlopenFlags == posixDlopenFlags &&
725725
other.threadSafe == threadSafe && other.enableCrashLogs == enableCrashLogs &&
726726
other.crashLogsDir == crashLogsDir && other.crashLogsStackTrace == crashLogsStackTrace &&

0 commit comments

Comments
 (0)