400 overrides of SupportedDiagnostics
Aspire.Hosting.Analyzers (1)
AppHostAnalyzer.cs (1)
18public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => Diagnostics.SupportedDiagnostics;
ILLink.RoslynAnalyzer (5)
COMAnalyzer.cs (1)
25public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_correctnessOfCOMCannotBeGuaranteed);
DynamicallyAccessedMembersAnalyzer.cs (1)
86public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => GetSupportedDiagnostics();
RequiresAssemblyFilesAnalyzer.cs (1)
37public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_locationRule, s_getFilesRule, s_requiresAssemblyFilesRule, s_requiresAssemblyFilesAttributeMismatch, s_requiresAssemblyFilesOnStaticCtor, s_requiresAssemblyFilesOnEntryPoint);
RequiresDynamicCodeAnalyzer.cs (1)
28public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
RequiresUnreferencedCodeAnalyzer.cs (1)
30public 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 (5)
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; }
PersistentStateAnalyzer.cs (1)
24public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
SupplyParameterFromFormAnalyzer.cs (1)
24public 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.Analyzers (21)
FixAnalyzers\FixerWithFixAllAnalyzer.cs (1)
68public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } =
ImmutableObjectMethodAnalyzer.cs (1)
34public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(DoNotIgnoreReturnValueDiagnosticRule);
ImplementationIsObsoleteAnalyzer.cs (1)
31public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
InternalImplementationOnlyAnalyzer.cs (1)
34public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
MetaAnalyzers\ClassIsNotDiagnosticAnalyzer.cs (1)
29public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
MetaAnalyzers\CompareSymbolsCorrectlyAnalyzer.cs (1)
79public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(s_equalityRule);
MetaAnalyzers\CompilerExtensionStrictApiAnalyzer.cs (1)
60public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
MetaAnalyzers\CompilerExtensionTargetFrameworkAnalyzer.cs (1)
36public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
MetaAnalyzers\ConfigureGeneratedCodeAnalysisAnalyzer.cs (1)
31public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
MetaAnalyzers\DiagnosticAnalyzerAPIUsageAnalyzer.cs (1)
61public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(DoNotUseTypesFromAssemblyDirectRule, DoNotUseTypesFromAssemblyIndirectRule);
MetaAnalyzers\DiagnosticAnalyzerAttributeAnalyzer.cs (1)
43public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(MissingDiagnosticAnalyzerAttributeRule, AddLanguageSupportToAnalyzerRule);
MetaAnalyzers\DiagnosticAnalyzerFieldsAnalyzer.cs (1)
49public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(DoNotStorePerCompilationDataOntoFieldsRule);
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer.cs (1)
177public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
MetaAnalyzers\DoNotUseCompilationGetSemanticModelAnalyzer.cs (1)
32public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
MetaAnalyzers\DoNotUseFileTypesForAnalyzersOrGenerators.cs (1)
26public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
MetaAnalyzers\EnableConcurrentExecutionAnalyzer.cs (1)
31public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
MetaAnalyzers\PreferIsKindAnalyzer.cs (1)
33public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
MetaAnalyzers\RegisterActionAnalyzer.cs (1)
107public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
MetaAnalyzers\ReportDiagnosticAnalyzer.cs (1)
38public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(InvalidReportDiagnosticRule);
MetaAnalyzers\SymbolIsBannedInAnalyzersAnalyzer.cs (1)
46public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(SymbolIsBannedInAnalyzersAnalyzer.SymbolIsBannedRule, SymbolIsBannedInAnalyzersAnalyzer.NoSettingSpecifiedSymbolIsBannedRule);
UpgradeMSBuildWorkspaceAnalyzer.cs (1)
36public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(UpgradeMSBuildWorkspaceDiagnosticRule);
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
RestrictedInternalsVisibleToAnalyzer.cs (1)
40public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
SymbolIsBannedAnalyzer.cs (1)
47public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } =
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)
24public 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.Analyzers (1)
MetaAnalyzers\CSharpSemanticModelGetDeclaredSymbolAlwaysReturnsNullAnalyzer.cs (1)
43public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(DiagnosticDescriptor, FieldDiagnosticDescriptor);
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (1)
src\Analyzers\CSharp\Tests\ConvertToRecord\ConvertToRecordCodeFixTests.cs (1)
154public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
14899public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_rule); 15925public 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 854public 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 (42)
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)
1077public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor, DescriptorForBlockEnd); 1839public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor);
FieldKeywordTests.cs (1)
12825public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Descriptor_Field, Descriptor_Invalid];
Semantics\ExtensionTests.cs (4)
50941public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Descriptor]; 51012public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Descriptor]; 51060public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Descriptor]; 51112public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Descriptor];
Semantics\OutVarTests.cs (1)
18801public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Semantics\PrimaryConstructorTests.cs (13)
3750public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4075public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4161public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4310public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4500public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4814public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5138public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5251public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5478public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5565public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5678public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5775public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5833public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Semantics\RecordTests.cs (7)
26294public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 26617public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 26712public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 26877public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 27067public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 27381public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 27709public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (17)
ConvertToRecord\ConvertToRecordCodeRefactoringTests.cs (1)
4212public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\Configuration\ConfigureSeverity\AllAnalyzersSeverityConfigurationTests.cs (1)
33public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Rule];
Diagnostics\Configuration\ConfigureSeverity\CategoryBasedSeverityConfigurationTests.cs (1)
33public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Rule];
Diagnostics\Configuration\ConfigureSeverity\DotNetDiagnosticSeverityBasedSeverityConfigurationTests.cs (1)
33public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Rule];
Diagnostics\Suppression\RemoveSuppressionTests.cs (1)
32public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\Suppression\RemoveUnnecessaryPragmaSuppressionsTests.cs (3)
56public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Descriptor0168, Descriptor0219]; 111public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Descriptor]; 1507public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Descriptor];
Diagnostics\Suppression\SuppressionTest_FixMultipleTests.cs (1)
43public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Decsciptor1, Decsciptor2];
Diagnostics\Suppression\SuppressionTests.cs (7)
736public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 850public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 915public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 964public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 1105public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 2181public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [_descriptor]; 2641public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
src\Analyzers\CSharp\Tests\ConvertToRecord\ConvertToRecordCodeFixTests.cs (1)
154public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (22)
Semantics\ColorColorTests.cs (1)
1773public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Semantics\RecordStructTests.cs (7)
6021public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6250public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6346public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6475public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6572public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6630public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6884public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Semantics\TopLevelStatementsTests.cs (13)
6481public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6580public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6655public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6764public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6845public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6903public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6961public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7029public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7109public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7225public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7319public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7391public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7458public 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 4834public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\NoCompilationDocumentDiagnosticAnalyzer.cs (1)
21public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Descriptor];
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (9)
CodeFixes\CodeFixServiceTests.cs (4)
523public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } 556public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } 882public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [_descriptor]; 1164public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Descriptor];
Diagnostics\DiagnosticAnalyzerServiceTests.cs (5)
1009public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [s_syntaxRule, s_semanticRule, s_compilationRule]; 1025public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [s_syntaxRule, s_semanticRule, s_compilationRule]; 1041public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => []; 1048public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [s_syntaxRule]; 1066public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => _supportedDiagnostics;
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (19)
CodeFixes\CodeFixServiceTests.vb (1)
193Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Diagnostics\AdditionalFileDiagnosticsTests.vb (1)
68Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Diagnostics\DiagnosticServiceTests.vb (17)
1253Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1372Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1455Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1543Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1568Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1595Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1620Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1637Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1663Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1691Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1717Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1743Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1771Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1816Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 1884Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 2397Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 2513Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (4)
Internal\Diagnostics\FSharpDocumentDiagnosticAnalyzer.cs (1)
68public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => _supportedDiagnostics;
Internal\Diagnostics\FSharpSimplifyNameDiagnosticAnalyzer.cs (1)
48public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [_descriptor];
Internal\Diagnostics\FSharpUnusedDeclarationsAnalyzer.cs (1)
50public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [_descriptor];
Internal\Diagnostics\FSharpUnusedOpensDiagnosticAnalyzer.cs (1)
48public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [_descriptor];
Microsoft.CodeAnalysis.Features (4)
Diagnostics\Analyzers\UnboundIdentifiersDiagnosticAnalyzerBase.cs (1)
36public 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)
24public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
44public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (8)
Diagnostics\AbstractPullDiagnosticTestsBase.cs (1)
377public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Descriptor];
Diagnostics\AdditionalFileDiagnosticsTests.cs (1)
165public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\BuildOnlyDiagnosticIdsHandlerTests.cs (2)
88public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [s_descriptor]; 100public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [s_descriptor];
Diagnostics\NonLocalDiagnosticTests.cs (1)
78public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [NonLocalDescriptor, CompilationEndDescriptor];
Diagnostics\PullDiagnosticTests.cs (2)
127public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [_descriptor]; 141public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [_descriptor];
Diagnostics\WorkspaceProjectDiagnosticsTests.cs (1)
76public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
ExplicitAllocationAnalyzer.cs (1)
67public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
DeclarePublicApiAnalyzer_Diagnostics.cs (1)
279public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } =
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); 2535public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2563public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 2595public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2641public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2682public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 2730public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 2878public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2925public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 3009public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 3099public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 3240public 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)
10970Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 10995Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 11021Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 11045Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 11069Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 11090Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (7)
Diagnostics\Configuration\ConfigureSeverity\DotNetDiagnosticSeverityBasedSeverityConfigurationTests.vb (1)
26Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Diagnostics\Suppression\SuppressionTests.vb (6)
698Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 773Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 817Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 883Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 1003Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 1719Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (12)
Diagnostics\DiagnosticAnalyzerTests.vb (10)
28Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 217Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 233Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 266Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 304Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 349Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 400Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 498Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 563Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 951Public 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)
3169Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Microsoft.CodeAnalysis.Workspaces (2)
Diagnostics\FileContentLoadAnalyzer.cs (1)
23public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\GeneratorDiagnosticsPlaceholderAnalyzer.cs (1)
24public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [];
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
BatchFixAllProviderTests.cs (1)
49public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [Descriptor];
SolutionTests\SolutionTests.cs (1)
2993public 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)
247Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Diagnostics\Analyzers\XamlDocumentDiagnosticAnalyzer.cs (1)
17public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Roslyn.Diagnostics.Analyzers (11)
AbstractDoNotCopyValue.cs (1)
131public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule, UnsupportedUseRule, NoBoxingRule, NoUnboxingRule, NoFieldOfCopyableTypeRule, NoAutoPropertyRule);
DefaultableTypeShouldHaveDefaultableFieldsAnalyzer.cs (1)
37public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
DoNotCallGetTestAccessor.cs (1)
33public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(DoNotCallGetTestAccessorRule);
DoNotMixAttributesFromDifferentVersionsOfMEF.cs (1)
37public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
ExportedPartsShouldHaveImportingConstructor.cs (1)
40public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
ImportingConstructorShouldBeObsolete.cs (1)
42public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
PartsExportedWithMEFv2MustBeMarkedAsShared.cs (1)
35public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
SpecializedEnumerableCreationAnalyzer.cs (1)
51public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(UseEmptyEnumerableRule, UseSingletonEnumerableRule);
SymbolDeclaredEventMustBeGeneratedForSourceSymbols.cs (1)
43public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(SymbolDeclaredEventRule);
TemporaryArrayAsRefAnalyzer.cs (1)
34public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
TestExportsShouldNotBeDiscoverable.cs (1)
40public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
Roslyn.Diagnostics.Analyzers.UnitTests (1)
RelaxTestNamingSuppressorTests.cs (1)
110public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule);
Roslyn.Diagnostics.CSharp.Analyzers (4)
CSharpAvoidOptSuffixForNullableEnableCode.cs (1)
41public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
CSharpDoNotCapturePrimaryContructorParameters.cs (1)
28public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule);
CSharpDoNotUseDebugAssertForInterpolatedStrings.cs (1)
31public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
PreferNullLiteral.cs (1)
33public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule);
Roslyn.Diagnostics.VisualBasic.Analyzers (1)
BasicInvokeTheCorrectPropertyToEnsureCorrectUseSiteDiagnostics.vb (1)
48Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Roslyn.VisualStudio.Next.UnitTests (2)
Services\VisualStudioDiagnosticAnalyzerExecutorTests.cs (2)
265public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => _supportedDiagnostics; 285public 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 (3)
System\Windows\Forms\CSharp\Analyzers\AvoidPassingTaskWithoutCancellationToken\AvoidPassingTaskWithoutCancellationTokenAnalyzer.cs (1)
20public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
System\Windows\Forms\CSharp\Analyzers\ImplementITypedDataObject\ImplementITypedDataObjectAnalyzer.cs (1)
18public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
System\Windows\Forms\CSharp\Analyzers\MissingPropertySerializationConfiguration\MissingPropertySerializationConfigurationAnalyzer.cs (1)
15public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics =>
Text.Analyzers (2)
EnumsShouldHavePluralNames.cs (1)
51public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule_CA1714, Rule_CA1717);
IdentifiersShouldBeSpelledCorrectly.cs (1)
216public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
43 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)
GenerateDocumentationAndConfigFiles (2)
Program.cs (1)
291foreach (var rule in analyzer.SupportedDiagnostics)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
70AnalyzerOptionsExtensions.IsConfiguredToSkipAnalysis(operationBlockAnalysisContext.Options, SupportedDiagnostics[0], method, operationBlockAnalysisContext.Compilation))
GenerateRulesMissingDocumentation (1)
Program.cs (1)
159foreach (var rule in analyzer.SupportedDiagnostics)
ILLink.RoslynAnalyzer (1)
DynamicallyAccessedMembersAnalyzer.cs (1)
68foreach (var diagnosticDescriptor in requiresAnalyzer.SupportedDiagnostics)
Metrics (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
70AnalyzerOptionsExtensions.IsConfiguredToSkipAnalysis(operationBlockAnalysisContext.Options, SupportedDiagnostics[0], method, operationBlockAnalysisContext.Compilation))
Metrics.Legacy (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
70AnalyzerOptionsExtensions.IsConfiguredToSkipAnalysis(operationBlockAnalysisContext.Options, SupportedDiagnostics[0], method, operationBlockAnalysisContext.Compilation))
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)
1317foreach (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)
24/// 2) <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> is invoked only once per-analyzer. 251/// Return <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> of given <paramref name="analyzer"/>.
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
1239return analyzer.SupportedDiagnostics;
Microsoft.CodeAnalysis.Analyzers (2)
MetaAnalyzers\Helpers\DiagnosticWellKnownNames.cs (1)
24internal const string SupportedDiagnosticsName = nameof(DiagnosticAnalyzer.SupportedDiagnostics);
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
70AnalyzerOptionsExtensions.IsConfiguredToSkipAnalysis(operationBlockAnalysisContext.Options, SupportedDiagnostics[0], method, operationBlockAnalysisContext.Compilation))
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
70AnalyzerOptionsExtensions.IsConfiguredToSkipAnalysis(operationBlockAnalysisContext.Options, SupportedDiagnostics[0], method, operationBlockAnalysisContext.Compilation))
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
70AnalyzerOptionsExtensions.IsConfiguredToSkipAnalysis(operationBlockAnalysisContext.Options, SupportedDiagnostics[0], method, operationBlockAnalysisContext.Compilation))
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)
817var diagnosticIds = analyzer.SupportedDiagnostics.SelectAsArray(d => d.Id);
Microsoft.CodeAnalysis.EditorFeatures (1)
Suggestions\SuggestedActionPriorityProvider.cs (1)
34foreach (var supportedDiagnostic in analyzer.SupportedDiagnostics)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Diagnostics\IDEDiagnosticIDConfigurationTests.cs (1)
35foreach (var descriptor in analyzer.SupportedDiagnostics)
Microsoft.CodeAnalysis.Features (1)
CodeFixesAndRefactorings\CodeActionRequestPriorityProvider.cs (1)
130foreach (var supportedDiagnostic in analyzer.SupportedDiagnostics)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
70AnalyzerOptionsExtensions.IsConfiguredToSkipAnalysis(operationBlockAnalysisContext.Options, SupportedDiagnostics[0], method, operationBlockAnalysisContext.Compilation))
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
70AnalyzerOptionsExtensions.IsConfiguredToSkipAnalysis(operationBlockAnalysisContext.Options, SupportedDiagnostics[0], method, operationBlockAnalysisContext.Compilation))
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
70AnalyzerOptionsExtensions.IsConfiguredToSkipAnalysis(operationBlockAnalysisContext.Options, SupportedDiagnostics[0], method, operationBlockAnalysisContext.Compilation))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
467For Each descriptor In analyzer.SupportedDiagnostics
Microsoft.CodeAnalysis.Workspaces (5)
Diagnostics\DiagnosticAnalyzerInfoCache.cs (5)
32/// The purpose of this map is to avoid multiple calls to <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> that might return different values 87/// Returns <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> of given <paramref name="analyzer"/>. 99/// Returns <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> of given <paramref name="analyzer"/> 111/// Returns <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> of given <paramref name="analyzer"/> 147descriptors = analyzer.SupportedDiagnostics.NullToEmpty();
Roslyn.Diagnostics.Analyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
70AnalyzerOptionsExtensions.IsConfiguredToSkipAnalysis(operationBlockAnalysisContext.Options, SupportedDiagnostics[0], method, operationBlockAnalysisContext.Compilation))
Test.Utilities (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
70AnalyzerOptionsExtensions.IsConfiguredToSkipAnalysis(operationBlockAnalysisContext.Options, SupportedDiagnostics[0], method, operationBlockAnalysisContext.Compilation))
Text.Analyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
70AnalyzerOptionsExtensions.IsConfiguredToSkipAnalysis(operationBlockAnalysisContext.Options, SupportedDiagnostics[0], method, operationBlockAnalysisContext.Compilation))