48 references to ImplicitNullable
Microsoft.CodeAnalysis.CSharp (48)
Binder\Binder_Operators.cs (2)
3664case ConversionKind.ImplicitNullable: 3883case ConversionKind.ImplicitNullable:
Binder\Semantics\Conversions\Conversion.cs (14)
319internal static readonly Conversion ImplicitNullableWithExplicitEnumerationUnderlying = new Conversion(ConversionKind.ImplicitNullable, ExplicitEnumerationUnderlying); 320internal static readonly Conversion ImplicitNullableWithPointerToIntegerUnderlying = new Conversion(ConversionKind.ImplicitNullable, PointerToIntegerUnderlying); 321internal static readonly Conversion ImplicitNullableWithIdentityUnderlying = new Conversion(ConversionKind.ImplicitNullable, IdentityUnderlying); 322internal static readonly Conversion ImplicitNullableWithImplicitNumericUnderlying = new Conversion(ConversionKind.ImplicitNullable, ImplicitNumericUnderlying); 323internal static readonly Conversion ImplicitNullableWithExplicitNumericUnderlying = new Conversion(ConversionKind.ImplicitNullable, ExplicitNumericUnderlying); 324internal static readonly Conversion ImplicitNullableWithImplicitConstantUnderlying = new Conversion(ConversionKind.ImplicitNullable, ImplicitConstantUnderlying); 350Debug.Assert(kind == ConversionKind.ImplicitNullable || kind == ConversionKind.ExplicitNullable); 354ConversionKind.Identity => kind == ConversionKind.ImplicitNullable ? ImplicitNullableWithIdentityUnderlying : ExplicitNullableWithIdentityUnderlying, 355ConversionKind.ImplicitConstant => kind == ConversionKind.ImplicitNullable ? ImplicitNullableWithImplicitConstantUnderlying : ExplicitNullableWithImplicitConstantUnderlying, 356ConversionKind.ImplicitNumeric => kind == ConversionKind.ImplicitNullable ? ImplicitNullableWithImplicitNumericUnderlying : ExplicitNullableWithImplicitNumericUnderlying, 357ConversionKind.ExplicitNumeric => kind == ConversionKind.ImplicitNullable ? ImplicitNullableWithExplicitNumericUnderlying : ExplicitNullableWithExplicitNumericUnderlying, 358ConversionKind.ExplicitEnumeration => kind == ConversionKind.ImplicitNullable ? ImplicitNullableWithExplicitEnumerationUnderlying : ExplicitNullableWithExplicitEnumerationUnderlying, 359ConversionKind.ExplicitPointerToInteger => kind == ConversionKind.ImplicitNullable ? ImplicitNullableWithPointerToIntegerUnderlying : ExplicitNullableWithPointerToIntegerUnderlying, 786return Kind == ConversionKind.ImplicitNullable || Kind == ConversionKind.ExplicitNullable;
Binder\Semantics\Conversions\ConversionEasyOut.cs (1)
31const byte NUL = (byte)ConversionKind.ImplicitNullable;
Binder\Semantics\Conversions\ConversionKindExtensions.cs (1)
32case ImplicitNullable:
Binder\Semantics\Conversions\ConversionsBase.cs (8)
491if (convKind != ConversionKind.ImplicitNullable && convKind != ConversionKind.ExplicitNullable) 591case ConversionKind.ImplicitNullable: 663{ Kind: ConversionKind.ImplicitNullable, UnderlyingConversions: [{ Kind: ConversionKind.CollectionExpression }] } => true, 915case ConversionKind.ImplicitNullable: 1018case ConversionKind.ImplicitNullable: 1176return new Conversion(ConversionKind.ImplicitNullable, ImmutableArray.Create(underlyingConversion)); 1312return new Conversion(ConversionKind.ImplicitNullable, ImmutableArray.Create(underlyingTupleConversion)); 2275return new Conversion(ConversionKind.ImplicitNullable, ImmutableArray.Create(tupleConversion));
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
658case ConversionKind.ImplicitNullable:
CodeGen\EmitConversion.cs (1)
175case ConversionKind.ImplicitNullable:
Compilation\CSharpSemanticModel.cs (1)
2174else if (highestBoundExpr is BoundConversion { ConversionKind: ConversionKind.ImplicitNullable, Conversion.UnderlyingConversions: [{ Kind: ConversionKind.CollectionExpression }] } boundConversion)
FlowAnalysis\AbstractFlowPass.cs (1)
2635|| (expr is BoundConversion { ConversionKind: ConversionKind.ExplicitNullable or ConversionKind.ImplicitNullable } conv
FlowAnalysis\NullableWalker.cs (6)
8642case ConversionKind.ImplicitNullable: 8870conversion = Conversion.MakeNullableConversion(ConversionKind.ImplicitNullable, Conversion.Identity); 9047case ConversionKind.ImplicitNullable: 9089goto case ConversionKind.ImplicitNullable; 10374underlyingConversion.Kind == ConversionKind.ImplicitNullable && 11609case ConversionKind.ImplicitNullable:
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
724case ConversionKind.ImplicitNullable:
Lowering\DiagnosticsPass_Warnings.cs (2)
580if (conv.ConversionKind == ConversionKind.ImplicitNullable) 868if (conv.ConversionKind == ConversionKind.ExplicitNullable || conv.ConversionKind == ConversionKind.ImplicitNullable)
Lowering\Extensions.cs (2)
61case ConversionKind.ImplicitNullable: 115case ConversionKind.ImplicitNullable:
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
585case ConversionKind.ImplicitNullable:
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
61case ConversionKind.ImplicitNullable when node.Conversion.UnderlyingConversions[0].Kind is ConversionKind.CollectionExpression: 365case ConversionKind.ImplicitNullable: 1007case BoundConversion { Conversion: { Kind: ConversionKind.ImplicitNullable }, Operand: var convertedArgument } 1012case BoundConversion { Conversion: { Kind: ConversionKind.ImplicitNullable, UnderlyingConversions: var underlying }, Operand: var convertedArgument } conversion
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (2)
89(kind == ConversionKind.ImplicitNullable || kind == ConversionKind.ExplicitNullable) && 211var conversion = Conversion.MakeNullableConversion(ConversionKind.ImplicitNullable, Conversion.Identity);