C# analyze failed : java.lang.IllegalArgumentException: 60 is not a valid line offset for pointer

Thanks @nicolas63 for following up. Before investigating on our side, could you take a look at this forum topic: 102 is not a valid line offset for pointer .

Do you have pre and post build events that modify the source code?

If you run

msbuild foo.sln /p:PreBuildEvent= /p:PostBuildEvent=  

will it help ?