public int GetOffset (ICSharpCode.NRefactory.TextLocation location) { return LocationToOffset (location.Line, location.Column); }