1 implementation of ICodeStyleOption
Microsoft.CodeAnalysis.Workspaces (1)
CodeStyle\CodeStyleOption.cs (1)
26public sealed class CodeStyleOption<T> : ICodeStyleOption, IEquatable<CodeStyleOption<T>>
11 references to ICodeStyleOption
Microsoft.CodeAnalysis.Workspaces (11)
CodeStyle\CodeStyleOption.cs (8)
21ICodeStyleOption WithValue(object value); 22ICodeStyleOption WithNotification(NotificationOption2 notification); 46object? ICodeStyleOption.Value => this.Value; 47NotificationOption2 ICodeStyleOption.Notification => UnderlyingOption.Notification; 48ICodeStyleOption ICodeStyleOption.WithValue(object value) => new CodeStyleOption<T>((T)value, Notification); 49ICodeStyleOption ICodeStyleOption.WithNotification(NotificationOption2 notification) => new CodeStyleOption<T>(Value, (NotificationOption)notification);
Options\OptionSet.cs (1)
96=> value is not ICodeStyleOption;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
101typeof(ICodeStyleOption).IsAssignableFrom(type) ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PublicOptionFactory.cs (1)
126if (equals && x.DefaultValue is not ICodeStyleOption)