extensions/typescript-language-features/src/typescriptServiceClient.ts/TypeScriptServiceClient/normalizedPath
class TypeScriptServiceClient:	public normalizedPath(resource: vscode.Uri): string | undefined {
		if (fileSchemes.disabledSchemes.has(resource.scheme)) {
			return undefined;
		}

		switch (resource.scheme) {
			case fileSchemes.file:
				{
					let result = resource.fsPath;
					if (!result) {
						return undefined;
					}
					result = path.normalize(result);

					// Both \ and / must be escaped in regular expressions
					return result.replace(new RegExp('\\' + this.pathSeparator, 'g'), '/');
				}
			default:
				{
					return this.inMemoryResourcePrefix + '/' + resource.scheme
						+ (resource.path.startsWith('/') ? resource.path : '/' + resource.path)
						+ (resource.fragment ? '#' + resource.fragment : '');
				}
		}
	}