3 overrides of HasValue
Microsoft.Interop.SourceGeneration (3)
DiagnosticOr.cs (3)
37public override bool HasValue => false; 47public override bool HasValue => true; 58public override bool HasValue => true;
4 references to HasValue
Microsoft.Interop.ComInterfaceGenerator (1)
ComInterfaceContext.cs (1)
78Debug.Assert(baseContext.HasValue);
Microsoft.Interop.SourceGeneration (3)
DiagnosticOr.cs (3)
121var values = provider.Where(x => x.HasValue).Select(static (x, ct) => x.Value); 131var values = provider.Select((arr, ct) => arr.Where(x => x.HasValue).Select((x, ct) => x.Value).ToSequenceEqualImmutableArray()); 141var values = provider.Where(x => x.Item1.HasValue).Select(static (x, ct) => (x.Item1.Value, x.Item2));