diff --git a/src/Squirrel/ContentType.cs b/src/Squirrel/ContentType.cs index a62800ff0..a154763fa 100644 --- a/src/Squirrel/ContentType.cs +++ b/src/Squirrel/ContentType.cs @@ -14,10 +14,9 @@ public static void Clean(XmlDocument doc) } var children = typesElement.ChildNodes.OfType(); - for (var child in children) - { - if (child.GetAttribute("Extension") == "") - { + + foreach (var child in children) { + if (child.GetAttribute("Extension") == "") { typesElement.RemoveChild(child); } }