Skip to content

Commit

Permalink
Merge pull request #158 from SimonCropp/master
Browse files Browse the repository at this point in the history
make ImportAssemblyName respect IsRetargetable
  • Loading branch information
jbevain committed Mar 6, 2014
2 parents 8425de4 + 7884a31 commit 4770957
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mono.Cecil/Import.cs
Expand Up @@ -484,6 +484,7 @@ AssemblyNameReference ImportAssemblyName (AssemblyNameReference name)
reference = new AssemblyNameReference (name.Name, name.Version) {
Culture = name.Culture,
HashAlgorithm = name.HashAlgorithm,
IsRetargetable = name.IsRetargetable
};

var pk_token = !name.PublicKeyToken.IsNullOrEmpty ()
Expand Down

0 comments on commit 4770957

Please sign in to comment.