File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 &&
You can’t perform that action at this time.
0 commit comments