15 references to Literal
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Expressions.cs (1)
7717if (boundLeft.Kind == BoundKind.Literal && ((BoundLiteral)boundLeft).ConstantValueOpt == ConstantValue.Null)
Binder\Binder_Statements.cs (2)
2362case BoundKind.Literal: 2683if (assignment.Right.Kind == BoundKind.Literal && assignment.Right.ConstantValueOpt.Discriminator == ConstantValueTypeDiscriminator.Boolean)
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1061case BoundKind.Literal:
BoundTree\BoundExpressionExtensions.cs (1)
83return node is { Kind: BoundKind.Literal, ConstantValueOpt: { Discriminator: ConstantValueTypeDiscriminator.Null } };
BoundTree\BoundTreeVisitors.cs (1)
97case BoundKind.Literal:
FlowAnalysis\NullableWalker.cs (1)
7900case BoundKind.Literal:
Generated\BoundNodes.xml.Generated.cs (3)
4301: base(BoundKind.Literal, syntax, type, hasErrors) 4307: base(BoundKind.Literal, syntax, type) 9054case BoundKind.Literal:
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
241case BoundKind.Literal:
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (2)
848case BoundKind.Literal: 891case BoundKind.Literal:
Lowering\SpillSequenceSpiller.cs (1)
422case BoundKind.Literal:
Operations\CSharpOperationFactory.cs (1)
57case BoundKind.Literal: