Skip to content

Commit

Permalink
Avoid using constant; Fix #658 (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbevain authored Apr 6, 2020
1 parent b2958c0 commit f74703c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mono.Cecil/BaseAssemblyResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ AssemblyDefinition GetAssemblyInNetGac (AssemblyNameReference reference, ReaderP
var gacs = new [] { "GAC_MSIL", "GAC_32", "GAC_64", "GAC" };
var prefixes = new [] { string.Empty, "v4.0_" };

for (int i = 0; i < 2; i++) {
for (int i = 0; i < gac_paths.Count; i++) {
for (int j = 0; j < gacs.Length; j++) {
var gac = Path.Combine (gac_paths [i], gacs [j]);
var file = GetAssemblyFile (reference, prefixes [i], gac);
Expand Down

0 comments on commit f74703c

Please sign in to comment.