23 references to DefaultLiteral
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder.ValueChecks.cs (2)
4352case BoundKind.DefaultLiteral: 5022case BoundKind.DefaultLiteral:
Binder\Binder_Expressions.cs (1)
208if (expr.HasAnyErrors && ((object)resultType != null || exprKind == BoundKind.UnboundLambda || exprKind == BoundKind.DefaultLiteral))
Binder\Binder_Operators.cs (6)
1296case (BoundKind.DefaultLiteral, _) when !isEquality: 1297case (_, BoundKind.DefaultLiteral) when !isEquality: 1301case (BoundKind.DefaultLiteral, BoundKind.DefaultLiteral): 1304case (BoundKind.DefaultLiteral, _) when right.Type is TypeParameterSymbol: 1308case (_, BoundKind.DefaultLiteral) when left.Type is TypeParameterSymbol:
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1069case BoundKind.DefaultLiteral:
BoundTree\BoundExpression.cs (1)
80case BoundKind.DefaultLiteral:
BoundTree\BoundExpressionExtensions.cs (2)
88return node.Kind == BoundKind.DefaultLiteral; 109if (node.Kind == BoundKind.DefaultExpression || node.Kind == BoundKind.DefaultLiteral)
BoundTree\BoundTreeVisitors.cs (1)
55case BoundKind.DefaultLiteral:
FlowAnalysis\DefiniteAssignment.cs (1)
891case BoundKind.DefaultLiteral:
FlowAnalysis\NullableWalker.cs (3)
2193case BoundKind.DefaultLiteral: 2619case BoundKind.DefaultLiteral: 8498case BoundKind.DefaultLiteral:
Generated\BoundNodes.xml.Generated.cs (3)
2796: base(BoundKind.DefaultLiteral, syntax, null, hasErrors) 2801: base(BoundKind.DefaultLiteral, syntax, null) 9006case BoundKind.DefaultLiteral:
Operations\CSharpOperationFactory.cs (1)
105case BoundKind.DefaultLiteral:
Symbols\Source\ParameterHelpers.cs (1)
1089case BoundKind.DefaultLiteral: