23 references to NullableNeverHasValue
Microsoft.CodeAnalysis.CSharp (23)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (12)
809bool leftAlwaysNull = NullableNeverHasValue(left); 810bool rightAlwaysNull = NullableNeverHasValue(right); 1311bool leftAlwaysNull = NullableNeverHasValue(left); 1312bool rightAlwaysNull = NullableNeverHasValue(right); 1370bool leftAlwaysNull = NullableNeverHasValue(left); 1371bool rightAlwaysNull = NullableNeverHasValue(right); 1618if (NullableAlwaysHasValue(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative)) 1663bool leftAlwaysNull = NullableNeverHasValue(left); 1664bool rightAlwaysNull = NullableNeverHasValue(right); 1766Debug.Assert(!NullableNeverHasValue(left) && !NullableNeverHasValue(right)); // We've already optimized the case where one is null. 1949if (NullableNeverHasValue(nullable))
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
385if (NullableNeverHasValue(rewrittenOperand)) 1212if (NullableNeverHasValue(operand)) 1248if (NullableNeverHasValue(operand)) 1315if (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)
250if (NullableNeverHasValue(loweredOperand)) 331if (NullableAlwaysHasValue(conditional.Consequence) != null && NullableNeverHasValue(conditional.Alternative))
Lowering\SyntheticBoundNodeFactory.cs (1)
1829if (LocalRewriter.NullableNeverHasValue(nullable))