1 implementation of ICodeStyleOption
Microsoft.CodeAnalysis.Workspaces (1)
CodeStyle\CodeStyleOption.cs (1)
26
public sealed class CodeStyleOption<T> :
ICodeStyleOption
, IEquatable<CodeStyleOption<T>>
14 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)
95
=> value is not
ICodeStyleOption
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
100
typeof(
ICodeStyleOption
).IsAssignableFrom(type) ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PublicOptionFactory.cs (1)
124
if (equals && x.DefaultValue is not
ICodeStyleOption
)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Options\OptionsTestHelpers.cs (1)
127
ICodeStyleOption
codeStyle => codeStyle
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Simplifier\SimplifierTests.cs (2)
119
var
current = (
ICodeStyleOption
)options.GetOption(key)!;