15 references to Literal
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Expressions.cs (1)
7720if (boundLeft.Kind == BoundKind.Literal && ((BoundLiteral)boundLeft).ConstantValueOpt == ConstantValue.Null)
Binder\Binder_Statements.cs (2)
2365case BoundKind.Literal: 2686if (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)
7897case BoundKind.Literal:
Generated\BoundNodes.xml.Generated.cs (3)
4302: base(BoundKind.Literal, syntax, type, hasErrors) 4308: base(BoundKind.Literal, syntax, type) 9055case 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: