[w32handle] Stop returning 0 in every cases for locking/unlocking (#3926)
[mono.git] / mcs / tools / linker / Mono.Linker.Steps / MarkStep.cs
index bc04fc5c7c024087188ffee7b0c337305b6aae8f..9bf293d7f13fe527b221ceab7461a6c35e2a7d84 100644 (file)
@@ -90,13 +90,6 @@ namespace Mono.Linker.Steps {
                                InitializeFields (type);
                        if (type.HasMethods)
                                InitializeMethods (type.Methods);
-
-                       if (type.HasNestedTypes) {
-                               foreach (var nested in type.NestedTypes) {
-                                       if (Annotations.IsMarked (nested))
-                                               InitializeType (nested);
-                               }
-                       }
                }
 
                void InitializeFields (TypeDefinition type)