339 overrides of SupportedDiagnostics
Aspire.Hosting.Analyzers (1)
AppHostAnalyzer.cs (1)
18public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => Diagnostics.SupportedDiagnostics;
ILLink.RoslynAnalyzer (5)
COMAnalyzer.cs (1)
25 public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create (s_correctnessOfCOMCannotBeGuaranteed);
DynamicallyAccessedMembersAnalyzer.cs (1)
81 public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => GetSupportedDiagnostics ();
RequiresAssemblyFilesAnalyzer.cs (1)
37 public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create (s_locationRule, s_getFilesRule, s_requiresAssemblyFilesRule, s_requiresAssemblyFilesAttributeMismatch, s_requiresAssemblyFilesOnStaticCtor, s_requiresAssemblyFilesOnEntryPoint);
RequiresDynamicCodeAnalyzer.cs (1)
27 public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
RequiresUnreferencedCodeAnalyzer.cs (1)
48 public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
Microsoft.Analyzers.Extra (7)
AsyncCallInsideUsingBlockAnalyzer.cs (1)
16public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
AsyncMethodWithoutCancellation.cs (1)
16public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
CallAnalysis\CallAnalyzer.cs (1)
16public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
CoalesceAnalyzer.cs (1)
18public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagDescriptors.CoalesceAssignment, DiagDescriptors.Coalesce);
ConditionalAccessAnalyzer.cs (1)
18public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagDescriptors.ConditionalAccess);
MakeExeTypesInternalAnalyzer.cs (1)
50public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagDescriptors.MakeExeTypesInternal);
UsingToStringInLoggersAnalyzer.cs (1)
17public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagDescriptors.UsingToStringInLoggers);
Microsoft.Analyzers.Local (3)
ApiLifecycle\ApiLifecycleAnalyzer.cs (1)
21public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
CallAnalysis\CallAnalyzer.cs (1)
16public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
InternalReferencedInPublicDocAnalyzer.cs (1)
101public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => _supportedDiagnostics;
Microsoft.AspNetCore.Analyzers (1)
StartupAnalyzer.cs (1)
15public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => Diagnostics.SupportedDiagnostics;
Microsoft.AspNetCore.App.Analyzers (11)
Authorization\AddAuthorizationBuilderAnalyzer.cs (1)
19public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagnosticDescriptors.UseAddAuthorizationBuilder);
Http\HeaderDictionaryAddAnalyzer.cs (1)
17public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagnosticDescriptors.DoNotUseIHeaderDictionaryAdd);
Http\HeaderDictionaryIndexerAnalyzer.cs (1)
16public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagnosticDescriptors.UseHeaderDictionaryPropertiesInsteadOfIndexer);
Http\RequestDelegateReturnTypeAnalyzer.cs (1)
17public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagnosticDescriptors.DoNotReturnValueFromRequestDelegate);
Kestrel\ListenOnIPv6AnyAnalyzer.cs (1)
17public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [ DiagnosticDescriptors.KestrelShouldListenOnIPv6AnyInsteadOfIpAny ];
Mvc\MvcAnalyzer.cs (1)
24public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
RenderTreeBuilder\RenderTreeBuilderAnalyzer.cs (1)
19public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagnosticDescriptors.DoNotUseNonLiteralSequenceNumbers);
RouteEmbeddedLanguage\RoutePatternAnalyzer.cs (1)
21public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(new[]
RouteHandlers\RouteHandlerAnalyzer.cs (1)
23public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
WebApplicationBuilder\PublicPartialProgramClassAnalyzer.cs (1)
16public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagnosticDescriptors.PublicPartialProgramClassNotRequired);
WebApplicationBuilder\WebApplicationBuilderAnalyzer.cs (1)
21public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
Microsoft.AspNetCore.App.Analyzers.Test (1)
Infrastructure\WellKnownTypesTests.cs (1)
98public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(new[]
Microsoft.AspNetCore.Components.Analyzers (3)
ComponentInternalUsageDiagnosticAnalzyer.cs (1)
29public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagnosticDescriptors.DoNotUseRenderTreeTypes);
ComponentParameterAnalyzer.cs (1)
34public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
ComponentParameterUsageAnalyzer.cs (1)
23public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
Microsoft.AspNetCore.Components.SdkAnalyzers (3)
ComponentInternalUsageDiagnosticAnalzyer.cs (1)
29public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagnosticDescriptors.DoNotUseRenderTreeTypes);
ComponentParameterAnalyzer.cs (1)
28public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
ComponentParameterUsageAnalyzer.cs (1)
23public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
Microsoft.AspNetCore.Mvc.Analyzers (4)
AttributesShouldNotBeAppliedToPageModelAnalyzer.cs (1)
13public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
TagHelpersInCodeBlocksAnalyzer.cs (1)
20public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
TopLevelParameterNameAnalyzer.cs (1)
16public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
ViewFeatureAnalyzerBase.cs (1)
20public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzer.cs (1)
15public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
ApiConventionAnalyzer.cs (1)
15public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.cs (1)
23public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
DiagnosticAnalyzer\DiagnosticSuppressor.cs (1)
15public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray<DiagnosticDescriptor>.Empty;
Microsoft.CodeAnalysis.CodeStyle (3)
src\Analyzers\Core\Analyzers\AbstractBuiltInCodeStyleDiagnosticAnalyzer_Core.cs (1)
47public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
src\Analyzers\Core\Analyzers\AbstractCodeQualityDiagnosticAnalyzer.cs (1)
25public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
44public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.Compiler.Test.Resources (1)
Analyzers\DoNothingAnalyzer.cs (1)
14public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray<DiagnosticDescriptor>.Empty;
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (1)
src\Analyzers\CSharp\Tests\ConvertToRecord\ConvertToRecordCodeFixTests.cs (1)
162public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
14895public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_rule); 15921public abstract override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (6)
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (4)
219public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 290public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 348public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 870public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
Diagnostics\FixAllProvider\BatchFixerTests.cs (1)
36public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\MockDiagnosticAnalyzerTests.cs (1)
25public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (37)
Diagnostics\DiagnosticAnalyzerTests.cs (14)
40public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 235public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 475public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 490public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 504public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 658public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { return ImmutableArray.Create(Rule); } } 761public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 831public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 880public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 1643public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 2306public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Warning, Summary); 3843public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { return ImmutableArray.Create(Rule); } } 4077public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { return ImmutableArray.Create(Rule); } } 4122public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { return ImmutableArray.Create(Rule); } }
Diagnostics\GetDiagnosticsTests.cs (2)
952public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor, DescriptorForBlockEnd); 1714public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor);
Semantics\OutVarTests.cs (1)
18801public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Semantics\PrimaryConstructorTests.cs (13)
3749public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4074public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4160public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4309public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4499public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4813public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5137public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5250public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5477public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5564public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5677public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5774public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5832public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Semantics\RecordTests.cs (7)
26234public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 26557public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 26652public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 26817public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 27007public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 27321public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 27649public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (17)
ConvertToRecord\ConvertToRecordCodeRefactoringTests.cs (1)
4752public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\Configuration\ConfigureSeverity\AllAnalyzersSeverityConfigurationTests.cs (1)
33public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule);
Diagnostics\Configuration\ConfigureSeverity\CategoryBasedSeverityConfigurationTests.cs (1)
33public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule);
Diagnostics\Configuration\ConfigureSeverity\DotNetDiagnosticSeverityBasedSeverityConfigurationTests.cs (1)
33public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule);
Diagnostics\Suppression\RemoveSuppressionTests.cs (1)
32public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\Suppression\RemoveUnnecessaryPragmaSuppressionsTests.cs (3)
61public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor0168, Descriptor0219); 116public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1300public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor);
Diagnostics\Suppression\SuppressionTest_FixMultipleTests.cs (1)
43public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Decsciptor1, Decsciptor2);
Diagnostics\Suppression\SuppressionTests.cs (7)
695public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 805public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 868public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 918public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 1059public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 2059public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_descriptor); 2454public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
src\Analyzers\CSharp\Tests\ConvertToRecord\ConvertToRecordCodeFixTests.cs (1)
162public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (22)
Semantics\ColorColorTests.cs (1)
1773public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Semantics\RecordStructTests.cs (7)
5949public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6178public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6274public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6403public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6500public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6558public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6812public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Semantics\TopLevelStatementsTests.cs (13)
6426public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6525public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6600public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6709public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6790public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6848public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6906public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6974public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7054public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7170public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7264public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7336public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7403public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
SourceGeneration\GeneratorDriverTests.cs (1)
180public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\Source\NullablePublicAPITests.cs (3)
1155public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor1, s_descriptor2); 1781public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4837public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
CodeFixes\CodeFixServiceTests.cs (3)
553public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } 913public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_descriptor); 1179public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor);
Diagnostics\DiagnosticAnalyzerServiceTests.cs (3)
919public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_syntaxRule, s_semanticRule, s_compilationRule); 935public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_syntaxRule, s_semanticRule, s_compilationRule); 1039public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => _supportedDiagnostics;
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (19)
CodeFixes\CodeFixServiceTests.vb (1)
194Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Diagnostics\AdditionalFileDiagnosticsTests.vb (1)
70Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Diagnostics\DiagnosticServiceTests.vb (17)
1250Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1369Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1449Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1537Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1562Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1589Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1614Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1631Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1657Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1685Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1711Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1737Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1765Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1810Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 1878Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 2394Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 2510Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Microsoft.CodeAnalysis.Features (4)
Diagnostics\Analyzers\UnboundIdentifiersDiagnosticAnalyzerBase.cs (1)
37public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
src\Analyzers\Core\Analyzers\AbstractBuiltInCodeStyleDiagnosticAnalyzer_Core.cs (1)
47public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
src\Analyzers\Core\Analyzers\AbstractCodeQualityDiagnosticAnalyzer.cs (1)
25public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
44public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (7)
Diagnostics\AdditionalFileDiagnosticsTests.cs (1)
128public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\BuildOnlyDiagnosticIdsHandlerTests.cs (2)
93public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 105public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor);
Diagnostics\NonLocalDiagnosticTests.cs (1)
80public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(NonLocalDescriptor, CompilationEndDescriptor);
Diagnostics\PullDiagnosticTests.cs (2)
132public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_descriptor); 146public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_descriptor);
Diagnostics\WorkspaceProjectDiagnosticsTests.cs (1)
77public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
DeterministicKeyBuilderTests.Helpers.cs (2)
32public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => throw new NotImplementedException(); 39public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => throw new NotImplementedException();
Microsoft.CodeAnalysis.Test.Utilities (94)
Diagnostics\BoxingOperationAnalyzer.cs (1)
33public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\CommonDiagnosticAnalyzers.cs (45)
56public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 551public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 598public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 649public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagnosticDescriptor); 678public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => 717public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => 743public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DummyRule); 760public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule); 784public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => 806public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } 821public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 832public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create((DiagnosticDescriptor)null); 852public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 873public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 896public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 959public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 983public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => throw new NotImplementedException(); 998public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule); 1037public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule); 1069public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1102public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1136public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1199public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1327public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1385public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1416public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1461public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1518public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Warning, Error, Summary, Summary2); 1691public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule); 1792public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(GeneratedCodeDescriptor, NonGeneratedCodeDescriptor, UniqueTextFileDescriptor, NumberOfUniqueTextFileDescriptor); 1855public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(ParameterDescriptor); 1959public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 2416public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_rule); 2482public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2532public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2560public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 2592public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2638public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2679public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 2727public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 2875public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2922public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 3006public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 3096public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 3237public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_descriptor);
Diagnostics\CouldHaveMoreSpecificTypeAnalyzer.cs (1)
37public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\EmptyArrayAnalyzer.cs (1)
38public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\FieldCouldBeReadOnlyAnalyzer.cs (1)
29public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\LocalCouldBeConstAnalyzer.cs (1)
29public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\OperationTestAnalyzer.cs (35)
46public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 92public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 134public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 323public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 527public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 620public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 657public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 705public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 742public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 784public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 832public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 889public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 946public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(ImplicitInstanceDescriptor, ExplicitInstanceDescriptor); 1020public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => 1093public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(LongParamsDescriptor, InvalidConstructorDescriptor); 1174public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(EqualsValueDescriptor); 1216public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 1253public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => 1303public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => 1364public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 1442public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(LabelDescriptor, GotoDescriptor); 1508public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(OperatorAddMethodDescriptor, OperatorMinusMethodDescriptor, DoubleMultiplyDescriptor, BooleanNotDescriptor); 1561public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 1600public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 1684public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 1776public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(InvalidBinaryDescriptor, 1835public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 1884public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 1916public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 1963public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 2005public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 2041public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 2071public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 2099public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 2131public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\SuppressMessageAttributeTests.DiagnosticAnalyzers.cs (8)
30public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 80public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 105public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 127public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 192public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 231public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 267public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 299public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\TestDiagnosticAnalyzer.cs (1)
71public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.UnitTests (9)
Analyzers\AnalyzerFileReferenceTests.cs (7)
598public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { throw new NotImplementedException(); } } 605public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { throw new NotImplementedException(); } } 612public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { throw new NotImplementedException(); } } 628public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { throw new NotImplementedException(); } } 661public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { throw new NotImplementedException(); } } 671public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { throw new NotImplementedException(); } } 678public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { throw new NotImplementedException(); } }
Diagnostics\AnalysisContextInfoTests.cs (1)
68public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_rule);
Diagnostics\DiagnosticLocalizationTests.cs (1)
374public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (6)
CommandLineTests.vb (6)
10984Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 11009Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 11035Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 11059Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 11083Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 11104Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (7)
Diagnostics\Configuration\ConfigureSeverity\DotNetDiagnosticSeverityBasedSeverityConfigurationTests.vb (1)
27Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Diagnostics\Suppression\SuppressionTests.vb (6)
699Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 774Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 818Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 884Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 1004Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 1720Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (12)
Diagnostics\DiagnosticAnalyzerTests.vb (10)
29Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 218Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 234Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 267Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 305Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 350Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 401Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 499Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 564Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 952Public NotOverridable Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Diagnostics\GetDiagnosticsTests.vb (2)
595Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 713Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Parser\ParseDirectives.vb (1)
3167Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Microsoft.CodeAnalysis.Workspaces (2)
Diagnostics\FileContentLoadAnalyzer.cs (1)
22public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\GeneratorDiagnosticsPlaceholderAnalyzer.cs (1)
21public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [];
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
BatchFixAllProviderTests.cs (1)
59public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor);
SolutionTests\SolutionTests.cs (1)
2964public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.DotNet.CodeAnalysis (4)
Analyzers\AppContextDefaultsAnalyzer.cs (1)
44public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Analyzers\MembersMustExistAnalyzer.cs (1)
28public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { return ImmutableArray.Create(s_memberMustExistDiagnostic); } }
Analyzers\PinvokeAnalyzer.cs (1)
26public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { return ImmutableArray.Create(InvalidPinvokeCall); } }
Analyzers\ResourceUsageAnalyzer.cs (1)
21public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { return ImmutableArray.Create(InvalidSRFormatCall); } }
Microsoft.Interop.ComInterfaceGenerator (5)
Analyzers\AddGeneratedComClassAnalyzer.cs (1)
16public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(AddGeneratedComClassAttribute);
Analyzers\ComHostingDoesNotSupportGeneratedComInterfaceAnalyzer.cs (1)
17public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(ComHostingDoesNotSupportGeneratedComInterface);
Analyzers\ConvertComImportToGeneratedComInterfaceAnalyzer.cs (1)
20public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(ConvertToGeneratedComInterface);
Analyzers\GeneratedComInterfaceAttributeAnalyzer.cs (1)
20public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
Analyzers\RuntimeComApiUsageWithSourceGeneratedComAnalyzer.cs (1)
21public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(RuntimeComApisDoNotSupportSourceGeneratedCom, CastsBetweenRuntimeComAndSourceGeneratedComNotSupported);
Microsoft.Interop.LibraryImportGenerator (3)
Analyzers\ConvertToLibraryImportAnalyzer.cs (1)
33public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(ConvertToLibraryImport);
Analyzers\CustomMarshallerAttributeAnalyzer.cs (1)
569public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
Analyzers\NativeMarshallingAttributeAnalyzer.cs (1)
54public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
Microsoft.ML.CodeAnalyzer.Tests (1)
Code\RelaxTestNamingTest.cs (1)
109public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule);
Microsoft.ML.InternalCodeAnalyzer (9)
BaseTestClassAnalyzer.cs (1)
28public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule);
BestFriendAnalyzer.cs (1)
36public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
BestFriendOnPublicDeclarationsAnalyzer.cs (1)
31public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
ContractsCheckAnalyzer.cs (1)
75public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
InstanceInitializerAnalyzer.cs (1)
28public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
NameAnalyzer.cs (1)
71public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
ParameterVariableNameAnalyzer.cs (1)
29public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
SingleVariableDeclarationAnalyzer.cs (1)
29public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
TypeParamNameAnalyzer.cs (1)
28public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
EditorConfigSettings\DataProvider\DataProviderTests.MockAnalyzerReference.cs (1)
103public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Diagnostics\ExternalDiagnosticUpdateSourceTests.vb (1)
268Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Roslyn.VisualStudio.Next.UnitTests (2)
Services\VisualStudioDiagnosticAnalyzerExecutorTests.cs (2)
268public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => _supportedDiagnostics; 288public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => _supportedDiagnostics;
System.Private.CoreLib.Generators (1)
IntrinsicsInSystemPrivateCoreLibAnalyzer.cs (1)
48public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { return ImmutableArray.Create(Rule, RuleHelper, RuleCantParse, RuleAttributeNotSpecificEnough); } }
System.Text.RegularExpressions.Generator (1)
UpgradeToGeneratedRegexAnalyzer.cs (1)
30public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagnosticDescriptors.UseRegexSourceGeneration);
System.Windows.Forms.Analyzers (1)
System\Windows\Forms\Analyzers\AppManifestAnalyzer.cs (1)
16public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
System.Windows.Forms.Analyzers.CSharp (2)
System\Windows\Forms\CSharp\Analyzers\AvoidPassingTaskWithoutCancellationToken\AvoidPassingTaskWithoutCancellationTokenAnalyzer.cs (1)
20public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
System\Windows\Forms\CSharp\Analyzers\MissingPropertySerializationConfiguration\MissingPropertySerializationConfigurationAnalyzer.cs (1)
15public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
System.Windows.Forms.Analyzers.VisualBasic (2)
Analyzers\AvoidPassingTaskWithoutCancellationToken\AvoidPassingTaskWithoutCancellationTokenAnalyzer.vb (1)
20Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Analyzers\MissingPropertySerializationConfiguration\MissingPropertySerializationConfigurationDiagnosticAnalyzer.vb (1)
15Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
29 references to SupportedDiagnostics
AnalyzerRunner (1)
DiagnosticAnalyzerRunner.cs (1)
273if (analyzer.SupportedDiagnostics.Any(static diagnosticDescriptor => diagnosticDescriptor.IsEnabledByDefault))
CodeStyleConfigFileGenerator (1)
Program.cs (1)
61foreach (var rule in analyzer.SupportedDiagnostics)
GenerateRulesMissingDocumentation (1)
Program.cs (1)
159foreach (var rule in analyzer.SupportedDiagnostics)
ILLink.RoslynAnalyzer (1)
DynamicallyAccessedMembersAnalyzer.cs (1)
64 foreach (var diagnosticDescriptor in requiresAnalyzer.SupportedDiagnostics)
Microsoft.AspNetCore.Analyzer.Testing (2)
DiagnosticAnalyzerRunner.cs (1)
86diags = diags.Where(d => d.Severity == DiagnosticSeverity.Error || analyzer.SupportedDiagnostics.Any(s => s.Id.Equals(d.Id))).ToImmutableArray();
DiagnosticVerifier.cs (1)
109diags = diags.Where(d => d.Severity == DiagnosticSeverity.Error || analyzer.SupportedDiagnostics.Any(s => s.Id.Equals(d.Id))).ToImmutableArray();
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
Verifiers\DiagnosticVerifier.cs (1)
245var rules = analyzer.SupportedDiagnostics;
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
Verifiers\DiagnosticVerifier.cs (1)
245var rules = analyzer.SupportedDiagnostics;
Microsoft.CodeAnalysis (8)
CommandLine\ReportAnalyzerUtil.cs (1)
109_ => analyzer.SupportedDiagnostics.Select(d => d.Id),
DiagnosticAnalyzer\AnalyzerExecutor.cs (1)
1271foreach (var diagnostic in analyzer.SupportedDiagnostics)
DiagnosticAnalyzer\AnalyzerManager.AnalyzerExecutionContext.cs (3)
285/// Compute <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> and exception handler for the given <paramref name="analyzer"/>. 299var supportedDiagnosticsLocal = analyzer.SupportedDiagnostics; 307throw new ArgumentException(string.Format(CodeAnalysisResources.SupportedDiagnosticsHasNullDescriptor, analyzer.ToString()), nameof(DiagnosticAnalyzer.SupportedDiagnostics));
DiagnosticAnalyzer\AnalyzerManager.cs (2)
23/// 2) <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> is invoked only once per-analyzer. 250/// Return <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> of given <paramref name="analyzer"/>.
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
1239return analyzer.SupportedDiagnostics;
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (3)
src\Features\DiagnosticsTestUtilities\CodeActions\CodeFixVerifierHelper.cs (3)
43foreach (var descriptor in analyzer.SupportedDiagnostics) 57foreach (var descriptor in analyzer.SupportedDiagnostics) 87foreach (var descriptor in analyzer.SupportedDiagnostics)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Formatting\CodeCleanupTests.cs (1)
791var diagnosticIds = analyzer.SupportedDiagnostics.SelectAsArray(d => d.Id);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
717foreach (var descriptor in analyzer.SupportedDiagnostics)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
src\Analyzers\CSharp\Tests\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionTests.cs (1)
887var descriptor = analyzer.SupportedDiagnostics.First(descriptor => descriptor.Id == IDEDiagnosticIds.ConvertSwitchStatementToExpressionDiagnosticId);
src\Analyzers\CSharp\Tests\RemoveUnusedMembers\RemoveUnusedMembersTests.cs (1)
1485.Diagnostic(new CSharpRemoveUnusedMembersDiagnosticAnalyzer().SupportedDiagnostics.First(x => x.Id == "IDE0052"))
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
CodeFixes\CodeFixServiceTests.cs (1)
194Assert.Empty(GeneratorDiagnosticsPlaceholderAnalyzer.Instance.SupportedDiagnostics);
Diagnostics\IDEDiagnosticIDConfigurationTests.cs (1)
35foreach (var descriptor in analyzer.SupportedDiagnostics)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Suggestions\SuggestedActionPriorityProvider.cs (1)
34foreach (var supportedDiagnostic in analyzer.SupportedDiagnostics)
Microsoft.CodeAnalysis.Features (1)
CodeFixesAndRefactorings\CodeActionRequestPriorityProvider.cs (1)
130foreach (var supportedDiagnostic in analyzer.SupportedDiagnostics)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
468For Each descriptor In analyzer.SupportedDiagnostics
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\DiagnosticAnalyzerInfoCache.cs (1)
32/// The purpose of this map is to avoid multiple calls to <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> that might return different values