3 overrides of Diagnostics
Microsoft.Interop.SourceGeneration (3)
DiagnosticOr.cs (3)
40public override ImmutableArray<DiagnosticInfo> Diagnostics => _diagnostics.Array; 50public override ImmutableArray<DiagnosticInfo> Diagnostics => throw new InvalidOperationException(); 61public 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 122var diagnostics = provider.Where(x => x.HasDiagnostic).SelectMany(static (x, ct) => x.Diagnostics); 132var diagnostics = provider.SelectMany((arr, ct) => arr.Where(x => x.HasDiagnostic).SelectMany((x, ct) => x.Diagnostics)); 142var diagnostics = provider.Where(x => x.Item1.HasDiagnostic).SelectMany(static (x, ct) => x.Item1.Diagnostics);