1 write to Descriptor
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
2520Descriptor = new DiagnosticDescriptor(
17 references to Descriptor
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (11)
CommandLineTests.cs (11)
13157var diagnosticId = analyzer.Descriptor.Id; 13158var category = analyzer.Descriptor.Category; 13261var diagnosticId = analyzer.Descriptor.Id; 13347var diagnosticId = analyzer.Descriptor.Id; 13348var category = analyzer.Descriptor.Category; 13395var diagnosticId = analyzer.Descriptor.Id; 13454Assert.Contains($"{prefix} {diagnosticId}: {analyzer.Descriptor.MessageFormat}", outWriter.ToString()); 13635TestAnalyzerConfigRespectedCore(analyzer, analyzer.Descriptor, analyzerConfigSeverity, noWarn, errorlog, customConfigurable); 13792var diagnosticId = analyzer.Descriptor.Id; 13814Assert.Contains($"{prefix} {diagnosticId}: {analyzer.Descriptor.MessageFormat}", output); 13865var diagnosticId = analyzer.Descriptor.Id;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (1)
649Assert.Equal(analyzer1.Descriptor.Id, diagnostic.Id);
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
2535public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(Descriptor); 2545var diagnostic = Diagnostic.Create(Descriptor, context.Symbol.Locations[0], _reportedSeverity, additionalLocations: null, properties: null, messageArgs: null);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
10202Dim diagnosticId = analyzer.Descriptor.Id 10224Assert.Contains($"{prefix} {diagnosticId}: {analyzer.Descriptor.MessageFormat}", output) 10267Dim diagnosticId = analyzer.Descriptor.Id