17 references to Diagnostics
Microsoft.Interop.ComInterfaceGenerator (5)
Analyzers\ConvertComImportToGeneratedComInterfaceAnalyzer.cs (1)
87mayRequireAdditionalWork = diagnostics.Diagnostics.Any();
ComInterfaceGenerator.cs (1)
391generatorDiagnostics.Diagnostics.ToSequenceEqualImmutableArray(),
VirtualMethodPointerStubGenerator.cs (2)
94methodStub.Diagnostics.Array.AddRange(diagnostics.Diagnostics)); 174methodStub.Diagnostics.Array.AddRange(diagnostics.Diagnostics));
VtableIndexStubGenerator.cs (1)
320new SequenceEqualImmutableArray<DiagnosticInfo>(generatorDiagnostics.Diagnostics.ToImmutableArray()),
Microsoft.Interop.JavaScript.JSImportGenerator (4)
JSExportGenerator.cs (2)
214new SequenceEqualImmutableArray<DiagnosticInfo>(generatorDiagnostics.Diagnostics.ToImmutableArray())); 332incrementalContext.Diagnostics.Array.AddRange(diagnostics.Diagnostics));
JSImportGenerator.cs (2)
193new SequenceEqualImmutableArray<DiagnosticInfo>(generatorDiagnostics.Diagnostics.ToImmutableArray())); 211return (PrintGeneratedSource(incrementalContext.StubMethodSyntaxTemplate, incrementalContext.SignatureContext, incrementalContext.ContainingSyntaxContext, code), incrementalContext.Diagnostics.Array.AddRange(diagnostics.Diagnostics));
Microsoft.Interop.LibraryImportGenerator (5)
Analyzers\ConvertToLibraryImportAnalyzer.cs (1)
152mayRequireAdditionalWork = diagnostics.Diagnostics.Any();
LibraryImportGenerator.cs (4)
322new SequenceEqualImmutableArray<DiagnosticInfo>(generatorDiagnostics.Diagnostics.ToImmutableArray()) 333return (PrintForwarderStub(pinvokeStub.StubMethodSyntaxTemplate, explicitForwarding: true, pinvokeStub, diagnostics), pinvokeStub.Diagnostics.Array.AddRange(diagnostics.Diagnostics)); 355return (PrintForwarderStub(pinvokeStub.StubMethodSyntaxTemplate, explicitForwarding: false, pinvokeStub, diagnostics), pinvokeStub.Diagnostics.Array.AddRange(diagnostics.Diagnostics)); 379return (pinvokeStub.ContainingSyntaxContext.WrapMemberInContainingSyntaxWithUnsafeModifier(PrintGeneratedSource(pinvokeStub.StubMethodSyntaxTemplate, pinvokeStub.SignatureContext, code)), pinvokeStub.Diagnostics.Array.AddRange(diagnostics.Diagnostics));
Microsoft.Interop.LibraryImportGenerator.Downlevel (3)
DownlevelLibraryImportGenerator.cs (3)
227new SequenceEqualImmutableArray<DiagnosticInfo>(generatorDiagnostics.Diagnostics.ToImmutableArray()) 250return (PrintForwarderStub(pinvokeStub.StubMethodSyntaxTemplate, pinvokeStub, diagnostics), pinvokeStub.Diagnostics.Array.AddRange(diagnostics.Diagnostics)); 273return (pinvokeStub.ContainingSyntaxContext.WrapMemberInContainingSyntaxWithUnsafeModifier(PrintGeneratedSource(pinvokeStub.StubMethodSyntaxTemplate, pinvokeStub.SignatureContext, code)), pinvokeStub.Diagnostics.Array.AddRange(diagnostics.Diagnostics));