public AbstractSyntaxTreeFactoryService(HostLanguageServices languageServices) { this.LanguageServices = languageServices; this.MinimumLengthForRecoverableTree = languageServices.WorkspaceServices.Workspace.Options.GetOption(CacheOptions.RecoverableTreeLengthThreshold); _hasCachingService = languageServices.WorkspaceServices.GetService <IProjectCacheHostService>() != null; }
private static CodeStyleHostLanguageServices Create(HostLanguageServices hostLanguageServices) => new CodeStyleHostLanguageServices(hostLanguageServices);
public AbstractSyntaxTreeFactoryService(HostLanguageServices languageServices) { this.LanguageServices = languageServices; this.MinimumLengthForRecoverableTree = languageServices.WorkspaceServices.Workspace.Options.GetOption(CacheOptions.RecoverableTreeLengthThreshold); }
public static CodeStyleHostLanguageServices GetRequiredMappedCodeStyleLanguageServices(HostLanguageServices hostLanguageServices) => s_mappedLanguageServices.GetValue(hostLanguageServices, Create);
public AbstractSyntaxTreeFactoryService(HostLanguageServices languageServices) { this.languageServices = languageServices; }