src/vs/workbench/api/common/extHostTypeConverters.ts/fromLocation
	function fromLocation(location: vscode.Range | vscode.Position) {
		return 'line' in location ? Position.from(location) : Range.from(location);
	}