Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,9 @@ protected virtual void Dispose (bool disposing)
cache = null;
}

[Obsolete ("Should not be used; was required with previous Cecil versions.")]
public IDictionary ToResolverCache ()
public Dictionary<string, AssemblyDefinition> ToResolverCache ()
{
var resolver_cache = new Hashtable ();
foreach (var pair in cache)
resolver_cache.Add (pair.Key, pair.Value);

return resolver_cache;
return new Dictionary<string, AssemblyDefinition>(cache);
}

public virtual AssemblyDefinition Load (string fileName)
Expand Down