19 references to GeneratorDiagnosticsBag
Microsoft.Interop.ComInterfaceGenerator (6)
Analyzers\ConvertComImportToGeneratedComInterfaceAnalyzer.cs (1)
79
GeneratorDiagnosticsBag diagnostics =
new
(new DiagnosticDescriptorProvider(), new MethodSignatureDiagnosticLocations((MethodDeclarationSyntax)method.DeclaringSyntaxReferences[0].GetSyntax()), SR.ResourceManager, typeof(FxResources.Microsoft.Interop.ComInterfaceGenerator.SR));
ComInterfaceGenerator.cs (1)
277
var generatorDiagnostics = new
GeneratorDiagnosticsBag
(new DiagnosticDescriptorProvider(), diagnosticLocations, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.ComInterfaceGenerator.SR));
VirtualMethodPointerStubGenerator.cs (3)
27
var diagnostics = new
GeneratorDiagnosticsBag
(new DiagnosticDescriptorProvider(), methodStub.DiagnosticLocation, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.ComInterfaceGenerator.SR));
134
var diagnostics = new
GeneratorDiagnosticsBag
(new DiagnosticDescriptorProvider(), methodStub.DiagnosticLocation, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.ComInterfaceGenerator.SR));
264
var diagnostics = new
GeneratorDiagnosticsBag
(new DiagnosticDescriptorProvider(), method.DiagnosticLocation, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.ComInterfaceGenerator.SR));
VtableIndexStubGenerator.cs (1)
219
var generatorDiagnostics = new
GeneratorDiagnosticsBag
(new DiagnosticDescriptorProvider(), locations, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.ComInterfaceGenerator.SR));
Microsoft.Interop.JavaScript.JSImportGenerator (6)
Analyzers\JSExportDiagnosticsAnalyzer.cs (1)
34
var generatorDiagnostics = new
GeneratorDiagnosticsBag
(new DescriptorProvider(), locations, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.JavaScript.JSImportGenerator.SR));
Analyzers\JSImportDiagnosticsAnalyzer.cs (1)
34
var generatorDiagnostics = new
GeneratorDiagnosticsBag
(new DescriptorProvider(), locations, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.JavaScript.JSImportGenerator.SR));
JSExportGenerator.cs (2)
166
var generatorDiagnostics = new
GeneratorDiagnosticsBag
(new DescriptorProvider(), locations, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.JavaScript.JSImportGenerator.SR));
296
var diagnostics = new
GeneratorDiagnosticsBag
(new DescriptorProvider(), incrementalContext.DiagnosticLocation, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.JavaScript.JSImportGenerator.SR));
JSImportGenerator.cs (2)
149
var generatorDiagnostics = new
GeneratorDiagnosticsBag
(new DescriptorProvider(), locations, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.JavaScript.JSImportGenerator.SR));
173
var diagnostics = new
GeneratorDiagnosticsBag
(new DescriptorProvider(), incrementalContext.DiagnosticLocation, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.JavaScript.JSImportGenerator.SR));
Microsoft.Interop.LibraryImportGenerator (4)
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));
Analyzers\LibraryImportDiagnosticsAnalyzer.cs (1)
162
var generatorDiagnostics = new
GeneratorDiagnosticsBag
(
LibraryImportGenerator.cs (2)
256
var discardedDiagnostics = new
GeneratorDiagnosticsBag
(new DiagnosticDescriptorProvider(), locations, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.LibraryImportGenerator.SR));
297
var discardedDiagnostics = new
GeneratorDiagnosticsBag
(new DiagnosticDescriptorProvider(), pinvokeStub.DiagnosticLocation, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.LibraryImportGenerator.SR));
Microsoft.Interop.LibraryImportGenerator.Downlevel (3)
DownlevelLibraryImportDiagnosticsAnalyzer.cs (1)
160
var generatorDiagnostics = new
GeneratorDiagnosticsBag
(
DownlevelLibraryImportGenerator.cs (2)
183
var discardedDiagnostics = new
GeneratorDiagnosticsBag
(new DiagnosticDescriptorProvider(), locations, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.LibraryImportGenerator.Downlevel.SR));
213
var discardedDiagnostics = new
GeneratorDiagnosticsBag
(new DiagnosticDescriptorProvider(), pinvokeStub.DiagnosticLocation, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.LibraryImportGenerator.Downlevel.SR));