499 references to Error
Aspire.Hosting.Analyzers (1)
Aspire.Hosting.Integration.Analyzers (4)
CodeStyleConfigFileGenerator (1)
ConfigurationSchemaGenerator (1)
dotnet-format (5)
GenerateDocumentationAndConfigFiles (11)
Infrastructure.Tests (1)
Microsoft.AspNetCore.App.Analyzers (7)
Microsoft.AspNetCore.Components.Analyzers (2)
Microsoft.AspNetCore.Components.SdkAnalyzers (2)
Microsoft.AspNetCore.Mvc.Analyzers (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (18)
DiagnosticDescriptors.cs (18)
21defaultSeverity: DiagnosticSeverity.Error,
37defaultSeverity: DiagnosticSeverity.Error,
45defaultSeverity: DiagnosticSeverity.Error,
53defaultSeverity: DiagnosticSeverity.Error,
61defaultSeverity: DiagnosticSeverity.Error,
69defaultSeverity: DiagnosticSeverity.Error,
77defaultSeverity: DiagnosticSeverity.Error,
85defaultSeverity: DiagnosticSeverity.Error,
93defaultSeverity: DiagnosticSeverity.Error,
111defaultSeverity: DiagnosticSeverity.Error,
119defaultSeverity: DiagnosticSeverity.Error,
127defaultSeverity: DiagnosticSeverity.Error,
135defaultSeverity: DiagnosticSeverity.Error,
143defaultSeverity: DiagnosticSeverity.Error,
151defaultSeverity: DiagnosticSeverity.Error,
159defaultSeverity: DiagnosticSeverity.Error,
167defaultSeverity: DiagnosticSeverity.Error,
175defaultSeverity: DiagnosticSeverity.Error,
Microsoft.CodeAnalysis (44)
Microsoft.CodeAnalysis.Analyzers (13)
Microsoft.CodeAnalysis.AnalyzerUtilities (8)
Microsoft.CodeAnalysis.CodeStyle (13)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (41)
Microsoft.CodeAnalysis.CSharp.CodeStyle (12)
Microsoft.CodeAnalysis.CSharp.Features (17)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.Extensions.Package (2)
Microsoft.CodeAnalysis.Features (32)
Microsoft.CodeAnalysis.Razor.Compiler (5)
Microsoft.CodeAnalysis.ResxSourceGenerator (7)
Microsoft.CodeAnalysis.Scripting (3)
Microsoft.CodeAnalysis.VisualBasic (24)
Microsoft.CodeAnalysis.Workspaces (10)
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 (2)
Microsoft.Extensions.Logging.Generators (19)
DiagnosticDescriptors.cs (19)
17DiagnosticSeverity.Error,
33DiagnosticSeverity.Error,
41DiagnosticSeverity.Error,
57DiagnosticSeverity.Error,
65DiagnosticSeverity.Error,
81DiagnosticSeverity.Error,
89DiagnosticSeverity.Error,
113DiagnosticSeverity.Error,
129DiagnosticSeverity.Error,
137DiagnosticSeverity.Error,
153DiagnosticSeverity.Error,
161DiagnosticSeverity.Error,
169DiagnosticSeverity.Error,
177DiagnosticSeverity.Error,
185DiagnosticSeverity.Error,
193DiagnosticSeverity.Error,
209defaultSeverity: DiagnosticSeverity.Error,
225DiagnosticSeverity.Error,
233DiagnosticSeverity.Error,
Microsoft.Extensions.Options.SourceGeneration (2)
Microsoft.Gen.BuildMetadata (1)
Microsoft.Gen.ContextualOptions (2)
Microsoft.Gen.Logging (2)
Microsoft.Gen.MetadataExtractor (1)
Microsoft.Gen.Metrics (1)
Microsoft.Gen.MetricsReports (1)
Microsoft.Interop.ComInterfaceGenerator (41)
GeneratorDiagnostics.cs (38)
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,
347DiagnosticSeverity.Error,
358DiagnosticSeverity.Error,
369DiagnosticSeverity.Error,
380DiagnosticSeverity.Error,
391DiagnosticSeverity.Error,
402DiagnosticSeverity.Error,
413DiagnosticSeverity.Error,
424DiagnosticSeverity.Error,
435DiagnosticSeverity.Error,
446DiagnosticSeverity.Error,
457DiagnosticSeverity.Error,
Microsoft.Interop.JavaScript.JSImportGenerator (15)
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 (47)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (28)
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,
379DiagnosticSeverity.Error,
390DiagnosticSeverity.Error,
401DiagnosticSeverity.Error,
GeneratorDiagnostics.cs (16)
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,
Microsoft.Interop.LibraryImportGenerator.Downlevel (16)
GeneratorDiagnostics.cs (16)
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,
Microsoft.Maui.Controls.BindingSourceGen (9)
Microsoft.Maui.Controls.SourceGen (1)
Microsoft.ML.CodeAnalyzer.Tests (10)
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'"),
Roslyn.Diagnostics.Analyzers (10)
Roslyn.Diagnostics.CSharp.Analyzers (3)
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 (4)
System.Text.RegularExpressions.Generator (4)
System.Windows.Forms.Analyzers.CSharp (4)
System.Windows.Forms.Analyzers.VisualBasic (1)
System.Windows.Forms.PrivateSourceGenerators (2)