3 overrides of HasDiagnostic
Microsoft.Interop.SourceGeneration (3)
DiagnosticOr.cs (3)
35
public override bool
HasDiagnostic
=> true;
45
public override bool
HasDiagnostic
=> false;
56
public override bool
HasDiagnostic
=> true;
5 references to HasDiagnostic
Microsoft.Interop.ComInterfaceGenerator (5)
Analyzers\ComInterfaceGeneratorDiagnosticsAnalyzer.cs (3)
123
if (ciiResult.
HasDiagnostic
)
145
if (thisContextResult.
HasDiagnostic
)
156
if (methodResult.
HasDiagnostic
)
ComInterfaceContext.cs (2)
63
(nameToContextCache.TryGetValue(iface.BaseInterfaceKey, out var baseCachedValue) && baseCachedValue.
HasDiagnostic
)
67
|| (baseReturnedValue = AddContext(baseInfo)).
HasDiagnostic
)