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)
13119var diagnosticId = analyzer.Descriptor.Id; 13120var category = analyzer.Descriptor.Category; 13223var diagnosticId = analyzer.Descriptor.Id; 13309var diagnosticId = analyzer.Descriptor.Id; 13310var category = analyzer.Descriptor.Category; 13357var diagnosticId = analyzer.Descriptor.Id; 13416Assert.Contains($"{prefix} {diagnosticId}: {analyzer.Descriptor.MessageFormat}", outWriter.ToString()); 13597TestAnalyzerConfigRespectedCore(analyzer, analyzer.Descriptor, analyzerConfigSeverity, noWarn, errorlog, customConfigurable); 13754var diagnosticId = analyzer.Descriptor.Id; 13776Assert.Contains($"{prefix} {diagnosticId}: {analyzer.Descriptor.MessageFormat}", output); 13827var 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)
10182Dim diagnosticId = analyzer.Descriptor.Id 10204Assert.Contains($"{prefix} {diagnosticId}: {analyzer.Descriptor.MessageFormat}", output) 10247Dim diagnosticId = analyzer.Descriptor.Id