3 overrides of HasDiagnostic
Microsoft.Interop.SourceGeneration (3)
DiagnosticOr.cs (3)
38public override bool HasDiagnostic => true; 48public override bool HasDiagnostic => false; 59public 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)
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);