1 write to ConfigName
Microsoft.CodeAnalysis.Workspaces (1)
OptionDefinition.cs (1)
46ConfigName = configName;
42 references to ConfigName
Microsoft.CodeAnalysis.EditorFeatures (1)
EditorConfigSettings\Updater\SettingsUpdateHelper.cs (1)
62var optionName = option.Definition.ConfigName;
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (2)
Options\VisualStudioMacOptionsStorage.cs (2)
46/// <see cref="OptionDefinition.ConfigName"/> of options to persist, other then those listed in <see cref="PersistedOptionsWithLegacyPropertyNames"/>. 53/// Maps option <see cref="OptionDefinition.ConfigName"/> to a legacy property name used in VS Mac XML settings file.
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (1)
CodeActions\CodeFixVerifierHelper.cs (1)
133analyzerConfig.AppendLine($"{optionKey.Option.Definition.ConfigName} = {optionKey.Option.Definition.Serializer.Serialize(value)}");
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Diagnostics\IDEDiagnosticIDConfigurationTests.cs (2)
678foreach (var option in options.OrderBy(o => o.Definition.ConfigName)) 720var optionName = option?.Definition.ConfigName;
Microsoft.CodeAnalysis.Features (3)
CodeFixes\Configuration\ConfigurationUpdater.cs (2)
369builder.Add((option.Definition.ConfigName, optionValue, option.IsPerLanguage)); 406orderby option.Definition.ConfigName
CodeFixes\Configuration\ConfigureCodeStyle\ConfigureCodeStyleOptionCodeFixProvider.cs (1)
111var optionName = option.Definition.ConfigName;
Microsoft.CodeAnalysis.Workspaces (18)
AnalyzerConfigOptionsExtensions.cs (1)
39if (analyzerConfigOptions.TryGetValue(option.Definition.ConfigName, out var stringValue))
Option2.cs (5)
70Debug.Assert(LanguageName is null == (Definition.ConfigName.StartsWith("dotnet_", StringComparison.Ordinal) || 71Definition.ConfigName is "file_header_template" or "insert_final_newline")); 72Debug.Assert(LanguageName is LanguageNames.CSharp == Definition.ConfigName.StartsWith(OptionDefinition.CSharpConfigNamePrefix, StringComparison.Ordinal)); 73Debug.Assert(LanguageName is LanguageNames.VisualBasic == Definition.ConfigName.StartsWith(OptionDefinition.VisualBasicConfigNamePrefix, StringComparison.Ordinal)); 83string IOption.Name => Definition.ConfigName;
OptionDefinition.cs (4)
68=> ConfigName == other?.ConfigName; 71=> ConfigName.GetHashCode(); 74=> ConfigName;
Options\DocumentOptionSet.cs (1)
87if (!_configOptions.TryGetValue(internallyDefinedOption.Definition.ConfigName, out var stringValue))
Options\EditorConfig\EditorConfigFileGenerator.cs (1)
70uniqueEntries.Add($"{option.Definition.ConfigName} = {option.Definition.Serializer.Serialize(value)}");
PerLanguageOption2.cs (3)
60Debug.Assert(!Definition.ConfigName.StartsWith(OptionDefinition.CSharpConfigNamePrefix, StringComparison.Ordinal)); 61Debug.Assert(!Definition.ConfigName.StartsWith(OptionDefinition.VisualBasicConfigNamePrefix, StringComparison.Ordinal)); 71string IOption.Name => Definition.ConfigName;
PublicOptionFactory.cs (3)
64definition.ConfigName, 132var equals = x.Definition.ConfigName == y.Definition.ConfigName && x.Definition.Group == y.Definition.Group;
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Options\OptionsTestInfo.cs (1)
65var configName = option.Definition.ConfigName;
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
Options\OptionKeyTests.cs (2)
85Assert.Equal("name", option1.Definition.ConfigName); 91Assert.Equal("name", option2.Definition.ConfigName);
WorkspaceServiceTests\GlobalOptionServiceTests.cs (1)
193}, changedOptions.Select(e => $"{e.Option.Definition.ConfigName}={e.Value}"));
Microsoft.VisualStudio.LanguageServices (4)
Options\ExportVisualStudioStorageReadFallbackAttribute.cs (1)
25/// Option unique name. <see cref="OptionDefinition.ConfigName"/>.
Options\VisualStudioOptionPersister.cs (2)
44return VisualStudioOptionStorage.Storages.TryGetValue(optionKey.Option.Definition.ConfigName, out var storage) && TryFetch(storage, optionKey, out value); 58if (!VisualStudioOptionStorage.Storages.TryGetValue(optionKey.Option.Definition.ConfigName, out var storage))
Options\VisualStudioSettingsOptionPersister.cs (1)
86if (_readFallbacks.TryGetValue(optionKey.Option.Definition.ConfigName, out var lazyReadFallback))
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (4)
EditorConfigSettings\DataProvider\DataProviderTests.cs (4)
126optionsWithUI.OrderBy(o => o.Definition.ConfigName), 127dataSnapShot.Select(setting => setting.Key.Option).OrderBy(o => o.Definition.ConfigName)); 195expectedOptions.Select(option => option.Definition.ConfigName).OrderBy(n => n), 196dataSnapShot.Select(item => item.Key.Option.Definition.ConfigName).OrderBy(n => n));
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\OptionLogger.cs (1)
30m[ConfigName] = optionKey.Option.Definition.ConfigName;
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (1)
Options\GlobalOptionsTest.cs (1)
106AssertEx.AreEqual(differentValue, updatedValue, message: $"Option '{option.Definition.ConfigName}' failed to persist to VS settings.");
Roslyn.VisualStudio.DiagnosticsWindow (1)
OptionPages\InternalOptionsControl.cs (1)
148var optionDisplay = option.Definition.ConfigName.Replace('_', ' ') + GetLanguage(languageName) + GetAdditionalText(additional);