Fix C# parser to save correct location information.