Merge pull request #3213 from henricm/fix-for-win-securestring-to-bstr
[mono.git] / mcs / tools / corcompare / Util.cs
index fa643ed20f825ae59d74f69e96dc55358e52c089..660e859ca2932d76afb1f778a4065e794a75b97f 100644 (file)
@@ -55,8 +55,8 @@ namespace CorCompare {
                        var ifaces = new Dictionary<string, TypeReference> ();
 
                        foreach (var def in WalkHierarchy (type))
-                               foreach (TypeReference iface in def.Interfaces)
-                                       ifaces [iface.FullName] = iface;
+                               foreach (var iface in def.Interfaces)
+                                       ifaces [iface.InterfaceType.FullName] = iface.InterfaceType;
 
                        return ifaces.Values;
                }