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;
6 references to HasDiagnostic
Microsoft.Interop.ComInterfaceGenerator (5)
ComInterfaceContext.cs (2)
63
(nameToContextCache.TryGetValue(iface.BaseInterfaceKey, out var baseCachedValue) && baseCachedValue.
HasDiagnostic
)
67
|| (baseReturnedValue = AddContext(baseInfo)).
HasDiagnostic
)
ComInterfaceGenerator.cs (3)
71
if (cii.
HasDiagnostic
)
101
if (m.
HasDiagnostic
)
122
if (cic.
HasDiagnostic
)
Microsoft.Interop.SourceGeneration (1)
DiagnosticOr.cs (1)
100
var diagnostics = provider.Where(x => x.
HasDiagnostic
).SelectMany(static (x, ct) => x.Diagnostics);