message: CR: Use extensionPath from ctor in server.ts
diff: @@ -93,7 +93,7 @@ export class OmniSharpServer {
  private updateProjectDebouncer = new Subject<ObservableEvents.ProjectModified>();
  private firstUpdateProject: boolean;
  - constructor(private vscode: vscode, networkSettingsProvider: NetworkSettingsProvider, private packageJSON: any, private platformInfo: PlatformInformation, private eventStream: EventStream, private optionProvider: OptionProvider, extensionPath: string, private monoResolver: IMonoResolver) {
  + constructor(private vscode: vscode, networkSettingsProvider: NetworkSettingsProvider, private packageJSON: any, private platformInfo: PlatformInformation, private eventStream: EventStream, private optionProvider: OptionProvider, private extensionPath: string, private monoResolver: IMonoResolver) {
  this._requestQueue = new RequestQueueCollection(this.eventStream, 8, request => this._makeRequest(request));
  let downloader = new OmnisharpDownloader(networkSettingsProvider, this.eventStream, this.packageJSON, platformInfo, extensionPath);
  this._omnisharpManager = new OmnisharpManager(downloader, platformInfo);
  @@ -306,7 +306,7 @@ export class OmniSharpServer {
  if (!options.razorDisabled) {
  const razorPluginPath = path.join(
  - utils.getExtensionPath(),
  + this.extensionPath,
  '.razor',
  'OmniSharpPlugin',
  'Microsoft.AspNetCore.Razor.OmniSharpPlugin.dll');
  @@ -319,8 +319,7 @@ export class OmniSharpServer {
  let launchInfo: LaunchInfo;
  try {
  - let extensionPath = utils.getExtensionPath();
  - launchInfo = await this._omnisharpManager.GetOmniSharpLaunchInfo(this.packageJSON.defaults.omniSharp, options.path, serverUrl, latestVersionFileServerPath, installPath, extensionPath);
  + launchInfo = await this._omnisharpManager.GetOmniSharpLaunchInfo(this.packageJSON.defaults.omniSharp, options.path, serverUrl, latestVersionFileServerPath, installPath, this.extensionPath);
  }
  catch (error) {
  this.eventStream.post(new ObservableEvents.OmnisharpFailure(`Error occured in loading omnisharp from omnisharp.path\nCould not start the server due to ${error.toString()}`, error));
  