17 references to ICodeStyleOption2
Microsoft.CodeAnalysis.Features (1)
CodeFixes\Configuration\ConfigureCodeStyle\ConfigureCodeStyleOptionCodeFixProvider.cs (1)
145
var
configuredCodeStyleOption = codeStyleOption.WithValue(newValue);
Microsoft.CodeAnalysis.Workspaces (16)
CodeStyle\CodeStyleOption.cs (1)
14
/// Internally the value is represented by <see cref="
ICodeStyleOption2
"/>.
Options\OptionSet.cs (1)
102
=> value is not
ICodeStyleOption2
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (13)
22
ICodeStyleOption2
WithValue(object value);
23
ICodeStyleOption2
WithNotification(NotificationOption2 notification);
26
/// Creates a new <see cref="
ICodeStyleOption2
"/> from a specified <paramref name="element"/>.
29
/// The type of the serialized data does not match the type of <see cref="
ICodeStyleOption2
.Value"/> or the format of the serialized data is invalid.
31
ICodeStyleOption2
FromXElement(XElement element);
75
internal sealed partial class CodeStyleOption2<T>(T value, NotificationOption2 notification) :
ICodeStyleOption2
, IEquatable<CodeStyleOption2<T>?>
93
object?
ICodeStyleOption2
.Value => this.Value;
94
ICodeStyleOption2
ICodeStyleOption2
.WithValue(object value) => WithValue((T)value);
95
ICodeStyleOption2
ICodeStyleOption2
.WithNotification(NotificationOption2 notification) => new CodeStyleOption2<T>(Value, notification);
165
ICodeStyleOption2
ICodeStyleOption2
.FromXElement(XElement element)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
102
typeof(
ICodeStyleOption2
).IsAssignableFrom(type) ||