23 references to NullableNeverHasValue
Microsoft.CodeAnalysis.CSharp (23)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (12)
828bool leftAlwaysNull = NullableNeverHasValue(left); 829bool rightAlwaysNull = NullableNeverHasValue(right); 1330bool leftAlwaysNull = NullableNeverHasValue(left); 1331bool rightAlwaysNull = NullableNeverHasValue(right); 1389bool leftAlwaysNull = NullableNeverHasValue(left); 1390bool rightAlwaysNull = NullableNeverHasValue(right); 1637if (NullableAlwaysHasValue(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative)) 1682bool leftAlwaysNull = NullableNeverHasValue(left); 1683bool rightAlwaysNull = NullableNeverHasValue(right); 1785Debug.Assert(!NullableNeverHasValue(left) && !NullableNeverHasValue(right)); // We've already optimized the case where one is null. 1968if (NullableNeverHasValue(nullable))
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
383if (NullableNeverHasValue(rewrittenOperand)) 1214if (NullableNeverHasValue(operand)) 1250if (NullableNeverHasValue(operand)) 1317if (NullableAlwaysHasValue(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative))
Lowering\LocalRewriter\LocalRewriter_Index.cs (1)
22if (NullableNeverHasValue(operand))
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
103(conditionalAccess.WhenNullOpt == null || NullableNeverHasValue(conditionalAccess.WhenNullOpt)))
Lowering\LocalRewriter\LocalRewriter_Range.cs (1)
58if (NullableNeverHasValue(operand))
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
366if (NullableNeverHasValue(expr))
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
251if (NullableNeverHasValue(loweredOperand)) 332if (NullableAlwaysHasValue(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative))
Lowering\SyntheticBoundNodeFactory.cs (1)
1847if (LocalRewriter.NullableNeverHasValue(nullable))