5 instantiations of ValueAndDiagnostic
Microsoft.Interop.SourceGeneration (5)
DiagnosticOr.cs (5)
70
Val v => new
ValueAndDiagnostic
(v.Value, ImmutableArray.Create(diagnostic)),
71
ValueAndDiagnostic vad => new
ValueAndDiagnostic
(vad.Value, vad.Diagnostics.Add(diagnostic)),
80
Diag d => new
ValueAndDiagnostic
(value, d.Diagnostics),
82
ValueAndDiagnostic vad => new
ValueAndDiagnostic
(value, vad.Diagnostics),
110
return new
ValueAndDiagnostic
(value, ImmutableArray.Create(diagnostics));
2 references to ValueAndDiagnostic
Microsoft.Interop.SourceGeneration (2)
DiagnosticOr.cs (2)
71
ValueAndDiagnostic
vad => new ValueAndDiagnostic(vad.Value, vad.Diagnostics.Add(diagnostic)),
82
ValueAndDiagnostic
vad => new ValueAndDiagnostic(value, vad.Diagnostics),