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