32 references to ExplicitNullable
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder_Operators.cs (2)
3598
case ConversionKind.
ExplicitNullable
:
3885
case ConversionKind.
ExplicitNullable
:
Binder\Semantics\Conversions\Conversion.cs (8)
312
internal static readonly Conversion ExplicitNullableWithExplicitEnumerationUnderlying = new Conversion(ConversionKind.
ExplicitNullable
, ExplicitEnumerationUnderlying);
313
internal static readonly Conversion ExplicitNullableWithPointerToIntegerUnderlying = new Conversion(ConversionKind.
ExplicitNullable
, PointerToIntegerUnderlying);
314
internal static readonly Conversion ExplicitNullableWithIdentityUnderlying = new Conversion(ConversionKind.
ExplicitNullable
, IdentityUnderlying);
315
internal static readonly Conversion ExplicitNullableWithImplicitNumericUnderlying = new Conversion(ConversionKind.
ExplicitNullable
, ImplicitNumericUnderlying);
316
internal static readonly Conversion ExplicitNullableWithExplicitNumericUnderlying = new Conversion(ConversionKind.
ExplicitNullable
, ExplicitNumericUnderlying);
317
internal static readonly Conversion ExplicitNullableWithImplicitConstantUnderlying = new Conversion(ConversionKind.
ExplicitNullable
, ImplicitConstantUnderlying);
350
Debug.Assert(kind == ConversionKind.ImplicitNullable || kind == ConversionKind.
ExplicitNullable
);
786
return Kind == ConversionKind.ImplicitNullable || Kind == ConversionKind.
ExplicitNullable
;
Binder\Semantics\Conversions\ConversionEasyOut.cs (1)
32
const byte XNL = (byte)ConversionKind.
ExplicitNullable
;
Binder\Semantics\Conversions\ConversionKindExtensions.cs (1)
63
case
ExplicitNullable
:
Binder\Semantics\Conversions\ConversionsBase.cs (4)
491
if (convKind != ConversionKind.ImplicitNullable && convKind != ConversionKind.
ExplicitNullable
)
923
Conversion.MakeNullableConversion(ConversionKind.
ExplicitNullable
, underlyingConversion) :
1341
return new Conversion(ConversionKind.
ExplicitNullable
, ImmutableArray.Create(underlyingTupleConversion));
2472
return new Conversion(ConversionKind.
ExplicitNullable
, ImmutableArray.Create(tupleConversion));
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
642
case ConversionKind.
ExplicitNullable
:
CodeGen\EmitConversion.cs (1)
176
case ConversionKind.
ExplicitNullable
:
FlowAnalysis\AbstractFlowPass.cs (1)
2635
|| (expr is BoundConversion { ConversionKind: ConversionKind.
ExplicitNullable
or ConversionKind.ImplicitNullable } conv
FlowAnalysis\NullableWalker.cs (3)
2099
case ConversionKind.
ExplicitNullable
:
8643
case ConversionKind.
ExplicitNullable
:
9073
case ConversionKind.
ExplicitNullable
:
FlowAnalysis\NullableWalker_Patterns.cs (1)
470
case ConversionKind.
ExplicitNullable
when AreNullableAndUnderlyingTypes(inputType, e.Type, out _):
Lowering\DiagnosticsPass_Warnings.cs (1)
868
if (conv.ConversionKind == ConversionKind.
ExplicitNullable
|| conv.ConversionKind == ConversionKind.ImplicitNullable)
Lowering\Extensions.cs (2)
62
case ConversionKind.
ExplicitNullable
:
116
case ConversionKind.
ExplicitNullable
:
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
218
if (conversion.Kind == ConversionKind.
ExplicitNullable
&&
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
580
case ConversionKind.
ExplicitNullable
:
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
366
case ConversionKind.
ExplicitNullable
:
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
99
if (BoundNode.GetConversion(leftConversion, leftPlaceholder) is { IsIdentity: true } or { Kind: ConversionKind.
ExplicitNullable
})
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
89
(kind == ConversionKind.ImplicitNullable || kind == ConversionKind.
ExplicitNullable
) &&
Lowering\SyntheticBoundNodeFactory.cs (1)
1507
if (conversion.Kind == ConversionKind.
ExplicitNullable
&&