[xbuild] Implement GetDirectoryNameOfFileAbove ()
commitb52e2e25f69a9b6e4187b2c04301d9453e9cdc67
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 18 Dec 2014 11:20:32 +0000 (18 12:20 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 18 Dec 2014 13:58:50 +0000 (18 14:58 +0100)
tree22e68439437c221f1e40184c6e7e538177d22746
parentd4a2bab840ef99b744c9494a9fac8da4a24d43a8
[xbuild] Implement GetDirectoryNameOfFileAbove ()

The method looks for the given file starting at the given path and traverses
the directory tree up until the file is found or root is reached.
mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/PredefinedPropertyFunctions.cs