Sre cleanup9 (#3661)
[mono.git] / mcs / tools / linker / Mono.Linker.Steps / MarkStep.cs
index 74e61e3541c895af113ea346790d598269aa3ff8..0c39910ff5ea06b2d5a538e7ebbda7b09f27f63b 100644 (file)
@@ -520,8 +520,8 @@ namespace Mono.Linker.Steps {
                                MarkFields (type, type.IsEnum);
 
                        if (type.HasInterfaces) {
-                               foreach (TypeReference iface in type.Interfaces)
-                                       MarkType (iface);
+                               foreach (var iface in type.Interfaces)
+                                       MarkType (iface.InterfaceType);
                        }
 
                        if (type.HasMethods) {