3 overrides of Diagnostics
Microsoft.Interop.SourceGeneration (3)
DiagnosticOr.cs (3)
40
public override ImmutableArray<DiagnosticInfo>
Diagnostics
=> _diagnostics.Array;
50
public override ImmutableArray<DiagnosticInfo>
Diagnostics
=> throw new InvalidOperationException();
61
public override ImmutableArray<DiagnosticInfo>
Diagnostics
=> _diagnostics.Array;
4 references to Diagnostics
Microsoft.Interop.SourceGeneration (4)
DiagnosticOr.cs (4)
65
/// Adds a diagnostic to the <see cref="DiagnosticOr{T}.
Diagnostics
"/> property
122
var diagnostics = provider.Where(x => x.HasDiagnostic).SelectMany(static (x, ct) => x.
Diagnostics
);
132
var diagnostics = provider.SelectMany((arr, ct) => arr.Where(x => x.HasDiagnostic).SelectMany((x, ct) => x.
Diagnostics
));
142
var diagnostics = provider.Where(x => x.Item1.HasDiagnostic).SelectMany(static (x, ct) => x.Item1.
Diagnostics
);