15 references to Suggestion
Microsoft.CodeAnalysis.Workspaces (15)
CodeStyle\NotificationOption.cs (2)
50
/// <inheritdoc cref="NotificationOption2.
Suggestion
"/>
51
public static readonly NotificationOption Suggestion = new(NotificationOption2.
Suggestion
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
108
case EditorConfigSeverityStrings.Suggestion: notification = NotificationOption2.
Suggestion
; return true;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (3)
43
public static readonly CodeStyleOption2<bool> TrueWithSuggestionEnforcement = new(value: true, notification: NotificationOption2.
Suggestion
);
44
public static readonly CodeStyleOption2<bool> FalseWithSuggestionEnforcement = new(value: false, notification: NotificationOption2.
Suggestion
);
193
DiagnosticSeverity.Info => NotificationOption2.
Suggestion
,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOptions2.cs (4)
97
defaultValue: new CodeStyleOption2<CollectionExpressionPreference>(CollectionExpressionPreference.WhenTypesLooselyMatch, NotificationOption2.
Suggestion
),
180
defaultValue: new CodeStyleOption2<UnusedParametersPreference>(UnusedParametersPreference.AllMethods, NotificationOption2.
Suggestion
),
307
defaultValue: new CodeStyleOption2<ForEachExplicitCastInSourcePreference>(ForEachExplicitCastInSourcePreference.WhenStronglyTyped, NotificationOption2.
Suggestion
),
331
defaultValue: new CodeStyleOption2<bool>(value: true, notification: NotificationOption2.
Suggestion
));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\NotificationOption2.cs (2)
52
ReportDiagnostic.Info =>
Suggestion
,
63
DiagnosticSeverity.Info =>
Suggestion
,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\VisualBasic\VisualBasicCodeStyleOptions.cs (1)
54
defaultValue: new CodeStyleOption2<UnusedValuePreference>(UnusedValuePreference.UnusedLocalVariable, NotificationOption2.
Suggestion
),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticSeverityExtensions.cs (1)
18
DiagnosticSeverity.Info => NotificationOption2.
Suggestion
,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ReportDiagnosticExtensions.cs (1)
91
ReportDiagnostic.Info => NotificationOption2.
Suggestion
,