private RecoverableSyntaxTree(RecoverableSyntaxTree original, SyntaxTreeInfo info) { _recoverableRoot = original._recoverableRoot.WithSyntaxTree(this); _info = info; _projectCacheService = original._projectCacheService; _cacheKey = original._cacheKey; }
public SolutionServices(Workspace workspace) { this.Workspace = workspace; this.TemporaryStorage = workspace.Services.GetService <ITemporaryStorageService>(); this.MetadataService = workspace.Services.GetService <IMetadataService>(); this.CacheService = workspace.Services.GetService <IProjectCacheHostService>(); }
private RecoverableSyntaxTree(AbstractSyntaxTreeFactoryService service, ProjectId cacheKey, CompilationUnitSyntax root, SyntaxTreeInfo info) { _recoverableRoot = new RecoverableSyntaxRoot <CompilationUnitSyntax>(service, root, this); _info = info; _projectCacheService = service.LanguageServices.WorkspaceServices.GetService <IProjectCacheHostService>(); _cacheKey = cacheKey; }
private RecoverableSyntaxTree(RecoverableSyntaxTree original, SyntaxTreeInfo info) { this.recoverableRoot = original.recoverableRoot.WithSyntaxTree(this); this.info = info; this.projectCacheService = original.projectCacheService; this.cacheKey = original.cacheKey; }
public SolutionServices(Workspace workspace) { this.Workspace = workspace; this.TemporaryStorage = workspace.Services.GetService<ITemporaryStorageService>(); this.MetadataService = workspace.Services.GetService<IMetadataService>(); this.CacheService = workspace.Services.GetService<IProjectCacheHostService>(); }
public Service(IProjectCacheHostService hostService) => _hostService = hostService;
public Service(IProjectCacheHostService hostService) { this.hostService = hostService; }
public Service(IProjectCacheHostService hostService) { _hostService = hostService; }