3 overrides of HasDiagnostic
Microsoft.Interop.SourceGeneration (3)
DiagnosticOr.cs (3)
38
public override bool
HasDiagnostic
=> true;
48
public override bool
HasDiagnostic
=> false;
59
public override bool
HasDiagnostic
=> true;
5 references to HasDiagnostic
Microsoft.Interop.ComInterfaceGenerator (2)
ComInterfaceContext.cs (2)
63
(nameToContextCache.TryGetValue(iface.BaseInterfaceKey, out var baseCachedValue) && baseCachedValue.
HasDiagnostic
)
67
|| (baseReturnedValue = AddContext(baseInfo)).
HasDiagnostic
)
Microsoft.Interop.SourceGeneration (3)
DiagnosticOr.cs (3)
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);