4 references to MakeLiteral
Microsoft.CodeAnalysis.CSharp (4)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
410
BoundExpression literal = _localRewriter.
MakeLiteral
(syntax, value, input.Type);
Lowering\LocalRewriter\LocalRewriter_AsOperator.cs (1)
61
BoundExpression result = rewrittenType.IsNullableType() ? new BoundDefaultExpression(syntax, rewrittenType) :
MakeLiteral
(syntax, constantValue, rewrittenType);
Lowering\LocalRewriter\LocalRewriter_IsOperator.cs (1)
93
value:
MakeLiteral
(syntax, constantValue, type),
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
747
BoundExpression boundOne =
MakeLiteral
(