[Mono.Profiler.Log] Check MLPD version when reading header
authorRodrigo Moya <rodrigo.moya@xamarin.com>
Fri, 8 Sep 2017 17:36:20 +0000 (19:36 +0200)
committerRodrigo Moya <rodrigo@gnome.org>
Thu, 14 Sep 2017 10:49:27 +0000 (12:49 +0200)
commitde1633042b052df25b407007d9cb772319eb1895
treeb2bd523b595296029fa66ad29e80da98cbda7bd8
parent1616de091b806f822f52d70222fa431724f87846
[Mono.Profiler.Log] Check MLPD version when reading header

Right now, when reading a MLPD of an old version, it just silently fails, so
throw an exception when the version is unsuported.
mcs/class/Mono.Profiler.Log/Mono.Profiler.Log/LogStreamHeader.cs