Throw an exception when the filename length > MAX_PATH
authorFrederik Carlier <frederik.carlier@quamotion.mobi>
Fri, 22 Sep 2017 06:46:12 +0000 (08:46 +0200)
committerFrederik Carlier <frederik.carlier@quamotion.mobi>
Fri, 22 Sep 2017 06:46:12 +0000 (08:46 +0200)
commit6f25887d5bbfce869b9a47c731ce1bac7d7d1249
treeb8ea1b05795a18391c5a96b6b8334d290d8afa7f
parentd1a4f7e1426745e9f5c1c5b0bee0415fc8ff6cb2
Throw an exception when the filename length > MAX_PATH

Commit migrated from https://github.com/dotnet/corefx/commit/926c12917fac0e7d6ec2ed1ff25dd5f03ad0665a
src/libraries/System.Drawing.Common/src/System/Drawing/Imaging/Metafile.Windows.cs