107 references to Info
BuildActionTelemetryTable (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\EditorConfigSeverityStrings.cs (1)
32reportDiagnostic = ReportDiagnostic.Info;
CodeStyleConfigFileGenerator (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\EditorConfigSeverityStrings.cs (1)
32reportDiagnostic = ReportDiagnostic.Info;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticSeverityExtensions_Shared.cs (1)
26DiagnosticSeverity.Info => ReportDiagnostic.Info,
Microsoft.AspNetCore.Analyzer.Testing (2)
DiagnosticAnalyzerRunner.cs (1)
70additionalEnabledDiagnostics.ToDictionary(s => s, s => ReportDiagnostic.Info));
DiagnosticVerifier.cs (1)
90additionalEnabledDiagnostics.ToDictionary(s => s, s => ReportDiagnostic.Info));
Microsoft.CodeAnalysis (12)
CommandLine\AnalyzerConfigSet.cs (1)
351severity = ReportDiagnostic.Info;
Diagnostic\CommonMessageProvider.cs (1)
142case ReportDiagnostic.Info:
Diagnostic\Diagnostic.cs (1)
540case ReportDiagnostic.Info:
Diagnostic\DiagnosticDescriptor.cs (2)
256return ReportDiagnostic.Info; 274case ReportDiagnostic.Info:
Diagnostic\SeverityFilter.cs (2)
28ReportDiagnostic.Info => (severityFilter & SeverityFilter.Info) != 0, 39else if (!severityFilter.Contains(ReportDiagnostic.Info))
RuleSet\RuleSet.cs (4)
85case ReportDiagnostic.Info: 232return action1 == ReportDiagnostic.Warn || action1 == ReportDiagnostic.Error || action1 == ReportDiagnostic.Info || action1 == ReportDiagnostic.Hidden; 234return action1 == ReportDiagnostic.Warn || action1 == ReportDiagnostic.Error || action1 == ReportDiagnostic.Info; 235case ReportDiagnostic.Info:
RuleSet\RuleSetProcessor.cs (1)
219return ReportDiagnostic.Info;
Microsoft.CodeAnalysis.CodeStyle (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (2)
53(true, ReportDiagnostic.Info) => TrueWithSuggestionEnforcement, 55(false, ReportDiagnostic.Info) => FalseWithSuggestionEnforcement,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\EditorConfigSeverityStrings.cs (1)
32reportDiagnostic = ReportDiagnostic.Info;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\NotificationOption2.cs (3)
30/// Notification option for a suggestion or an info option with <see cref="ReportDiagnostic.Info"/>. 32public static NotificationOption2 Suggestion => new(ReportDiagnostic.Info, false); 52ReportDiagnostic.Info => Suggestion,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticSeverityExtensions_Shared.cs (1)
26DiagnosticSeverity.Info => ReportDiagnostic.Info,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ReportDiagnosticExtensions.cs (3)
35case ReportDiagnostic.Info: 77ReportDiagnostic.Info => EditorConfigSeverityStrings.Suggestion, 91ReportDiagnostic.Info => NotificationOption2.Suggestion,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_NamingRule.cs (1)
88case EditorConfigSeverityStrings.Suggestion: return ReportDiagnostic.Info;
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Analyzers\Core\CodeFixes\Naming\FallbackNamingRules.cs (4)
66ReportDiagnostic.Info); 75ReportDiagnostic.Info); 85ReportDiagnostic.Info); 94ReportDiagnostic.Info);
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpDiagnosticFilter.cs (1)
270case ReportDiagnostic.Info:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseExpressionBodyForLambda\UseExpressionBodyForLambdaDiagnosticAnalyzer.cs (1)
50case ReportDiagnostic.Info:
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
CommandLineTests.cs (3)
3111Assert.Equal(actual: arguments.CompilationOptions.SpecificDiagnosticOptions["Test001"], expected: ReportDiagnostic.Info); 13411ReportDiagnostic.Info => errorlog ? "info" : null, 13656(analyzerConfigSeverity == ReportDiagnostic.Info && errorlog)))
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Diagnostics\NamingStyles\EditorConfigNamingStyleParserTests.cs (3)
173Assert.Equal(ReportDiagnostic.Info, namingRule.EnforcementLevel); 264Assert.Equal(ReportDiagnostic.Info, namingRule.EnforcementLevel); 307Assert.Equal(ReportDiagnostic.Info, namingRule.EnforcementLevel);
EditorConfigSettings\Updater\SettingsUpdaterTests.cs (1)
113[CombinatorialValues(ReportDiagnostic.Warn, ReportDiagnostic.Error, ReportDiagnostic.Info, ReportDiagnostic.Hidden, ReportDiagnostic.Suppress)]
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Diagnostics\DiagnosticAnalyzerTests.cs (2)
344specificDiagOptions.Add(noneDiagDescriptor.Id, ReportDiagnostic.Info); 417options = TestOptions.ReleaseDll.WithGeneralDiagnosticOption(ReportDiagnostic.Info);
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\UseExpressionBodyForLambda\UseExpressionBodyForLambdaDiagnosticAnalyzer.cs (1)
50case ReportDiagnostic.Info:
UseExpressionBodyForLambda\UseExpressionBodyForLambdaCodeRefactoringProvider.cs (1)
53case ReportDiagnostic.Info:
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeStyle\CSharpEditorConfigCodeStyleParserTests.cs (1)
68[InlineData("outside_namespace:suggestion", AddImportPlacement.OutsideNamespace, ReportDiagnostic.Info)]
Microsoft.CodeAnalysis.EditorFeatures (2)
EditorConfigSettings\Data\CodeStyleSetting.cs (1)
39ReportDiagnostic.Info => NotificationOption2.Suggestion,
EditorConfigSettings\Updater\SettingsUpdateHelper.cs (1)
70ReportDiagnostic.Info => "suggestion",
Microsoft.CodeAnalysis.Features (4)
src\Analyzers\Core\CodeFixes\Naming\FallbackNamingRules.cs (4)
66ReportDiagnostic.Info); 75ReportDiagnostic.Info); 85ReportDiagnostic.Info); 94ReportDiagnostic.Info);
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
437ReportDiagnostic.Info or ReportDiagnostic.Hidden => "note",
Diagnostics\ReportDiagnosticExtensions.cs (1)
19ReportDiagnostic.Info => "suggestion",
Microsoft.CodeAnalysis.UnitTests (7)
Analyzers\AnalyzerConfigTests.cs (5)
1065("cs001", ReportDiagnostic.Info)), 1111("cs001", ReportDiagnostic.Info)) 1144("cs001", ReportDiagnostic.Info)) 1166("cs000", ReportDiagnostic.Info)), 1192("cs001", ReportDiagnostic.Info)),
CommonCommandLineParserTests.cs (2)
417Assert.Equal(ReportDiagnostic.Info, ruleSet.SpecificDiagnosticOptions["CA1015"]); 557Assert.Equal(ReportDiagnostic.Info, ruleSet.GeneralDiagnosticOption);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
CommandLineTests.vb (1)
8736Assert.Equal(expected:=ReportDiagnostic.Info, actual:=arguments.CompilationOptions.SpecificDiagnosticOptions("Test001"))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Diagnostics\DiagnosticAnalyzerTests.vb (2)
90specificDiagOptions.Add(noneDiagDescriptor.Id, ReportDiagnostic.Info) 160options = TestOptions.ReleaseDll.WithGeneralDiagnosticOption(ReportDiagnostic.Info)
Microsoft.CodeAnalysis.Workspaces (14)
CodeStyle\NotificationOption2_operators.cs (2)
16ReportDiagnostic.Info => NotificationOption.Suggestion, 30ReportDiagnostic.Info => WorkspacesResources.Suggestion,
Diagnostics\DiagnosticData.cs (1)
323case ReportDiagnostic.Info:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (2)
53(true, ReportDiagnostic.Info) => TrueWithSuggestionEnforcement, 55(false, ReportDiagnostic.Info) => FalseWithSuggestionEnforcement,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\EditorConfigSeverityStrings.cs (1)
32reportDiagnostic = ReportDiagnostic.Info;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\NotificationOption2.cs (3)
30/// Notification option for a suggestion or an info option with <see cref="ReportDiagnostic.Info"/>. 32public static NotificationOption2 Suggestion => new(ReportDiagnostic.Info, false); 52ReportDiagnostic.Info => Suggestion,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticSeverityExtensions_Shared.cs (1)
26DiagnosticSeverity.Info => ReportDiagnostic.Info,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ReportDiagnosticExtensions.cs (3)
35case ReportDiagnostic.Info: 77ReportDiagnostic.Info => EditorConfigSeverityStrings.Suggestion, 91ReportDiagnostic.Info => NotificationOption2.Suggestion,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_NamingRule.cs (1)
88case EditorConfigSeverityStrings.Suggestion: return ReportDiagnostic.Info;
Microsoft.CodeAnalysis.Workspaces.UnitTests (12)
CodeStyle\EditorConfigCodeStyleParserTests.cs (4)
18[InlineData("true:suggestion", true, ReportDiagnostic.Info)] 25[InlineData("false:suggestion", false, ReportDiagnostic.Info)] 48[InlineData("always:suggestion", AccessibilityModifiersRequired.Always, ReportDiagnostic.Info)] 52[InlineData("always : suggestion", AccessibilityModifiersRequired.Always, ReportDiagnostic.Info)]
EditorConfigParsing\NamingStyleParserTests.cs (8)
85Assert.Equal(ReportDiagnostic.Info, rule0.Severity.Value); 122Assert.Equal(ReportDiagnostic.Info, rule1.Severity.Value); 172Assert.Equal(ReportDiagnostic.Info, rule2.Severity.Value); 207Assert.Equal(ReportDiagnostic.Info, rule3.Severity.Value); 243Assert.Equal(ReportDiagnostic.Info, rule4.Severity.Value); 281Assert.Equal(ReportDiagnostic.Info, rule5.Severity.Value); 317Assert.Equal(ReportDiagnostic.Info, rule6.Severity.Value); 354Assert.Equal(ReportDiagnostic.Info, rule7.Severity.Value);
Microsoft.VisualStudio.LanguageServices (8)
EditorConfigSettings\Analyzers\View\ColumnDefinitions\AnalyzerSeverityColumnDefinition.cs (1)
46CodeAnalysis.ReportDiagnostic.Info => ServicesVSResources.Suggestion,
EditorConfigSettings\Analyzers\ViewModel\SeverityViewModel.cs (2)
53ReportDiagnostic.Info => 2, 742 => ReportDiagnostic.Info,
EditorConfigSettings\CodeStyle\ViewModel\CodeStyleSeverityViewModel.cs (2)
54ReportDiagnostic.Info => 1, 681 => ReportDiagnostic.Info,
EditorConfigSettings\NamingStyle\View\ColumnDefinitions\NamingStylesSeverityColumnDefinition.cs (1)
52ReportDiagnostic.Info => ServicesVSResources.Suggestion,
EditorConfigSettings\NamingStyle\ViewModel\ColumnViewModels\NamingStylesSeverityViewModel.cs (2)
23ReportDiagnostic.Info => 2, 382 => ReportDiagnostic.Info,
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (3)
EditorConfigSettings\DataProvider\DataProviderTests.cs (3)
145Assert.Equal(ReportDiagnostic.Info, namingStyle1.Severity); 151Assert.Equal(ReportDiagnostic.Info, namingStyle2.Severity); 157Assert.Equal(ReportDiagnostic.Info, namingStyle3.Severity);
Microsoft.VisualStudio.LanguageServices.UnitTests (5)
ProjectSystemShim\ConvertedVisualBasicProjectOptionsTests.vb (4)
49{"Test001", ReportDiagnostic.Info} 56Assert.Equal(expected:=ReportDiagnostic.Info, actual:=convertedOptions.SpecificDiagnosticOptions("Test001")) 63{"Test001", ReportDiagnostic.Info} 117{"Test003", ReportDiagnostic.Info}
SolutionExplorer\DiagnosticItemTests.vb (1)
26Dim diagnostic = New DiagnosticItem(projectId:=Nothing, analyzerReference:=Nothing, descriptor, ReportDiagnostic.Info, commandHandler:=Nothing)
Mvc.Api.Analyzers.Test (1)
ApiConventionAnalyzerIntegrationTest.cs (1)
313ReportDiagnostic.Info);