23 references to NullableNeverHasValue
Microsoft.CodeAnalysis.CSharp (23)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (12)
809
bool leftAlwaysNull =
NullableNeverHasValue
(left);
810
bool rightAlwaysNull =
NullableNeverHasValue
(right);
1311
bool leftAlwaysNull =
NullableNeverHasValue
(left);
1312
bool rightAlwaysNull =
NullableNeverHasValue
(right);
1370
bool leftAlwaysNull =
NullableNeverHasValue
(left);
1371
bool rightAlwaysNull =
NullableNeverHasValue
(right);
1618
if (NullableAlwaysHasValue(conditional.Consequence) != null &&
NullableNeverHasValue
(conditional.Alternative))
1663
bool leftAlwaysNull =
NullableNeverHasValue
(left);
1664
bool rightAlwaysNull =
NullableNeverHasValue
(right);
1766
Debug.Assert(!
NullableNeverHasValue
(left) && !
NullableNeverHasValue
(right)); // We've already optimized the case where one is null.
1949
if (
NullableNeverHasValue
(nullable))
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
385
if (
NullableNeverHasValue
(rewrittenOperand))
1212
if (
NullableNeverHasValue
(operand))
1248
if (
NullableNeverHasValue
(operand))
1315
if (NullableAlwaysHasValue(conditional.Consequence) != null &&
NullableNeverHasValue
(conditional.Alternative))
Lowering\LocalRewriter\LocalRewriter_Index.cs (1)
22
if (
NullableNeverHasValue
(operand))
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
103
(conditionalAccess.WhenNullOpt == null ||
NullableNeverHasValue
(conditionalAccess.WhenNullOpt)))
Lowering\LocalRewriter\LocalRewriter_Range.cs (1)
58
if (
NullableNeverHasValue
(operand))
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
366
if (
NullableNeverHasValue
(expr))
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
250
if (
NullableNeverHasValue
(loweredOperand))
331
if (NullableAlwaysHasValue(conditional.Consequence) != null &&
NullableNeverHasValue
(conditional.Alternative))
Lowering\SyntheticBoundNodeFactory.cs (1)
1829
if (LocalRewriter.
NullableNeverHasValue
(nullable))