12 references to IOptionPersister
Microsoft.CodeAnalysis.Workspaces (11)
Options\GlobalOptionService.cs (9)
33private ImmutableArray<IOptionPersister> _lazyOptionPersisters; 40private ImmutableArray<IOptionPersister> GetOptionPersisters() 56static ImmutableArray<IOptionPersister> GetOptionPersistersSlow( 71static async Task<ImmutableArray<IOptionPersister>> GetOptionPersistersAsync( 81private static object? LoadOptionFromPersisterOrGetDefault(OptionKey2 optionKey, ImmutableArray<IOptionPersister> persisters) 83foreach (var persister in persisters) 160private static object? GetOption_NoLock(ref ImmutableDictionary<OptionKey2, object?> currentValues, OptionKey2 optionKey, ImmutableArray<IOptionPersister> persisters) 226private static void PersistOption(ImmutableArray<IOptionPersister> persisters, OptionKey2 optionKey, object? value) 228foreach (var persister in persisters)
Options\IOptionPersisterProvider.cs (2)
13/// Gets the <see cref="IOptionPersister"/>. If the persister does not already exist, it is created. 21ValueTask<IOptionPersister> GetOrCreatePersisterAsync(CancellationToken cancellationToken);
Microsoft.VisualStudio.LanguageServices (1)
Options\VisualStudioSettingsOptionPersister.cs (1)
38/// We make sure this code is from the UI by asking for all <see cref="IOptionPersister"/> in <see cref="RoslynPackage.InitializeAsync"/>