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