32 references to ExplicitNullable
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder_Operators.cs (2)
3593case ConversionKind.ExplicitNullable: 3880case ConversionKind.ExplicitNullable:
Binder\Semantics\Conversions\Conversion.cs (8)
312internal static readonly Conversion ExplicitNullableWithExplicitEnumerationUnderlying = new Conversion(ConversionKind.ExplicitNullable, ExplicitEnumerationUnderlying); 313internal static readonly Conversion ExplicitNullableWithPointerToIntegerUnderlying = new Conversion(ConversionKind.ExplicitNullable, PointerToIntegerUnderlying); 314internal static readonly Conversion ExplicitNullableWithIdentityUnderlying = new Conversion(ConversionKind.ExplicitNullable, IdentityUnderlying); 315internal static readonly Conversion ExplicitNullableWithImplicitNumericUnderlying = new Conversion(ConversionKind.ExplicitNullable, ImplicitNumericUnderlying); 316internal static readonly Conversion ExplicitNullableWithExplicitNumericUnderlying = new Conversion(ConversionKind.ExplicitNullable, ExplicitNumericUnderlying); 317internal static readonly Conversion ExplicitNullableWithImplicitConstantUnderlying = new Conversion(ConversionKind.ExplicitNullable, ImplicitConstantUnderlying); 350Debug.Assert(kind == ConversionKind.ImplicitNullable || kind == ConversionKind.ExplicitNullable); 786return Kind == ConversionKind.ImplicitNullable || Kind == ConversionKind.ExplicitNullable;
Binder\Semantics\Conversions\ConversionEasyOut.cs (1)
32const byte XNL = (byte)ConversionKind.ExplicitNullable;
Binder\Semantics\Conversions\ConversionKindExtensions.cs (1)
63case ExplicitNullable:
Binder\Semantics\Conversions\ConversionsBase.cs (4)
491if (convKind != ConversionKind.ImplicitNullable && convKind != ConversionKind.ExplicitNullable) 923Conversion.MakeNullableConversion(ConversionKind.ExplicitNullable, underlyingConversion) : 1341return new Conversion(ConversionKind.ExplicitNullable, ImmutableArray.Create(underlyingTupleConversion)); 2472return new Conversion(ConversionKind.ExplicitNullable, ImmutableArray.Create(tupleConversion));
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
637case ConversionKind.ExplicitNullable:
CodeGen\EmitConversion.cs (1)
176case ConversionKind.ExplicitNullable:
FlowAnalysis\AbstractFlowPass.cs (1)
2631|| (expr is BoundConversion { ConversionKind: ConversionKind.ExplicitNullable or ConversionKind.ImplicitNullable } conv
FlowAnalysis\NullableWalker.cs (3)
2038case ConversionKind.ExplicitNullable: 8585case ConversionKind.ExplicitNullable: 9015case ConversionKind.ExplicitNullable:
FlowAnalysis\NullableWalker_Patterns.cs (1)
470case ConversionKind.ExplicitNullable when AreNullableAndUnderlyingTypes(inputType, e.Type, out _):
Lowering\DiagnosticsPass_Warnings.cs (1)
868if (conv.ConversionKind == ConversionKind.ExplicitNullable || conv.ConversionKind == ConversionKind.ImplicitNullable)
Lowering\Extensions.cs (2)
62case ConversionKind.ExplicitNullable: 116case ConversionKind.ExplicitNullable:
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
218if (conversion.Kind == ConversionKind.ExplicitNullable &&
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
581case ConversionKind.ExplicitNullable:
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
366case ConversionKind.ExplicitNullable:
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
99if (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)
1507if (conversion.Kind == ConversionKind.ExplicitNullable &&