3 instantiations of DiagnosticDescriptorProvider
Microsoft.Interop.LibraryImportGenerator (3)
Analyzers\ConvertToLibraryImportAnalyzer.cs (1)
141
GeneratorDiagnosticsBag diagnostics = new(new
DiagnosticDescriptorProvider
(), new MethodSignatureDiagnosticLocations((MethodDeclarationSyntax)method.DeclaringSyntaxReferences[0].GetSyntax()), SR.ResourceManager, typeof(FxResources.Microsoft.Interop.LibraryImportGenerator.SR));
LibraryImportGenerator.cs (2)
270
var generatorDiagnostics = new GeneratorDiagnosticsBag(new
DiagnosticDescriptorProvider
(), locations, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.LibraryImportGenerator.SR));
330
var diagnostics = new GeneratorDiagnosticsBag(new
DiagnosticDescriptorProvider
(), pinvokeStub.DiagnosticLocation, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.LibraryImportGenerator.SR));