Skip to content

Commit f8449e6

Browse files
author
Stewart Miles
committed
Fixed class lookup.
Fixes a regression in 9911e09 which causes VersionHandler completion callbacks to no longer fire. Bug: 123293833 Change-Id: I882574251d03656c2761d11bc7341732b49994b2
1 parent 7a0e0c3 commit f8449e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/VersionHandler/src/VersionHandler.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ public static Type FindClass(string assemblyName, string className) {
438438
// Search for the first instance of a class matching this name in all
439439
// assemblies.
440440
foreach (var currentType in assembly.GetTypes()) {
441-
if (type.FullName == className) {
441+
if (currentType.FullName == className) {
442442
type = currentType;
443443
}
444444
}

0 commit comments

Comments
 (0)