277 overrides of SupportedDiagnostics
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.cs (1)
17public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
DiagnosticAnalyzer\DiagnosticSuppressor.cs (1)
15public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray<DiagnosticDescriptor>.Empty;
Microsoft.CodeAnalysis.CodeStyle (3)
AbstractBuiltInCodeStyleDiagnosticAnalyzer_Core.cs (1)
44public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
AbstractCodeQualityDiagnosticAnalyzer.cs (1)
26public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
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)
ConvertToRecordCodeFixTests.cs (1)
166public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
13992public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_rule); 14590public abstract override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (24)
ConvertToRecord\ConvertToRecordCodeRefactoringTests.cs (1)
4606public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
ConvertToRecordCodeFixTests.cs (1)
166public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\Configuration\ConfigureSeverity\AllAnalyzersSeverityConfigurationTests.cs (1)
34public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule);
Diagnostics\Configuration\ConfigureSeverity\CategoryBasedSeverityConfigurationTests.cs (1)
34public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule);
Diagnostics\Configuration\ConfigureSeverity\DotNetDiagnosticSeverityBasedSeverityConfigurationTests.cs (1)
34public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule);
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (4)
220public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 291public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 349public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 871public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
Diagnostics\FixAllProvider\BatchFixerTests.cs (1)
36public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\MockDiagnosticAnalyzerTests.cs (1)
26public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\Suppression\RemoveSuppressionTests.cs (1)
32public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\Suppression\RemoveUnnecessaryPragmaSuppressionsTests.cs (3)
63public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor0168, Descriptor0219); 118public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1302public 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)
698public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 808public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 871public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 921public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 1062public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 2062public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_descriptor); 2457public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Squiggles\ErrorSquiggleProducerTests.cs (1)
421public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (14)
Diagnostics\DiagnosticAnalyzerTests.cs (13)
39public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 234public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 474public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 489public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 503public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 657public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { return ImmutableArray.Create(Rule); } } 760public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 830public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 879public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 1642public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 2305public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Warning, Summary); 3751public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { return ImmutableArray.Create(Rule); } } 3985public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { return ImmutableArray.Create(Rule); } }
Diagnostics\GetDiagnosticsTests.cs (1)
891public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor, DescriptorForBlockEnd);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (43)
Semantics\ColorColorTests.cs (1)
1772public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Semantics\OutVarTests.cs (1)
18801public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Semantics\PrimaryConstructorTests.cs (13)
3164public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 3492public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 3578public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 3727public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 3917public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4231public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4556public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4669public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4896public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4983public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5096public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5193public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 5251public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Semantics\RecordStructTests.cs (7)
5919public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6148public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6244public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6373public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6470public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6528public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6782public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Semantics\RecordTests.cs (7)
26202public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 26528public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 26623public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 26788public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 26978public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 27292public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 27621public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Semantics\TopLevelStatementsTests.cs (13)
6414public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6513public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6588public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6697public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6778public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6836public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6894public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 6962public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7042public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7158public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7252public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7324public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 7391public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
SourceGeneration\GeneratorDriverTests.cs (1)
180public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\Source\NullablePublicAPITests.cs (3)
1153public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor1, s_descriptor2); 1782public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 4838public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.EditorFeatures (1)
EditAndContinue\EditAndContinueDiagnosticAnalyzer.cs (1)
28public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (1)
Diagnostics\AbstractSuppressionAllCodeTests.cs (1)
153public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\NoCompilationDocumentDiagnosticAnalyzer.cs (1)
22public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (14)
CodeFixes\CodeFixServiceTests.cs (3)
498public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } 531public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } 845public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_descriptor);
Diagnostics\DiagnosticAnalyzerServiceTests.cs (9)
1249public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_syntaxRule, s_semanticRule, s_compilationRule); 1265public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_syntaxRule, s_semanticRule, s_compilationRule); 1279public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_syntaxRule); 1297public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_syntaxRule); 1337public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray<DiagnosticDescriptor>.Empty; 1350public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray<DiagnosticDescriptor>.Empty; 1359public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_syntaxRule); 1374public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_rule); 1387public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => _supportedDiagnostics;
Diagnostics\DiagnosticsClassificationTaggerProviderTests.cs (1)
87public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\DiagnosticsSquiggleTaggerProviderTests.cs (1)
217public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (18)
CodeFixes\CodeFixServiceTests.vb (1)
206Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Diagnostics\AdditionalFileDiagnosticsTests.vb (1)
72Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Diagnostics\DiagnosticServiceTests.vb (16)
1280Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1401Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1482Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1570Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1595Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1622Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1647Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1664Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1690Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1718Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1744Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1770Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1798Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 1843Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 1911Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 2510Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (4)
Internal\Diagnostics\FSharpDocumentDiagnosticAnalyzer.cs (1)
71public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => _supportedDiagnostics;
Internal\Diagnostics\FSharpSimplifyNameDiagnosticAnalyzer.cs (1)
51public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_descriptor);
Internal\Diagnostics\FSharpUnusedDeclarationsAnalyzer.cs (1)
53public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_descriptor);
Internal\Diagnostics\FSharpUnusedOpensDiagnosticAnalyzer.cs (1)
48public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_descriptor);
Microsoft.CodeAnalysis.Features (6)
AbstractBuiltInCodeStyleDiagnosticAnalyzer_Core.cs (1)
44public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
AbstractCodeQualityDiagnosticAnalyzer.cs (1)
26public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
44public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\Analyzers\UnboundIdentifiersDiagnosticAnalyzerBase.cs (1)
39public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
ExternalAccess\VSTypeScript\VSTypeScriptDocumentDiagnosticAnalyzer.cs (1)
16public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray<DiagnosticDescriptor>.Empty;
ExternalAccess\VSTypeScript\VSTypeScriptProjectDiagnosticAnalyzer.cs (1)
16public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray<DiagnosticDescriptor>.Empty;
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
Diagnostics\AbstractPullDiagnosticTestsBase.cs (1)
344public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor);
Diagnostics\AdditionalFileDiagnosticsTests.cs (1)
141public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\WorkspaceProjectDiagnosticsTests.cs (1)
82public 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 (90)
Diagnostics\BoxingOperationAnalyzer.cs (1)
33public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Diagnostics\CommonDiagnosticAnalyzers.cs (41)
55public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 465public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 512public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 563public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DiagnosticDescriptor); 592public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => 631public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => 657public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(DummyRule); 674public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule); 698public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => 720public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } 735public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 746public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create((DiagnosticDescriptor)null); 766public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 787public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 810public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 873public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 897public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => throw new NotImplementedException(); 912public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule); 951public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule); 983public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1026public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1089public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1217public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1275public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1306public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1351public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 1408public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Warning, Error, Summary, Summary2); 1581public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Rule); 1682public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(GeneratedCodeDescriptor, NonGeneratedCodeDescriptor, UniqueTextFileDescriptor, NumberOfUniqueTextFileDescriptor); 1745public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(ParameterDescriptor); 1849public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics 2270public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(_rule); 2336public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2362public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2389public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 2421public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2467public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2508public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 2549public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2596public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_descriptor); 2680public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(s_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)
367public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (5)
CommandLineTests.vb (5)
10621Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 10646Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 10672Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 10697Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 10718Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.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) 772Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 816Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 880Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 998Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor) 1714Public Overrides ReadOnly Property SupportedDiagnostics() As ImmutableArray(Of DiagnosticDescriptor)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (11)
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 (1)
595Public 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 => ImmutableArray<DiagnosticDescriptor>.Empty;
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
BatchFixAllProviderTests.cs (1)
59public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor);
SolutionTests\SolutionTests.cs (1)
2316public 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 (3)
Diagnostics\DefaultDiagnosticUpdateSourceTests.vb (1)
342Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Diagnostics\ExternalDiagnosticUpdateSourceTests.vb (2)
584Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor) 604Public Overrides ReadOnly Property SupportedDiagnostics As ImmutableArray(Of DiagnosticDescriptor)
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Diagnostics\Analyzers\XamlDocumentDiagnosticAnalyzer.cs (1)
19public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
Roslyn.VisualStudio.Next.UnitTests (2)
Services\VisualStudioDiagnosticAnalyzerExecutorTests.cs (2)
287public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => _supportedDiagnostics; 307public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => _supportedDiagnostics;
30 references to SupportedDiagnostics
AnalyzerRunner (1)
DiagnosticAnalyzerRunner.cs (1)
274if (analyzer.SupportedDiagnostics.Any(static diagnosticDescriptor => diagnosticDescriptor.IsEnabledByDefault))
CodeStyleConfigFileGenerator (1)
Program.cs (1)
61foreach (var rule in analyzer.SupportedDiagnostics)
GenerateRulesMissingDocumentation (1)
Program.cs (1)
141foreach (var rule in analyzer.SupportedDiagnostics)
Microsoft.CodeAnalysis (8)
CommandLine\ReportAnalyzerUtil.cs (1)
92var analyzerIds = string.Join(", ", kvp.Key.SupportedDiagnostics.Select(d => d.Id).Distinct().OrderBy(id => id));
DiagnosticAnalyzer\AnalyzerExecutor.cs (2)
136/// Creates <see cref="AnalyzerExecutor"/> to fetch <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/>. 1226foreach (var diagnostic in analyzer.SupportedDiagnostics)
DiagnosticAnalyzer\AnalyzerManager.AnalyzerExecutionContext.cs (3)
275/// Compute <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> and exception handler for the given <paramref name="analyzer"/>. 288var supportedDiagnosticsLocal = analyzer.SupportedDiagnostics; 296throw new ArgumentException(string.Format(CodeAnalysisResources.SupportedDiagnosticsHasNullDescriptor, analyzer.ToString()), nameof(DiagnosticAnalyzer.SupportedDiagnostics));
DiagnosticAnalyzer\AnalyzerManager.cs (2)
22/// 2) <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> is invoked only once per-analyzer. 246/// Return <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> of given <paramref name="analyzer"/>.
Microsoft.CodeAnalysis.CodeStyle.LegacyTestFramework.UnitTestUtilities (3)
AbstractDiagnosticProviderBasedUserDiagnosticTest.cs (3)
78foreach (var descriptor in diagnosticAnalyzer.SupportedDiagnostics) 102foreach (var descriptor in diagnosticAnalyzer.SupportedDiagnostics) 123foreach (var descriptor in diagnosticAnalyzer.SupportedDiagnostics)
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (3)
CodeFixVerifierHelper.cs (3)
47foreach (var descriptor in analyzer.SupportedDiagnostics) 61foreach (var descriptor in analyzer.SupportedDiagnostics) 91foreach (var descriptor in analyzer.SupportedDiagnostics)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Formatting\CodeCleanupTests.cs (1)
730var diagnosticIds = analyzer.SupportedDiagnostics.SelectAsArray(d => d.Id);
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (6)
CodeActions\CodeFixVerifierHelper.cs (3)
47foreach (var descriptor in analyzer.SupportedDiagnostics) 61foreach (var descriptor in analyzer.SupportedDiagnostics) 91foreach (var descriptor in analyzer.SupportedDiagnostics)
Diagnostics\AbstractDiagnosticProviderBasedUserDiagnosticTest.cs (3)
78foreach (var descriptor in diagnosticAnalyzer.SupportedDiagnostics) 102foreach (var descriptor in diagnosticAnalyzer.SupportedDiagnostics) 123foreach (var descriptor in diagnosticAnalyzer.SupportedDiagnostics)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Diagnostics\IDEDiagnosticIDConfigurationTests.cs (1)
38foreach (var descriptor in analyzer.SupportedDiagnostics)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
Formatting\CodeCleanUpTests.vb (1)
519Dim diagnosticIds = analyzer.SupportedDiagnostics.SelectAsArray(Function(d) d.Id)
Microsoft.CodeAnalysis.Workspaces (4)
Diagnostics\DiagnosticAnalyzerInfoCache.cs (4)
36/// The purpose of this map is to avoid multiple calls to <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> that might return different values 80/// Returns <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> of given <paramref name="analyzer"/>. 86/// Returns <see cref="DiagnosticAnalyzer.SupportedDiagnostics"/> of given <paramref name="analyzer"/> 122descriptors = analyzer.SupportedDiagnostics.NullToEmpty();