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