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