1 implementation of ICodeStyleOption2
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
67
internal sealed partial class CodeStyleOption2<T>(T value, NotificationOption2 notification) :
ICodeStyleOption2
, IEquatable<CodeStyleOption2<T>?>
9 references to ICodeStyleOption2
Microsoft.CodeAnalysis.CodeStyle (9)
src\Analyzers\Core\Analyzers\AbstractBuiltInCodeStyleDiagnosticAnalyzer.cs (1)
87
Debug.Assert(option is { Definition.DefaultValue:
ICodeStyleOption2
} == descriptor.CustomTags.Contains(WellKnownDiagnosticTags.CustomSeverityConfigurable));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (7)
22
ICodeStyleOption2
WithValue(object value);
23
ICodeStyleOption2
WithNotification(NotificationOption2 notification);
85
object?
ICodeStyleOption2
.Value => this.Value;
86
ICodeStyleOption2
ICodeStyleOption2
.WithValue(object value) => WithValue((T)value);
87
ICodeStyleOption2
ICodeStyleOption2
.WithNotification(NotificationOption2 notification) => new CodeStyleOption2<T>(Value, notification);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
102
typeof(
ICodeStyleOption2
).IsAssignableFrom(type) ||