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