Author Topic: Managed C++ "for each" becoming "foreach" after beautify  (Read 2536 times)

chrimc

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Managed C++ "for each" becoming "foreach" after beautify
« on: January 21, 2011, 03:21:21 am »
Managed C++ supports a for each statement like this:
        for each (FieldInfo^ field in _fields)
When I beautify it becomes this:
        foreach (FieldInfo^ field in _fields)

For C# I get it, but for C++ this is definitely wrong.  How do I fix it?