15 references to Literal
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Expressions.cs (1)
7717
if (boundLeft.Kind == BoundKind.
Literal
&& ((BoundLiteral)boundLeft).ConstantValueOpt == ConstantValue.Null)
Binder\Binder_Statements.cs (2)
2362
case BoundKind.
Literal
:
2683
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)
7900
case BoundKind.
Literal
:
Generated\BoundNodes.xml.Generated.cs (3)
4301
: base(BoundKind.
Literal
, syntax, type, hasErrors)
4307
: base(BoundKind.
Literal
, syntax, type)
9054
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
: