4 references to Descriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
1015
string.Format(CodeAnalysisResources.InvalidDiagnosticLocationReported, AnalyzerWithInvalidDiagnosticLocation.
Descriptor
.Id, treeInAnotherCompilation.FilePath), "diagnostic").Message;
Microsoft.CodeAnalysis.Test.Utilities (3)
Diagnostics\CommonDiagnosticAnalyzers.cs (3)
953
Diagnostic.Create(
Descriptor
, Location.None, additionalLocations: new[] { _invalidLocation }) :
954
Diagnostic.Create(
Descriptor
, _invalidLocation);
959
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
Descriptor
);