18 references to DefaultLiteral
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Conversions.cs (1)
270if (conversion.Kind == ConversionKind.DefaultLiteral)
Binder\Binder_Operators.cs (1)
3686case ConversionKind.DefaultLiteral:
Binder\Semantics\Conversions\Conversion.cs (3)
231case ConversionKind.DefaultLiteral: 279internal static Conversion DefaultLiteral => new Conversion(ConversionKind.DefaultLiteral); 903return Kind == ConversionKind.DefaultLiteral;
Binder\Semantics\Conversions\ConversionKindExtensions.cs (1)
34case DefaultLiteral:
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
674case ConversionKind.DefaultLiteral:
CodeGen\EmitExpression.cs (2)
3921Debug.Assert(conversionKind != ConversionKind.NullLiteral && conversionKind != ConversionKind.DefaultLiteral); 3926conversionKind != ConversionKind.DefaultLiteral)
FlowAnalysis\NullableWalker.cs (4)
2122case ConversionKind.DefaultLiteral: 2555return (conversionKind == ConversionKind.DefaultLiteral || conversionKind == ConversionKind.NullLiteral) && 8618case ConversionKind.DefaultLiteral: 9005case ConversionKind.DefaultLiteral:
Lowering\Extensions.cs (1)
112case ConversionKind.DefaultLiteral:
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
573case ConversionKind.DefaultLiteral:
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
400case ConversionKind.DefaultLiteral:
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
190case 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)