18 references to DefaultLiteral
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Conversions.cs (1)
270if (conversion.Kind == ConversionKind.DefaultLiteral)
Binder\Binder_Operators.cs (1)
3681case 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)
669case ConversionKind.DefaultLiteral:
CodeGen\EmitExpression.cs (2)
3921Debug.Assert(conversionKind != ConversionKind.NullLiteral && conversionKind != ConversionKind.DefaultLiteral); 3926conversionKind != ConversionKind.DefaultLiteral)
FlowAnalysis\NullableWalker.cs (4)
2061case ConversionKind.DefaultLiteral: 2494return (conversionKind == ConversionKind.DefaultLiteral || conversionKind == ConversionKind.NullLiteral) && 8560case ConversionKind.DefaultLiteral: 8947case ConversionKind.DefaultLiteral:
Lowering\Extensions.cs (1)
112case ConversionKind.DefaultLiteral:
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
574case 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)
400((BoundConversion)convertedExpression).ConversionKind != ConversionKind.DefaultLiteral)