1 write to Descriptor
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
2517Descriptor = new DiagnosticDescriptor(
17 references to Descriptor
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (11)
CommandLineTests.cs (11)
13156var diagnosticId = analyzer.Descriptor.Id; 13157var category = analyzer.Descriptor.Category; 13260var diagnosticId = analyzer.Descriptor.Id; 13346var diagnosticId = analyzer.Descriptor.Id; 13347var category = analyzer.Descriptor.Category; 13394var diagnosticId = analyzer.Descriptor.Id; 13453Assert.Contains($"{prefix} {diagnosticId}: {analyzer.Descriptor.MessageFormat}", outWriter.ToString()); 13634TestAnalyzerConfigRespectedCore(analyzer, analyzer.Descriptor, analyzerConfigSeverity, noWarn, errorlog, customConfigurable); 13791var diagnosticId = analyzer.Descriptor.Id; 13813Assert.Contains($"{prefix} {diagnosticId}: {analyzer.Descriptor.MessageFormat}", output); 13864var diagnosticId = analyzer.Descriptor.Id;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (1)
718Assert.Equal(analyzer1.Descriptor.Id, diagnostic.Id);
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
2532public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2542var diagnostic = Diagnostic.Create(Descriptor, context.Symbol.Locations[0], _reportedSeverity, additionalLocations: null, properties: null, messageArgs: null);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
10216Dim diagnosticId = analyzer.Descriptor.Id 10238Assert.Contains($"{prefix} {diagnosticId}: {analyzer.Descriptor.MessageFormat}", output) 10281Dim diagnosticId = analyzer.Descriptor.Id