3 references to InvalidDiagnosticLocationReported
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticAnalysisContextHelpers.cs (1)
99
throw new ArgumentException(string.Format(CodeAnalysisResources.
InvalidDiagnosticLocationReported
, id, location.SourceTree.FilePath), "diagnostic");
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
1016
string.Format(CodeAnalysisResources.
InvalidDiagnosticLocationReported
, AnalyzerWithInvalidDiagnosticLocation.Descriptor.Id, treeInAnotherCompilation.FilePath), "diagnostic").Message;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
SourceGeneration\GeneratorDriverTests.cs (1)
3936
VerifyArgumentExceptionDiagnostic(diagnostics.Single(), nameof(PipelineCallbackGenerator), string.Format(CodeAnalysisResources.
InvalidDiagnosticLocationReported
, "TEST0001", "/original"), "diagnostic");