1452 references to DiagnosticSeverity
Aspire.Hosting.Analyzers (1)
Aspire.Hosting.Integration.Analyzers (10)
AspireExportAnalyzer.Diagnostics.cs (10)
19DiagnosticSeverity.Error,
29DiagnosticSeverity.Error,
39DiagnosticSeverity.Error,
49DiagnosticSeverity.Error,
59DiagnosticSeverity.Warning,
69DiagnosticSeverity.Warning,
79DiagnosticSeverity.Warning,
90DiagnosticSeverity.Warning,
100DiagnosticSeverity.Warning,
110DiagnosticSeverity.Warning,
CodeStyleConfigFileGenerator (8)
ConfigurationSchemaGenerator (6)
ConfigurationSchemaGenerator.Tests (1)
dotnet-format (43)
EventSourceGenerator (2)
GenerateDocumentationAndConfigFiles (83)
Program.cs (23)
744static string getLevel(DiagnosticSeverity severity)
748case DiagnosticSeverity.Info:
751case DiagnosticSeverity.Error:
754case DiagnosticSeverity.Warning:
757case DiagnosticSeverity.Hidden:
762goto case DiagnosticSeverity.Warning;
1146static string getSeverityString(DiagnosticSeverity? severity)
1223Func<DiagnosticSeverity?, string> getSeverityString,
1344return getSeverityString(enableAsWarning ? DiagnosticSeverity.Warning : rule.DefaultSeverity);
1464if (warnAsError && severity == DiagnosticSeverity.Warning && isEnabledByDefault)
1466severity = DiagnosticSeverity.Error;
1485(bool isEnabledByDefault, DiagnosticSeverity effectiveSeverity) GetEnabledByDefaultAndSeverity(DiagnosticDescriptor rule, AnalysisMode analysisMode)
1488var effectiveSeverity = rule.DefaultSeverity;
1495return (isEnabledByDefault: false, DiagnosticSeverity.Warning);
1504isEnabledRuleForNonDefaultAnalysisMode = isEnabledByDefault && effectiveSeverity != DiagnosticSeverity.Hidden;
1524effectiveSeverity = DiagnosticSeverity.Warning;
1549effectiveSeverity = DiagnosticSeverity.Warning;
1567static string GetRuleSeverity(bool isEnabledByDefault, DiagnosticSeverity defaultSeverity)
1582private static string GetSeverityString(DiagnosticSeverity? severity)
1591DiagnosticSeverity.Error => "error",
1592DiagnosticSeverity.Warning => "warning",
1593DiagnosticSeverity.Info => "suggestion",
1594DiagnosticSeverity.Hidden => "silent",
ILLink.RoslynAnalyzer (5)
Infrastructure.Tests (1)
Microsoft.Analyzers.Extra (15)
Microsoft.Analyzers.Local (10)
Microsoft.AspNetCore.Analyzers (3)
Microsoft.AspNetCore.App.Analyzers (28)
DiagnosticDescriptors.cs (27)
21DiagnosticSeverity.Warning,
29DiagnosticSeverity.Warning,
37DiagnosticSeverity.Warning,
45DiagnosticSeverity.Warning,
53DiagnosticSeverity.Warning,
61DiagnosticSeverity.Error,
69DiagnosticSeverity.Error,
77DiagnosticSeverity.Error,
85DiagnosticSeverity.Warning,
93DiagnosticSeverity.Warning,
101DiagnosticSeverity.Warning,
109DiagnosticSeverity.Warning,
117DiagnosticSeverity.Info,
125DiagnosticSeverity.Warning,
133DiagnosticSeverity.Warning,
141DiagnosticSeverity.Info,
149DiagnosticSeverity.Warning,
157DiagnosticSeverity.Error,
165DiagnosticSeverity.Error,
173DiagnosticSeverity.Warning,
181DiagnosticSeverity.Warning,
189DiagnosticSeverity.Error,
197DiagnosticSeverity.Info,
205DiagnosticSeverity.Warning,
213DiagnosticSeverity.Info,
222DiagnosticSeverity.Info,
230DiagnosticSeverity defaultSeverity,
Microsoft.AspNetCore.Components.Analyzers (11)
DiagnosticDescriptors.cs (11)
21DiagnosticSeverity.Error,
30DiagnosticSeverity.Warning,
39DiagnosticSeverity.Warning,
48DiagnosticSeverity.Error,
57DiagnosticSeverity.Warning,
66DiagnosticSeverity.Warning,
75DiagnosticSeverity.Warning,
84DiagnosticSeverity.Warning,
93DiagnosticSeverity.Warning,
102DiagnosticSeverity.Warning,
111DiagnosticSeverity.Warning,
Microsoft.AspNetCore.Components.SdkAnalyzers (6)
Microsoft.AspNetCore.Mvc.Analyzers (6)
Microsoft.AspNetCore.Mvc.Api.Analyzers (4)
Microsoft.CodeAnalysis (147)
Diagnostic\DiagnosticDescriptor.cs (15)
57public DiagnosticSeverity DefaultSeverity { get; }
81/// use constructor overload <see cref="DiagnosticDescriptor(string, LocalizableString, LocalizableString, string, DiagnosticSeverity, bool, LocalizableString, string, string[])"/>.
101DiagnosticSeverity defaultSeverity,
142DiagnosticSeverity defaultSeverity,
156DiagnosticSeverity defaultSeverity,
249internal static ReportDiagnostic MapSeverityToReport(DiagnosticSeverity severity)
253case DiagnosticSeverity.Hidden:
255case DiagnosticSeverity.Info:
257case DiagnosticSeverity.Warning:
259case DiagnosticSeverity.Error:
266internal static DiagnosticSeverity? MapReportToSeverity(ReportDiagnostic severity)
271return DiagnosticSeverity.Error;
273return DiagnosticSeverity.Warning;
275return DiagnosticSeverity.Info;
277return DiagnosticSeverity.Hidden;
Microsoft.CodeAnalysis.Analyzers (137)
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer.cs (18)
85DiagnosticSeverity.Warning,
95DiagnosticSeverity.Warning,
105DiagnosticSeverity.Warning,
115DiagnosticSeverity.Warning,
125DiagnosticSeverity.Warning,
135DiagnosticSeverity.Warning,
145DiagnosticSeverity.Warning,
154DiagnosticSeverity.Warning,
163DiagnosticSeverity.Warning,
172DiagnosticSeverity.Warning,
1107private static (bool? isEnabledByDefault, DiagnosticSeverity? defaultSeverity) GetDefaultSeverityAndEnabledByDefault(Compilation compilation, ImmutableArray<IArgumentOperation> creationArguments)
1109var diagnosticSeverityType = compilation.GetOrCreateTypeByMetadataName(typeof(DiagnosticSeverity).FullName);
1113DiagnosticSeverity? defaultSeverity = null;
1131Enum.TryParse(fieldReference.Field.Name, out DiagnosticSeverity parsedSeverity))
1147defaultSeverity = DiagnosticSeverity.Warning;
1152defaultSeverity = DiagnosticSeverity.Info;
1157defaultSeverity = DiagnosticSeverity.Hidden;
1194DiagnosticSeverity? defaultSeverity,
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_ReleaseTracking.cs (17)
38defaultSeverity: DiagnosticSeverity.Warning,
49defaultSeverity: DiagnosticSeverity.Warning,
60defaultSeverity: DiagnosticSeverity.Warning,
71defaultSeverity: DiagnosticSeverity.Warning,
82defaultSeverity: DiagnosticSeverity.Warning,
93defaultSeverity: DiagnosticSeverity.Warning,
104defaultSeverity: DiagnosticSeverity.Warning,
115defaultSeverity: DiagnosticSeverity.Warning,
126defaultSeverity: DiagnosticSeverity.Warning,
137defaultSeverity: DiagnosticSeverity.Warning,
148defaultSeverity: DiagnosticSeverity.Warning,
159defaultSeverity: DiagnosticSeverity.Warning,
281DiagnosticSeverity? defaultSeverity,
308(string category, bool? isEnabledByDefault, DiagnosticSeverity? defaultSeverity)? oldRule = null;
339DiagnosticSeverity? defaultSeverity,
340(string category, bool? isEnabledByDefault, DiagnosticSeverity? defaultSeverity)? oldRule = null)
365static string GetSeverityText(bool? isEnabledByDefault, DiagnosticSeverity? defaultSeverity)
Microsoft.CodeAnalysis.AnalyzerUtilities (52)
Microsoft.CodeAnalysis.CodeStyle (67)
src\roslyn\src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
39DiagnosticSeverity.Info,
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp (76)
Microsoft.CodeAnalysis.CSharp.Analyzers (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle (21)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp.Features (28)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.Extensions.Package (17)
Microsoft.CodeAnalysis.Features (74)
EditAndContinue\EditAndContinueDiagnosticDescriptors.cs (15)
48void Add(int index, string prefix, int code, string resourceName, LocalizableResourceString title, DiagnosticSeverity severity, bool isNoEffect)
51Debug.Assert(!isNoEffect || severity == DiagnosticSeverity.Warning);
75void AddRudeEdit(RudeEditKind kind, string resourceName, DiagnosticSeverity severity = DiagnosticSeverity.Error, bool noEffect = false)
78void AddGeneralDiagnostic(EditAndContinueErrorCode code, string resourceName, DiagnosticSeverity severity = DiagnosticSeverity.Error, bool noEffect = false)
86var severity = noEffect ? DiagnosticSeverity.Warning : DiagnosticSeverity.Error;
178AddRudeEdit(RudeEditKind.UpdateMightNotHaveAnyEffect, nameof(FeaturesResources.Changing_0_might_not_have_any_effect_until_the_application_is_restarted), DiagnosticSeverity.Warning, noEffect: true);
197AddGeneralDiagnostic(EditAndContinueErrorCode.DocumentIsOutOfSyncWithDebuggee, nameof(FeaturesResources.DocumentIsOutOfSyncWithDebuggee), DiagnosticSeverity.Warning);
200AddGeneralDiagnostic(EditAndContinueErrorCode.UpdatingDocumentInStaleProject, nameof(FeaturesResources.Changing_source_file_0_in_a_stale_project_1_has_no_effect_until_the_project_is_rebuilt_2), DiagnosticSeverity.Warning, noEffect: true);
242DiagnosticSeverity.Error,
290public static DiagnosticSeverity GetSeverity(this RudeEditKind kind)
294=> kind.GetSeverity() == DiagnosticSeverity.Error;
src\roslyn\src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
39DiagnosticSeverity.Info,
Microsoft.CodeAnalysis.Razor.Compiler (15)
Microsoft.CodeAnalysis.ResxSourceGenerator (50)
Microsoft.CodeAnalysis.Scripting (5)
Microsoft.CodeAnalysis.VisualBasic (36)
Microsoft.CodeAnalysis.Workspaces (66)
Microsoft.DotNet.CodeAnalysis (6)
Analyzers\AppContextDefaultsAnalyzer.cs (3)
27new DiagnosticDescriptor(DiagnosticIds.BCL0010.ToString(), s_title, CreateDiagnosticMessage(s_defaultValueNotInitializedToTrue, DiagnosticIds.BCL0010.ToString()), s_analyzerName, DiagnosticSeverity.Error, isEnabledByDefault: true, description: s_description);
30new DiagnosticDescriptor(DiagnosticIds.BCL0011.ToString(), s_title, CreateDiagnosticMessage(s_defaultValueInsideUnexpectedIfCondition, DiagnosticIds.BCL0011.ToString()), s_analyzerName, DiagnosticSeverity.Error, isEnabledByDefault: true, description: s_description);
33new DiagnosticDescriptor(DiagnosticIds.BCL0012.ToString(), s_title, CreateDiagnosticMessage(s_defaultValueDefinedOutsideIfCondition, DiagnosticIds.BCL0012.ToString()), s_analyzerName, DiagnosticSeverity.Error, isEnabledByDefault: true, description: s_description);
Microsoft.DotNet.HotReload.Utils.Generator (1)
Microsoft.DotNet.HotReload.Watch (5)
Microsoft.Extensions.Logging.Generators (29)
DiagnosticDescriptors.cs (28)
17DiagnosticSeverity.Error,
25DiagnosticSeverity.Warning,
33DiagnosticSeverity.Error,
41DiagnosticSeverity.Error,
49DiagnosticSeverity.Info,
57DiagnosticSeverity.Error,
65DiagnosticSeverity.Error,
73DiagnosticSeverity.Warning,
81DiagnosticSeverity.Error,
89DiagnosticSeverity.Error,
97DiagnosticSeverity.Warning,
105DiagnosticSeverity.Warning,
113DiagnosticSeverity.Error,
121DiagnosticSeverity.Warning,
129DiagnosticSeverity.Error,
137DiagnosticSeverity.Error,
145DiagnosticSeverity.Warning,
153DiagnosticSeverity.Error,
161DiagnosticSeverity.Error,
169DiagnosticSeverity.Error,
177DiagnosticSeverity.Error,
185DiagnosticSeverity.Error,
193DiagnosticSeverity.Error,
201DiagnosticSeverity.Warning,
209defaultSeverity: DiagnosticSeverity.Error,
217DiagnosticSeverity.Info,
225DiagnosticSeverity.Error,
233DiagnosticSeverity.Error,
Microsoft.Extensions.Options.SourceGeneration (10)
Microsoft.Gen.BuildMetadata (2)
Microsoft.Gen.BuildMetadata.Unit.Tests (1)
Microsoft.Gen.ComplianceReports (1)
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
Microsoft.Gen.ContextualOptions (4)
Microsoft.Gen.Logging (17)
Microsoft.Gen.MetadataExtractor (5)
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
Microsoft.Gen.Metrics (2)
Microsoft.Gen.MetricsReports (3)
Microsoft.Gen.MetricsReports.Unit.Tests (1)
Microsoft.Interop.ComInterfaceGenerator (54)
GeneratorDiagnostics.cs (45)
42DiagnosticSeverity.Error,
53DiagnosticSeverity.Error,
64DiagnosticSeverity.Error,
75DiagnosticSeverity.Error,
86DiagnosticSeverity.Error,
97DiagnosticSeverity.Error,
108DiagnosticSeverity.Error,
119DiagnosticSeverity.Error,
130DiagnosticSeverity.Error,
141DiagnosticSeverity.Error,
151DiagnosticSeverity.Error,
161DiagnosticSeverity.Error,
172DiagnosticSeverity.Error,
182DiagnosticSeverity.Error,
193DiagnosticSeverity.Error,
204DiagnosticSeverity.Error,
215DiagnosticSeverity.Error,
226DiagnosticSeverity.Error,
237DiagnosticSeverity.Error,
248DiagnosticSeverity.Error,
259DiagnosticSeverity.Error,
270DiagnosticSeverity.Error,
281DiagnosticSeverity.Error,
292DiagnosticSeverity.Error,
303DiagnosticSeverity.Error,
314DiagnosticSeverity.Error,
325DiagnosticSeverity.Error,
336DiagnosticSeverity.Error,
347DiagnosticSeverity.Error,
358DiagnosticSeverity.Error,
369DiagnosticSeverity.Error,
380DiagnosticSeverity.Error,
391DiagnosticSeverity.Error,
402DiagnosticSeverity.Error,
413DiagnosticSeverity.Error,
424DiagnosticSeverity.Error,
435DiagnosticSeverity.Warning,
446DiagnosticSeverity.Info,
461DiagnosticSeverity.Info,
476DiagnosticSeverity.Warning,
486DiagnosticSeverity.Warning,
496DiagnosticSeverity.Info,
506DiagnosticSeverity.Info,
516DiagnosticSeverity.Info,
527DiagnosticSeverity.Warning,
Microsoft.Interop.JavaScript.JSImportGenerator (16)
GeneratorDiagnostics.cs (15)
39DiagnosticSeverity.Error,
49DiagnosticSeverity.Error,
59DiagnosticSeverity.Error,
69DiagnosticSeverity.Error,
79DiagnosticSeverity.Error,
89DiagnosticSeverity.Error,
99DiagnosticSeverity.Error,
109DiagnosticSeverity.Error,
119DiagnosticSeverity.Error,
129DiagnosticSeverity.Error,
139DiagnosticSeverity.Error,
149DiagnosticSeverity.Error,
159DiagnosticSeverity.Error,
169DiagnosticSeverity.Error,
179DiagnosticSeverity.Error,
Microsoft.Interop.LibraryImportGenerator (69)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (43)
49DiagnosticSeverity.Error,
60DiagnosticSeverity.Error,
71DiagnosticSeverity.Error,
82DiagnosticSeverity.Error,
93DiagnosticSeverity.Error,
104DiagnosticSeverity.Error,
115DiagnosticSeverity.Error,
126DiagnosticSeverity.Error,
137DiagnosticSeverity.Error,
148DiagnosticSeverity.Error,
159DiagnosticSeverity.Error,
170DiagnosticSeverity.Error,
181DiagnosticSeverity.Error,
192DiagnosticSeverity.Error,
203DiagnosticSeverity.Error,
214DiagnosticSeverity.Error,
225DiagnosticSeverity.Error,
236DiagnosticSeverity.Error,
247DiagnosticSeverity.Error,
258DiagnosticSeverity.Error,
269DiagnosticSeverity.Error,
280DiagnosticSeverity.Error,
291DiagnosticSeverity.Error,
302DiagnosticSeverity.Error,
313DiagnosticSeverity.Error,
324DiagnosticSeverity.Warning,
335DiagnosticSeverity.Warning,
346DiagnosticSeverity.Warning,
357DiagnosticSeverity.Warning,
368DiagnosticSeverity.Warning,
379DiagnosticSeverity.Error,
390DiagnosticSeverity.Error,
401DiagnosticSeverity.Error,
419DiagnosticSeverity.Info,
430DiagnosticSeverity.Info,
441DiagnosticSeverity.Info,
452DiagnosticSeverity.Info,
463DiagnosticSeverity.Info,
474DiagnosticSeverity.Info,
485DiagnosticSeverity.Info,
496DiagnosticSeverity.Info,
507DiagnosticSeverity.Info,
518DiagnosticSeverity.Info,
GeneratorDiagnostics.cs (21)
38DiagnosticSeverity.Error,
49DiagnosticSeverity.Error,
60DiagnosticSeverity.Error,
71DiagnosticSeverity.Error,
82DiagnosticSeverity.Error,
93DiagnosticSeverity.Error,
104DiagnosticSeverity.Error,
115DiagnosticSeverity.Error,
126DiagnosticSeverity.Error,
137DiagnosticSeverity.Error,
148DiagnosticSeverity.Error,
159DiagnosticSeverity.Error,
170DiagnosticSeverity.Error,
181DiagnosticSeverity.Error,
192DiagnosticSeverity.Error,
203DiagnosticSeverity.Error,
214DiagnosticSeverity.Info,
229DiagnosticSeverity.Info,
244DiagnosticSeverity.Warning,
254DiagnosticSeverity.Warning,
264DiagnosticSeverity.Info,
Microsoft.Interop.LibraryImportGenerator.Downlevel (22)
GeneratorDiagnostics.cs (21)
38DiagnosticSeverity.Error,
49DiagnosticSeverity.Error,
60DiagnosticSeverity.Error,
71DiagnosticSeverity.Error,
82DiagnosticSeverity.Error,
93DiagnosticSeverity.Error,
104DiagnosticSeverity.Error,
115DiagnosticSeverity.Error,
126DiagnosticSeverity.Error,
137DiagnosticSeverity.Error,
148DiagnosticSeverity.Error,
159DiagnosticSeverity.Error,
170DiagnosticSeverity.Error,
181DiagnosticSeverity.Error,
192DiagnosticSeverity.Error,
203DiagnosticSeverity.Error,
214DiagnosticSeverity.Info,
229DiagnosticSeverity.Info,
244DiagnosticSeverity.Warning,
254DiagnosticSeverity.Warning,
264DiagnosticSeverity.Info,
Microsoft.Maui.Controls.BindingSourceGen (10)
DiagnosticsFactory.cs (10)
26 defaultSeverity: DiagnosticSeverity.Error,
37 defaultSeverity: DiagnosticSeverity.Error,
48 defaultSeverity: DiagnosticSeverity.Error,
59 defaultSeverity: DiagnosticSeverity.Hidden,
70 defaultSeverity: DiagnosticSeverity.Error,
81 defaultSeverity: DiagnosticSeverity.Error,
92 defaultSeverity: DiagnosticSeverity.Error,
103 defaultSeverity: DiagnosticSeverity.Error,
114 defaultSeverity: DiagnosticSeverity.Error,
125 defaultSeverity: DiagnosticSeverity.Error,
Microsoft.Maui.Controls.SourceGen (1)
Microsoft.ML.CodeAnalyzer.Tests (11)
Code\ContractsCheckTest.cs (9)
29new DiagnosticResult("CS0051", DiagnosticSeverity.Error).WithLocation(15, 16).WithMessage("Inconsistent accessibility: parameter type 'IHostEnvironment' is less accessible than method 'TypeName.TypeName(IHostEnvironment, float, int)'"),
42new DiagnosticResult("CS0122", DiagnosticSeverity.Error).WithSpan("/0/Test1.cs", 752, 24, 752, 35).WithMessage("'ICancelable' is inaccessible due to its protection level"),
43new DiagnosticResult("CS0122", DiagnosticSeverity.Error).WithSpan("/0/Test1.cs", 752, 67, 752, 77).WithMessage("'ICancelable.IsCanceled' is inaccessible due to its protection level"),
129new DiagnosticResult("CS0122", DiagnosticSeverity.Error).WithSpan("/0/Test1.cs", 752, 24, 752, 35).WithMessage("'ICancelable' is inaccessible due to its protection level"),
130new DiagnosticResult("CS0122", DiagnosticSeverity.Error).WithSpan("/0/Test1.cs", 752, 67, 752, 77).WithMessage("'ICancelable.IsCanceled' is inaccessible due to its protection level"),
131new DiagnosticResult("CS1503", DiagnosticSeverity.Error).WithSpan("/0/Test1.cs", 753, 90, 753, 93).WithMessage("Argument 2: cannot convert from 'Microsoft.ML.Runtime.IHostEnvironment' to 'Microsoft.ML.Runtime.IExceptionContext'"),
149new DiagnosticResult("CS0122", DiagnosticSeverity.Error).WithSpan("/0/Test1.cs", 752, 24, 752, 35).WithMessage("'ICancelable' is inaccessible due to its protection level"),
150new DiagnosticResult("CS0122", DiagnosticSeverity.Error).WithSpan("/0/Test1.cs", 752, 67, 752, 77).WithMessage("'ICancelable.IsCanceled' is inaccessible due to its protection level"),
151new DiagnosticResult("CS1503", DiagnosticSeverity.Error).WithSpan("/0/Test1.cs", 753, 90, 753, 93).WithMessage("Argument 2: cannot convert from 'Microsoft.ML.Runtime.IHostEnvironment' to 'Microsoft.ML.Runtime.IExceptionContext'"),
Microsoft.ML.InternalCodeAnalyzer (13)
Roslyn.Diagnostics.Analyzers (74)
Roslyn.Diagnostics.CSharp.Analyzers (6)
Roslyn.Diagnostics.VisualBasic.Analyzers (1)
System.Private.CoreLib.Generators (4)
IntrinsicsInSystemPrivateCoreLibAnalyzer.cs (4)
34private static readonly DiagnosticDescriptor Rule = new DiagnosticDescriptor(DiagnosticId, Title, MessageFormat, Category, DiagnosticSeverity.Error, isEnabledByDefault: true, description: Description);
38private static readonly DiagnosticDescriptor RuleHelper = new DiagnosticDescriptor(DiagnosticIdHelper, Title, MessageHelperFormat, Category, DiagnosticSeverity.Error, isEnabledByDefault: true, description: Description);
42private static readonly DiagnosticDescriptor RuleCantParse = new DiagnosticDescriptor(DiagnosticIdConditionParsing, Title, MessageNonParseableConditionFormat, Category, DiagnosticSeverity.Error, isEnabledByDefault: true, description: Description);
46private static readonly DiagnosticDescriptor RuleAttributeNotSpecificEnough = new DiagnosticDescriptor(DiagnosticIdAttributeNotSpecificEnough, Title, MessageAttributeNotSpecificEnoughFormat, Category, DiagnosticSeverity.Error, isEnabledByDefault: true, description: Description);
System.Text.Json.SourceGeneration (18)
JsonSourceGenerator.DiagnosticDescriptors.cs (17)
20defaultSeverity: DiagnosticSeverity.Warning,
28defaultSeverity: DiagnosticSeverity.Warning,
36defaultSeverity: DiagnosticSeverity.Warning,
44defaultSeverity: DiagnosticSeverity.Error,
52defaultSeverity: DiagnosticSeverity.Warning,
60defaultSeverity: DiagnosticSeverity.Error,
68defaultSeverity: DiagnosticSeverity.Error,
76defaultSeverity: DiagnosticSeverity.Warning,
84defaultSeverity: DiagnosticSeverity.Warning,
92defaultSeverity: DiagnosticSeverity.Warning,
100defaultSeverity: DiagnosticSeverity.Error,
108defaultSeverity: DiagnosticSeverity.Warning,
116defaultSeverity: DiagnosticSeverity.Warning,
124defaultSeverity: DiagnosticSeverity.Warning,
132defaultSeverity: DiagnosticSeverity.Warning,
140defaultSeverity: DiagnosticSeverity.Warning,
148defaultSeverity: DiagnosticSeverity.Warning,
System.Text.RegularExpressions.Generator (7)
System.Windows.Forms.Analyzers (3)
System.Windows.Forms.Analyzers.CSharp (6)
System.Windows.Forms.Analyzers.VisualBasic (3)
System.Windows.Forms.PrivateSourceGenerators (2)