2 implementations of Value
Microsoft.CodeAnalysis.Workspaces (2)
CodeStyle\CodeStyleOption.cs (1)
37object ICodeStyleOption.Value => this.Value;
CodeStyleOption2`1.cs (1)
102object? ICodeStyleOption.Value => this.Value;
7 references to Value
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
EditorConfigSettings\Data\CodeStyleSettingsTest.cs (2)
45Assert.Equal(defaultValue, setting.GetCodeStyle().Value); 76Assert.Equal(defaultValue, setting.GetCodeStyle().Value);
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Configuration\ConfigureCodeStyle\ConfigureCodeStyleOptionCodeFixProvider.cs (2)
115if (defaultValue.Value is bool) 122else if (defaultValue.Value?.GetType() is Type t && t.IsEnum)
Microsoft.CodeAnalysis.Workspaces (1)
CodeStyleOption2`1.cs (1)
32/// The type of the serialized data does not match the type of <see cref="ICodeStyleOption.Value"/> or the format of the serialized data is invalid.
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Options\OptionsTestHelpers.cs (1)
128.WithValue(GetDifferentValue(codeStyle.GetType().GetGenericArguments()[0], codeStyle.Value!)!)
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\AbstractOptionPreviewViewModel.cs (1)
79actualValue = codeStyleOption.WithValue(newCodeStyleOption.Value).WithNotification(newCodeStyleOption.Notification);