10 references to RegisterDiagnostics
Microsoft.Interop.ComInterfaceGenerator (4)
ComInterfaceGenerator.cs (2)
160
context.
RegisterDiagnostics
(attributedInterfaces.SelectMany(static (data, ct) => data.Diagnostics));
189
context.
RegisterDiagnostics
(
VtableIndexStubGenerator.cs (2)
87
context.
RegisterDiagnostics
(generateManagedToNativeStub.SelectMany((stubInfo, ct) => stubInfo.Item2));
104
context.
RegisterDiagnostics
(generateNativeToManagedStub.SelectMany((stubInfo, ct) => stubInfo.Item2));
Microsoft.Interop.JavaScript.JSImportGenerator (4)
JSExportGenerator.cs (2)
64
context.
RegisterDiagnostics
(stubEnvironment.Combine(attributedMethods.Collect()).SelectMany((data, ct) =>
93
context.
RegisterDiagnostics
(generateSingleStub.SelectMany((stubInfo, ct) => stubInfo.Item4));
JSImportGenerator.cs (2)
65
context.
RegisterDiagnostics
(stubEnvironment.Combine(attributedMethods.Collect()).SelectMany((data, ct) =>
94
context.
RegisterDiagnostics
(generateSingleStub.SelectMany((stubInfo, ct) => stubInfo.Item2));
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
83
context.
RegisterDiagnostics
(generateSingleStub.SelectMany((stubInfo, ct) => stubInfo.Item2));
Microsoft.Interop.SourceGeneration (1)
DiagnosticOr.cs (1)
110
ctx.
RegisterDiagnostics
(diagnostics);