17 references to ExplicitNumeric
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Operators.cs (1)
3559
case ConversionKind.
ExplicitNumeric
:
Binder\Binder_Statements.cs (1)
2246
else if (conversion.Kind == ConversionKind.
ExplicitNumeric
&& sourceConstantValueOpt != null && sourceConstantValueOpt != ConstantValue.Bad &&
Binder\Semantics\Conversions\Conversion.cs (4)
241
case ConversionKind.
ExplicitNumeric
:
289
internal static Conversion ExplicitNumeric => new Conversion(ConversionKind.
ExplicitNumeric
);
357
ConversionKind.
ExplicitNumeric
=> kind == ConversionKind.ImplicitNullable ? ImplicitNullableWithExplicitNumericUnderlying : ExplicitNullableWithExplicitNumericUnderlying,
672
return Kind == ConversionKind.ImplicitNumeric || Kind == ConversionKind.
ExplicitNumeric
;
Binder\Semantics\Conversions\ConversionEasyOut.cs (1)
26
const byte XNM = (byte)ConversionKind.
ExplicitNumeric
;
Binder\Semantics\Conversions\ConversionKindExtensions.cs (1)
59
case
ExplicitNumeric
:
Binder\Semantics\Conversions\ConversionsBase.cs (2)
2052
Debug.Assert(conversionKind is ConversionKind.ImplicitNumeric or ConversionKind.
ExplicitNumeric
);
2065
return GetNumericConversion(source, destination) == ConversionKind.
ExplicitNumeric
;
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
635
case ConversionKind.
ExplicitNumeric
:
BoundTree\BoundExpression.cs (1)
506
case ConversionKind.
ExplicitNumeric
:
CodeGen\EmitConversion.cs (1)
99
case ConversionKind.
ExplicitNumeric
:
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
629
case ConversionKind.
ExplicitNumeric
:
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
582
case ConversionKind.
ExplicitNumeric
:
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (2)
427
case ConversionKind.
ExplicitNumeric
:
1801
case ConversionKind.
ExplicitNumeric
: