23 references to NullableNeverHasValue
Microsoft.CodeAnalysis.CSharp (23)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (12)
796bool leftAlwaysNull = NullableNeverHasValue(left); 797bool rightAlwaysNull = NullableNeverHasValue(right); 1230bool leftAlwaysNull = NullableNeverHasValue(left); 1231bool rightAlwaysNull = NullableNeverHasValue(right); 1289bool leftAlwaysNull = NullableNeverHasValue(left); 1290bool rightAlwaysNull = NullableNeverHasValue(right); 1537if (NullableAlwaysHasValue(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative)) 1583bool leftAlwaysNull = NullableNeverHasValue(left); 1584bool rightAlwaysNull = NullableNeverHasValue(right); 1686Debug.Assert(!NullableNeverHasValue(left) && !NullableNeverHasValue(right)); // We've already optimized the case where one is null. 1869if (NullableNeverHasValue(nullable))
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
376if (NullableNeverHasValue(rewrittenOperand)) 1070if (NullableNeverHasValue(operand)) 1101if (NullableNeverHasValue(operand)) 1168if (NullableAlwaysHasValue(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative))
Lowering\LocalRewriter\LocalRewriter_Index.cs (1)
22if (NullableNeverHasValue(operand))
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
105(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)
245if (NullableNeverHasValue(loweredOperand)) 326if (NullableAlwaysHasValue(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative))
Lowering\SyntheticBoundNodeFactory.cs (1)
1701if (LocalRewriter.NullableNeverHasValue(nullable))