18 references to DefaultLiteral
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Conversions.cs (1)
270
if (conversion.Kind == ConversionKind.
DefaultLiteral
)
Binder\Binder_Operators.cs (1)
3686
case ConversionKind.
DefaultLiteral
:
Binder\Semantics\Conversions\Conversion.cs (3)
231
case ConversionKind.
DefaultLiteral
:
279
internal static Conversion DefaultLiteral => new Conversion(ConversionKind.
DefaultLiteral
);
903
return Kind == ConversionKind.
DefaultLiteral
;
Binder\Semantics\Conversions\ConversionKindExtensions.cs (1)
34
case
DefaultLiteral
:
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
674
case ConversionKind.
DefaultLiteral
:
CodeGen\EmitExpression.cs (2)
3921
Debug.Assert(conversionKind != ConversionKind.NullLiteral && conversionKind != ConversionKind.
DefaultLiteral
);
3926
conversionKind != ConversionKind.
DefaultLiteral
)
FlowAnalysis\NullableWalker.cs (4)
2122
case ConversionKind.
DefaultLiteral
:
2555
return (conversionKind == ConversionKind.
DefaultLiteral
|| conversionKind == ConversionKind.NullLiteral) &&
8618
case ConversionKind.
DefaultLiteral
:
9005
case ConversionKind.
DefaultLiteral
:
Lowering\Extensions.cs (1)
112
case ConversionKind.
DefaultLiteral
:
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
573
case ConversionKind.
DefaultLiteral
:
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
400
case ConversionKind.
DefaultLiteral
:
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
190
case BoundConversion { Conversion: { Kind: ConversionKind.
DefaultLiteral
} }: // This conversion can be performed lazily, but need not be saved. It is treated as non-side-effecting.
Symbols\Source\SourceComplexParameterSymbol.cs (1)
401
((BoundConversion)convertedExpression).ConversionKind != ConversionKind.
DefaultLiteral
)